i’m trying to connect motion sensor to vera via MQTT. The issue is that the device that is sending the MQTT has fixed payload and its eather True or False and i can’t change it to send Status:1 or Status:0, does anybody know how to modify mqttTarget variable so it can translate The True value to trip the sensor and false to untrip?
Thanks for attending to my request which is appreciated. However, sofar no luck in getting the value across to my vera for which the following applies:
Thanks a lot, got it working. In further checking it transpired that the service was not listed under Developer Tools - Services. This was because the rest_command was accommodated under the sensor directory. After putting it in the configuration.yaml, all works fine. Thanks again for sharing and thinking along with me.
Enjoy!
Anyone who can help me with what to config in Home assistant to get the values from rain and wind sensor configured in Vera?
I can see the values in the CONFIG/MQTT settings in HA.
Meddelande 192 mottaget på Vera/Events/2879 vid 12:30 :
{
“CurrentRain”: 107.08,
“DeviceId”: 2879,
“DeviceName”: “Regnsensor 220403”,
“DeviceType”: “urn:schemas-micasaverde-com:device:RainSensor:1”,
“OldCurrentRain”: 200.45,
“RoomId”: 14,
“RoomName”: “Utomhus”,
“ServiceId”: “urn:upnp-org:serviceId:RainSensor1”,
“Time”: 1659695454,
“Variable”: “CurrentRain”
}
Trying to get the data for the sensor like this in HA’.