Skip to content

v2.2.0: Support JSON in MQTT topics

Compare
Choose a tag to compare
@cbpowell cbpowell released this 17 Jun 23:58
· 2 commits to master since this release
  • Adds the ability to define power_topic_keypath, attribute_topic_keypath, and state_topic_keypath configuration values, which if defined will tell SenseLink to consider the incoming power/attribute/state MQTT messages as JSON and attempt to traverse through to the defined keypath to find the respective value. Keypaths can defined for one or all of power/attribute/state. Fixes #22 (thanks @vb543!)

Full Changelog: 2.1.0...2.2.0