Bonjour,
J’aurais besoin de votre aide pour ma problématique, voici la configuration de l’installation:
- Un RPI 4 avec broker (192.168.1.101)
- Un HUAWEI B535-235 4G router pro
- Un switch d-link DGS-105
- Une gateway lora cloudgate marque option (192.168.1.150)
J’ai déjà réussi à brancher l’ensemble sur un jeedom sans soucis mais pas avec home assistant, voici l’ensemble des informations, avez-vous des idées ?
Je voudrais récupérer les données depuis la gateway sur home assistant en mqtt.
Depuis mon pc avec Explore je peux me connecter sur le broker sans soucis.
Merci d’avance,
Bonne journée,
Mosquitto broker
logins:
- username: mqtt
password: ******
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: false
folder: mosquitto
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/mosquitto.sh
[14:05:26] INFO: Setting up user mqtt
[14:05:27] INFO: SSL is not enabled
cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun mosquitto (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
s6-rc: info: service legacy-services successfully started
[14:05:29] INFO: Starting NGINX for authentication handling...
[14:05:29] INFO: Starting mosquitto MQTT broker...
2023-10-13 14:05:30: Warning: Mosquitto should not be run as root/administrator.
2023-10-13 14:05:30: mosquitto version 2.0.17 starting
2023-10-13 14:05:30: Config loaded from /etc/mosquitto/mosquitto.conf.
2023-10-13 14:05:30: Loading plugin: /usr/share/mosquitto/go-auth.so
2023-10-13 14:05:30: ├── Username/password checking enabled.
2023-10-13 14:05:30: ├── TLS-PSK checking enabled.
2023-10-13 14:05:30: └── Extended authentication not enabled.
2023-10-13 14:05:30: Opening ipv4 listen socket on port 1883.
2023-10-13 14:05:30: Opening ipv6 listen socket on port 1883.
2023-10-13 14:05:30: Opening websockets listen socket on port 1884.
2023-10-13 14:05:30: mosquitto version 2.0.17 running
2023-10-13 14:05:31: New connection from 127.0.0.1:48078 on port 1883.
2023-10-13 14:05:31: Client <unknown> disconnected due to protocol error.
[14:05:33] INFO: Successfully send discovery information to Home Assistant.
[14:05:34] INFO: Successfully send service information to the Supervisor.
2023-10-13 14:06:07: New connection from 192.168.1.101:41389 on port 1883.
2023-10-13 14:06:07: New client connected from 192.168.1.101:41389 as 6Vbgh5B4YpuYMDcP0Xbvwj (p2, c1, k60, u'mqtt').
2023-10-13 14:06:38: New connection from 192.168.1.150:41140 on port 1883.
error: received null username or password for unpwd check
2023-10-13 14:06:48: Client Gateway_BYES disconnected, not authorised.
2023-10-13 14:08:48: New connection from 172.30.32.2:35260 on port 1883.
2023-10-13 14:08:48: Client <unknown> closed its connection.
Configuration gateway Cloudgate option Lora:
Sur le PC:
System Information
version | core-2023.10.1 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.11.5 |
os_name | Linux |
os_version | 6.1.21-v8 |
arch | aarch64 |
timezone | Europe/Paris |
config_dir | /config |
Home Assistant Cloud
logged_in | false |
---|---|
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
Home Assistant Supervisor
host_os | Home Assistant OS 10.5 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2023.10.0 |
agent_version | 1.5.1 |
docker_version | 23.0.6 |
disk_total | 28.5 GB |
disk_used | 4.6 GB |
healthy | true |
supported | true |
board | rpi4-64 |
supervisor_api | ok |
version_api | ok |
installed_addons | Mosquitto broker (6.3.1), Advanced SSH & Web Terminal (15.0.8), Samba share (10.0.2), File editor (5.6.0), MQTT Explorer (browser-1.0.1) |
Dashboards
dashboards | 1 |
---|---|
resources | 0 |
views | 3 |
mode | storage |
Recorder
oldest_recorder_run | 11 octobre 2023 à 17:17 |
---|---|
current_recorder_run | 13 octobre 2023 à 14:05 |
estimated_db_size | 27.53 MiB |
database_engine | sqlite |
database_version | 3.41.2 |