Commit Graph
100 Commits
Author SHA1 Message Date
artem 05da21c4f3 Remove and expand macros.h 2026-05-27 12:57:34 +00:00
artem 0bdb599afe Get rid of SUM_TYPE abstraction
I couldn't understand it -- maybe it was needed for something before our
refactoring too place, but now it's ridiculous.

400 SLoC + complaint about C++ => object.function()
2026-05-27 12:40:44 +00:00
artem ff57cb8b2c Further clean up garage-gate 2026-05-27 12:13:01 +00:00
artem 675f1b3eee Reinstate auto-restart on btproxy 15min silence
Too early -- Laundry BT still needs this.

This reverts commit d40da1a871.
2026-05-25 14:05:11 +00:00
artem 22926e4918 Add a picture of how ratgdo needs to be connected 2026-05-23 19:29:40 +00:00
artem d40da1a871 Remove auto-restart on 15min silence for btproxy
Latest triggers seem to be false positives.
2026-05-23 19:23:43 +00:00
artem 9046d66144 Disable btproxy @ blinds since Living room got one
This should make blinds more reliable, and BLE devinces on EG more
reliable, too.
2026-05-23 19:23:08 +00:00
artem 21466884ab Add irrigation controller (empty) 2026-05-23 13:10:34 +00:00
artem fc4d63e99e Manage client ID internally only 2026-05-23 10:34:51 +00:00
artem 641883f254 Remove unused ids and set default entity 2026-05-23 07:45:36 +00:00
artem 41db350f5c More robust partial door closing mechanism 2026-05-22 22:29:54 +00:00
artem 553c6d2dcb Make sec+2 parser work with overlapping packets 2026-05-22 22:19:31 +00:00
artem eea9f8438d Fix garage door not moving in opposite direction 2026-05-22 22:11:42 +00:00
artem 1c507d6164 Show gate as unavailable before receiving sync 2026-05-22 21:49:09 +00:00
artem 4414ba8f33 Also store rolling code in MQTT 2026-05-22 21:43:51 +00:00
artem f503e5a66d Store rolling code in flash rather than exposing it 2026-05-22 21:25:36 +00:00
artem 48f5760a17 Add debug info and fix rolling code startup 2026-05-22 21:09:46 +00:00
artem f7f7c9e6ff Print packet contents when receiving 2026-05-21 20:51:28 +00:00
artem cc9af7e824 Button to play sample alert tone 2026-05-21 20:42:13 +00:00
artem fd14ff3434 Remove distance sensor and esp32 always-true 2026-05-21 20:36:01 +00:00
artem 5ba4ce86f4 Remove esp8266 and delayed closure cases 2026-05-21 20:08:13 +00:00
artem 975d8c0b90 Clean up unused vehicle distance derivatives 2026-05-21 19:56:52 +00:00
artem a32b903c9c Embed substitutions 2026-05-17 20:17:02 +00:00
artem 645fafd2fb Remove unused components 2026-05-17 19:57:19 +00:00
artem dac704f372 Strip unused sensors and their implementation 2026-05-12 16:26:24 +00:00
artem 19d7a1532e One more btproxy is back 2026-05-11 20:50:23 +00:00
artem 1d561970bd Remove unused meter 2026-05-11 20:45:39 +00:00
artem 7bc9cd61aa Remove unused sensors
- obstruction
- remotes
- learning mode
2026-05-11 15:31:55 +00:00
artem 560075a646 Do not add mac suffix to name 2026-05-11 15:31:45 +00:00
artem a3389e0928 Use standard components for our ecosystem 2026-05-10 20:56:16 +00:00
artem 679528fed5 Merge GDO config into a single YAML 2026-05-10 20:30:01 +00:00
artem 24d06982a7 Make garage-gate.yaml fully local 2026-05-10 17:03:33 +00:00
artem ec837d2c28 Initial esphome config for garage-gate 2026-05-10 16:09:26 +00:00
artem 2d40d4ee3c nix flake update 2026-05-10 16:09:14 +00:00
artem 780d26c39a Connect Airthings Wave Mini directly to esphome
They tend to drop occasionally, I suspect because of some implementation
issue on either side. Perhaps binding them to a single device can
improve reliability.
2026-05-05 20:13:59 +00:00
artem 661930532d Split Meater into a separate device 2026-05-05 20:13:23 +00:00
artem b941f671ed Add device_class and convenient icon for water flow 2026-05-05 19:28:35 +00:00
artem 28d098fae3 Deduplicate btproxy config 2026-05-05 19:28:23 +00:00
artem c3cb5cb54a Power cycle button for myStrom relays
This can be used to power cycle critical infrastructure, which may
render the switch unavailable if turned off.
2026-05-03 10:33:00 +00:00
artem d4c1cdf8db Repurpose office-desk-south
The myStrom doesn't really fit nicely because of the not-so-flat OTO
socket nearby.

