Help sending a url command
Posted: Sunday 29 September 2019 22:41
Hi all,
I'm a little bit stuck. Someone has kindly put up a python 3 script to download files from a dash cam and when it finishes it executes turn_off_camera() I think I just need to let the script know what that is. All I need it to do is switch off a switch in domoticz. I have the url to switch the switch off via json..
What would be the best way in doing this? As you can see I have tried to implement it where it says #turn_off_camera
Many Thanks
Simon
I'm a little bit stuck. Someone has kindly put up a python 3 script to download files from a dash cam and when it finishes it executes turn_off_camera() I think I just need to let the script know what that is. All I need it to do is switch off a switch in domoticz. I have the url to switch the switch off via json..
What would be the best way in doing this? As you can see I have tried to implement it where it says #turn_off_camera
Many Thanks
Simon