Hallo all,
Did anyone know the settings in HA configuration.yaml for this PIR Sensor.
What I found on the Github Page under DOCS Intergration HA for a PIR Sensor is this.
But this does not work.
Any Clue what to write in the configuration.yaml of HA. I’m getting a Error when I checking my Config
in HA… I changed the Topic to “home/OpenMQTTGateway/commands/MQTTto433”
and also the value_template: ‘{{ value_json[“9612550”] }}’ I think that, instead off Presense I have to put in the code that comes from my PIR Sensor … Right ?
Still the wrong direction you want …/433toMQTT at the end.
433 info received by OMG from the PIR, with OMG transferring it to MQTT.
Can you show a screenshot of MQTT.fx when receiving a triggering message? There we can exactly see the correct topic you need to use.
And while still not knowing anything about the HA configuration.yaml definitions, from your full JSON I would assume that you want to catch the ON and OFF state with somethinbg like this:
Hallo DigiH
Yes you did a great job. You found the right way. I did a mistake in the state topic.
I change the state_topic to “home/OpenMQTTGateway/433MQTT” (Sorry my mistake !)
I checked it with MQTT.fx
Because the PIR Sensor does not send a off Code only a on code.
but in Home Assistant we have the possibility to change the state from ON to Off with this line
off_delay: 5
So now it is up and running with you cratefull help. Many thanks…