MQTT Audo-discovery en Tasmota PIR

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

Moderator: leecollings

Post Reply
User avatar
rolandtwilt
Posts: 74
Joined: Monday 05 October 2020 18:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

MQTT Audo-discovery en Tasmota PIR

Post 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?
User avatar
jvdz
Posts: 2335
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: MQTT Audo-discovery en Tasmota PIR

Post 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.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
rolandtwilt
Posts: 74
Joined: Monday 05 October 2020 18:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MQTT Audo-discovery en Tasmota PIR

Post by rolandtwilt »

do you mean this?

Image

Image

Groeten Roland
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: MQTT Audo-discovery en Tasmota PIR

Post 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...
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest