gpbenton / engMQTTClient

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

Turning on LEDs #5

Closed gpbenton closed 8 years ago

gpbenton commented 8 years ago

When to turn on an LED. Green or Red?

gpbenton commented 8 years ago

Red: Error.
Green: Initialized and running. Flash red when sending message, so that it stays on when stays in loop or there is deadlock.

Which results in Red Only: Fail to initialize Red and Green: Fail to send or receive message Green Only: All OK. None: Program not started (or log4c or bcm failed to initialize)