295 Commits

Author SHA1 Message Date
b5e13c9ba2 uniqueId, configTopic & commandTopic:
- for sensors, use deviceClass as part of uniqueId & configTopic
- use same commandTopic for all Commands - with /set at the end
2024-05-16 10:13:36 +02:00
6ebe06344c use same Builder for sensor specific fields 2024-05-16 10:05:24 +02:00
44d14d9a09 cleanup 2024-05-16 09:53:55 +02:00
1b438fb141 move config publishing inside Component 2024-05-15 10:33:09 +02:00
f2e3e1940e destroy builders 2024-05-15 10:28:39 +02:00
6a287007d7 unify execution of containers inside the list 2024-05-15 10:28:35 +02:00
ae525d7e15 unify Commands and use map to trigger onCommand 2024-05-15 08:04:21 +02:00
7b53efe1ca use Builder instead of EntityConfig 2024-05-15 00:53:38 +02:00
ee87deb2d0 disable retain for command mesages 2024-05-14 08:05:08 +02:00
333fc93a9f move area completely under DeviceConfig 2024-05-09 13:46:22 +02:00
965e158b6a add oil tank sensor 2024-05-09 11:52:40 +02:00
6fd9bdc8ce added oil tank room sensor 2024-05-04 21:46:39 +02:00
18450a6883 fix on/off map insertion 2024-05-04 16:17:43 +02:00
7a6caf6afe use sensor name for the device 2024-05-03 17:19:52 +02:00
f6fed5a115 publish sensor configuration 2024-05-03 13:56:29 +02:00
278d82dec6 fix random resets by initializing all pointers with nullptr 2024-05-03 13:55:19 +02:00
1e69ecd9c9 publish config from list of all components 2024-05-03 13:50:13 +02:00
86b2d75ea6 separate generic Ha components - could be used in a library 2024-05-03 09:22:53 +02:00
e67ce3b33c extract StateConfig into a dedicated class 2024-05-02 21:24:41 +02:00
eace33902b separate Ha generic components from gateway specific ones 2024-05-02 19:40:04 +02:00
551c1300a6 publish cleanup config on OTA updates 2024-05-02 18:56:52 +02:00
071e363c14 make publisher accesible to entire Ha namespace 2024-05-02 12:44:30 +02:00
6b37d61b5c unify switches under same list and get rid of Builder 2024-04-30 23:08:22 +02:00
a9d66e29e3 fix on/off all switches 2024-04-30 21:27:02 +02:00
aaeb0a85e6 add support for reacting on switching on/off all EasyHome switches 2024-04-30 16:23:54 +02:00
9611b2c564 support state for EasyHome switches 2024-04-30 16:22:55 +02:00
41e2e1359a make area optional and add EasyHome switches 2024-04-30 09:43:45 +02:00
3dcfc3e5ba add mqtt with ha components
configure Pollin switches
2024-04-30 08:08:38 +02:00
14a984195f keep serial logic common
RX pin does not work as RC recevier for huzzah
2024-04-29 14:31:57 +02:00
6a2450d94f dedicated reponse and error handling for each board 2024-04-27 16:50:09 +02:00
638f6b5939 cleanup wifi:
- remove disconnected - not used
- remove tConnected - duplicate of stationConnectedHandler
2024-04-27 16:06:59 +02:00
cb53ad131a remove unused blink 2024-04-27 16:05:35 +02:00
61a7ca0bde separate pro-mini and huzzah logic into dedicated files 2024-04-27 00:00:11 +02:00
100a89a92f add huzzah with support for ota and wifi 2024-04-26 13:45:10 +02:00
5b30e0317d fix warning about const char & upgrade arduino json library 2024-04-26 13:26:07 +02:00
50d48dcfe2 Merge branch 'oil_sensor-switch' into gateway 2023-05-19 10:49:32 +02:00
fdc7712b9d Merge branch 'f/advanced-receiver' into gateway 2023-05-19 10:41:30 +02:00
672691fe00 add support for displaying raw values - for finding new remotes 2023-05-17 16:31:23 +02:00
8e8fdf6611 add fritzing for oil sensor 2023-02-22 23:00:22 +01:00
9862b91bf1 use pro mini as sensor with attiny85 as controller 2023-02-22 23:00:22 +01:00
4cee82f28d update documentation 2023-02-22 22:30:24 +01:00
bfe2280d16 Merge branch 'gateway' 2023-02-20 20:19:56 +01:00
50b0762604 Merge branch 'gw/testing' into gateway
- move all tests into native
2023-01-28 09:10:11 +01:00
65b9ce8dc1 remove embedded test from pipeline 2023-01-28 09:09:40 +01:00
37fc2ab103 move sensor_builder tests into native 2023-01-28 09:09:40 +01:00
624f26c751 update testing 2023-01-28 09:09:40 +01:00
2a591cb28f Merge branch 'gw/serial-reader' into gateway
- use private library for serial reader
- optimize memory usage
- reduce memory needed for json serialization/deserialization
- remove the need for array commands
2023-01-28 09:04:06 +01:00
41ad1b4348 increase reset time
- compensates for old timeout in serial reading
2023-01-22 16:44:01 +01:00
ed755abb14 more json optimization:
- reduce allocated size using correct const/not const char*
- double buffer size for input serial
2023-01-22 14:50:15 +01:00
c61880db57 echo needs to display '\n' 2023-01-21 21:21:15 +01:00