39 Commits

Author SHA1 Message Date
9957ec6227 remove IR specific code 2024-01-13 15:38:10 +01:00
23de23a2e0 move read temp logic into main 2023-12-31 14:57:58 +01:00
fa11355767 read temp every minute and publish only if difference is more than 0.2 2023-12-31 14:57:25 +01:00
fe5552a0b1 read initial state, after restart, from MQTT
simply by using retain, the client will get the latest state upon
subscribe
2023-10-30 17:09:26 +01:00
ffe4b91ac6 fix warning in Hass:
MQTT entity name starts with the device name in your config
2023-10-15 09:54:07 +02: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
b5e91195e7 publish state for hour format at startup 2023-07-11 23:15:23 +02:00
3cc84ae4d2 publish state for hour format change 2023-07-11 17:38:22 +02:00
e8b8c42959 publish state of led 2023-07-11 13:27:59 +02:00
58d60c02b8 brightness:
- use callback for when brightness is updated - avoid dependency on mqtt
- encapsulate brigthness in its own namespace - improve readability
2023-07-10 15:00:15 +02:00
ad955e5a7d publish brightness changes on MQTT 2023-07-10 00:01:40 +02:00
c2cc10c2cd change brightness over MQTT 2023-07-09 21:11:19 +02:00
d3d04721e9 generate uniqueId from id 2023-07-08 22:03:50 +02:00
acf009dbe8 fix virtual function not being called 2023-07-08 14:52:46 +02:00
65f7919ed9 standardize components configuration 2023-07-08 14:21:07 +02:00
294eef45c6 generalize components configuration 2023-07-08 11:20:39 +02:00
04e4c6531b refactor building components' configuration 2023-07-08 09:43:53 +02:00
b2e049f930 make build configuration consistent 2023-07-08 01:05:22 +02:00
7412029272 unify command components 2023-07-08 00:46:40 +02:00
08ff0ba367 unify sensor config 2023-07-08 00:34:43 +02:00
ea8c9a150c configure 24h format over MQTT 2023-07-07 22:40:10 +02:00
949b4f40d1 control led over mqtt 2023-01-19 23:16:03 +01:00
2b5fa8249e update IPs: mqtt and ntp 2023-01-19 23:15:29 +01:00
55782b7538 add support for restart over MQTT 2022-11-10 21:22:45 +01:00
a888a1fd1f fix living room name 2022-11-10 21:04:30 +01:00
16497456b2 re-connect mqtt 2022-10-16 20:50:31 +02:00
c20fb17f03 send config only once 2022-10-16 20:14:23 +02:00
e236841345 publish altitude 2022-10-11 16:56:43 +02:00
dd99a71b37 extract out building of hass config 2022-10-11 16:56:43 +02:00
391bd841e9 no task for publishing config 2022-10-11 16:56:43 +02:00
bfddd68854 publish config with device 2022-10-11 16:56:43 +02:00
55b5aa2a33 first draft to publish HA config 2022-10-11 16:56:43 +02:00
cbdc5612fc improve commands queueing 2022-09-23 20:54:08 +02:00
b437c5746e add button to display temperature 2021-12-11 11:16:22 +01:00
a1b0481416 publish bmp280 data
- temperature
- pressure
- altitude
2021-12-10 09:22:11 +01:00
be01072986 fix wifi reconnection event 2021-12-09 12:29:21 +01:00
9e118cc1b9 refactor display 2021-12-08 09:39:19 +01:00
167606a19e extract Mqtt functionality outside Ir 2021-12-06 14:58:28 +01:00