gpbenton / engMQTTClient

MQTT client for Energenie ener314-rt board running on a raspberry Pi
MIT License
21 stars 10 forks source link

Sending to eTRV #2

Closed gpbenton closed 8 years ago

gpbenton commented 8 years ago

Need to receive MQTT message and send to eTRV

gpbenton commented 8 years ago

Sending a command asynchronously to the eTRV does not seem to work. It looks like you have to wait for a report before sending the command as a response to this.

1) Need to create a list of commands to send to each eTRV at its next report 2) Can you send more than one command? might be relevant if I find out it supports more commands.

gpbenton commented 8 years ago

Solved by having queue of messages to send to each eTRV on receipt of a temperature report.