This website requires JavaScript.
fddc60ad0c
add support for force_update
v2.1.0
Nicu Hodos
2025-10-13 15:10:48 +02:00
80c04a2d80
Merge branch 'v2.0.0'
master
2.0.0
Nicu Hodos
2025-10-11 16:19:14 +02:00
403bc179ef
Merge branch 'memory-optimization' into v2.0.0
Nicu Hodos
2025-10-11 16:18:47 +02:00
d18d7553b9
avoid using intermediate buffer to store config to publish
memory-optimization
Nicu Hodos
2025-10-11 16:13:44 +02:00
fd40969c20
use unique_ptr to avoid manual deletion
Nicu Hodos
2025-10-11 14:27:58 +02:00
12663901ab
use precise length for storing state topic
Nicu Hodos
2025-10-10 23:34:42 +02:00
130f4eb6a2
use a better name for restoreStateFrom...
Nicu Hodos
2025-10-10 23:28:01 +02:00
149a722fc7
use commandTopic as a temporary object
Nicu Hodos
2025-10-10 23:26:58 +02:00
962300712f
use configTopic as a temporary object
Nicu Hodos
2025-10-10 18:28:27 +02:00
adf1629aad
add support for specifying entity_id on HA side, instead of being autogenerated based on the name
Nicu Hodos
2025-10-09 09:12:51 +02:00
7d8fe51845
webserver: separate setup from start
Nicu Hodos
2025-10-08 19:58:25 +02:00
9093996ec9
use standard fixed length types
Nicu Hodos
2025-10-08 17:14:06 +02:00
98fbf2a55e
add pre-configured button for updating the heap statistics
Nicu Hodos
2025-10-08 14:32:49 +02:00
a23bf27c50
empty list of components, it is not needed after the config has been published on MQTT
Nicu Hodos
2025-10-07 18:58:39 +02:00
5bf3db20da
add test for BinarySensor
Nicu Hodos
2025-10-08 11:03:28 +02:00
2b23bbf178
fix tests
Nicu Hodos
2025-10-08 10:14:59 +02:00
9511f08d2b
don't create Builders on heap, use temporary objects instead
Nicu Hodos
2025-10-08 09:43:59 +02:00
7150dc08c9
Merge branch 'v1.13.0'
Nicu Hodos
2025-10-05 12:14:22 +02:00
c98df614c4
optimize performance by using function template - it avoids type erasure and heap allocation
Nicu Hodos
2025-10-05 12:11:24 +02:00
07eeac8beb
add support for using lambdas with captures as factory_builder functions
Nicu Hodos
2025-10-05 11:35:55 +02:00
49a86fb559
Merge branch 'v1.12.0'
Nicu Hodos
2025-10-03 10:29:43 +02:00
01c7eb8479
re-organize state and command topics by removing component type from path
Nicu Hodos
2025-10-02 22:07:02 +02:00
21b96b481c
Merge branch 'v1.11.0'
Nicu Hodos
2025-10-02 08:09:46 +02:00
d69a0a59cb
add binary sensor which requires the introduction of GenericSensor class
Nicu Hodos
2025-10-02 08:08:12 +02:00
b5a3af70d9
use string and less memory to avoid crashes
rest-put
Nicu Hodos
2025-09-17 17:06:29 +02:00
085b74ca0b
use PUT for changing command state
Nicu Hodos
2025-09-17 17:06:05 +02:00
259b001d5e
Merge branch 'v1.10.1'
Nicu Hodos
2025-09-17 17:04:11 +02:00
31a3cc3e4a
add license
Nicu Hodos
2025-09-17 16:48:55 +02:00
17105a0ce2
add reference to external Scheduler and update library dependencies
Nicu Hodos
2025-09-17 15:37:08 +02:00
ad03e147b9
Merge branch 'v1.10.0'
Nicu Hodos
2025-09-10 14:10:19 +02:00
9f13a6db87
move web server here - it simplifies the dependency management
Nicu Hodos
2025-09-08 17:22:35 +02:00
93c6c67822
Merge branch 'webserver' into v1.10.0
Nicu Hodos
2025-09-10 14:09:31 +02:00
10afc57b65
fix crash due to memory issues by using heap - dynamic json
Nicu Hodos
2025-09-08 12:21:10 +02:00
74f1dc1553
return list of commands as JSON array
Nicu Hodos
2025-09-08 12:21:10 +02:00
73f7283918
use POST for commands, it aligns better with REST specs
Nicu Hodos
2025-09-07 10:19:07 +02:00
234649cdd2
implement getting commands and changing the state
Nicu Hodos
2025-09-06 21:41:45 +02:00
b4461d629b
first draft - use it as a library
Nicu Hodos
2025-09-06 19:32:46 +02:00
6924775e02
implement toJson for Component and Command to be used in webserver responses
Nicu Hodos
2025-09-08 12:22:38 +02:00
9d026b4aef
Merge branch 'v1.8.0'
Nicu Hodos
2025-09-06 22:03:02 +02:00
7adc710271
use task for restart to allow delay and give a chance to web server to send reponse back
Nicu Hodos
2025-09-06 21:43:53 +02:00
c82cb3670c
add map for command->id to offer support for web server
Nicu Hodos
2025-09-06 17:14:15 +02:00
a717ca9611
Merge branch 'v1.7.0'
Nicu Hodos
2025-06-20 11:30:17 +02:00
df53af65fa
use long term statistics as default for battery sensors
Nicu Hodos
2025-06-07 09:14:32 +02:00
464b4f1645
add assignment operator for when EnumClass is used in a Builder
Nicu Hodos
2025-06-07 08:29:23 +02:00
57160661ec
use type safe SensorStateClass-es
Nicu Hodos
2025-06-06 13:43:32 +02:00
391fa927ba
add support for SensorStateClass (used for long term statistics) and use it as default for Temperature and Humidity sensors
Nicu Hodos
2025-06-05 19:34:06 +02:00
9b1ecf73ce
add sensor for wifi signal strength
Nicu Hodos
2025-06-04 17:14:14 +02:00
e129097b52
Merge branch 'v1.6.0'
Nicu Hodos
2025-03-27 12:28:44 +01:00
f33ed5cd75
add restart button for ESP devices
Nicu Hodos
2025-03-27 12:28:00 +01:00
5d9b0862bf
valueTemplate is specific to all state components
Nicu Hodos
2025-03-26 13:38:16 +01:00
94ff72aefc
add support of unitMeasure for Numbers
Nicu Hodos
2025-03-26 13:37:38 +01:00
4037ede011
add support for icon
Nicu Hodos
2025-03-26 10:19:35 +01:00
4b600a4686
fix possible bug: restore from state needs a state topic
Nicu Hodos
2025-02-07 14:04:05 +01:00
348ae0bd7d
Merge branch 'v1.5.0'
Nicu Hodos
2025-02-06 13:24:50 +01:00
935041204e
add text component
Nicu Hodos
2025-02-06 12:58:35 +01:00
70535f3467
add light component
Nicu Hodos
2025-02-03 19:11:55 +01:00
ab11cdacd8
use inline for static members - avoid declaring them outside of class
Nicu Hodos
2025-01-10 13:33:58 +01:00
a3b8b8a65d
Merge branch 'v1.4.1'
Nicu Hodos
2024-11-01 09:42:17 +01:00
5eb3e6f0a5
reorganize components tests - prepare for future HA tests, like builder
Nicu Hodos
2024-10-29 10:05:37 +01:00
5c3e0c2236
rename utils.h to list.h
Nicu Hodos
2024-10-29 10:04:45 +01:00
9e7f2dc065
add tests for all components
Nicu Hodos
2024-10-28 21:11:17 +01:00
803d969de6
fixes: - use HA's default values for min, max & step - initialize topic arrays with nullptr - re-order code
Nicu Hodos
2024-10-28 21:10:53 +01:00
4873c26384
move native tests in dedicated folder
Nicu Hodos
2024-10-28 17:51:29 +01:00
c9b6ad3a44
Merge branch 'v1.4.0'
Nicu Hodos
2024-10-28 16:35:30 +01:00
9930171d58
simplify: move building of configTopic and uniqueId inside component
Nicu Hodos
2024-10-28 12:37:15 +01:00
0eec971560
add support for jsonAttributesTemplate and remove overrideConfig
Nicu Hodos
2024-10-28 12:13:42 +01:00
92b5837538
change parameters' order in Component constructor - id is mandatory
Nicu Hodos
2024-10-28 12:05:34 +01:00
1787f20ddb
refactoring: combine composition and inheritance for building the configuration
Nicu Hodos
2024-10-28 11:49:56 +01:00
2a5fb84d83
bug fix - StatefulCommand was wrongly initialized with number type, instead of the incoming parameter
Nicu Hodos
2024-10-28 08:55:23 +01:00
47a5bfc81c
make min, max & step optional
Nicu Hodos
2024-10-28 08:50:00 +01:00
3a374bf685
no need to use friend in DeviceConfig
Nicu Hodos
2024-10-28 08:46:48 +01:00
7755950a27
give maps more meaningful names and introduce StatefulCommand
Nicu Hodos
2024-10-24 18:26:36 +02:00
50e6c2586d
Merge branch 'optimizations' into v1.4.0
Nicu Hodos
2024-10-28 11:55:37 +01:00
fe8b33df72
optimize ArduinoJson serialization: avoid copies of strings
Nicu Hodos
2024-10-18 12:18:19 +02:00
baa3d2d0b8
- avoid possible buffer overflows by using snprintf - uniqueId is a field now - optimizes string copy - store long strings in FLASH memory
Nicu Hodos
2024-10-18 09:14:49 +02:00
138c7b5cd8
read heap stats once and put them in both sensors and json attributes
Nicu Hodos
2024-10-17 17:15:43 +02:00
df1b900b5d
Merge branch 'v1.3.1'
Nicu Hodos
2024-10-15 17:25:30 +02:00
0227340a1f
fix possible hash related bug with storing char instead of string into map
Nicu Hodos
2024-10-15 17:07:26 +02:00
eb98e0562b
protect members that are not to be used outside
Nicu Hodos
2024-10-08 09:46:03 +02:00
42b226c19b
Merge branch 'v1.3.0'
Nicu Hodos
2024-10-09 10:59:45 +02:00
8f534cce94
keep track of enabled sensors using struct
Nicu Hodos
2024-10-09 08:43:45 +02:00
2456ae1dc8
use StatusRequest to signal mqtt connectivity - fixes updates being published only after mqtt has been connected
Nicu Hodos
2024-10-09 00:02:41 +02:00
6468db5565
add restart reason sensor
Nicu Hodos
2024-10-08 21:03:55 +02:00
f1901a1b53
add support for precondfigured components - heap stats
Nicu Hodos
2024-10-08 20:56:27 +02:00
7327533b24
detect a multi value sensor based on common id
Nicu Hodos
2024-10-07 22:06:26 +02:00
dbedf0d2f1
fix typo
Nicu Hodos
2024-10-07 22:01:25 +02:00
3ec92c43a6
Merge branch 'v1.2.0'
Nicu Hodos
2024-10-07 21:57:38 +02:00
2bdbba1113
sensor: specifying a precision implies the sensor is number, but it needs to be generic (e.g. text) set a default precision only if there is a unit_of_measurement
Nicu Hodos
2024-10-07 15:27:24 +02:00
69c4222553
secondary components: always put the device name in MQTT configuration, even it is just referenced - new requirement from HA
Nicu Hodos
2024-10-07 15:15:22 +02:00
6a4350a682
Merge branch 'v1.1.0'
Nicu Hodos
2024-06-30 20:36:03 +02:00
1dea02cd0d
add support for configuring components with any json property
Nicu Hodos
2024-06-30 13:19:49 +02:00
6c78efa3c2
add support for precision in sensors
Nicu Hodos
2024-06-30 13:26:32 +02:00
bf8439bdd1
Merge branch 'v1.0.1'
Nicu Hodos
2024-06-30 13:18:36 +02:00
48b33d5a58
add tets for list
Nicu Hodos
2024-06-30 13:17:34 +02:00
b682c59d33
restore list's state after empty
Nicu Hodos
2024-06-30 13:16:11 +02:00
728043a606
first version of the library
Nicu Hodos
2024-05-29 18:16:55 +02:00
c7b6c382f8
add Number, refactor StateConfig and add support for restoring state at startup
Nicu Hodos
2024-05-29 16:12:17 +02:00
661eea9db8
add support for setting retain
Nicu Hodos
2024-05-29 16:09:54 +02:00
9b2e332587
rename secondary entities and add support for configuration type entity
Nicu Hodos
2024-05-29 16:08:05 +02:00
fd2a7a25b2
generic support for using device's name
Nicu Hodos
2024-05-29 16:01:00 +02:00