Hi,
I am trying to get an MQTT P1 smart meter and a Tasmotic Zigbeebridge pro with a sonoff temp/hum sensor into domoticz. Mosquitto seems to be running and I can see MQTT messages in the domoticz log. I am not using ZIgbee2Mqtt since it cannot connect to the ZBbridge pro hub (yet?).
However even when I see 'discovered' or dicovery topic messages appearing in the domoticz log, No new devices are created.
I ran the mqtt_ad_record script and I added some output to this message.
MQTTexplorer is also able to connect to mosquitto.
Any ideas what is going wrong? I have been struggling with this for quite some time now, help would be greatly appreciated!
From the domoticz log:
2023-03-11 09: Status: MQTT_Auto_DSMR: Connecting to xxxx:1883
2023-03-11 09: Status: MQTT_Auto_DSMR: connected to: xxxx:1883
2023-03-11 09 Status: MQTT_Auto_DSMR: discovered: timestamp/DSMR Last Update (unique_id: timestamp)
2023-03-11 09: Status: MQTT_Auto_DSMR: discovered: power_delivered/Power Delivered (unique_id: power_delivered)
2023-03-11 09: Status: MQTT_Auto_DSMR: discovered: power_returned/Power Returned (unique_id: power_returned)
2023-03-11 09: Status: MQTT_Auto_DSMR: discovered: energy_delivered_tariff1/Energy Delivered T1 (unique_id: energy_delivered_tariff1)
2023-03-11 09: Status: MQTT_Auto_DSMR: discovered: energy_delivered_tariff2/Energy Delivered T2 (unique_id: energy_delivered_tariff2)
2023-03-11 09: Status: MQTT_Auto_DSMR: discovered: energy_returned_tariff1/Energy Returned T1 (unique_id: energy_returned_tariff1)
2023-03-11 09: Status: MQTT_Auto_DSMR: discovered: voltage_l3/Voltage l3 (unique_id: voltage_l3)
2023-03-11 09: Status: MQTT_Auto_DSMR: discovered: current_l1/Current l1 (unique_id: current_l1)
2023-03-11 09: Status: MQTT_Auto_DSMR: discovered: current_l2/Current l2 (unique_id: current_l2)
2023-03-11 09: Status: MQTT_Auto_DSMR: discovered: current_l3/Current l3 (unique_id: current_l3)
2023-03-11 09: Status: MQTT_Auto_DSMR: discovered: gas_delivered/Gas Delivered (unique_id: gas_delivered)
I have added the script ad_record output as an attachment.
MQTT Autodiscovery not adding devices?
Moderator: leecollings
-
- Posts: 54
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
MQTT Autodiscovery not adding devices?
- Attachments
-
- mqtt_ad_log.txt
- (9.32 KiB) Downloaded 37 times
-
- Posts: 16
- Joined: Saturday 03 December 2022 16:26
- Target OS: Linux
- Domoticz version: 2024.4b
- Location: Spain
- Contact:
Re: MQTT Autodiscovery not adding devices?
Hi,
From your attached log, you are running tasmota 12_4_0
Last tasmota version working with MQTT AD is 11_1_0 (at least for me)
Hope this helps
From your attached log, you are running tasmota 12_4_0
Last tasmota version working with MQTT AD is 11_1_0 (at least for me)
Hope this helps
-
- Posts: 54
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: MQTT Autodiscovery not adding devices?
Thank you for responding, I will try to downgrade tasmota.
-
- Posts: 54
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: MQTT Autodiscovery not adding devices?
Ah.. ZIgbeeBridge Pro is not supported in tasmota 11_1_0 . The DSMR (P1 smart meter) is also delivering MQTT messages, Any ideas on why the log says discovered, but no device is added by Domoticz?
Who is online
Users browsing this forum: No registered users and 1 guest