Custom sensors not publishing status to mqtt domoticz/out

Moderator: leecollings

Post Reply
calania
Posts: 20
Joined: Friday 17 April 2020 21:02
Target OS: Windows
Domoticz version:
Contact:

Custom sensors not publishing status to mqtt domoticz/out

Post by calania »

Hello! A few days ago I decided to update and completely reinstall Domoticz ( version 2022.1). It has so far worked nicely but I have encountered a issue. I have a few customs sensors (type general) that I send value to using mqtt. This works without issue and Domoticz updates the value without problem. The issue however is that Domoticz then doesn't seems to be publishing the device change to the domoticz/out topic. Is this a known issue? It seems to be working for all the other sensors except for theses custom sensors. Any ideas?
User avatar
jvdz
Posts: 2333
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Custom sensors not publishing status to mqtt domoticz/out

Post by jvdz »

It is a known feature to avoid an endless loop of messages. I think you can set it in the mqtt hardware definition to send anyways... Just check there.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
calania
Posts: 20
Joined: Friday 17 April 2020 21:02
Target OS: Windows
Domoticz version:
Contact:

Re: Custom sensors not publishing status to mqtt domoticz/out

Post by calania »

Disabling the "Prevent loop" did indeed fix the issue for me. So thanks for that! I however don't really understand how Domoticz publishing the status would start a loop. Could you explain how this loop would start?
User avatar
FireWizard
Posts: 1905
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Custom sensors not publishing status to mqtt domoticz/out

Post by FireWizard »

Hi @calania,

For a brief explanation, see viewtopic.php?p=280055#p280055

Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest