Page 7 of 18

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Sunday 23 October 2016 20:51
by Derik
@ Farhanito


Your sript is working....Thanks..
on, off, toggle works oke!!!
Only i think with the b and ct i mis something or i do something wrong...

Can i command all the setting on this way for this bulb? disco wakeup etc..

Can i switch 2 light @ the same time [ orderd more ] when i put in the script multiple Ip?

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Sunday 23 October 2016 21:48
by Derik
got the sunrise script working to..
Make a dummy mistake not chmod 777.. :oops: :oops: :oops:

And did a trick to start the light from the off position...

Code: Select all

echo -ne '{"id":1,"method":"set_scene", "params": ["color", 65280, 1]}\r\n' | nc -w1 192.168.5.30 55443
echo -ne '{"id":1, "method":"start_cf", "params":[3,1,"50,1,16731392,1,360000,2,1700,10,540000,2,2700,100"]}\r\n' | nc -w1 192.168.5.30 55443
Because replace the start_cf in stead of set_scene was not working

Now it is working great....


Are there more nice scripts... :?: :lol: :D
Orderd more bulbs ...

Milight for sale...

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Tuesday 25 October 2016 20:23
by Derik
@ weiweipossible

Is there perhaps a extension option for the ledstrip..
I need 4M ledstrip...
Or can i extend with a neopixel or a regulair HUE, or a other rgbw strip or something else?

Please do you have a example for the script so the bulb are acting exactly like a hue
I see in the manual that this is possible.
Only i do not understand this option..

Are there new bulbs for Sale?

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Wednesday 26 October 2016 0:37
by deennoo
Just update my Domoticz on a Syno :

Code: Select all

Version: 3.5814
Build Hash: 9817a5e-modified
Compile Date: 2016-10-24 08:44:40
Yeelight arrive half : no way to set adresses. does domoticz will look by his self is there any yeelight at home ?

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Wednesday 26 October 2016 22:27
by corbin
deennoo wrote:Just update my Domoticz on a Syno :

Yeelight arrive half : no way to set adresses. does domoticz will look by his self is there any yeelight at home ?
Are the Yeelights not getting added to Domoticz devices? There isn't any need to tell it IP addresses as it will use a UDP broadcast to discover devices.

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Thursday 27 October 2016 7:11
by deennoo
Ok, bulb still not arrive, want to prepare.

UDP discover is fantastic but this make my domoticz unstable ! Especialy when it discover nothing...remove for now and wait for bulb.

Maybe it can be more easyer to set ip adresse (your will not be alone todo this).

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Thursday 27 October 2016 10:27
by weiweipossible
Derik wrote:@ weiweipossible

Is there perhaps a extension option for the ledstrip..
I need 4M ledstrip...
Or can i extend with a neopixel or a regulair HUE, or a other rgbw strip or something else?

Please do you have a example for the script so the bulb are acting exactly like a hue
I see in the manual that this is possible.
Only i do not understand this option..

Are there new bulbs for Sale?
We are really sorry that the current LED strip can't be extended.
The 4M ledstrip is being developed and may be released next year.
Regarding bulbs, we only have two version, white and color.

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Thursday 27 October 2016 20:29
by ErikJ
Hi,

I have a Mi yeelight color wifi bulb.

When I activate ‘Yeelight Led’ Domoticz will crash after a minute. When I restart Domoticz in less a minute it will crash again. When I deactivate ‘Yeelight Led’ it is stable. It also didn’t find any lights at the devices tabs.

Any suggestions?

Synology
Version: 3.5814
Build Hash: 9817a5e-modified
Compile Date: 2016-10-24 08:44:40
RFXCOM 443, RFXCOM 868, Hue, Aon Zwave

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Friday 28 October 2016 0:53
by Mazzokun
I installed 2 rgbw bulb but i can't get warm light ( 2700-3000 kelvin) any help? :)

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Friday 28 October 2016 7:19
by weiweipossible
Mazzokun wrote:I installed 2 rgbw bulb but i can't get warm light ( 2700-3000 kelvin) any help? :)
Can you get this CT through Yeelight or MiHome app?

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Friday 28 October 2016 7:44
by Mazzokun
yes, something similar to warm and not yellow.. isn't there a code for warm light? 8-)

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Saturday 29 October 2016 15:48
by Mazzokun
Hi, I have found this plugin for homebridge, It works like a charm and if I pull off dc power to the bulb domoticz doesn't crash... I wish this could help you with some code.. ;)

Code: Select all

