aboutsummaryrefslogtreecommitdiff
path: root/utils/mqttled
diff options
context:
space:
mode:
authorTom Grime <tom.grime@gmail.com>2022-08-12 13:47:32 +0100
committerRosen Penev <rosenp@gmail.com>2022-08-16 13:11:31 -0700
commitc1a96acc359ea0a9c4a562f9eaa70a82aec4efb5 (patch)
tree33c8b2e30aab7095b8a291467e09cf9682767520 /utils/mqttled
parentcb5bf2b007940c14825dc734814bfe5ceae5b09f (diff)
mqttled: update to 0.1.2
Signed-off-by: Tom Grime <tom.grime@gmail.com>
Diffstat (limited to 'utils/mqttled')
-rw-r--r--utils/mqttled/Makefile4
-rw-r--r--utils/mqttled/files/mqttled.config10
2 files changed, 12 insertions, 2 deletions
diff --git a/utils/mqttled/Makefile b/utils/mqttled/Makefile
index 1620fe155..41bd9ac8b 100644
--- a/utils/mqttled/Makefile
+++ b/utils/mqttled/Makefile
@@ -2,11 +2,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mqttled
-PKG_VERSION:=0.1.0
+PKG_VERSION:=0.1.2
PKG_RELEASE:=1
PYPI_NAME:=mqttled
-PKG_HASH:=20f46b7114b6ddace6e0faaaa078640f609c3d495e4ccff8d8caeb77ac5418f7
+PKG_HASH:=eb94af853605f4f1ea3c34b66e2f84f3d9845d795529ae8429feb954e74876d7
PKG_MAINTAINER:=Tom Grime <tom.grime@gmail.com>
PKG_LICENSE:=MIT
diff --git a/utils/mqttled/files/mqttled.config b/utils/mqttled/files/mqttled.config
index e3c793a86..344dad634 100644
--- a/utils/mqttled/files/mqttled.config
+++ b/utils/mqttled/files/mqttled.config
@@ -26,6 +26,16 @@ config leds 'leds'
list exclude 'rt2800soc-phy1::radio'
#list include 'blue:internet'
+config rgb 'rgb'
+ # Exposes 3 LEDs to HomeAssistant as a single RGB LED
+ option enablergb '0'
+ # The name of the RGB LED to expose to HomeAssistant
+ option name 'RGB'
+ # The IDs of the three colored LEDs
+ option red 'LED0_Red'
+ option green 'LED0_Green'
+ option blue 'LED0_Blue'
+
config trigger 'triggers'
#Only triggers listed here will be presented to HA as 'effects'
list triggers 'none'