def reportBell():
domoticzrequest("http://" + domoticzserver + "/json.htm?type=command¶m=switchlight&idx=" + str(domoticzidx) + "&switchcmd=On")
time.sleep(mintimebetweenrings)
domoticzrequest("http://" + domoticzserver + "/json.htm?type=command¶m=switchlight&idx=" + str(domoticzidx) + "&switchcmd=Off")
评论列表
文章目录