Search found 3 matches

by Grunnpi
Friday 10 March 2023 22:53
Forum: Dashticz
Topic: [SOLVED] Domoticz/.getAllVariables() ?
Replies: 4
Views: 354

Re: [SOLVED] Domoticz/.getAllVariables() ?

Thanks a lot, exactly what I was looking for !
by Grunnpi
Friday 10 March 2023 10:07
Forum: Dashticz
Topic: [SOLVED] Domoticz/.getAllVariables() ?
Replies: 4
Views: 354

Re: Domoticz/.getAllVariables() ?

Oh great !
I did try but then, I tried var1/.value but didn’t return anything.
Is there something to do regarding variable type ? (String, int, …)
by Grunnpi
Thursday 09 March 2023 18:01
Forum: Dashticz
Topic: [SOLVED] Domoticz/.getAllVariables() ?
Replies: 4
Views: 354

[SOLVED] Domoticz/.getAllVariables() ?

Hi there,

I'm trying to build a block content based on a water meter device, and two variables content.
I was planning to perform such things in "custom/.js" with something like


function afterGetDevices(){
var var1 = Domoticz/.getAllDevices()['vVar1'];
var var2 = Domoticz/.getAllDevices ...