Moderator: leecollings
Derik
Posts: 1601 Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:
Post
by Derik » Monday 12 September 2016 18:27
corbin wrote: Derik wrote:
Only i do not understand the ssdp protocol? Working with putty?
Or how do i send the request.
some one understand this..?
Are you able to run a command like this?
Code: Select all
printf '{"id":1,"method":"toggle","params":[]}\r\n' > /dev/tcp/192.168.0.2/55443
change 192.168.0.2 to the IP address of your bulb. Also check that you have developer mode enabled on the bulb. The quotes may need escaping, I'd check myself but don't have a Linux install handy.
Corbin...
If you planed a hardware plugin... [ love that option..xxxx]
Only i do not understand the methode..
In my browser?
in putty?
Or in a linux [ and then? ]
Sorry for my dombo questions
Thanks
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
TwoEasy
Posts: 13 Joined: Friday 09 September 2016 18:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by TwoEasy » Monday 12 September 2016 23:18
I found another temporary way to control the bulbs. Not the most effective or smoothest way to do it but it works..
I have a old Android tablet that I use as a on the wall dashboard, always connected to a charger and always at home, connected to wifi. I have tasker installed. So I made a virtual switch in domoticz that sends a on/off message via pushbullet that my Android tablet listen for and then runs the wanted command on the wanted bulb.
Like I said, dirty, not local but It works for now I think. (not actully tested yet)
corbin
Posts: 463 Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:
Post
by corbin » Tuesday 13 September 2016 12:00
Derik wrote:
Corbin...
If you planed a hardware plugin... [ love that option..xxxx]
Only i do not understand the methode..
In my browser?
in putty?
Or in a linux [ and then? ]
Sorry for my dombo questions
Thanks
try this from Linux command line (terminal)
Code: Select all
echo -ne '{"id":1,"method":"toggle","params":[]}\r\n' | nc -w1 192.168.5.19 55443
corbin
Posts: 463 Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:
Post
by corbin » Friday 30 September 2016 12:46
Any Windows Domoticz users want to test my Yeelight code?
corbin
Posts: 463 Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:
Post
by corbin » Monday 03 October 2016 1:06
TwoEasy
Posts: 13 Joined: Friday 09 September 2016 18:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by TwoEasy » Sunday 09 October 2016 10:00
Oh amazing Corbin! Really awesome! Unfortunately I use Raspberry pi so I cannot test it, I can happily test it if possible on pi
Derik
Posts: 1601 Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:
Post
by Derik » Sunday 09 October 2016 11:06
Looks there are people that have supported the yeelight in windows domoticz....
ScreenShot035.jpg (89.29 KiB) Viewed 2623 times
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
TwoEasy
Posts: 13 Joined: Friday 09 September 2016 18:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by TwoEasy » Sunday 09 October 2016 11:10
Derik wrote: Looks there are people that have supported the yeelight in windows domoticz....
ScreenShot035.jpg
Yeah, as you can see two posts up it is Corbin who created this.
Derik
Posts: 1601 Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:
Post
by Derik » Sunday 09 October 2016 11:18
TwoEasy wrote: Derik wrote: Looks there are people that have supported the yeelight in windows domoticz....
ScreenShot035.jpg
Yeah, as you can see two posts up it is Corbin who created this.
O real?
Will try a linux version... [ have bulb]
Only i do not understand the way i should use:
ScreenShot036.jpg (6.88 KiB) Viewed 2621 times
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Derik
Posts: 1601 Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:
Post
by Derik » Sunday 09 October 2016 17:42
Did install the last Windows Beta, on my NUC
ScreenShot037.jpg (102.37 KiB) Viewed 2595 times
No Yeelight?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
corbin
Posts: 463 Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:
Post
by corbin » Monday 10 October 2016 7:48
Derik wrote: Did install the last Windows Beta, on my NUC
No Yeelight?
Derik, try this link - compiled for Windows.
https://1drv.ms/f/s!AiVyh7yRnMKPgT1s4nzWDgJX7UaO
The code on github probably isn't working right now - I am rewriting it to work in Linux.
Derik
Posts: 1601 Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:
Post
by Derik » Monday 10 October 2016 18:50
corbin wrote: Derik wrote: Did install the last Windows Beta, on my NUC
No Yeelight?
Derik, try this link - compiled for Windows.
https://1drv.ms/f/s!AiVyh7yRnMKPgT1s4nzWDgJX7UaO
The code on github probably isn't working right now - I am rewriting it to work in Linux.
Did install this version on my pc.
Ad the yeelight..
Only see no thing happend?
While my light is on and visible in my lan.
What do i need to do more?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
corbin
Posts: 463 Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:
Post
by corbin » Monday 10 October 2016 20:45
Have you enabled development mode on your Yeelight?
Derik
Posts: 1601 Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:
Post
by Derik » Monday 10 October 2016 20:54
corbin wrote: Have you enabled development mode on your Yeelight?
mmm
I do only have the bulb and a android app?
Is that ok?
Where can i find this mode?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
corbin
Posts: 463 Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:
Post
by corbin » Monday 10 October 2016 20:58
Use the main Yeelight app, link on top right to settings
corbin
Posts: 463 Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:
Post
by corbin » Monday 10 October 2016 21:07
Yes the Android app is what I use, but the link to developer mode is only there in the main Yeelight app, it isn't in shortcuts to individual lights.
Derik
Posts: 1601 Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:
Post
by Derik » Monday 10 October 2016 21:22
Got him
ScreenShot040.jpg (83.21 KiB) Viewed 2552 times
Only have a other problem..
My X64 [ windows] nuc is not working as a slave for my master.. [ endium problem or something ]
Why not in Beta Windows?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
corbin
Posts: 463 Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:
Post
by corbin » Monday 10 October 2016 21:29
Derik wrote: Got him
ScreenShot040.jpg
Only have a other problem..
My X64 [ windows] nuc is not working as a slave for my master.. [ endium problem or something ]
Why not in Beta Windows?
Awesome!
With Windows not working as a slave, yeah is to do with big/little endian - not going to work.
But, I almost have the Linux version working...
Derik
Posts: 1601 Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:
Post
by Derik » Monday 10 October 2016 21:42
corbin wrote: With Windows not working as a slave, yeah is to do with big/little endian - not going to work.
But, I almost have the Linux version working...
What is that for problem endian... [ when i run Domoticz on X86 is that better? ]
When you have linux let me now i test...[ when i have time ]
Are all Yeelights working?
Like the strips and the small bulbs?
http://www.ebay.com/itm/Original-Xiaomi ... SwHoFXs-G7
Great JOB!!!
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Users browsing this forum: No registered users and 1 guest