Search found 3 matches

by stemeh
Friday 28 December 2018 15:01
Forum: Blockly
Topic: Variable in URL
Replies: 4
Views: 863

Re: Variable in URL

Hy Waaren ,
Thanks for The Solution Idea . I send my Setpoint now with this code

-- sendTemp2ESP.lua

return {
on = { devices = { "SollTemp1" }},

execute = function(dz, SollTemp1Input)
dz.openURL("http://192.168.2.161/control?cmd=TaskValueSet,10,1," .. SollTemp1Input.setPoint)
end
}

Stefan
by stemeh
Friday 28 December 2018 10:14
Forum: Blockly
Topic: Variable in URL
Replies: 4
Views: 863

Re: Variable in URL

Hy,

Thanks for your Info . Can you me please send a simple Example for this Found at google many thinks but I understand .

Stefan
by stemeh
Thursday 27 December 2018 8:01
Forum: Blockly
Topic: Variable in URL
Replies: 4
Views: 863

Variable in URL

Hello,

I want to send a Line to ESPEASY and i want to send this for Example http://192.168.2.161/control?cmd=TaskValueSet,10,1,5
this is ok. but when I change the 5 to a Variable (SollTemp1) http://192.168.2.161/control?cmd=TaskValueSet,10,1,&SollTemp1
then Domoticz send &SollTemp1 and not the ...