Commit Graph
100 Commits
Author SHA1 Message Date
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
artem aef0f374b9 Mention timezone setting importance
And correct .venv path
2025-03-24 13:10:10 +01:00
artem dc60a7728f Turn on car charger locally 2025-03-22 18:09:32 +00:00
artem ba10ce84ec Improve WiFi reliability, especially on esp32-idf
That is, mystrom devices. BSS transition turned out to cause
issues (as Unifi was suggesting) when not client-supported.
2025-03-22 17:57:01 +00:00
artem abce37e342 Add sensible icons to network diag entities 2025-03-19 20:53:30 +00:00
artem 5882040295 Turn off bathroom heater after 12h of operation
Safety measure
2025-03-19 20:49:50 +00:00
artem 79858cbf33 Improve heater temperature accuracy 2025-03-18 16:36:38 +00:00
artem ceab184144 Move bathroom heater component custom->external 2025-03-17 21:19:40 +00:00
artem f320775d91 Move venv to .venv as the latter is more standard 2025-03-15 20:50:28 +00:00
artem b34d601ffd Add MQTT connection uptime sensor
To debug network connectivity issues.
2025-03-15 20:50:05 +00:00
artem b5bed25f78 Remove decimal part from runtime
It's counted in seconds anyway
2025-03-15 20:49:34 +00:00
artem 9d6d0f9430 Remove unused secret (locks moved to HA / btproxy) 2025-03-15 14:04:44 +00:00
artem aaa882b62b Remove obsolete entries from reflash 2025-02-27 22:27:19 +00:00
artem 791e920898 Add some instructions 2025-02-27 22:26:40 +00:00
artem 9f094802a6 Revert "Switch car-charger to arduino framework for now"
Replaced the board instead.

This reverts commit 5b948b259f.
2025-02-23 13:03:40 +01:00
artem aa776ff10b Remove unused secret sample 2025-02-09 12:03:30 +01:00
artem caf51bb955 Disable mqtt completely on btproxy
It's very confusing now that all states are written to the same
mqtt topic.

Besides, the only function ever used from it (logs) is now
in syslog.
2025-02-09 11:47:48 +01:00
artem d832cfa957 Convert frontdoorlock to btproxy 2025-02-09 10:55:57 +01:00
artem 5b948b259f Switch car-charger to arduino framework for now 2025-02-08 14:26:58 +01:00
artem fe07c7d634 Merge new switch with existing switch configs 2025-02-08 14:17:22 +01:00
artem b41f5d9b25 Finally commit a README (random) 2025-02-08 13:28:41 +01:00
artem 612622140b Expose identify LED as a switch to avoid noise 2025-02-08 13:27:19 +01:00
artem 8614d7f8a3 Settle on a common prefix to ESP-specific entities
esp is often used as a bridge to other device, e.g. a lock,
an AC, a siren, power switch etc. It helps to distinguish esp chip
sensor readings from that of the target device
2025-02-08 13:21:27 +01:00
artem c78bc6ac80 A couple ideas on syslog improvements 2025-02-08 13:17:20 +01:00
artem e5c9a97683 Do not publish NaN floats, send None instead 2025-02-08 13:17:01 +01:00
artem 2103a411ad Save Somfy rolling codes in ESP32 memory
In addition to MQTT - in case we lose MQTT persistence.
2025-01-30 22:05:34 +01:00
artem 84f6c8fe10 Disable mqtt logs when API log is enabled 2025-01-25 14:01:57 +01:00
artem 6f1dfedf2f Bump BT restart interval to 15min
To be on the safe side.

Also add logging for such restarts.
2025-01-25 14:01:30 +01:00
artem 8a547e3e63 Expand Syslog to esp8266 2025-01-25 13:59:51 +01:00
artem d060aa8eb4 Restart btproxy if no scan within 10 minutes
Mitigates https://github.com/esphome/issues/issues/6701
2025-01-23 19:34:01 +01:00
artem 202fd92aa9 Remove obsolete components from reflash 2025-01-23 19:32:46 +01:00
artem 34033b91a9 Draft syslog component for esp-idf 2025-01-23 19:31:30 +01:00
artem 36b11ca687 Add a couple sensors to debug btproxy 2025-01-20 21:41:30 +01:00
artem e5109b056f Move time server IP to secrets
Mostly not because it's "secret" but to make templates
reusable.
2025-01-20 21:40:26 +01:00
artem 56d3d4fc63 Move Basement door lock to HA btproxy 2025-01-07 21:59:15 +01:00
artem bc12358d51 Move Ruuvi to BLE proxy
Something happened and they went down. During reflash the firmware was
upgraded to v3 which made them discoverable via BLE.

Repurposed Ruuvi to a generic BLE proxy then.
2025-01-03 09:58:48 +01:00
artem e3406fc08a Make SNTP and MQTT server addresses configurable 2025-01-03 07:53:26 +01:00
artem e2c28f3fc1 Short and long beeps for siren 2024-12-20 17:32:45 +01:00