Code: Select all
cmd1 = "http://192.168.1.150:8080/json.htm?type=command¶m=switchlight&idx=115&switchcmd=On"
hf1 = urllib.request.urlopen(cmd1)
hf1.close
Moderators: leecollings, remb0
Code: Select all
cmd1 = "http://192.168.1.150:8080/json.htm?type=command¶m=switchlight&idx=115&switchcmd=On"
hf1 = urllib.request.urlopen(cmd1)
hf1.close
Users browsing this forum: No registered users and 1 guest