Sunrise / Sunset Script

which version did you use? the first post of @patkap 's version?

Yes, the one with shell command and script.

sorry to drag up an old thread but can either you or @patkap please tell me where I need to save the yeelight_set_scene.sh file? (linix noob here) I’m running HassIO
image
image

or do i need to put it in a folder further up the structure? (ie: outside of the Hassio container)

I am not so familiar with hass.io (I am using hassbian) , but i think you can put in in scripts folder. The important thing is that you should make it executable and to specify in the configuration the full path of the script.

Sorry for my lack of knowledge here but how do I make it executable?

…and what would be the full path if its in the scrips folder? (that part I should be able to work out i think)

To make it executable:
chmod +x yeelight_set_scene.sh
The full path will be
/config/scripts/yeelight_set_scene.sh

1 Like

Hopefully someone using Hassio can help me here. I am trying to get this script to work but I cant seem to find a way to enter the commands as per @mihaifireball 's instructions in the above post as Hassi doesnt seem to allow them. Any ideas?