Page 3 of 3

Re: New plugin : ESP8266 Milight Hub

Posted: Thursday 24 October 2019 14:18
by FlyingDomotic
Hello,

+1 having the RGB+CCT problem. In addition, it seems that all my RGB+CCT bulbs are known by Domoticz as RGBWW. I don't find where I can change type to the right one.

Re: New plugin : ESP8266 Milight Hub

Posted: Monday 04 November 2019 19:25
by RobbieT
Hi,

Also reporting the same problem :-)

Re: New plugin : ESP8266 Milight Hub

Posted: Sunday 24 November 2019 23:54
by adval40
I have installed the plugin by github
I restart domoticz but I cannot see the plugin in domoticz

what do I Wrong ?

Re: New plugin : ESP8266 Milight Hub

Posted: Tuesday 04 February 2020 21:28
by Doowie
Realy nice plugin and all devices appear in Dmoticz. Interaction with the NodeMCU Milight hub is realy great.
Via the Domoticz dashboard I can change the state to on or off and other colors.
Via Nodered the light can be turned on and off.

I have two challenges though:
1. When I use this command in DZVents then nothing hapens: "domoticz.devices('NameofTheLight).switchOn();"
In the same script I can call a json script that works to turn the light on: "domoticz.openURL('http://192.168.201.195:8080/json.htm?ty ... itchcmd=On');"
When I'm correct the first command should be translated by Domoticz to json.

2. Second and less important challenges is that the light is listed as RGB+CCT in the Milight hub, but appears as RGB in Domoticz. If this has something to deal with my first challenge? I don't know.

Any help is greatly appreciated.
I'm strugling for a couple of days now.

Re: New plugin : ESP8266 Milight Hub

Posted: Saturday 14 March 2020 21:37
by Rudi52
I installed the ESP8266 Milight plugin from https://github.com/sidoh/esp8266_milight_hub on my raspberry pi 3b+
My domoticz version is: 4.10717
directory: /home/pi/domoticz/plugins
command: git clone https://github.com/sidoh/esp8266_milight_hub

It installs the pogram, but when i look in domoticz hardware, it is not there.
Can someone help me with this?

Found the solution
I had to install the python plugin fom https://github.com/galinette2000/espmil ... moticz.git into the directory /home/pi/domoticz/plugins/esp8266_milight_hub

Re: New plugin : ESP8266 Milight Hub

Posted: Thursday 04 June 2020 9:00
by FunFair
rensbr wrote: Wednesday 09 October 2019 8:22 Hi @galinette,

Thank your for creating this awesome plugin, it works a lot better then the UDP method.

But I also have a problem with RGB=CCT bulbs, like @CV8R. When I'm setting a warm white color, the bulb flashed to warm white, and immediately after that it switches back to cold white.

Do you have any ideas on what the problem might be?
I've recently built myself a Milight ESP controller and I noticed the same problem with my RGBCCT LED strip.
When I switch it to cold white trough domoticz, it returns to warm white. When I use the ESP web interface it switches correctly.

I haven't tried it with a dzvents script yet.

Re: New plugin : ESP8266 Milight Hub

Posted: Monday 08 June 2020 1:05
by Harryb17
Great plugin!

Is there a way to rediscover previously added devices? I accidentally deleted a few from the devices list.

Re: New plugin : ESP8266 Milight Hub

Posted: Tuesday 01 December 2020 22:09
by salvacalatayud
My milight hub stops working after a few minutes and I must reset it. Does it happen to anyone else?

Enviado desde mi SM-N975F mediante Tapatalk


Re: New plugin : ESP8266 Milight Hub

Posted: Friday 01 January 2021 17:09
by sincze
At the moment mi-light hub has been running without issues for several weeks now.

Re: New plugin : ESP8266 Milight Hub

Posted: Sunday 13 February 2022 14:15
by jpvaneijk
Hi all,

Mosquitto is up 'n running on a fresh install of Rasbian OS 64 (Bullseye) on Pi 4B. Python is 3.9.2 and Domotiicz is 2022.1.
I'm trying (for days now) to install the plugin for MilightESP8266 but there is an issue installing the plugin.

After installing the plugin Domoyicz crashes and the log say's:

Code: Select all

2022-02-13 10:22:24.673 Error: Tolhoren Mi-Lights: (MilightESP8266) failed to load 'plugin.py', Python Path used was ':/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2022-02-13 10:22:24.673 Error: Tolhoren Mi-Lights: Module Import failed, exception: 'ModuleNotFoundError'
2022-02-13 10:22:24.673 Error: Tolhoren Mi-Lights: Module Import failed: ' Name: plugin'
2022-02-13 10:22:24.673 Error: Tolhoren Mi-Lights: Error Line details not available.
2022-02-13 10:22:24.673 Error: Tolhoren Mi-Lights: No traceback available
I've tried many solutions chmodded the Directory and/or the Plugin.py file. Sudo on the git clone and much more. Nothing worked sofar.
Is this because I am on Python 3.9 or on 64 bit? What am I missing?

Found an issue here but no solution: https://github.com/etsach/espmilighthub ... z/issues/6

Please help, thanx!