La recherche a retourné 21 résultats
Aller sur la recherche avancée
- 25 avr. 2017, 14:23
- Forum : Scripts DzVents, lua,blocky, shell, python, perl ...
- Sujet : Test jour chômé avec domogeek
- Réponses : 4
- Vues : 4645
Re: Test jour chômé avec domogeek
commandArray = {} json = (loadfile "/home/pi/domoticz/scripts/lua/JSON.lua")() -- For Linux local url='http://domogeek.entropialux.com/holidayall/B/now' local config=assert(io.popen('curl '..url)) local vac = config:read('*all') config:close() local jsonResult = json:decode(vac) if (jsonR...