Page 1 of 1

Howto get result from openURL call in LUA (dzVents) variable

Posted: Saturday 13 January 2018 23:10
by waaren
Is it possible to get the result from a domoticz.openURL(some http::// json type call) into a variable ?

Re: Howto get result from openURL call in LUA (dzVents) variable

Posted: Sunday 14 January 2018 8:08
by dannybloe
Yes but you have to wait for dzVents 2.4. Almost finished.

Re: Howto get result from openURL call in LUA (dzVents) variable

Posted: Sunday 14 January 2018 9:56
by elmortero
dannybloe wrote: Sunday 14 January 2018 8:08 Yes but you have to wait for dzVents 2.4. Almost finished.
Until dannybloe releases dzVents this should explain well enough how to do that.
That said: Danny, I can't wait for all the new goodies you will bring us :D

Re: Howto get result from openURL call in LUA (dzVents) variable

Posted: Sunday 14 January 2018 14:22
by waaren
@dannybloe, can't wait :D

@elmortero, Thx for the link. I already use (kind of) this method in bash but prefer pure dzVents / domoticz

Re: Howto get result from openURL call in LUA (dzVents) variable

Posted: Monday 15 January 2018 13:20
by acaonweb
dannybloe wrote: Sunday 14 January 2018 8:08 Yes but you have to wait for dzVents 2.4. Almost finished.
I can't use dzevents 2.3 in the stable version of domoticz and we'll have 2.4?
Do you know how i could use 2.3 o better into my stable domoticz???

Thanks in advance

Fabrizio

Re: Howto get result from openURL call in LUA (dzVents) variable

Posted: Monday 15 January 2018 13:39
by dannybloe
You cannot unfortunately.