Commit Graph

81 Commits

Author SHA1 Message Date
David M. Zendzian
693cf766b7 Added contact_open reed_open mappings to rtl_433_mqtt_hass.py (#2881) 2024-03-26 11:53:57 +01:00
Christian W. Zuckschwerdt
68d7b81dfe minor: Fix unexpected chars in scripts/docs 2024-02-10 14:18:19 +01:00
Christian W. Zuckschwerdt
2122cc2670 Add HTTP cmd API examples 2024-02-01 09:37:03 +01:00
Ian Evans
fe439627fe Fix rtl_433_mqtt_hass.py rain_in value template (#2801) 2024-01-22 22:40:42 +01:00
MDW
7813a6afa5 minor: Fix end of line and end of file whitespaces (#2778) 2024-01-04 11:53:24 +01:00
Chris Romp
e1699163e9 Add Ecowitt air quality sensors to rtl_433_mqtt_hass.py (#2772) 2024-01-02 17:30:31 +01:00
mailaenderli
8950dc4182 Change rtl_433_mqtt_hass.py to support storm_dist_km from WH31L (#2748) 2023-12-05 20:40:53 +01:00
MDW
62783813eb minor: Fix trailing whitespace as seen in #2738 (#2739) 2023-11-29 20:57:32 +01:00
Mark Atwood
ca2d9b7bf6 Change rtl_433_mqtt_hass.py to use moisture class (#2726)
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 (#2725)
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 (#2696) 2023-10-27 12:26:51 +02:00
Christian W. Zuckschwerdt
a46004984a minor: typos in php example 2023-10-24 11:20:42 +02:00
Christian W. Zuckschwerdt
abb0bc7bae Add php example stream script (closes #2687)
Co-authored-by: AutomGuy <AutomGuy@users.noreply.github.com>
2023-10-24 10:21:48 +02:00
kcpants
945bc658cb Add support for discovering Govee water sensors to rtl_433_mqtt_hass (#2605) 2023-10-15 08:03:13 -04:00
aquaticus
36f6418436 minor: Remove deprecated newmodel from HA script docs (#2628) 2023-09-19 21:31:40 +02:00
chpego
a6fb96c7bb Improve HA script with current class (#2626) 2023-09-19 12:19:16 +02:00
chpego
582af76957 Improve handling of units within HA UI (#2624)
Fix the unit of measurement of illuminance
2023-09-18 14:06:35 +02:00
Luke Milius
70d84d01e1 Improve HA script with detailed units (#2607) 2023-08-21 12:41:19 +02:00
Adam Jacques
4f152360b1 Fix HA script allow list id typo (#2602) 2023-08-16 09:20:03 +02:00
Kevin Read
9e0fb41e4c Fix HA script remove device name from entities (#2594)
* Fixes #2591: 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 (#2593) 2023-08-11 13:50:52 +02:00
dforsi
21be644d2e Fix various spelling (#2579)
Fixed with:
codespell --ignore-words-list=als,ans,ba,bu,fo,hass,hist,hsa,nd,produkt,proove,te,temperatur,toke,tthe,ue --skip=AUTHORS,CHANGELOG.md,mongoose.* --summary --interactive 2 --write-changes
and manual edits.
2023-07-28 10:16:47 +02:00
noahwilliamsson
d20beca213 Add humidity_1, humidity_2 to rtl_433_mqtt_hass (#2567)
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 (#2566)
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 (#2565) 2023-07-14 18:15:31 +02:00
Tucker Kern
cb8e89533a docs: Fix bad URL in rtl_433_mqtt_hass.py (#2553)
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 #2289) 2023-03-30 11:19:10 +02:00
stevieg2123
e37fc5dd38 Add ESIC/SCMplus fields to rtl_433_mqtt_hass (#2114)
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 (#2210)
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 (#2209) 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
Greg Troxel
9d2e0b7fdc Merge pull request #2127 from gdt/feat-mqtt
examples: Revise comments near the MQTT relay example, and support MQTT authentication
2022-07-28 14:52:00 -04:00
Christian W. Zuckschwerdt
687fe8e438 Add HTTP API example scripts 2022-07-28 18:51:26 +02:00
Greg Troxel
54f0ebe486 examples/rtl_433_mqtt_relay: Comment and support MQTT security
Define additional broker failures for username/password and use of
TLS, defaulting to not used, matching the previous behavior.

Rototill comments to help those later trying to modify the code.
2022-07-26 09:30:08 -04:00
Greg Troxel
ad8d8aede0 examples: Use /bin/sh instead of bash
This changes the shell for 3 single-line invocations to the
POSIX-specified /bin/sh, because /bin/bash does not exist on a number
of systems.
2022-07-24 20:35:05 -04:00
Greg Troxel
01bc7dc854 examples: Greatly extend README.md
Add some big-picture discussion as orientation and as suggestions for
future work.
2022-07-24 20:35:05 -04:00
Christian W. Zuckschwerdt
9cd036e1e0 Add php example script (closes #2087)
Co-authored-by: AutomGuy <AutomGuy@users.noreply.github.com>
2022-06-24 09:36:19 +02:00
Peter Dey
7304d3fe6d minor: Add expire_after option to the mqtt-hass discovery script (#2062)
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 (#2043) 2022-04-11 21:22:06 +02:00
Mike Wadsten
2e2c3072cb Add ERT-SCM consumption data to mqtt hass mappings (#2023) 2022-03-26 09:58:11 +01:00
Scott Roach
18c88cd860 Add id filter to mqtt hass (#1988) 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 (#1989)
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 (#1952) 2022-01-22 22:21:52 +01:00
Stephen Houser
6f457c1658 Remove invalid "weather" device class in HASS script (#1584)
- Remove additional invalid "weather" device class (#1548)
- 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
Christian W. Zuckschwerdt
6a31e4f7f9 docs: Add minor example notes 2022-01-08 11:54:05 +01:00
George Ioakimedes
dee91e58a5 minor: Change HASS MQTT Parameter for Lux (#1930)
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 (#1914) 2021-12-23 20:54:51 +01:00