Commit Graph

67 Commits

Author SHA1 Message Date
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
packetwarrior
9ef7598685 minor: Fix moisture to humidity class in hass script (#1903) 2021-12-12 11:30:26 +01:00
nick g
20aa54843c minor: Fix HASS value template for battery (#1887) 2021-11-27 11:28:41 +01:00
Henrik Tóth
6fdbdfbe6c minor: Fix Home Assistant template rounding (#1889) 2021-11-25 11:03:06 +01:00
Andrew Berry
73a2edb03f Change HASS script to logging (#1851) 2021-11-08 08:48:30 +01:00
Kris Knigga
19b7b9e58f Add HASS long term statistics (#1835) 2021-10-15 22:01:28 +02:00
Conrad Sachweh
383f3a9359 Fix typo in hass-example script (#1620) 2021-10-03 19:38:23 +02:00
Christian W. Zuckschwerdt
f92616d38f Minor: Fix device_class for depth sensor discovery (closes #1753) 2021-07-06 09:01:44 +02:00
Christian W. Zuckschwerdt
ef2d37cf51 Change old battery keys to battery_ok (#1737) 2021-06-12 12:05:07 +02:00
Christian W. Zuckschwerdt
fcde342163 Remove Oregon brand key 2021-06-07 14:27:39 +02:00
Marcel Ritter
cd243f2f14 Add pressure_kPa key for HA (#1712) 2021-05-07 11:06:49 +02:00
Joe Gross
836bf75631 Add option to set force_update for all sensors (#1695) 2021-04-27 20:25:04 +02:00
culliard
6de72adab7 Fix mqtt retain on hass script (#1602) 2021-01-26 05:22:42 +01:00
soaringswine
539e2c9fd1 Removed invalid "weather" device_class (#1548)
HASS does not have a device_class of "weather" and thus will fail to autodiscover any entities with that set: voluptuous.error.MultipleInvalid: value is not allowed for dictionary value @ data['device_class'] 
Please see related comment in PR #1390 and https://www.home-assistant.io/docs/configuration/customizing-devices/#device-class
2020-12-15 08:09:56 +01:00
rct
4f47e3d879 Add arguments and docs to Home Assistant MQTT auto discovery script (#1546) 2020-11-06 19:50:30 +01:00