Open zwischenloesung opened 4 years ago
Basically the idea is to move the routines into separate objects, so that we can have several similar sensors or actuators and that different communication channels can be notified (e.g. by observer subscibtion). So for a specific sensor datum (e.g. soil moisture), we could have several observers (e.g. status-led, MQTT, BLE, and watering-pump).
Do some clean up and refactoring in the code to unify everything.