Help controlling Mi-Light without wifi bridge.
Moderators: leecollings, remb0
-
- Posts: 85
- Joined: Monday 17 August 2015 21:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Help controlling Mi-Light without wifi bridge.
After reading and building this simple node: http://forum.mysensors.org/topic/3607/m ... ysensors/2 I tried pairing/controlling a couple of bulbs without success.
The first time I managed to get a bulb paired as a simple white on/off switch and I could turn the bulb on and off. Then I fiddled around and now I cant control it in any way. I tried adding a mi-light from a dummy switch. But that did not work. Now I cant even control on/of any more. Does anyone know how to solve this?
The first time I managed to get a bulb paired as a simple white on/off switch and I could turn the bulb on and off. Then I fiddled around and now I cant control it in any way. I tried adding a mi-light from a dummy switch. But that did not work. Now I cant even control on/of any more. Does anyone know how to solve this?
-
- Posts: 85
- Joined: Monday 17 August 2015 21:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Help controlling Mi-Light without wifi bridge.
I noticed that the sketch used the variables s_light and S_custom and S_custom is not supported by domoticz I think. So I changed to s_rgbw_light and now I get a rgbw light in domotizs that I can turn on off. But nothing happens when I try to dim or change rgb value
-
- Posts: 29
- Joined: Saturday 19 March 2016 23:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Help controlling Mi-Light without wifi bridge.
Hi
Can You write how did You do that?
What should I do in Domoticz (raspberry) to get it work?
I have RGB bulbs but I only want to switch them ON and OFF without WiFI Bridge from Milight.
Thx for answer
Can You write how did You do that?
What should I do in Domoticz (raspberry) to get it work?
I have RGB bulbs but I only want to switch them ON and OFF without WiFI Bridge from Milight.
Thx for answer
-
- Posts: 85
- Joined: Monday 17 August 2015 21:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Help controlling Mi-Light without wifi bridge.
Follow the link in the first post and just connect a Nrf24 radio to a arduino (there are tutorials on the mysensors.org site if you have not done it before). Then you just upload the sketch in the first post to the arduino (I think you need to add a new S_light in the sets for every bulb you want to control.
Then you will get a bunch of new switches in domotizs after you power the node up. Then you turn one bulb on and within a few seconds you turn a lightswitch on in domotizs and it should be paired.
I have only tried with one bulb and it worked. But if you want to wait the RFlink people will probably soon support mi-light too.
Then you will get a bunch of new switches in domotizs after you power the node up. Then you turn one bulb on and within a few seconds you turn a lightswitch on in domotizs and it should be paired.
I have only tried with one bulb and it worked. But if you want to wait the RFlink people will probably soon support mi-light too.
-
- Posts: 29
- Joined: Saturday 19 March 2016 23:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Help controlling Mi-Light without wifi bridge.
Thank You very much for answer
I think I try to do that. I think Milight bulbs are preety good (and low cost) but Milight bridge and only 4 zones in it are big problem.
Best regards
I think I try to do that. I think Milight bulbs are preety good (and low cost) but Milight bridge and only 4 zones in it are big problem.
Best regards
-
- Posts: 29
- Joined: Saturday 19 March 2016 23:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Help controlling Mi-Light without wifi bridge.
I must say I don't know how to make it to work:(
I made arduino nano Mysensors serial Gateway
I put on it the code from the first post You have linked
I connected arduino to Domoticz by USB port /dev/tty/USB0
But there is no switches in Devices section
Any idea what I'm doing wrong?
Best regards
I made arduino nano Mysensors serial Gateway
I put on it the code from the first post You have linked
I connected arduino to Domoticz by USB port /dev/tty/USB0
But there is no switches in Devices section

Any idea what I'm doing wrong?
Best regards
-
- Posts: 85
- Joined: Monday 17 August 2015 21:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Help controlling Mi-Light without wifi bridge.
You first make the gateway using a nano and nrf24 radio and upload the serial gateway code to it. Then you make another arduino/nrf24 using the info from the first post and upload that sketch to it.
-
- Posts: 29
- Joined: Saturday 19 March 2016 23:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Help controlling Mi-Light without wifi bridge.
Once again Thank You for answer
Now I know what I'm doing wrong.
I need to buy another arduino
Thx
Best regards
Now I know what I'm doing wrong.
I need to buy another arduino
Thx
Best regards
-
- Posts: 29
- Joined: Saturday 19 March 2016 23:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Help controlling Mi-Light without wifi bridge.
Hi again
I was able to pair with one bulb but I don't know what to do to pair with others?
Any idea?
Best regard
I was able to pair with one bulb but I don't know what to do to pair with others?
Any idea?
Best regard
Who is online
Users browsing this forum: No registered users and 1 guest