Only the China Mainland server has the firmware update to 1.4.x yet.
And you need a higher firmware as 1.2.x for developer mode…
-
Xiaomi Yeelight plugin
-
@Partovic OK, looks like you need to upgrade to a higher firmware version first. I have just installed the Android version of Yeelight and its showing the “Developer Mode” settingfor me as expected.
Btw, I had issue logging in with locale setting “Mainland China” and this I switch to “Singapore” which works fine for me
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Argh those Yeelights are very awesome…but only if they connect. My second Yeelight RGBW just arrived yesterday, but connecting it to the app seems troublesome. OOTB it worked instantly, but out of sudden one of the two bulbs refused to accept any incoming commands from the app. It was not possible to switch it on or off with the app or to change colors.
The only possible interaction was via the wall switch.
So I decided to unbind and bind it again.
It doesn’t work anymore. No matter which of the both bulbs I connect first, it seems I can only have one bulb But in general both bulbs are still functional.I know the theoretical IP limit of a router is 256, but does anybody know if there are some other limitations? It feels like thats an issue with my router imho. I’ve got a TP-Link Archer C2 (AC750)
Does anybody have other ideas?
Besides that. Any news on the pimatic-plugin?
-
@Freekwilly said in Xiaomi Yeelight plugin:
I know the theoretical IP limit of a router is 256, but does anybody know if there are some other limitations? It feels like thats an issue with my router imho. I’ve got a TP-Link Archer C2 (AC750)
Did you check the mac addresses of the two bulbs?
Besides that. Any news on the pimatic-plugin?
I have started to build a driver for pimatic-led-light
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Well, I’ll check on that when I get home.
But I can already tell you that both “initial WiFis” of the bulbs were recognized by my router and both of them were assigned a different IP adress within the router (as of DHCP client list). So I guess they must have different Mac-adresses.Hmm so now if I think about it…Might not be a problem of my router then.
SOLVED: My Router decided to give a “MAC-bound” IP to the bulb. Whatever
-
how-to control these lights from within Pimatic ?
-
@passie said in Xiaomi Yeelight plugin:
how-to control these lights from within Pimatic ?
I have implemented a driver for pimatic-led-light which I am going to publish next weekend.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Hey,
Yeelight sounds very interesting. Are there any news on the pimatic side?
Greetings
Tobias -
@mwittig said in Xiaomi Yeelight plugin:
I have implemented a driver for pimatic-led-light which I am going to publish next weekend.
What about the release now? I can’t wait to implement my Yeelights into pimatic
-
I’m sorry to say, that i didn’t had time for a native yeelight-plugin. Maybe this will change in a month or so. The Pimatic-led-light plugin with the yeelight integration from @mwittig works fine.
pimatic-google-calendar | pimatic-wmi | pimatic-snmp | pimatic-wakeonlan |
Like my work? Then consider a donation
Follow me: www.thorstenreichelt.de -
@thost96 said in Xiaomi Yeelight plugin:
The Pimatic-led-light plugin with the yeelight integration from @mwittig works fine.
… which I have released today. There is an issue with recreation of the device thanks to shortcomings of underlying base library. Thus I do not recommend to use the device editor at this point until the issue has been resolved. Please create your device configuration “the old way” using the configuration editor.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Ah well, I just found it :D
But I got two problems!I can easily use one of my Yeelight RGBs. I can switch it on and off, I can dim it, but I can’t change the color.
The second issue is with my two other bulbs (one mono, one color). Even when I create the devices manually via the configuration editor (the old way) they are not recognized.
"id": "yeelight-c1", "class": "Yeelight", "name": "Grosses Licht", "addr": "192.168.0.102", "echo": {} }, { "id": "yeelight-c2", "class": "Yeelight", "name": "Kleines Licht", "addr": "192.168.0.104", "echo": {} }, { "id": "yeelight-m1", "class": "Yeelight", "name": "Lampe Badezimmer", "addr": "192.168.0.106", "echo": {} }
-
Could somebody explain howto install ? ( mini-manual )
The led-light plugin isn’t updated for 9 months. -
please use the 0.9 branch: https://github.com/philip1986/pimatic-led-light/tree/v0.9.x
installation hints: https://forum.pimatic.org/topic/1114/updated-how-to-install-a-plugin-from-github-using-npm-or-git
-
I allways get this error with two of my bulbs
error [pimatic]: Error loading device "yeelight-m1": Socket is already bound error [pimatic]: Error loading device "yeelight-c2": Socket is already bound
-
fyi I have published a new version which should solve at least some of the issues. Major improvements and additions are:
- added color control
- using the plugin with multiple bulbs should work now (I only have 1 bulb to test with)
- fixed editing and re-creating a device (device editor can be used now)
- re-connect on connection failure, e.g. when the bulb had been offline
It is still far for being perfect due the problem with the shortcomings of underlying base library. Note, the current implementation is working in passive mode as the underlying library does not support push notifications right now eventhough the Yeelight API provides for this.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig said in Xiaomi Yeelight plugin:
It is still far for being perfect due the problem with the shortcomings of underlying base library. Note, the current implementation is working in passive mode as the underlying library does not support push notifications right now eventhough the Yeelight API provides for this.
Is it possible to enable some debug output for this plugin? I have version 0.9.5 installed and my Yeelight simply does nothing. Would be interesting which commands are sent.
-
@NemoN said in Xiaomi Yeelight plugin:
Is it possible to enable some debug output for this plugin?
Yes, you can set the “debug” property as part of the plugin configuration.
Note, the plugin uses multicast (address 239.255.255.250). Is your Raspi connected via Wifi? Do you use Wifi Repeaters as part of your network? Make sure Wifi devices on your network are allowed to communicate directly to each other.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
For me it now works flawlessly, as far as I tested it. Allthough you mentioned its far from perfect.
Thanks for your great work!
-
@mwittig said in Xiaomi Yeelight plugin:
@NemoN said in Xiaomi Yeelight plugin:
Is it possible to enable some debug output for this plugin?
Yes, you can set the “debug” property as part of the plugin configuration.
Note, the plugin uses multicast (address 239.255.255.250). Is your Raspi connected via Wifi? Do you use Wifi Repeaters as part of your network? Make sure Wifi devices on your network are allowed to communicate directly to each other.
Got it working, i used the DNS name of the lamp in the device settings, this was not working. After replacing with lamp IP all is running fine!