Closed WladyX closed 6 years ago
Hi, First of all a big thank you for your scripts, they have been really helpfull for me. The only upset is that Sunset and Sunrise do not work.
As a workaround I found: /home/me/.local/bin/yeelight_set_scene.sh 3 1 '50,1,16731392,1,360000,2,1700,10,540000,2,2700,100' 192.168.1.3"
cat /home/me/.local/bin/yeelight_set_scene.sh
echo -ne "{\"id\": 1, \"method\": \"set_scene\", \"params\": [\"cf\",${1},${2},\"${3}\"]}\r\n" | /bin/nc -w1 ${4} 55443
from here: https://community.home-assistant.io/t/sunrise-sunset-script/13135/2 and this works. Can you please advise, I would preffer to use only your script if possible :) Thanks again! Vlad
LE:
Thank you very much!
I created Sunrise2 - have a try @WladyX
Sunrise2
Hi, First of all a big thank you for your scripts, they have been really helpfull for me. The only upset is that Sunset and Sunrise do not work.
As a workaround I found: /home/me/.local/bin/yeelight_set_scene.sh 3 1 '50,1,16731392,1,360000,2,1700,10,540000,2,2700,100' 192.168.1.3"
cat /home/me/.local/bin/yeelight_set_scene.sh
!/bin/bash
echo -ne "{\"id\": 1, \"method\": \"set_scene\", \"params\": [\"cf\",${1},${2},\"${3}\"]}\r\n" | /bin/nc -w1 ${4} 55443
from here: https://community.home-assistant.io/t/sunrise-sunset-script/13135/2 and this works. Can you please advise, I would preffer to use only your script if possible :) Thanks again! Vlad
LE:
Thank you very much!