]> www.infradead.org Git - users/dwmw2/esp32-pool.git/log
users/dwmw2/esp32-pool.git
19 months agoMake scripts for sending values to Domoticz, send on startup too
David Woodhouse [Wed, 6 Sep 2023 16:18:53 +0000 (17:18 +0100)]
Make scripts for sending values to Domoticz, send on startup too

A bunch of switches are reset to a default state on startup; make sure we
tell Domoticz about it.

19 months agoFix default setting of pump
David Woodhouse [Wed, 6 Sep 2023 13:15:58 +0000 (14:15 +0100)]
Fix default setting of pump

Make a script which turns the pool pump on or off depending on whether
the time is between 7am and 7pm. Run it at 7am and 7pm.

Also run it on time sync, and on startup, to ensure that the pump is
running if it's supposed to be after a reboot.

The 'force' parameter ensures that we don't keep flipping it on at every
time sync; only at startup and at the regular 7am/7pm switches. So if
it's been overridden manually it should stay that way without surprises.

19 months agoReport BLE-YC01 battery to Domotiz
David Woodhouse [Wed, 6 Sep 2023 11:35:37 +0000 (12:35 +0100)]
Report BLE-YC01 battery to Domotiz

19 months agoTurn pump on/off at 7
David Woodhouse [Wed, 6 Sep 2023 11:33:19 +0000 (12:33 +0100)]
Turn pump on/off at 7

19 months agoDomoticz notification for mains switches
David Woodhouse [Tue, 5 Sep 2023 21:00:31 +0000 (22:00 +0100)]
Domoticz notification for mains switches

19 months agoAdd mains relay switches
David Woodhouse [Tue, 5 Sep 2023 20:48:17 +0000 (21:48 +0100)]
Add mains relay switches

Move the 1wire power relay to GPIO12 because that doesn't offend the
strapping, while the mains relay seems to pull it up?

20 months agoFirst import
David Woodhouse [Tue, 8 Aug 2023 19:48:32 +0000 (20:48 +0100)]
First import