wutu / pimatic-mqtt

MQTT plugin for Pimatic
https://pimatic.org/plugins/pimatic-mqtt/
GNU Affero General Public License v3.0
9 stars 13 forks source link

JSON Parsing for switchstate topic #34

Closed maffmeier closed 4 years ago

maffmeier commented 6 years ago

Hey,

in my setup i have a knx2mqtt bridge. It translates the State telegram to a json message. It would be nice if there is a way to parse a specific json attribute for switchstate.

georg90 commented 5 years ago

Same for zigbee2mqtt switches.

They publish a message like MQTT publish: topic 'zigbee2mqtt/WD NAS OSRAM Plug', payload '{"state":"ON","linkquality":34}'

mwittig commented 4 years ago

released pimatic-mqtt@0.9.13