Commit graph

57 commits

Author SHA1 Message Date
Ben Winslow
8be3ef1507
Add HA script compat for paho-mqtt 2.0.0 via legacy callback API () 2024-05-02 20:24:58 +02:00
Christian W. Zuckschwerdt
376ca519ff
Change HA script power to energy and UV index to float ()
Closes 
2024-04-26 14:51:44 +02:00
Tucker Kern
9064ccd097
Change a HA script device trigger to avoid duplicate trigger ()
In HA2024.2, device triggers are now identified as `f"{device_id}_{trigger_type}_{trigger_subtype}"`, so each trigger must have a unique type/subtype combination per device.
2024-04-09 12:04:52 +02:00
David M. Zendzian
693cf766b7
Added contact_open reed_open mappings to rtl_433_mqtt_hass.py () 2024-03-26 11:53:57 +01:00
Ian Evans
fe439627fe
Fix rtl_433_mqtt_hass.py rain_in value template () 2024-01-22 22:40:42 +01:00
MDW
7813a6afa5
minor: Fix end of line and end of file whitespaces () 2024-01-04 11:53:24 +01:00
Chris Romp
e1699163e9
Add Ecowitt air quality sensors to rtl_433_mqtt_hass.py () 2024-01-02 17:30:31 +01:00
mailaenderli
8950dc4182
Change rtl_433_mqtt_hass.py to support storm_dist_km from WH31L () 2023-12-05 20:40:53 +01:00
MDW
62783813eb
minor: Fix trailing whitespace as seen in () 2023-11-29 20:57:32 +01:00
Mark Atwood
ca2d9b7bf6 Change rtl_433_mqtt_hass.py to use moisture class ()
Moisture should be "moisture" class, not "humidity" class.
2023-11-28 11:49:36 +01:00
Mark Atwood
6487f1cc06 Change rtl_433_mqtt_hass.py to add battery_mV ()
In addition to battery_ok, many devices also surface the measured battery voltage.
2023-11-28 11:49:30 +01:00
benklop
8535ba24f6
Fix logging message in HA script () 2023-10-27 12:26:51 +02:00
kcpants
945bc658cb
Add support for discovering Govee water sensors to rtl_433_mqtt_hass () 2023-10-15 08:03:13 -04:00
aquaticus
36f6418436
minor: Remove deprecated newmodel from HA script docs () 2023-09-19 21:31:40 +02:00
chpego
a6fb96c7bb
Improve HA script with current class () 2023-09-19 12:19:16 +02:00
chpego
582af76957
Improve handling of units within HA UI ()
Fix the unit of measurement of illuminance
2023-09-18 14:06:35 +02:00
Luke Milius
70d84d01e1
Improve HA script with detailed units () 2023-08-21 12:41:19 +02:00
Adam Jacques
4f152360b1
Fix HA script allow list id typo () 2023-08-16 09:20:03 +02:00
Kevin Read
9e0fb41e4c
Fix HA script remove device name from entities ()
* Fixes : Remove device name from entity name, use more readable entity names
* Remove changes that slipped in from  https://github.com/merbanan/rtl_433/pull/2593
2023-08-11 14:33:32 +02:00
Kevin Read
ce794d7848
Fix HA script topics () 2023-08-11 13:50:52 +02:00
noahwilliamsson
d20beca213
Add humidity_1, humidity_2 to rtl_433_mqtt_hass ()
This adds support for publishing `humidity_1` and `humidity_2`, similar to how `temperature{,_1,_2}` are handled.  Useful for Acurite 00275RM and Telldus FT0385R.
2023-07-15 00:06:49 +02:00
noahwilliamsson
2cb87ce708
Add timestamp to logs in rtl_433_mqtt_hass ()
Prefix log entries with a timestamp to make it easier to determine when an event happened.
2023-07-15 00:05:29 +02:00
DigiH
37b804c734
Fix HASS script rain_rate_mm_h typo () 2023-07-14 18:15:31 +02:00
Tucker Kern
cb8e89533a
docs: Fix bad URL in rtl_433_mqtt_hass.py ()
Fix duplicate "http://" in URL
2023-07-06 11:26:11 +02:00
Kevin Read
128755c688 Change rtl_433_mqtt_hass to enable passing custom topics (PR ) 2023-03-30 11:19:10 +02:00
stevieg2123
e37fc5dd38
Add ESIC/SCMplus fields to rtl_433_mqtt_hass ()
Adding power meter energy/current/voltage values, as well as consumption from SCMplus meters (water/gas)
2023-01-21 20:43:55 +01:00
Andrew Berry
7ed902ece4
Add links to mqtt device automation docs 2022-10-26 08:53:04 -04:00
Andrew Berry
7323220bc7
Publish secret knocks as device automations 2022-10-26 08:53:04 -04:00
Andrew Berry
c8a36fef8f
Add time, channel, and button device automation triggers 2022-10-26 08:53:04 -04:00
Johannes Wagner
5f76eae6f6
Change rtl_433_mqtt_hass rain value template round to two digits ()
Co-authored-by: Johannes Wagner <johannes.wagner@justadd.ai>
2022-10-21 20:43:32 +02:00
Johannes Wagner
8355088458
Change rtl_433_mqtt_hass value templates round to one digit () 2022-10-20 10:58:40 +02:00
Christian W. Zuckschwerdt
315b98b104 minor: Fix rtl_433_mqtt_hass for events without id 2022-08-22 12:33:28 +02:00
Peter Dey
7304d3fe6d
minor: Add expire_after option to the mqtt-hass discovery script ()
Add expire_after option to allow HASS to show sensors as `unavailable` after x seconds.
2022-06-19 15:59:29 +02:00
Jonathan Hanson
3428b8a95c
minor: Add TLS cert option to the mqtt-hass discovery script () 2022-04-11 21:22:06 +02:00
Mike Wadsten
2e2c3072cb
Add ERT-SCM consumption data to mqtt hass mappings () 2022-03-26 09:58:11 +01:00
Scott Roach
18c88cd860
Add id filter to mqtt hass () 2022-03-26 08:40:01 +01:00
Johannes Wagner
c500747757
Change hass script duplicate dict key 'light_lux' back to 'lux' for legacy reasons ()
Co-authored-by: Johannes Wagner <johannes.wagner@ginkgo-analytics.com>
2022-02-20 10:31:17 +01:00
Sean Vig
3a752f161f
Add diagnostic entity category to mqtt hass example () 2022-01-22 22:21:52 +01:00
Stephen Houser
6f457c1658
Remove invalid "weather" device class in HASS script ()
- Remove additional invalid "weather" device class ()
- Rename for "lux" to "light_lux" as that is what rtl_433 pushes to MQTT
- add UVI reading and fix change to lux to include lux and light_lux
2022-01-08 12:47:14 +01:00
George Ioakimedes
dee91e58a5
minor: Change HASS MQTT Parameter for Lux ()
Change from old value of `lux` to `light_lux`, tested with version 6.6 of HA OS and proven to work correctly.
2022-01-03 10:17:24 +01:00
Andrei A
3689ff1f0d
minor: Fix wind_max_km_h key in hass script () 2021-12-23 20:54:51 +01:00
packetwarrior
9ef7598685
minor: Fix moisture to humidity class in hass script () 2021-12-12 11:30:26 +01:00
nick g
20aa54843c
minor: Fix HASS value template for battery () 2021-11-27 11:28:41 +01:00
Henrik Tóth
6fdbdfbe6c
minor: Fix Home Assistant template rounding () 2021-11-25 11:03:06 +01:00
Andrew Berry
73a2edb03f
Change HASS script to logging () 2021-11-08 08:48:30 +01:00
Kris Knigga
19b7b9e58f
Add HASS long term statistics () 2021-10-15 22:01:28 +02:00
Conrad Sachweh
383f3a9359
Fix typo in hass-example script () 2021-10-03 19:38:23 +02:00
Christian W. Zuckschwerdt
f92616d38f Minor: Fix device_class for depth sensor discovery (closes ) 2021-07-06 09:01:44 +02:00
Marcel Ritter
cd243f2f14
Add pressure_kPa key for HA () 2021-05-07 11:06:49 +02:00
Joe Gross
836bf75631
Add option to set force_update for all sensors () 2021-04-27 20:25:04 +02:00