Mam już skonfigurowanego brokera mqtt do odczytu supli.
Dodałem shelly z czujnikami temperatury ds18b20.
Konfiguracja shelly:
W brokerze mqtt dodałem użytkownika:
W HA dodałam plik yaml
sensor:
-
name: “Probe 100”
state_topic: “shellyplus1-c82e180b855c/status/temperature:103”
unit_of_measurement: “°C”
device_class: temperature
value_template: “{{ value_json.tC | round(1) }}”
payload_available: “online”
payload_not_available: “offline” -
name: “Probe 101”
state_topic: “shellyplus1-c82e180b855c/status/temperature:104”
unit_of_measurement: “°C”
device_class: temperature
value_template: “{{ value_json.tC | round(1) }}”
payload_available: “online”
payload_not_available: “offline”
W mqtt zostały utworzone encje- ale brak wielkości mierzonych.
Widok z MQTT eksplorer
Logi:
2025-04-03 19:14:29: New connection from 192.168.2.105:56340 on port 1883.
2025-04-03 19:14:29: New client connected from 192.168.2.105:56340 as mqtt-explorer-202ae2ed (p2, c1, k60, u’aa’).
2025-04-03 19:15:49: New connection from 172.30.32.1:33856 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:15:49: Client auto-CE4CA4FE-D3B8-9E8C-38B0-BCE22AAC1C3E disconnected, not authorised.
2025-04-03 19:17:49: New connection from 172.30.32.1:41186 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:17:49: Client auto-66703628-4309-9013-1136-B2BC29395426 disconnected, not authorised.
2025-04-03 19:19:49: New connection from 172.30.32.1:40958 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:19:49: Client auto-3A1307CD-6DDD-675A-17FC-4E2CD924E096 disconnected, not authorised.
2025-04-03 19:21:49: New connection from 172.30.32.1:51632 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:21:49: Client auto-E0EA81C7-D053-CC68-B8DE-16934A47C33A disconnected, not authorised.
2025-04-03 19:23:49: New connection from 172.30.32.1:56030 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:23:49: Client auto-9C9F36B0-6CD5-E0C4-AEAD-2FC7A6D5BCA4 disconnected, not authorised.
2025-04-03 19:25:49: New connection from 172.30.32.1:45394 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:25:49: Client auto-B5910C1D-9367-58D2-0C26-BC1D403EC3FA disconnected, not authorised.
2025-04-03 19:27:49: New connection from 172.30.32.1:36560 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:27:49: Client auto-1967E087-5207-0513-0DF4-6983F440D7A5 disconnected, not authorised.
2025-04-03 19:29:49: New connection from 172.30.32.1:43950 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:29:49: Client auto-1C976819-79D4-8B13-7A11-048FBC8DECAE disconnected, not authorised.
2025-04-03 19:31:49: New connection from 172.30.32.1:45618 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:31:49: Client auto-3D5F6812-1C2D-8CD6-7262-C01FCCC820A1 disconnected, not authorised.
2025-04-03 19:33:49: New connection from 172.30.32.1:54494 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:33:49: Client auto-2D2921D9-19E6-1809-49A0-FEDA995B4E84 disconnected, not authorised.
2025-04-03 19:35:49: New connection from 172.30.32.1:56872 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:35:49: Client auto-132A2B32-A35C-FD4C-915C-6D74ACB2C88D disconnected, not authorised.
2025-04-03 19:36:18: Saving in-memory database to /data//mosquitto.db.
2025-04-03 19:38:01: New connection from 172.30.32.1:43502 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:38:01: Client auto-592DFD7C-F7CE-646E-EBAE-C6833F8EBC60 disconnected, not authorised.
2025-04-03 19:38:02: New connection from 172.30.32.1:43514 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:38:02: Client auto-67F520E2-D2A5-F574-BE6F-3BE992476EAA disconnected, not authorised.
2025-04-03 19:38:04: New connection from 172.30.32.1:43526 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:38:04: Client auto-A22CEAE8-7C58-13C6-DAA5-FE1B1ED82CF7 disconnected, not authorised.
2025-04-03 19:38:08: New connection from 172.30.32.1:36014 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:38:08: Client auto-42F722AB-1D40-3921-DF52-9449BDE8D5D4 disconnected, not authorised.
2025-04-03 19:38:16: New connection from 172.30.32.1:36600 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:38:16: Client auto-7A3C615E-DBA7-6E9A-7852-31326A012A44 disconnected, not authorised.
2025-04-03 19:38:32: New connection from 172.30.32.1:50604 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:38:32: Client auto-DCED08C5-4205-4274-BEDE-B15827D7D4B2 disconnected, not authorised.
2025-04-03 19:39:04: New connection from 172.30.32.1:33066 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:39:04: Client auto-7CCC6B84-D93C-0346-8365-3D33EC63CD7A disconnected, not authorised.
2025-04-03 19:40:08: New connection from 172.30.32.1:34382 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:40:08: Client auto-6923DEC8-D55D-35C7-8841-D2E3489A3722 disconnected, not authorised.
2025-04-03 19:42:08: New connection from 172.30.32.1:49190 on port 1883.
error: received null username or password for unpwd check
2025-04-03 19:42:08: Client auto-3E0E1A40-F465-C047-F022-D44A68A0468D disconnected, not authorised.