95e6d408b3
make "meeting sensor" switch generic
2025-01-16 18:03:10 +01:00
d123f08181
add flag to disable doorbell
2024-12-02 09:11:59 +01:00
ed5723e356
cleanup gitignore
2024-10-15 17:33:15 +02:00
3f00d8c506
upgrade to ha-mqtt 1.3.0 and add included diagnostic sensors
2024-10-15 17:15:15 +02:00
a25746cfc9
Merge branch 'switches-default-name'
2024-10-15 17:12:55 +02:00
247e0fbb37
generate default name for easy home switches
2024-10-07 14:12:52 +02:00
36f96bb9a1
use generic name for easy_home_b switch
2024-10-05 21:30:27 +02:00
996683d43c
use string as a pointer to keep the reference to id
2024-10-05 21:29:52 +02:00
e246158502
build a default name for Pollin switches
2024-10-05 21:28:54 +02:00
7e44a0710a
make name optional for PollinSwitch
2024-10-05 11:02:47 +02:00
72aa6749cd
add explicit dependecy on TaskScheduler (used in both wifi and ha-mqtt libraries) and upgrade to 3.8.5
2024-10-04 18:31:55 +02:00
fa4c085b32
fix battery percent by using value_json as input
2024-07-07 18:05:53 +02:00
81b36f271e
switch to wifi v2.0.0 - without multiple SSIDs
2024-06-30 00:56:43 +02:00
758cc52b16
fix issue with wifi and mqtt reconnection
2024-06-29 17:37:27 +02:00
a68b9b4971
add support for command line reset
2024-06-29 13:37:22 +02:00
5ef715227d
add switch for bedroom player - Tivoli
2024-06-16 12:16:32 +02:00
5fccc50c1e
update calculation for oil tank
2024-06-16 12:09:20 +02:00
9141c8d54e
update my libraries and switch to using wifi lib
2024-06-04 21:07:52 +02:00
004bba0175
fix decoder tests
2024-06-04 21:02:38 +02:00
d96d4cc666
Merge branch 'huzzah'
2024-05-30 12:45:09 +02:00
2411750b35
use chars for protocol 1 group, with leading 0, to match the way is defined in devices
2024-05-30 12:16:28 +02:00
cad27ea106
Merge branch 'library' into huzzah
2024-05-30 08:32:38 +02:00
3a19576b51
turn into ha-mqtt library
2024-05-30 08:30:23 +02:00
510a378a5e
add Number, refactor StateConfig and add support for restoring state at startup
2024-05-29 16:13:01 +02:00
1fe24a5b7f
add support for setting retain
2024-05-29 16:09:54 +02:00
b4daba4cb2
rename secondary entities and add support for configuration type entity
2024-05-29 16:08:05 +02:00
ce21dedcd5
generic support for using device's name
2024-05-29 16:01:00 +02:00
c03c3d03fd
decouple mqtt:
...
- register onConnected and onDisconnected callbacks
- allow optional Scheduler
- publishInit is independent on Scheduler
2024-05-22 13:42:52 +02:00
4693969aff
reorganize platformio.ini configuration
2024-05-22 00:04:21 +02:00
a4893747bb
moved temp sensor next to servers
2024-05-21 01:15:56 +02:00
795772909f
Merge branch 'protocol' into huzzah
2024-05-20 22:00:27 +02:00
c2395e8bde
switch back to returning pointer in findProtocol - only this works with derived classes
2024-05-20 22:00:09 +02:00
f668beeca2
use enum for protocol
2024-05-20 17:57:32 +02:00
45e0ea3261
use constexpr and dedicated protocol class
2024-05-20 17:57:07 +02:00
f8eb28786a
pro-mini doesn't support map, find protocol based on each protocol's value - type safe
2024-05-20 13:19:41 +02:00
4096bfc83a
Merge branch 'doorbell' into huzzah
2024-05-19 18:11:28 +02:00
b140fd08ac
find protocol based on dynamically created map
2024-05-19 17:50:26 +02:00
1d99c73bdf
use map to find sensors
2024-05-19 11:50:19 +02:00
6733a6678a
use better names for constructing secondary entities
2024-05-19 01:33:11 +02:00
8282af3992
use reference when building DeviceConfig
2024-05-19 01:31:41 +02:00
2706b6f1a5
allow creation of DeviceConfig only with factory method
2024-05-18 22:44:36 +02:00
e9c404a4d5
add doorbell protocol
2024-05-18 21:17:23 +02:00
3152375623
pin definitions in a dedicated file
2024-05-18 20:42:05 +02:00
d665b12c71
update PINs for final connectivity
2024-05-18 13:43:46 +02:00
ddbefdae5d
use blue led to indicate mqtt connectivity
2024-05-18 09:45:17 +02:00
22add7aea8
move all devices creattion in devices.h
2024-05-17 18:01:12 +02:00
4b3ed383d8
destroy container along with the builders
2024-05-17 09:26:35 +02:00
a44b890d43
Merge branch 'refactor' into huzzah
2024-05-16 17:27:24 +02:00
3d7895e916
fine tunning:
...
- use namespace for oil tank builders
- use factory method for creating DeviceConfig
- use C's strcmp for comparing strings
- split parsing of incoming RCSwitch states
2024-05-16 11:14:47 +02:00
77594581ff
return string when building protocol ids - avoid unused pointers
2024-05-16 10:26:15 +02:00