We will eventually use shadow-udmp to turn on shadow UDMP periodically
for config sync.
2026-05-03 10:24:46 +00:00
artem a92be71e63 Move garage-gate to garage-gate-power 2026-04-12 12:14:15 +00:00
artem bae722d505 Add esphome version sensor
To track whether an upgrade is needed
2026-04-12 10:09:11 +00:00
artem 08c3f02ce5 Add a note on IO0 2026-04-12 09:55:08 +00:00
artem a5a8154a7c Add esptool to PATH 2026-04-12 09:55:07 +00:00
artem 0916a5dbcc Note on serial console 2026-04-12 09:55:05 +00:00
artem a8ee5e1b11 Add board and pin annotations for heating-og 2026-04-12 09:54:40 +00:00
artem 65bec178bd Use new syntax for clk_mode 2026-04-12 09:54:11 +00:00
artem e12bbb50bb Improve WiFi security by requiring WPA2 2026-04-12 09:52:08 +00:00
artem db86d7fa43 Bump number of btproxy connection slots 2026-04-12 09:51:42 +00:00
artem 60ea2f0fca Add garage-gate mystrom 2026-04-09 17:30:23 +00:00
artem ee7a4426cf Update for Nix and add router firmware 2026-04-01 15:07:28 +00:00
artem 52b7e751a6 nix flake update 2026-03-21 16:07:47 +00:00
artem 1a1802224f Remove flake-utils 2026-03-21 15:30:23 +00:00
artem 4785814f85 Provide fake time which doesn't conflict 2026-03-21 15:26:04 +00:00
artem 673fd12124 Switch to disable failsafe charging schedule 2026-03-21 15:25:35 +00:00
artem 6e2b6ce0a5 Add cat-feeder-cam and cam template 2026-02-01 21:23:07 +00:00
artem 08c519faaf Use Ethernet in Heating OG 2026-01-19 13:36:10 +00:00
artem 9ac8fa444e Automatically OTA via DNS 2026-01-05 21:35:25 +00:00
artem 96ddd324f8 Use esphome own syslog component instead of custom 2026-01-05 21:05:18 +00:00
artem d4855e2f1c Update to esphome 2025.12, use its cc1101 2026-01-05 20:53:51 +00:00
artem b4659499e9 Remove unused sensor for which data is also gone 2025-12-13 13:54:00 +00:00
artem 1116f9f73f Fix schema generator for new esphome version 2025-12-13 13:49:31 +00:00
artem 7d542a5c95 recirculation-pump has been removed (shelly) 2025-12-13 13:48:03 +00:00
artem 7e5e0fc420 Hardcode timezone where it is important
The build is happening at UTC server normally.
2025-12-13 13:47:23 +00:00
artem 279eb31ef9 Fix esphome to a working version 2025-12-13 13:20:43 +00:00
artem 04be7878b3 Improve display accuracy of LED sensors
Also do not disable them: we just ignore them in recorder, but
keep values in influxdb
2025-10-12 11:33:40 +00:00
artem e6f4781afa Move from venv to Nix 2025-10-12 10:15:17 +00:00
artem 455633bf19 Update for new logger API 2025-10-11 12:28:59 +00:00
artem c44e98d4a1 Add board for new heating controller 2025-09-23 20:07:18 +00:00
artem 1a0ee9e894 Add meater to the nearby BT device 2025-09-23 20:06:56 +00:00
artem 9142e25498 Update zigbee firmware locations 2025-08-10 13:31:34 +02:00
artem 866ae97eac Connect PRM-9000 pulse output to ESP32 2025-08-02 14:16:40 +02:00
artem 2f29bb48d3 Add a few more mystrom meters 2025-07-31 18:23:21 +02:00
artem b7bcfbf34f Add office-rack plug 2025-07-28 20:18:18 +02:00
artem 20f8569881 Add desk area mystrom 2025-07-22 20:39:41 +02:00
artem 1f71adbe33 Remove recirculation-pump (switched to Shelly) 2025-07-21 21:58:24 +02:00
artem e4b8eb2a7c Mark pool entities unavailable outside interval 2025-07-21 19:09:18 +02:00
artem fbfa4a1d27 Better reflect 500ms sensor delay 2025-07-20 14:29:12 +02:00
artem fab582980e Add water presence sensor 2025-07-17 19:05:02 +02:00
artem e66fcca13e Sleep after 30s regardless of WiFi and MQTT
Also make awake time shorter (increase sensor frequency),
automatically sleep after OTA, and shift sensor updates to
MQTT connect time to speed up delivery.
2025-07-17 19:00:21 +02:00
artem b6c664aa2e Limit WiFi and MQTT startup to 30sec
Seen up to 15 min of uptime - some WiFi blockage apparently,
not something we need for this battery.
2025-07-15 20:02:38 +02:00
artem 6c06b4dd9a Add some known timings in preparation for tilt 2025-07-06 15:29:09 +02:00
artem 3443a0aa17 Remove unused btproxy 2025-07-06 13:06:27 +02:00
artem cf2e6b8889 Ignore pool temperature out of range 2025-06-30 22:59:58 +02:00
artem 6142620f8a Add pool esp32 2025-06-30 20:11:49 +02:00
artem 9bdc17057f Add useful commands to README 2025-06-30 20:11:49 +02:00
artem 6d857b317f Add a note on WAKE LED 2025-06-29 14:17:12 +02:00
artem 0b11dcbc3b Update pool hours and make it less complex 2025-06-17 17:19:47 +02:00
artem 6ddc71f04a Add spare-power-meter esphome config
Avoid forgetting to reflash it with latest config.
2025-06-06 13:33:59 +02:00
artem 79f531d82c Snapshot cc1101 component 2025-05-18 13:01:10 +02:00
artem 2af7d37162 Don't run recirculation with cold boiler
It's not really helpful.
2025-05-18 13:00:36 +02:00
artem 6108d8bd03 Rewrite somfy code in esphome transmitter
This will ensure correct timings while BT proxy is functioning.
2025-05-12 20:25:05 +02:00
artem e0dddf5245 Rewrite somfy in transmitter compatible code 2025-05-12 20:24:32 +02:00
artem a672914025 Move Blinds to API 2025-05-12 18:31:51 +02:00
artem f935bb35ac Move blinds to esp-idf
- can always revert
- better dhcp support
2025-05-11 17:36:24 +02:00
artem e64468d6e4 Static IPs for ZigBee coordinators
Need them for z2m
2025-05-07 17:30:46 +02:00
artem 3b22e775e5 Store valve state in flash 2025-05-07 17:30:27 +02:00
artem 7f0e9d9324 Format code with Google formatter 2025-05-06 18:35:23 +02:00
artem d46c6e5084 Log rolling code mqtt topic 2025-05-03 19:14:49 +02:00
artem 27e8bf4781 Rewrite blinds in external component 2025-05-03 19:09:54 +02:00