MQTT Auto Discovery does not getting anything

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
NvBgm
Posts: 27
Joined: Sunday 11 August 2024 15:40
Target OS: Windows
Domoticz version:
Contact:

MQTT Auto Discovery does not getting anything

Post by NvBgm »

Hello,
I'm trying to retrieve the data I'm sending from the P1 monitor to the MQTT broker back into Domoticz. I think I've entered all the settings correctly, but I can't see any sensors or devices in Domoticz.
In MQTT Explorer, I can see all the topics correctly.
Am I missing something or doing something wrong?
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: MQTT Auto Discovery does not getting anything

Post by waltervl »

Without more information not a lot we can tell.
Do you also see config topics in the MQTT explorer homeassistant folder?
What application is sending P1 info to MQTT and is it configured that it also creates a discovery config topic?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
NvBgm
Posts: 27
Joined: Sunday 11 August 2024 15:40
Target OS: Windows
Domoticz version:
Contact:

Re: MQTT Auto Discovery does not getting anything

Post by NvBgm »

Okay, I'm afraid the problem is that the P1monitor isn't sending a discovery config thread.
When I look in MQTT Explorer under HomeAssistant > Weather > Temperature, I only get the date/time/value.
In the History tab, I see a graph. No JSON information. So I assume auto-discovery won't work. Is there another way to import the value into Domoticz from the MQTT broker?
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: MQTT Auto Discovery does not getting anything

Post by waltervl »

You can also not use the P1monitor application and use Domoticz to read your P1 smart meter directly https://wiki.domoticz.com/Dutch_DSMR_sm ... th_P1_port

There is also Node-Red or the MQTTmapper plugin.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: MQTT Auto Discovery does not getting anything

Post by waltervl »

Also check this discussion: viewtopic.php?t=33631
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
NvBgm
Posts: 27
Joined: Sunday 11 August 2024 15:40
Target OS: Windows
Domoticz version:
Contact:

Re: MQTT Auto Discovery does not getting anything

Post by NvBgm »

Yes it can if you use a P1 port splitter.
https://www.homewizard.com/nl/shop/acti ... m_term=721
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest