Eigentlich wollte ich nur die Milight Bridges durch einen ESP8266 ersetzen......

Begonnen von schka17, 09 Oktober 2016, 16:33:55

Vorheriges Thema - Nächstes Thema

Gunther

So, ich habe nun die Devices hier und eines mal mit Strom versorgt, sowie als Bridge mit der IP in FHEM definiert.
Nun 2 Fragen dazu:

1) Wie bekomme ich meine noch ungepairten RBGWW Steuerungen eingebunden?
2) Wie bekomme ich meine bereits mit den original Milight-Steuerungen gepairten RBGWW Steuerungen eingebunden?
Das Wechseln der Bridge in der fhem.cfg funktioniert wie weiter oben geschrieben schonmal nicht.

Freue mich über einen Hinweis. Bin leider weder im Wiki noch im Forum fündig geworden.
In der commandref ist ja beschrieben, wie ein Device eingebunden wird. Dafür muss ich es ja irgendwie ansprechen (beim Original mit der App pairen und dann einbinden). Die App scheint ja hier die Bridge nicht zu finden.
FHEM@Proxmox@Nuc: TabletUI als User-Interface (4 Wandtablets) / IOs per ser2net gekapselt
Homematic: Heizung, Fenster, Bewegung | Jeelink: Temperatur | Z-Wave: Bewegung, Temperatur | FS20: Temperatur, Fenster | Viessmann-Heizung eingebunden

hexenmeister

Habe ähnliche Fragen...
Habe die Sourcen aus dem Forum compiliert und geflasht. FHEM meldet Bridge connected. MQTT-Version gibt auch die Daten raus, wenn ich etwas mit der Original-Fernbedienung etwas mache. Ich bekomme aber meine Lampe nicht aus dem FHEM gepaired oder gesteuert.

Beim set ML_TEST kommt im Log:
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/31_MilightDevice.pm line 961.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (961)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $h in numeric lt (<) at ./FHEM/31_MilightDevice.pm line 1668.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1668)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $h in numeric gt (>) at ./FHEM/31_MilightDevice.pm line 1669.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1669)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $h in numeric lt (<) at ./FHEM/31_MilightDevice.pm line 1670.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1670)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $h in numeric gt (>) at ./FHEM/31_MilightDevice.pm line 1671.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1671)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $s in numeric lt (<) at ./FHEM/31_MilightDevice.pm line 1672.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1672)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $s in numeric gt (>) at ./FHEM/31_MilightDevice.pm line 1673.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1673)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $v in numeric lt (<) at ./FHEM/31_MilightDevice.pm line 1674.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1674)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $v in numeric gt (>) at ./FHEM/31_MilightDevice.pm line 1675.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1675)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $h in numeric lt (<) at ./FHEM/31_MilightDevice.pm line 1668.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1668)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $h in numeric gt (>) at ./FHEM/31_MilightDevice.pm line 1669.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1669)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $h in numeric lt (<) at ./FHEM/31_MilightDevice.pm line 1670.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1670)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $h in numeric gt (>) at ./FHEM/31_MilightDevice.pm line 1671.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1671)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $s in numeric lt (<) at ./FHEM/31_MilightDevice.pm line 1672.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1672)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $s in numeric gt (>) at ./FHEM/31_MilightDevice.pm line 1673.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1673)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $v in numeric lt (<) at ./FHEM/31_MilightDevice.pm line 1674.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1674)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $v in numeric gt (>) at ./FHEM/31_MilightDevice.pm line 1675.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1675)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $h in numeric lt (<) at ./FHEM/31_MilightDevice.pm line 1668.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1668)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $h in numeric gt (>) at ./FHEM/31_MilightDevice.pm line 1669.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1669)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $h in numeric lt (<) at ./FHEM/31_MilightDevice.pm line 1670.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1670)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $h in numeric gt (>) at ./FHEM/31_MilightDevice.pm line 1671.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1671)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $s in numeric lt (<) at ./FHEM/31_MilightDevice.pm line 1672.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1672)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $s in numeric gt (>) at ./FHEM/31_MilightDevice.pm line 1673.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1673)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $v in numeric lt (<) at ./FHEM/31_MilightDevice.pm line 1674.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1674)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)
2017.03.18 19:20:31 1: PERL WARNING: Use of uninitialized value $v in numeric gt (>) at ./FHEM/31_MilightDevice.pm line 1675.
2017.03.18 19:20:31 1: stacktrace:
2017.03.18 19:20:31 1:     main::__ANON__                      called by ./FHEM/31_MilightDevice.pm (1675)
2017.03.18 19:20:31 1:     main::MilightDevice_ValidateHSV     called by ./FHEM/31_MilightDevice.pm (2188)
2017.03.18 19:20:31 1:     main::MilightDevice_CmdQueue_Add    called by ./FHEM/31_MilightDevice.pm (965)
2017.03.18 19:20:31 1:     main::MilightDevice_RGBW_Pair       called by ./FHEM/31_MilightDevice.pm (627)
2017.03.18 19:20:31 1:     main::MilightDevice_Set             called by fhem.pl (3307)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (1651)
2017.03.18 19:20:31 1:     main::DoSet                         called by fhem.pl (1683)
2017.03.18 19:20:31 1:     main::CommandSet                    called by fhem.pl (1108)
2017.03.18 19:20:31 1:     main::AnalyzeCommand                called by fhem.pl (977)
2017.03.18 19:20:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (274)
2017.03.18 19:20:31 1:     main::telnet_Read                   called by fhem.pl (3312)
2017.03.18 19:20:31 1:     main::CallFn                        called by fhem.pl (675)


Definitionen:
define ML_TEST MilightDevice RGBW milight1 5
attr ML_TEST IODev milight1
attr ML_TEST devStateIcon {(MilightDevice_devStateIcon($name),"toggle")}
attr ML_TEST event-on-change-reading state,transitionInProgress
attr ML_TEST lightSceneParamsToSave hsv
attr ML_TEST restoreAtStart 1
attr ML_TEST room Test
attr ML_TEST webCmd on:off:dim:hue:night:rgb ffffff:rgb ff0000:rgb 00ff00:rgb 0000ff:rgb ffff00
attr ML_TEST widgetOverride RGB:colorpicker,RGB


define milight1 MilightBridge 192.168.0.82
attr milight1 checkInterval 10
attr milight1 event-on-change-reading state
attr milight1 port 8899
attr milight1 protocol udp
attr milight1 sendInterval 100



Irgendwo fehlt mir noch das Verständniss :(
Maintainer: MQTT_GENERIC_BRIDGE, SYSMON, SMARTMON, systemd_watchdog, MQTT, MQTT_DEVICE, MQTT_BRIDGE
Contrib: dev_proxy

rainman79

Hallo,
eigentlich, sollte es so funktionieren (zumindest hat es bei mir so funktioniert):

   -Birnen waren an der Original FB gepairt
              (geht auch ohne vorher mit der FB zu pairen, nur hatte ich dann Probleme nach Fhem die Birnen mit der FB zu pairen)
   -Birnen Stromlos gemacht
   -Strom wieder eingeschaltet und sofort ein paar mal auf "on" in Fhem-Device geklickt.

Die Birnen haben dann mit grünen Licht quittiert.

Gruß Holger



Gunther

Hmm, klappt bei mir nicht.
Habt Ihr noch einen Tipp?

Habe auch versucht die Steuerung einzuschalten und dann das vorher definierte Device mit
set DEVICE pair
zu pairen.

Die Bridge (list) sieht so aus:
Internals:
   CHANGED
   Clients    :MilightDevice:
   DEF        192.168.0.128
   HOST       192.168.0.128
   INTERVAL   100
   NAME       milightfrickel1
   NR         255
   NTFY_ORDER 50-milightfrickel1
   PORT       8899
   SENDFAIL   0
   STATE      ok
   TYPE       MilightBridge
   cmdLastSent 1489864470.41291
   cmdQueueLock 0
   0:
   1:
   2:
   3:
   4:
   5:
     NAME       eg_ez_mi_LED
   6:
   7:
   8:
   Matchlist:
     1:MilightDevice .*
   Readings:
     2017-03-18 20:17:55   sendFail        0
     2017-03-18 20:11:24   slot0
     2017-03-18 20:11:24   slot1
     2017-03-18 20:11:24   slot2
     2017-03-18 20:11:24   slot3
     2017-03-18 20:11:24   slot4
     2017-03-18 20:11:24   slot5           eg_ez_mi_LED
     2017-03-18 20:11:24   slot6
     2017-03-18 20:11:24   slot7
     2017-03-18 20:11:24   slot8
     2017-03-18 20:17:55   state           ok
   cmdQueue:
   Helper:
Attributes:
   checkInterval 10
   event-on-change-reading state
   protocol   udp
   room       IOs
   sendInterval 100


Das Device (list) schaut so aus:
Internals:
   DEF        RGBW milightfrickel1 5
   INIT       1
   IODev      milightfrickel1
   LEDTYPE    RGBW
   NAME       eg_ez_mi_LED
   NR         1657
   NTFY_ORDER 50-eg_ez_mi_LED
   SLOT       5
   SLOTID     5
   STATE      on 36
   TYPE       MilightDevice
   Readings:
     2017-03-18 20:14:28   brightness      36
     2017-03-18 20:13:09   brightness_on   36
     2017-03-18 20:14:28   discoMode       0
     2017-03-18 20:14:28   discoSpeed      0
     2017-03-18 20:14:28   hsv             0,0,36
     2017-03-18 20:14:28   hue             0
     2017-03-18 20:14:27   previousState   0,0,0
     2017-03-18 20:14:28   rgb             5B5B5B
     2017-03-18 20:14:28   saturation      0
     2017-03-18 20:14:28   state           on 36
     2017-03-18 20:14:28   transitionInProgress 0
   Helper:
     COMMANDSET on off toggle dimup dimdown discoModeUp:noArg discoSpeedUp:noArg discoSpeedDown:noArg night:noArg white:noArg toggleWhite:noArg pair unpair restorePreviousState:noArg saveState:noArg restoreState:noArg hsv rgb:colorpicker,RGB hue:colorpicker,HUE,0,1,360 saturation:slider,0,100,100 preset dim:slider,0,4,100 brightness:slider,0,4,100
     colorLevel 0
     colorValue 176
     targetHue  0
     targetSat  0
     targetTime 1489864468.31116
     targetVal  36
     whiteLevel 10
     COLORMAP:
       176
       175
       175
       174
       174
       173
       173
       172
       172
       171
       171
       170
       170
       169
       169
       168
       167
       167
       166
       166
       165
       165
       164
       164
       163
       163
       162
       162
       161
       161
       160
       159
       159
       158
       158
       157
       157
       156
       156
       155
       155
       154
       154
       153
       153
       152
       151
       151
       150
       150
       149
       149
       148
       148
       147
       147
       146
       146
       145
       145
       144
       143
       142
       142
       141
       140
       139
       138
       138
       137
       136
       135
       134
       134
       133
       132
       131
       130
       130
       129
       128
       127
       126
       126
       125
       124
       123
       122
       122
       121
       120
       119
       118
       118
       117
       116
       115
       114
       114
       113
       112
       111
       110
       110
       109
       108
       107
       106
       106
       105
       104
       103
       102
       102
       101
       100
       99
       98
       98
       97
       96
       95
       95
       94
       93
       93
       92
       91
       91
       90
       89
       89
       88
       87
       87
       86
       85
       85
       84
       83
       83
       82
       81
       81
       80
       79
       79
       78
       77
       77
       76
       75
       75
       74
       73
       73
       72
       71
       71
       70
       69
       69
       68
       67
       67
       66
       65
       65
       64
       63
       63
       62
       61
       61
       60
       59
       59
       58
       57
       57
       56
       55
       55
       54
       53
       53
       52
       51
       51
       50
       49
       49
       48
       47
       47
       46
       45
       45
       44
       43
       43
       42
       41
       41
       40
       39
       39
       38
       37
       37
       36
       35
       35
       34
       33
       33
       32
       31
       31
       30
       29
       29
       28
       27
       27
       26
       25
       25
       24
       23
       23
       22
       21
       21
       20
       19
       19
       18
       17
       17
       17
       16
       15
       15
       14
       13
       12
       11
       11
       10
       9
       8
       7
       7
       6
       5
       4
       3
       3
       2
       1
       0
       254
       254
       253
       252
       251
       250
       250
       249
       248
       247
       246
       246
       245
       244
       243
       242
       242
       241
       240
       239
       238
       238
       237
       236
       235
       234
       234
       233
       232
       231
       230
       230
       229
       228
       227
       226
       226
       225
       224
       223
       222
       222
       221
       220
       219
       218
       218
       217
       216
       215
       214
       214
       213
       212
       211
       210
       210
       209
       208
       207
       206
       206
       205
       204
       203
       202
       202
       201
       200
       199
       198
       198
       197
       196
       195
       194
       194
       193
       192
       191
       190
       190
       189
       188
       187
       186
       186
       185
       184
       183
       182
       182
       181
       180
       179
       178
       178
       177
     GAMMAMAP:
       0
       4
       4
       4
       4
       5
       6
       7
       8
       9
       10
       11
       12
       13
       14
       15
       16
       17
       18
       19
       20
       21
       22
       23
       24
       25
       26
       27
       28
       29
       30
       31
       32
       33
       34
       35
       36
       37
       38
       39
       40
       41
       42
       43
       44
       45
       46
       47
       48
       49
       50
       51
       52
       53
       54
       55
       56
       57
       58
       59
       60
       61
       62
       63
       64
       65
       66
       67
       68
       69
       70
       71
       72
       73
       74
       75
       76
       77
       78
       79
       80
       81
       82
       83
       84
       85
       86
       87
       88
       89
       90
       91
       92
       93
       94
       95
       96
       97
       98
       99
       100
     cmdQueue:
Attributes:
   IODev      milightfrickel1
   devStateIcon {(MilightDevice_devStateIcon($name),"toggle")}
   event-on-change-reading state,transitionInProgress
   lightSceneParamsToSave brightness
   restoreAtStart 1
   room       Esszimmer
   webCmd     on:off:dim:ct:night


EDIT: auch mit
set DEVICE pair 9
(9 für 9 Sekunden) und danach Einschalten funktioniert es nicht.
FHEM@Proxmox@Nuc: TabletUI als User-Interface (4 Wandtablets) / IOs per ser2net gekapselt
Homematic: Heizung, Fenster, Bewegung | Jeelink: Temperatur | Z-Wave: Bewegung, Temperatur | FS20: Temperatur, Fenster | Viessmann-Heizung eingebunden

Beta-User

@Gunther:
Eigentlich sollte das pairen mit jedem Befehl klappen, der direkt nach der Spannungszufuhr an die Bulb/den LED-Controller geschickt wird. Ich nehme bevorzugt die Schaltfläche für "ffffff" (weiß, ganz hell), die kann man leichter mehrfach klicken als den set-Befehl umständlich auszuwählen...

Bei einzelnen Bulbs hatte ich da aber auch Probleme beim Anlernen. Abhilfe war dann das vollständige unpair des betreffenden Leuchtmittels (mit einer FB, gleich nach Stromzufuhr länger auf den "all-on"-Button drücken).

Gruß, Beta-User
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

Gunther

Danke. Leider packe ich es noch nicht.

Vermutlich ist es besonders schwierig wegen des vorgeschalteten Homematic-Aktors.

Ich habe es nun auch mit einem notify versucht. Leider vergeblich.
define pairmilight notify eg_ez_LEDStreifen:on sleep 0.5;; set eg_ez_mi_LED on

wobei
eg_ez_LEDStreifen = Homematic Aktor
eg_ez_mi_LED = Milight Steuerung

Kann ich feststellen, ob mein neues Device (Bridge) funktioniert?
FHEM@Proxmox@Nuc: TabletUI als User-Interface (4 Wandtablets) / IOs per ser2net gekapselt
Homematic: Heizung, Fenster, Bewegung | Jeelink: Temperatur | Z-Wave: Bewegung, Temperatur | FS20: Temperatur, Fenster | Viessmann-Heizung eingebunden

Beta-User

...keine schlechte Idee mit dem notify, sollte eigentlich gehen, unterschiedliche Zeiten hast Du vermutlich schon versucht...

Die Bridge zu testen, ist schwierig ohne gepairtes Leuchtmittel und Änderung des geflashten Codes. Bist Du sicher, dass es die "alte" Generation Milihts ist, die Du da hast (im Wiki v.a. unter V4 abgebildet)? Neuere MiLights haben längere Codes und sind meines Wissens nach insgesamt nicht mit den Modulen usw. kompatibel.

Funktioniert eine der normalen Bridges?
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

smoudo

Bei mir ging es auch erst nachdem die leuchtmittel unpaired waren. Hab ich mithilfe der original Bridge + app gemacht.

Pairing:
Hab auch Strom drauf und den on Befehl gesendet. Lampen bestätigen bei mir mit 3x rot blinken

Eure Definitionen sehen ok aus!


Grüße

Matze

Tom71

Ich musste nicht erst unpairen. Nur stromlos machen, wieder einschalten und in Fhem auf on geklickt. Danach blinkte die LED-Lampe.
Ich habe diese hier:
https://www.amazon.de/gp/product/B00NRL73UE
https://www.amazon.de/gp/product/B0102AYR1K

Vielleicht klappt das Senden nicht. Wie könnte man denn das überprüfen? Zweites GW?
Meine Konfig:
defmod MilightBridge MilightBridge 192.168.0.85:8899
attr MilightBridge checkInterval 10
attr MilightBridge event-on-change-reading state
attr MilightBridge protocol udp
attr MilightBridge room Server
attr MilightBridge sendInterval 100

setstate MilightBridge ok
setstate MilightBridge 2017-03-20 07:51:37 sendFail 0
setstate MilightBridge 2017-03-18 09:03:37 slot0
setstate MilightBridge 2017-03-18 09:03:37 slot1
setstate MilightBridge 2017-03-18 09:03:37 slot2
setstate MilightBridge 2017-03-18 09:03:37 slot3
setstate MilightBridge 2017-03-18 09:03:37 slot4
setstate MilightBridge 2017-03-18 09:03:37 slot5 Milight_Leselampe
setstate MilightBridge 2017-03-18 09:03:37 slot6 Kuechenlampe
setstate MilightBridge 2017-03-18 09:03:37 slot7
setstate MilightBridge 2017-03-18 09:03:37 slot8
setstate MilightBridge 2017-03-20 07:51:37 state ok
Homematic | RaspberryMatic

Bapt. Reverend Magersuppe

Sollte man denn jetzt mit MilLightbridge oder mit WifiLight arbeiten? Funktionieren tut anscheinend beides, ich habe allerdings das Gefühl das Wifilight mit der selbstgebauten Bridge besser arbeitet. Habe bisher allerdings nur 2 Birnen gepairt.

--
If I was born in 1453, Leonardo da Vinci would be jealous of me.
Reverend Paul Egon Magersuppe
Aus versicherungstechnischen Gründen sind sämtliche Beiträge von mir rein spekulativer und theoretischer Natur und sollten nicht in die Tat umgesetzt werden!
Bin hier selten DRIN. AUS GRÜNDEN!

hexenmeister

Es ist schon sonderbar, dass Gunther und ich anscheinend das gleiche Problem haben...

Woran könnte es liegen?
- Hardware-Problem.
Halte ich eher für unwahrscheinlich, da bei vielen Anderen ja die gleiche Hardware offensichtlich gut funktioniert.

- Software.
Kann sein, ich habe ja auch Gunthers Hardware geflasht, möglicherweise habe ich falschen Sketch etc. Das wäre leicht behebbar, ich müsste nur verstehen, was falsch ist.

Was geht:
- Ich kann die in diesem Thread zu findende Sketches kompilieren und flashen. Sie scheinen auch zu laufen.
- Ich kann mit dem MQTT-Sketch die Daten sehen, die von meiner Originalfernbedienung gesendet werden (spricht auch eher für eine intakte Hardware).

Was geht nicht:
- Paaren und Steuern (ich habe jetzt mit einer MiLight-Lampe und MilLightbridge-FHEM-Modul probiert)

Was ich probieren will:
- WifiLight
- zweites Gateway aufbauen und versuchen dieses per MQTT-Bridge zu "belauschen", ob da auch was ankommt. vlt. kann ich sehen, was dort falsch läuft.

Könnte mir jemand (wer erfolgreich eine solche Bridge im Einsatrz hat) schreiben, welche von den Sketches er genommen hat?

(@Gunther: sollte eine Neubefüllung nötig sein, machen wir das entweder per Post, oder ich versuche Dir eine fertig kompilierte Datei zu erstellen, die dann quasi "mit einem Klick" geflasht werden kann. Dafür wird nur ein billiges USB-Adapter benötigt, diesen könnte ich Dir auch zur Verfügung stellen. Sollte gar nichts klappen, nehme ich die Bridges selbstverständlich gegen Erstattung des Kaufpreises zurück.)
Maintainer: MQTT_GENERIC_BRIDGE, SYSMON, SMARTMON, systemd_watchdog, MQTT, MQTT_DEVICE, MQTT_BRIDGE
Contrib: dev_proxy

l3skon3

Also bei mir hat die Power Buchse des FUT038 einen Wackelkontakt... Der Stecker sitzt sehr locker drin...

Das Paring klappt nachdem etwas nachgeholfen habe.


Beta-User

Zitat von: hexenmeister am 20 März 2017, 12:40:20
Könnte mir jemand (wer erfolgreich eine solche Bridge im Einsatrz hat) schreiben, welche von den Sketches er genommen hat?
Ich habe die V4 seit einigen Wochen drauf (kann aber sein, dass ich den Sketch dahingehend umgebaut habe, dass ich die FB-Signale an der seriellen Ausgabe erhalte; sollte für das Problem hier aber irrelevant sein). Geflascht aber auf einem China-Wemos D1 mini, der nRF in der Version mit externer Antenne (PA+LNA?). Was Adaptermodul, Kondensator oä. angeht, habe ich die HW grade nicht verfügbar.

EDIT: Arduino-IDE 1.8.0 (offizielle Version von arduino.cc auf einem 64-bit ubuntu)

Wenn Du die FB-Signale empfangen kannst, spricht das dafür, dass
a) das keine neue HW ist (neuere Modelle nutzen längere Codes, die openmili nach meiner Kenntnis (noch) nicht lesen kann)
b) die Verkabelung usw. i.O. ist. Problem könnte allenfalls die Funkreichweite beim Senden sein (Kondensator/en hast Du aber ja in der Regel verbaut, bis 2m sollten aber auch ohne gehen und wieviel störungsfreien Strom der nRF bekommt, weißt Du besser...).

Das Pairen hat dann mit der ganz überwiegenden Zahl meiner Bulbs bzw. dem einen LED-Controller meistens gut funktioniert, aber eben nicht bei allen, wobei das nach meinem Eindruck kein Reichweitenthema gewesen sein dürfte. Bei den "unwilligen" Bulbs (ca. 2 von 18) mußte ich erst ein globales unpair machen, was ich mit einer Fernbedienung erledigt habe. Danach ging es...
Die Bulbs selber habe ich seit mehr als 2 Jahren im Einsatz, die hängen alle auch hinter einem physischen Schalter. Von daher habe ich die Vermutung, dass die Bulbs einen Speicher haben für FB-Ids, der WLAN "mitschneidet" und irgendwann volläuft.

Was aber uU. eine Rolle spielen könnte:
Ich habe meine IDE vor nicht allzu langer Zeit aktualisiert und mit MySensors auch eine aktuelle Version der nRF-lib auf dem System installiert. Diese Fassung der lib sollte eigentlich nicht genutzt werden, sondern die modifizierte, die mit den Sketches hier ausgeliefert wird. Aber ob die IDE das so umgesetzt hat?
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

Tom71

@hexenmeister:
ich bin mir ziemlich sicher, dass ich die Version openmili5_OTA_MQTT.7z  aus dem ersten Eintrag genommen habe: https://forum.fhem.de/index.php?action=dlattach;topic=58742.0;attach=59974

Zum übersetzten hab ich die Arduino-IDE von der Dropbox genommen aus diesem Eintrag: https://forum.fhem.de/index.php/topic,58742.msg569250/topicseen.html#msg569250
Homematic | RaspberryMatic

smoudo