Serial Gateway based on MySensors protocol communicating with HomeAssistant. Only Relays are visible as child id. All buttons are handled internally and gateway is sending relay status after action.
Buttons are set to:
- Short click - flip status of relays in zone
- Relese of long click - switch off all relays in zone
- Double click - flip on relay in zone
At this point sketch is done for only ON/OFF status of relays.
- MySensors (2.3.2)
- OneButton (1.4.0)
Note: All above must be installed via Arduino IDE
- Download Arduino IDE
- Download dependencies via Arduino IDE
- Download this repository
- Open sketch source file (
gateway/gateway.ino
) in Arduino IDE - Click a Upload button to build and upload sketch
See doc/Modification.md for detalis helping addopting this project for your needs.
https://www.mysensors.org/download/serial_api_20
https://www.mysensors.org/about/arduino#basic-structure-of-sketches
- longpress start/stop with flip as bistable switch
- longpress start/stop with read as contactron
- internally check if pump is not running without zones
- lights dimming
- add ds18b20 sensors reading
- sense if HASS (HomeAssistant) is working to bypass heating control locally
- small LCD for local control of heating
- fix all Issues