Hello,
I would be happy if someone can help me solve my problem.
An "mqtt-in" receives every five seconds the signal strength of my Bluetooth device. If the "MQTT broker" sends "-67", for example, the "switch-node" forwards "is not null" and then to the "change node" which then sends a "TRUE". That works and is fine.
But if my "Bluetooth Device" is not in the house, the "MQTT Broker" does not send any signal strength, there is no Flow, but the "change node" should send "FALSE"! But he doesn't send anything!
I configured the "switch-node" to "otherwise" but it doesn't work. Can someone tell me how to configure the node so that I get a "False" if the "MQTT broker" does not send any signal strength for the "Bluetooth device"?
thank you and have a nice evening
[{"id":"c54c5caf.992f5","type":"inject","z":"e3fd25d8.62b308","name":"Payload from MQTT","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"-67","payloadType":"num","x":390,"y":340,"wires":[["defb83f0.b6d85"]]},{"id":"defb83f0.b6d85","type":"switch","z":"e3fd25d8.62b308","name":"","property":"payload","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":630,"y":360,"wires":[["169a1a1b.44f736"],["d71c683f.240f58"]]},{"id":"169a1a1b.44f736","type":"change","z":"e3fd25d8.62b308","name":"change to TRUE","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":280,"wires":[[]]},{"id":"d71c683f.240f58","type":"change","z":"e3fd25d8.62b308","name":"change to FALSE","rules":[{"t":"set","p":"payload","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":910,"y":460,"wires":[[]]}]