Problème ouverture d'url
Publié : 15 janv. 2019, 19:53
Salut,
j'ai un script lua pour rebooter mes sonoff qui ressemble a ca :
Mais en log, j'ai juste ca :
Comme si juste la derniere url fonctionnait.
Vous voyez pourquoi ?
j'ai un script lua pour rebooter mes sonoff qui ressemble a ca :
Code : Tout sélectionner
if (devicechanged['Reboot-sonoff'] == 'On') then
commandArray['OpenURL']='http://192.168.31.31/?cmd=reboot'
commandArray['OpenURL']='http://192.168.31.190/?cmd=reboot'
commandArray['OpenURL']='http://192.168.31.59/?cmd=reboot'
commandArray['OpenURL']='http://192.168.31.176/?cmd=reboot'
commandArray['OpenURL']='http://192.168.31.242/?cmd=reboot'
commandArray['Reboot-sonoff']='Off AFTER 10'
endCode : Tout sélectionner
2019-01-15 19:49:30.144 (Virtualsensor) Lighting 1 (Reboot-sonoff)
2019-01-15 19:49:30.135 Status: User: Wolfen38 initiated a switch command (208/Reboot-sonoff/On)
2019-01-15 19:49:30.245 Status: EventSystem: Fetching url http://192.168.31.242/?cmd=reboot...
2019-01-15 19:49:30.245 Status: EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_device_reboot-sonoff.lua
2019-01-15 19:49:40.288 (Virtualsensor) Lighting 1 (Reboot-sonoff)Vous voyez pourquoi ?