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
Help sending a url command Topic is solved
Moderator: leecollings
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: Help sending a url command
Managed to sort it using urllib.request.urlopen
Cheers
Cheers
Who is online
Users browsing this forum: No registered users and 1 guest