53 Commits

Author SHA1 Message Date
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
Christian W. Zuckschwerdt
23c78063c6 minor: style fixes 2020-07-31 11:03:41 +02:00
DagBertelsen
5a80e0fefb Fix Home Assistant MQTT auto discovery (#1390)
* Added support for setting MQTT username and password
  - Setting MQTT_USERNAME to None will disable username and password for mqtt
* Added config for Oregon wind and rain sensor.
  - Note, the device_class 'weather' is not supported in
    Home Assistant see: https://www.home-assistant.io/integrations/sensor/
* Oregon sensors use both channel and id so the instance
  variable will now support either one of them or both.
* Home Assistant will only allow edit of discovered
  sensors in GUI if they have a unique_id set.
* Identifiers in the 'device' seems to be use to group
  sensors in one group in home assistant
* Manufacturer in the 'device' is required to create a
  group of sensors in Home Assistant.
2020-07-27 09:31:17 +02:00
Christian W. Zuckschwerdt
cc7c3f181b Add custom data processor example 2020-06-14 20:14:45 +02:00
Max Lock
177fb6bd7d Enhance MQTT Home Assistant example (#1357) 2020-05-14 15:40:05 +02:00
Christian W. Zuckschwerdt
e310efe05c minor: example py cleanup 2020-05-05 14:21:25 +02:00
Wilmer van der Gaast
e9fbb92c2e Add Prometheus/OpenMetrics relay example (#1371) 2020-05-04 14:13:17 +02:00
Christian W. Zuckschwerdt
44d2af5e27 Add native Sigrok writer (#1297) 2020-02-07 12:54:13 +01:00
Benjamin Larsson
668c1e692f wmbus: add script for converting wmbus json to rtlwmbus format 2020-01-08 18:37:42 +01:00
Christian W. Zuckschwerdt
a9de8888bc Add more input format validation 2019-11-07 15:26:12 +01:00
Christian W. Zuckschwerdt
620ca8c0fd Cleanup minor 2019-11-01 08:32:28 +01:00
Christian W. Zuckschwerdt
b94676ff56 Add InfluxDB relay example script 2019-10-30 11:50:55 +01:00
Christian W. Zuckschwerdt
660bfc3f50 Cleanup minor 2019-10-30 09:55:22 +01:00
Christian W. Zuckschwerdt
83efce4455 Add RRD example script 2019-09-02 13:29:25 +02:00
Christian W. Zuckschwerdt
6b6b89321b Update README formats 2019-04-25 12:14:51 +02:00