Hallo zusammen,
hat jemand evtl. schon eine Funktion/Intent, mit der man RGBWW Controller/GU10/E27 Leuchtmittel mittels iBox2 ansteuern (heller, dunkler, rot, warmweiss etc. farbwechsel) kann?
Derzeit mache ich das ein bißchen umständlich mit einem dummy und z.B.
defmod kaminlicht_milight dummy
attr kaminlicht_milight alexaName deckenspot
attr kaminlicht_milight alias deckenspot
attr kaminlicht_milight genericDeviceType light
attr kaminlicht_milight group milight
attr kaminlicht_milight homebridgeMapping on=kaminlicht_milight:on,off=kaminlicht_milight:off
attr kaminlicht_milight room Homekit,Wohnzimmer,alexa
attr kaminlicht_milight setList on off an aus
Dann ein notify:
defmod kaminlicht_milight_notify_1 notify kaminlicht_milight:on "/opt/fhem/FhemUtils/milight-home.py 8 4 ON"
Hier noch die Parameter aus dem PythonSkript:
#!/usr/bin/python
# Note: Python 2.7 for compliance with Domoticz & FHEM
# Full color support ( hex, RGB and HSV )
# Full brightness support ( 0 - 100 )
# Full saturation support ( 0 - 100 )
# Full device and zone support
# Usage:
# milight-home.py [DEVICE (0,1,7,8)] [ZONE (0,1,2,3,4)] [COMMAND ...]
#
# Commands are:
# ON
# OFF
# DIMUP Only for Device type 1
# DIMDOWN Only for Device type 1
# NIGHT Nightlight for Device type 1 & 8
# DISCO[1-9]
# DISCOFASTER
# DISCOSLOWER
# WHITE for Device type 0 & 8
# TEMP (0-100) White-Temperature for Device type 8
# HUE (0-255)
# SATUR (0-100)
# BRIGHT (0-100)
# SPECTRUM Animates lamps through full color spectrum
# COLOR "(hex color)" ie. "#ff0000" for red, "#0000ff" for blue ('#' char not needed)
# COLOR (red) (green) (blue) ie. 255 0 0 for red, 0 0 255 for blue
__author__ = 'Jasper Goes (Pander) & Mathias Klein (Snocksman)'
__email__ = "jasper@jaspergoes.nl & snocksman@t-online.de"
Habe derzeit 3 iBoxen (10 Zonen) im Einsatz. Der YT1 kann nur 1 Zone je Gerät. Der 5in1 Controlle mit Alexasupport kommt preislich nicht in Frage.
Freue mich auf Tips/Hinweise
Thomas
keiner eine Idee?