Commit Graph

47 Commits

Author SHA1 Message Date
MichaelDvP
0dceb25569 Merge branch 'dev' of https://github.com/pswid/EMS-ESP32 into dev_ 2023-02-23 09:17:29 +01:00
pswid
971df73f13 added "availability" section in HA Discovery
This will allow to not remove discovery topics during each ems-esp restart (MQTT init), so it can solve issue #910.

After applying this fix (and removing from the code commands that delete discovery topics) HA no longer reports errors/warnings in the log. I'm testing if for over a week.
Now it is enough to delete discovery topics only when it is really needed (e.g. the entity has been removed by customization, discovery prefix has been changed or the HA option has been disabled in the configuration).
2023-02-22 13:16:05 +01:00
MichaelDvP
24a4cb85ff analogsensor HA discovery: types on remove 2023-02-21 15:20:30 +01:00
MichaelDvP
a9caadaf5e add hm200 entities #500 2023-02-18 10:42:18 +01:00
MichaelDvP
0d8d750e46 fix mqtt-discovery for analog sensor commands #1035 2023-02-17 08:40:46 +01:00
MichaelDvP
a38f4978fa analogsensor publish wth single gpio number fix #915 2023-01-18 07:56:40 +01:00
MichaelDvP
3e3a600a60 remove/recreate HA config for dallas/analog on change #888 2023-01-11 18:38:07 +01:00
proddy
783ea7901c support 3 types of MQTT discovery entity id 2022-12-17 19:20:31 +01:00
Proddy
147be12583 fixes for #804 2022-12-16 22:57:59 +01:00
Proddy
5f5e786c0e added comments 2022-12-10 11:57:17 +01:00
MichaelDvP
9665f4136a Merge branch 'dev' of https://github.com/emsesp/EMS-ESP32 into dev 2022-12-07 07:41:25 +01:00
proddy
1af1a1863a #759 add option to enable multiple instances to keep backward compatibllity with v3.4 2022-12-05 21:33:10 +01:00
MichaelDvP
3878a3ee0b analogsensor float->double #789 2022-12-05 18:26:18 +01:00
MichaelDvP
739c007c95 sync sensors and status to same entitiy in path, uniq_id, objdect_id 2022-12-05 14:13:25 +01:00
Proddy
7f18dd942f add mqtt base to topic - #759 2022-11-30 21:17:41 +01:00
Proddy
5b5dc6a8cc #759 use b ase in HA unique_id and object_id 2022-11-29 21:15:46 +01:00
MichaelDvP
781fe03b5d Command values for analog/dallas sensors, writeable for analog-out, #758 2022-11-21 18:13:52 +01:00
MichaelDvP
6fd3e567cd ESP32-C3 and ESP32-S2, LED for C3-Mini 2022-10-10 14:13:43 +02:00
proddy
65c9bf22dc refactor commands to take dynamic translation descriptions #674 2022-10-09 22:19:29 +02:00
Proddy
0dde5a9d2b merge PR #667 and PR #668 2022-10-07 21:11:18 +02:00
Proddy
9b619216cb formatting brackets 2022-09-28 21:46:12 +02:00
Proddy
87d0db0b5c auto formatting 2022-09-28 20:27:48 +02:00
proddy
777c9db0f6 remove flash 2022-09-28 15:47:27 +02:00
MichaelDvP
b646331adc dallas, analog HA object_id also without basename (commented out) 2022-09-24 16:17:33 +02:00
MichaelDvP
f1bb183017 ha config to basename, analog/dallas allow single/nested with ha 2022-09-23 21:54:13 +02:00
proddy
eb432d9acb auto formatting 2022-09-20 19:05:11 +05:30
CheeseE
acaceefc89 Add support for wemos c3 mini 2022-09-19 12:03:14 +02:00
Proddy
cc44bc9d7f Command uses flash fullname instead of custom, to save on heap 2022-09-10 17:18:43 +02:00
Proddy
5845c37672 Change name of entity within WebUI #612 2022-09-09 17:04:31 +02:00
MichaelDvP
e79115d719 offset to new dallas, remove sensors if disabled 2022-08-30 17:36:03 +02:00
Proddy
1a4ce643fc Multi-language/I18n support #22 2022-08-24 21:50:19 +02:00
Proddy
d707e92d59 formatting 2022-07-20 12:02:32 +02:00
pswid
1238e89084 add unit of measurement in HA for analog sensors 2022-06-21 20:39:52 +02:00
pswid
1c48d12167 Shorten "friendly names" in Home Assistant
see #555
2022-06-21 20:28:22 +02:00
MichaelDvP
6277fbbea1 api entitiy attributes with hcs 2022-05-06 13:32:18 +02:00
Proddy
9f6bbac8ce formatting 2022-04-18 11:05:38 +02:00
Proddy
4b3b9524ef changes to backend, some refactoring 2022-04-15 13:04:52 +02:00
proddy
d09e2237ee sonar recommendations 2022-03-05 16:21:00 +01:00
proddy
c1edbbf047 sonar fixes 2022-03-05 14:25:35 +01:00
MichaelDvP
5f69395522 add missing subscriptions to dallas/analog 2022-02-19 12:25:01 +01:00
proddy
f1f089baa0 v is always <= 255 2022-02-17 10:46:21 +01:00
MichaelDvP
3b41d6fff6 fahrenheit uom 2022-02-16 19:14:15 +01:00
MichaelDvP
073493cba2 analogsensors, outputs PWM, DAC, digital 2022-02-16 18:35:25 +01:00
MichaelDvP
acc2412742 fix #327, analogsensor sending multiple mqtt messages 2022-01-31 13:39:30 +01:00
MichaelDvP
233d82805b add analog counter command, fix #327 "value" 2022-01-26 18:35:12 +01:00
proddy
a38d8c14fa Function parameter 'sensor' should be passed by const reference 2022-01-23 18:08:52 +01:00
proddy
77e1898512 Merge remote-tracking branch 'origin/v3.4' into dev 2022-01-23 17:56:52 +01:00