Apologies if this is a silly question. I am new to MQTT. Any idea how this device could be setup in pimatic MQTT plugin?
Topic…
RF/NewKaku-ID=00006d2f
Message…
{“raw”:“20;E5;NewKaku;ID=00006d2f;SWITCH=2;CMD=ON;\r”,“SWITCH”:2,“CMD”:“ON”}
I can’t get the device to work. It will not register. Setup is as follows…
{
"name": "Living Room Test PIR",
"id": "mqtt-livingroom-pir",
"class": "MqttPresenceSensor",
"topic": "RF/NewKaku-ID=00006d2f",
"onMessage": "ON",
"offMessage": "OFF",
}
The problems I have are…
- The device will not register present in pimatic. Any idea what I’m doing wrong?
- The device does not send an “OFF” message - could a timeout be used here similar to contact sensors in homeduino?