Page 1 sur 1

Blocky et seconde max

Publié : 14 mai 2015, 19:03
par beting
Bonjour

Je souhaite exécuter un inter au bout de 1h, 2h, 3h, 4h donc j'ai fais dans Blocky un Set device=On after 3600 seconds. Mais cela ne marche pas, est ce qu'il y aurait un max pour les secondes.

Re: Blocky et seconde max

Publié : 14 mai 2015, 21:19
par patrice
Bonsoir
J'en ai un avec 5 secondes qui fonctionne
et chez toi ca donnerai quoi avec 5 sec ?

Re: Blocky et seconde max

Publié : 17 mai 2015, 14:09
par beting
Oui avec 5s cela fonctionne. J ai l'impression qu il y a un Max en seconde

Re: Blocky et seconde max

Publié : 17 mai 2015, 21:37
par patrice
Bonsoir
Appelle l'apiJSON pour faire on et off dans 2 scripts sh et mets ca dans le crontab

pour faire off avec l'idx de ton swtich
#! /bin/sh
curl 'http://192.168.1.81:8080/json.htm?type= ... ff&level=0'
et On

#! /bin/sh
curl 'http://192.168.1.81:8080/json.htm?type= ... On&level=0'