volca02 / hr20-esp12-master

Re-implementation (with different features) of the master portion of OpenHR20 wireless project
GNU General Public License v2.0
12 stars 5 forks source link

Implement a MQTT interface #7

Closed volca02 closed 6 years ago

volca02 commented 6 years ago

MQTT interface is the next logical step:

Topic base path should be: /prefix/addr/*

with fixed but customizable prefix (compile time).

Topics:

Timers then should probably be timers/day/slot/... - need feedback here.

volca02 commented 6 years ago

Initial impl (not yet working) in mqtt branch now

volca02 commented 6 years ago

Added timer support

volca02 commented 6 years ago

Timer topic parsing seems to be broken: ! ERR Invalid topic /hr20/10/timer/0/0/time

volca02 commented 6 years ago

Only address configuration and value conversions are missing from mqtt impl. Considering it done, for now.