Unfortunately still no go.
Not sure if it is relevant, but when I try to validate the json that is the default device template I get the following. Is there an error in the json?
MQTT Connector Debug Motion Sensor: deviceUpdated: publishing device - payload = {"name": "Motion Sensor", "deviceId":"900634645","model": "Example On/Off Sensor Module", "address": "123456", "states": { "backlightBrightness": "0", "onOffState": "False" } }
{"name": "Motion Sensor", "deviceId":"900634645","model": "Example On/Off Sensor Module", "address": "123456", "states": { "backlightBrightness": "0", "onOffState": "False" } }
{"name": "{{name}}", "deviceId":"{{deviceId}}","model": "{{model}}", "address": "{{address}}", "states": { {{#states}} "{{name}}": "{{value}}", {{/states}} } }
Z-Wave received "MS - Motion - Office" status update is on
Trigger Last Motion - Kontor
MQTT Connector Debug MS - Motion - Office: deviceUpdated: publishing device
- platform: mqtt
name: "Motion Sensor Office"
state_topic: "indigo/devices/1358686939/update"
payload_on: "True"
payload_off: "False"
qos: 0
device_class: motion
value_template: '{{value_json.states.onOffState}}'
# mqtt dimmer
- platform: mqtt
name: "Living room downlight couch"
state_topic: "light/livingroom/couch/status"
command_topic: "light/livingroom/couch/switch"
brightness_state_topic: 'light/livingroom/couch/brightness'
brightness_command_topic: 'light/livingroom/couch/brightness/set'
qos: 0
payload_on: "ON"
payload_off: "OFF"
optimistic: false
Message 15 received on indigo/devices/1752710570/command at 6:15 PM:
off
MQTT Connector Debug MQTT: Message received: indigo/devices/1752710570/command/, payload: off
MQTT Connector Debug MQTT: Saved states, topic: indigo/devices/1752710570/command/, payload: off
MQTT Connector Debug MQTT: Device command match, DevId: 1752710570, command: , payload: off
MQTT Connector Debug MQTT: Message received: indigo/devices/1752710570/command/, payload: on
MQTT Connector Debug MQTT: Saved states, topic: indigo/devices/1752710570/command/, payload: on
MQTT Connector Debug MQTT: Device command match, DevId: 1752710570, command: , payload: on
Users browsing this forum: No registered users and 7 guests