Page 1 of 1

MQTT Audo-discovery en Tasmota PIR

Posted: Monday 21 February 2022 9:12
by rolandtwilt
Good morning,
I found someone who made me motion sensors that work with Tasmota.
In Tasmota I can set how often the sensor is allowed to detect and that works really great.
They are also picked up via the MQTT Discovery and they run well in a script.
The strange thing is that the MQTT Discovery sees them as "push button Off" this is easy to adjust in Domoticz but every time Domoticz restarts they are again "push button Off" Anyone have an idea?

Re: MQTT Audo-discovery en Tasmota PIR

Posted: Monday 21 February 2022 10:32
by jvdz
rolandtwilt wrote: Monday 21 February 2022 9:12 The strange thing is that the MQTT Discovery sees them as "push button Off" this is easy to adjust in Domoticz but every time Domoticz restarts they are again "push button Off" Anyone have an idea?
For starters: Show the CONFIG MQTT Topic and Payload for this device so we can see the details send by TASMOTA. ;)

Split into its own topic so things are easier to follow.

Re: MQTT Audo-discovery en Tasmota PIR

Posted: Friday 01 April 2022 11:06
by rolandtwilt
do you mean this?

Image

Image

Groeten Roland

Re: MQTT Audo-discovery en Tasmota PIR

Posted: Tuesday 05 April 2022 13:00
by gizmocuz
No thats not what we are looking for.
Please use a application like MQTT Explorer and connect to your MQTT broker.
In the application , navigate to the discovery topic and try to find your PIR, and there should be a config topic with a JSON payload.
That payload is the interesting part...