Search found 7 matches

by Sagitarius
Monday 17 May 2021 12:10
Forum: Other questions and discussions
Topic: Problem with utils.stringSplit
Replies: 1
Views: 280

Problem with utils.stringSplit

Hi Team,
had a first look on utils.stringSplit an copied the script below from forum, but it does not
work, I always get
2021-05-17 08:54:00.332 Status: dzVents: Error (2.4.19): ...domoticz/scripts/dzVents/generated_scripts/Script #1.lua:12: attempt to call field 'stringSplit' (a nil value)

Can ...
by Sagitarius
Saturday 15 May 2021 13:05
Forum: Switches and Scenes
Topic: http command
Replies: 9
Views: 2129

Re: http command

I tested Chrome and Firefox in private mode, Firefox has no problem but Chrome
has problem with oid's below 10000, they are not working but above some.
I did the same test with Domoticz and got the same result like with Chrome.
by Sagitarius
Friday 14 May 2021 11:58
Forum: Switches and Scenes
Topic: http command
Replies: 9
Views: 2129

Re: http command

Hi Waaren

that's what I get, but I'm not sure what kind of information would help.
The http command via IE works fine. It collects data from a XML database where I do not have the name from.
But anything I tried so far, the result via openURL would be -1, which means wrong oid no. and the JSON ...
by Sagitarius
Thursday 13 May 2021 10:35
Forum: Switches and Scenes
Topic: http command
Replies: 9
Views: 2129

Re: http command

Thanks Waaren, will spend some time over the weekend
by Sagitarius
Tuesday 11 May 2021 17:08
Forum: Switches and Scenes
Topic: http command
Replies: 9
Views: 2129

Re: http command

Hi Rob,
thanks, I had a view on this but the 2nd part, looks like, is a bit complex for me yet.
That's what I have so far

return {
on = {
timer = {'every 1 minutes'},
httpResponses = { 'oid' }
},

execute = function(dz, item)

if (item.isTimer) then
dz.openURL({
url = 'http://192.168 ...
by Sagitarius
Monday 10 May 2021 14:24
Forum: Switches and Scenes
Topic: http command
Replies: 9
Views: 2129

dzvents openURL command domoticz

Hi All,
I'm trying to get PV information from Benning device via dzvents into domoticz.
The IE http command like "http://<IP PV>/getentry.cgi?&oid=10" works fine.
Result e.g.
[
{
"oid" : 10,
"label" : "UserConfig.Inverter.Info.SystemName", "type" : "S",
"val" : "PVINV110",
"uitext" : "System name ...
by Sagitarius
Wednesday 12 June 2019 10:08
Forum: Switches and Scenes
Topic: http command
Replies: 9
Views: 2129

http command

As you can add multipple devices to a scene, would be great to have also the option to add multipple http commands