MichaelDvP
0b0ca1efd1
fix avty
2023-03-07 07:15:49 +01:00
MichaelDvP
fd6df7279b
no ha_entitiy_config remove
2023-02-23 10:33:19 +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
Proddy
50e73e2a04
formatting
2023-02-04 14:08:41 +01:00
pswid
997ced3938
system entities moved to "diagnostic" category in HA
2023-01-30 19:37:50 +01:00
pswid
b18da9064b
fixed link to the EMS-ESP in HA
...
prefix "http:// " is needed though
2023-01-30 18:31:57 +01:00
pswid
b3ee5f4d9a
added link to the EMS-ESP web interface in HA (IPv4 only)
2023-01-30 12:05:16 +01:00
pswid
d36f87707a
removed "mode"+"step" in HA discovery for BOOL type entities
2023-01-29 19:08:17 +01:00
pswid
226c1fd6c5
fixed 1/0 and true/false MQTT/API format options with HA enabled ( #931 )
...
furthermore variable names in the HA discovery payload has been abbreviated according to: https://www.home-assistant.io/integrations/mqtt/#discovery-payload
2023-01-29 18:52:13 +01:00
Proddy
e4358ba489
uptime in HA should be a string
2023-01-29 12:16:34 +01:00
proddy
1fa92eec57
HA use box for numbers now that HA supports this
2023-01-22 19:09:41 +01:00
MichaelDvP
3b2a4d1eb4
Merge branch 'dev' of https://github.com/emsesp/EMS-ESP32 into dev_
2023-01-22 10:48:37 +01:00
pswid
7e174a1b7d
Fix first letter not capitalized in Polish
2023-01-18 21:43:29 +01:00
pswid
bbbeb155f0
tags in entity IDs (long format) always in English
...
now in mqtt discovery topics you can see e.g:
"uniq_id": "thermostat_OG1_mode_type" (for Polish lang.)
but should be:
"uniq_id": "thermostat_hc1_mode_type",
2023-01-13 21:45:29 +01:00
Proddy
43b4adc618
changes to #828
2022-12-28 15:39:34 +01:00
Proddy
83438129a2
fixes #833
2022-12-25 16:50:19 +01:00
Proddy
9b3b7fc8ff
Support upgrade/downgrade between versions #832
2022-12-25 16:47:17 +01:00
Proddy
b2f001e416
minor text change
2022-12-25 13:06:51 +01:00
Proddy
3c91ac27dc
Set device_class to duration in HA sensor definitions #822
2022-12-23 13:42:59 +01:00
MichaelDvP
cbd55b0366
uom "Kelvin" to HA temperature
2022-12-19 13:31:31 +01:00
MichaelDvP
ce0ee49ebf
add step to numeric command-values in HA discovery
2022-12-18 16:22:18 +01:00
proddy
783ea7901c
support 3 types of MQTT discovery entity id
2022-12-17 19:20:31 +01:00
Proddy
4b7bbb3d50
minor cleanup and testing
2022-12-17 11:05:20 +01:00
Proddy
147be12583
fixes for #804
2022-12-16 22:57:59 +01:00
Proddy
ba90ebda4c
merge multiple_instances with entity_format
2022-12-15 21:51:11 +01:00
Proddy
ccbb56d403
add v3.4 entity id flag to MQTT settings
2022-12-14 22:07:42 +01:00
Proddy
e96b5af0c8
HA ems_esp status to system_status to be uniform with the other naming conventions
2022-12-10 11:58:00 +01:00
MichaelDvP
a2730fb17c
extra debug message for payload only ifdef EMSESP_DEBUG
...
Signed-off-by: MichaelDvP <github@mdvp.de >
2022-12-07 19:13:43 +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
9e23710c6d
add heartbeat interval to mqtt settings
2022-12-05 19:27:56 +01:00
MichaelDvP
0c9d0a4d15
show mqtt payload in debug log
2022-12-05 14:19:41 +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
e3c94cc1f7
updates for #759
2022-11-30 21:21:32 +01:00
Proddy
5b5dc6a8cc
#759 use b ase in HA unique_id and object_id
2022-11-29 21:15:46 +01:00
proddy
702103aa66
formatting
2022-11-20 21:11:28 +01:00
proddy
6873e113bb
Change EMS-ESP device sensor types in Home Assistant #751
2022-11-20 18:48:59 +01:00
MichaelDvP
5bda018d25
En-tag for HA-entity
2022-11-14 12:22:12 +01:00
MichaelDvP
9865c84df5
tag in ha object_id
2022-11-13 19:09:32 +01:00
Proddy
57775af24b
lower case days, hours, minutes, seconds
2022-11-10 22:12:10 +01:00
pswid
49414adfd2
Polish translation improvements
...
Strange, but if i use capital letters in Polish translation for "ON' and "OFF" (local_translations.h), I'm getting compile error. So instead of whole words in capital letters I used abbreviations in lower case (more useful, IMHO)
2022-10-17 18:21:57 +02:00
MichaelDvP
f16aaf7874
ignore mqtt echos if publish_single2command is set.
2022-10-17 10:14:06 +02:00
MichaelDvP
9d4d3738ff
fix memory leak
2022-10-14 14:27:50 +02:00
MichaelDvP
7d5e112efb
Merge branch 'dev' of https://github.com/emsesp/EMS-ESP32 into dev_
2022-10-11 09:34:56 +02:00
proddy
b67113fc1f
use const char * where possible
2022-10-10 20:11:23 +02:00
MichaelDvP
e6d3d347ab
remove unused brackets and inits
2022-10-10 14:10:29 +02:00
Proddy
324d27896b
Merge remote-tracking branch 'origin/flash_optimization' into dev #646
2022-10-08 10:02:48 +02:00
Proddy
e37bbe420c
manual merge of PR 660 - https://github.com/emsesp/EMS-ESP32/pull/660/
2022-10-04 21:01:23 +02:00
MichaelDvP
13f0bc3296
mqtt status shows queue and reconnects
2022-10-03 08:08:51 +02:00
Proddy
cd67ab03ff
fullname array is allowed to be null
2022-10-02 15:52:54 +02:00