53 Commits

Author SHA1 Message Date
4d881a96bd fix wifi and mqtt reconnection issues 2024-06-29 17:44:22 +02:00
1a23a9c099 formatting 2024-06-06 18:00:32 +02:00
8b451fbbcf update wifi library 2024-06-04 21:35:36 +02:00
858d13c9a7 simplify wifi and make it more generic 2024-06-02 21:27:21 +02:00
16647d1f88 display sensor values only once on startup 2024-06-02 21:24:15 +02:00
8a955fa43a update time daily at 4 AM using task 2024-06-01 21:58:57 +02:00
8f706fe32f update time daily at 4 AM 2024-06-01 15:10:33 +02:00
b02c731e95 use blue led to indicate status of MQTT connectivity 2024-06-01 13:10:50 +02:00
348e2694db switch to ha-mqtt library, remove altitude 2024-05-30 08:27:56 +02:00
dfcbe7e081 display sensor values only once when button is clicked (physical or mqtt) 2024-05-28 17:26:18 +02:00
bdf6b0cec2 expose button on mqtt for displaying sensor data 2024-04-08 20:54:25 +02:00
47dd714a92 switch to BME280 2024-01-13 15:40:00 +01:00
9957ec6227 remove IR specific code 2024-01-13 15:38:10 +01:00
bdefbf23bc publish any change in temperature, but display only if difference is more than 0.2 2024-01-02 22:02:46 +01:00
23de23a2e0 move read temp logic into main 2023-12-31 14:57:58 +01:00
5ea1d96ba4 encapsulate pushlish state into HA Comand 2023-07-12 21:36:43 +02:00
f1d41ade51 publish led state at startup 2023-07-12 21:34:18 +02:00
22544c225a use task for interruptions: button and led 2023-07-11 23:34:40 +02:00
584fa688c3 use pre-defined led pin 2023-07-11 23:16:10 +02:00
e8b8c42959 publish state of led 2023-07-11 13:27:59 +02:00
ad955e5a7d publish brightness changes on MQTT 2023-07-10 00:01:40 +02:00
949b4f40d1 control led over mqtt 2023-01-19 23:16:03 +01:00
16497456b2 re-connect mqtt 2022-10-16 20:50:31 +02:00
af85295bb2 fix wifi disable 2021-12-31 09:22:21 +01:00
db9cd46ab5 make wifi_always_on configurable 2021-12-30 21:10:47 +01:00
fd3f32ca70 optimisation: run task once to disable wifi 2021-12-11 14:29:30 +01:00
b437c5746e add button to display temperature 2021-12-11 11:16:22 +01:00
fb06940cd1 display temp 2021-12-09 22:49:27 +01:00
6897fd497e use initial delay for wifi check test 2021-12-09 13:30:51 +01:00
be01072986 fix wifi reconnection event 2021-12-09 12:29:21 +01:00
07c2e67a8f refactor display methods 2021-12-08 18:08:40 +01:00
5a8e015b14 display temp 2021-12-07 23:36:24 +01:00
7cca316b53 add bmp 2021-12-07 22:48:41 +01:00
72b654bb7f simplify wifi reconnect 2021-12-07 11:45:54 +01:00
24dee5c4ec optimise wifi disconnect check 2021-12-07 11:40:48 +01:00
900cf664b4 move loop tasks in their namespaces 2021-12-07 10:53:43 +01:00
3df68fbc8b refactor display value logic 2021-12-07 10:36:32 +01:00
176984dfa5 put Ir::loop into a task 2021-12-07 10:14:15 +01:00
6b3df25fd5 display command 2021-12-07 09:25:59 +01:00
167606a19e extract Mqtt functionality outside Ir 2021-12-06 14:58:28 +01:00
25dcda2dfa use events for Wifi 2021-12-06 09:15:31 +01:00
f807698cdd use TaskScheduler
- use task for displaying colon
- update display only when minute changes
2021-12-05 13:23:19 +01:00
633f2eb2de set hostname 2021-12-05 11:53:15 +01:00
854b4a60b9 move Ir logic into its own loop 2021-12-05 11:29:24 +01:00
eb29c2203d refactor to use namespaces 2021-12-05 11:14:29 +01:00
584e1ffc4e esp_clock: use directive to enable/disable IR 2021-11-19 21:09:29 +01:00
bab484f357 add support for IR commands and publish them on MQTT 2021-05-09 08:12:13 +02:00
8f6f100fbb use better name for stay connected constant 2020-11-04 16:57:30 +01:00
03a1fc0e21 optimize OTA handling 2020-11-04 00:39:16 +01:00
35440ecca0 refactored into multiple files 2020-11-04 00:27:50 +01:00