j'ai essayé de faire un raccourci de ma demande via le titre. Pour faire plus clair, j'ai des devices (shelly) qui me donner des informations l'interrogation d'une adresse url. Du genre http://192.168.1.xxx/status
J'ai donc toute l'information du shelly en JSON, sans couleur sans formes.. bref que tu texte.
Après un bout de code que j'ai tenté de comprendre en glanant sur le forum, la doc domoticz et google, j'en suis arrivé à ceci = https://github.com/enamaryn/shellyDomot ... lly1pm.lua
Bien sur j'ai une belle erreur :
Code : Tout sélectionner
2020-11-28 13:40:00.235 Error: EventSystem: in /opt/domoticz/scripts/lua/script_time_shelly1pm.lua: /opt/domoticz/scripts/lua/script_time_shelly1pm.lua:7: unexpected symbol near '<'
2020-11-28 13:41:00.248 Error: EventSystem: in /opt/domoticz/scripts/lua/script_time_shelly1pm.lua: /opt/domoticz/scripts/lua/script_time_shelly1pm.lua:7: unexpected symbol near '<'
2020-11-28 13:42:00.262 Error: EventSystem: in /opt/domoticz/scripts/lua/script_time_shelly1pm.lua: /opt/domoticz/scripts/lua/script_time_shelly1pm.lua:7: unexpected symbol near '<'Quelqu'un aurais une idée ? Merci