https://github.com/vvpossible/homebridge_yeelight

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Sunday 30 October 2016 12:49
by weiweipossible
Mazzokun wrote:Hi, I have found this plugin for homebridge, It works like a charm and if I pull off dc power to the bulb domoticz doesn't crash... I wish this could help you with some code.. ;)

Code: Select all

https://github.com/vvpossible/homebridge_yeelight
I'm maintaining this plugin :D. Are you saying current domoticz with yeelight-plugin is not stable enough? Maybe I can take a look and provide some help.

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Monday 31 October 2016 8:20
by Mazzokun
weiweipossible wrote:
Mazzokun wrote:Hi, I have found this plugin for homebridge, It works like a charm and if I pull off dc power to the bulb domoticz doesn't crash... I wish this could help you with some code.. ;)

Code: Select all

https://github.com/vvpossible/homebridge_yeelight
I'm maintaining this plugin :D. Are you saying current domoticz with yeelight-plugin is not stable enough? Maybe I can take a look and provide some help.
Yes it's more stable, because if I use the domoticz integration and physically disconnect a bulb from ac power, domoticz goes immediately offline.. With the homebridge plugin there isn't this issue 8-) ... But I'd prefer control them from domoticz instead apple's automation system ( that is also bugged :cry: ) .

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Monday 31 October 2016 10:29
by corbin
I've borrowed a Raspberry Pi B and installed the beta image, which has worked with the lights powered, and it is stable when the lights are unplugged. Using the wired network connection, then I added a USB WIFI adapter, and it is still stable. I have a USB keyboard, 4GB SD card, and HDMI monitor plugged in also.

Any suggestions on hardware or software changes I could do to replicate the crashing?

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Monday 31 October 2016 11:49
by Mazzokun
corbin wrote:I've borrowed a Raspberry Pi B and installed the beta image, which has worked with the lights powered, and it is stable when the lights are unplugged. Using the wired network connection, then I added a USB WIFI adapter, and it is still stable. I have a USB keyboard, 4GB SD card, and HDMI monitor plugged in also.

Any suggestions on hardware or software changes I could do to replicate the crashing?
Pull off AC Power of a bulb, pull on AC Power and the bulb should power on, then try to change state of the bulb via domoticz.. sometimes the bulb work ok, but usually don't respond and then domoticz goes offline. ( tested with 3 bulbs 2 works after shutdown 1 doesn't respond )
I have a Raspberry Pi 3 :)

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Monday 31 October 2016 11:58
by corbin
Mazzokun wrote: Pull off AC Power of a bulb, pull on AC Power and the bulb should power on, then try to change state of the bulb via domoticz.. sometimes the bulb work ok, but usually don't respond and then domoticz goes offline. ( tested with 3 bulbs 2 works after shutdown 1 doesn't respond )
I have a Raspberry Pi 3 :)
Thanks for testing :)

This kind of problem will be fixed in a new update I've been working on.

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Monday 31 October 2016 12:21
by corbin
I have a question for the people this is still crashing for, I just want to confirm something - Did you only add the Yeelight hardware and do nothing else in Domoticz? ie control the lights with scripts or try to turn the lights on/off from Domoticz GUI when they have been physically unplugged?

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Monday 31 October 2016 12:26
by Mazzokun
yes I have other hardware in domoticz and yes I control this hardware with some lua script.
For yeelight I tried to control them from Domoticz GUI when they have been physically unplugged

Re: [Plugin now available in Beta] Help with Yeelight Bulb

Posted: Monday 31 October 2016 16:47
by farhanito
corbin wrote:I've borrowed a Raspberry Pi B and installed the beta image, which has worked with the lights powered, and it is stable when the lights are unplugged. Using the wired network connection, then I added a USB WIFI adapter, and it is still stable. I have a USB keyboard, 4GB SD card, and HDMI monitor plugged in also.

Any suggestions on hardware or software changes I could do to replicate the crashing?
The issue I'm having on my RPi2 is exactly the same as described by @ErikJ with Synology.
ErikJ wrote:Hi,

I have a Mi yeelight color wifi bulb.

When I activate ‘Yeelight Led’ Domoticz will crash after a minute. When I restart Domoticz in less a minute it will crash again. When I deactivate ‘Yeelight Led’ it is stable. It also didn’t find any lights at the devices tabs.

Any suggestions?

Synology
Version: 3.5814
Build Hash: 9817a5e-modified
Compile Date: 2016-10-24 08:44:40
RFXCOM 443, RFXCOM 868, Hue, Aon Zwave