184 Commits

Author SHA1 Message Date
400acd8d5f upgrade to ha-mqtt 1.3.0 and add included diagnostic sensors 2024-10-09 11:04:24 +02:00
e3011e2efd fix compilation of a brand new project: add explicit depenency of TaskScheduler (it used to be in ha-mqtt library) 2024-10-04 13:56:47 +02:00
2206819965 change decimal precision to 1 for temperature, humidity and pressure 2024-06-30 14:01:08 +02:00
0837dc8fe8 switch to wifi without multi ssid 2024-06-30 13:52:44 +02:00
4d881a96bd fix wifi and mqtt reconnection issues 2024-06-29 17:44:22 +02:00
b426988c43 add MQTT button for updating time 2024-06-29 13:13:33 +02:00
52df4e31b2 add alternative BME reading using SparkFun librarry 2024-06-13 09:09:23 +02:00
fff19fe3fc use weather station settings for bme 2024-06-12 18:43:48 +02:00
1a23a9c099 formatting 2024-06-06 18:00:32 +02:00
5cc36bbedf Merge branch 'wifi-improvements' 2024-06-04 21:36:53 +02:00
8b451fbbcf update wifi library 2024-06-04 21:35:36 +02:00
5014fd7f98 move wifi&ota inside a library 2024-06-04 10:26:05 +02:00
15f5ab3ef7 use task for WifiMulti: everything should be exectued inside loop 2024-06-02 21:32:05 +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
2a0dfd9fc3 Merge branch 'bme' 2024-04-08 20:55:04 +02:00
bdf6b0cec2 expose button on mqtt for displaying sensor data 2024-04-08 20:54:25 +02:00
46d17c37ae display symbol for temp & humidity 2024-01-19 23:55:22 +01: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
dbc0eb7703 Merge branch 'f/read-temp' 2024-01-03 12:53:30 +01:00
2bb9de1f61 simplify display time task:
- drawTime onEnable
- disable drawColon onDisable
- don't display time at startup, by default temperature is displayed now
2024-01-02 22:06:31 +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
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
42d3b5dc4c move temp sensors under dedicated device 2023-09-08 16:29:50 +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
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
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
f237fba978 Merge branch 'brightness' 2023-07-11 13:27:20 +02:00
3272afcef2 update brightness at specific hour instead of interval 2023-07-11 11:52:42 +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
b2952cb6a2 rename displayColumn 2023-07-10 13:28:27 +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
9767db6cce Merge branch 'ha_components' 2023-07-08 22:06:51 +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