Search found 9 matches
- Sunday 07 February 2021 0:06
- Forum: dzVents
- Topic: Writing historic value in Managed Counter [Solved]
- Replies: 7
- Views: 2088
Re: Writing historic value in Managed Counter [Solved]
Dear Waaren, I tried to use the dzvents (3.1.4) updateHistory function as decribed in the script. Question: in your example: mCounter.updateHistory('2021-01-22', 10;1777193'), what means 10;1777193; I guess that one of the figures is the value to attach to the date, but the other? Also I suspect a ...
- Tuesday 12 January 2021 16:13
- Forum: dzVents
- Topic: Asynchronous shell command execution: get result back [Solved]
- Replies: 15
- Views: 1432
Re: Asynchronous shell command execution: get result back [Solved]
Thanks for the lesson! However, how to update dzVents; I don't find the information neither in the wiki, nor on the forum. When I go to github, I see the files, but not the way to transfer them automatically. It could be good to include this point in the wiki. I suspect that many people have ...
- Monday 11 January 2021 17:59
- Forum: dzVents
- Topic: Asynchronous shell command execution: get result back [Solved]
- Replies: 15
- Views: 1432
Re: Asynchronous shell command execution: get result back [Solved]
To prove that I'm a newbee, I've a problem with this very simple script: return { on = { devices = {'VS test Lua'} }, execute = function(dz) dz.executeShellCommand({ command ="ls -l", callback = "trigger", timeout = 2, }) end } In the log, I've the following message when I activate the switch: 2021 ...
- Monday 11 January 2021 16:33
- Forum: dzVents
- Topic: Asynchronous shell command execution: get result back [Solved]
- Replies: 15
- Views: 1432
Re: Asynchronous shell command execution: get result back [Solved]
Hi, I suspect a typo in the example of the script that issues the request and handles the response. ... domoticz.executeShellCommand({ command = '...', callback = 'trigger' timeout = 10, }) --- A comma is missing after 'trigger'. It is not very serious, but confusing when you copy the code and try ...
- Tuesday 03 November 2020 8:30
- Forum: dzVents
- Topic: Time user variable [Solved]
- Replies: 2
- Views: 605
Re: Time user variable [Solved]
Thanks for this fast answer.
I had tried dz.variables('VH1').time.set('06:00') which causes an error.
I had tried dz.variables('VH1').time.set('06:00') which causes an error.
- Monday 02 November 2020 19:07
- Forum: dzVents
- Topic: Time user variable [Solved]
- Replies: 2
- Views: 605
Time user variable [Solved]
Hi, I've created a user variable VH1, type time, value 05:00. How can I assign a new value (e.g. 06:00) to this variable in a script? I've tried: - dz.variables('VH1').value='06:00' - dz.variables('VH1').time.hour=6 - dz.variables('VH1') .time='06:00' - dz.variables('VH1')=dz.variables('VH1 ...
- Thursday 20 February 2020 18:43
- Forum: dzVents
- Topic: V3 in Domoticz stable version [Solved]
- Replies: 2
- Views: 811
- Thursday 20 February 2020 16:24
- Forum: dzVents
- Topic: V3 in Domoticz stable version [Solved]
- Replies: 2
- Views: 811
V3 in Domoticz stable version [Solved]
Hi,
Is it possible to install dzVents V3 in the current stable version of Domoticz (V4.10717)?
Is it possible to install dzVents V3 in the current stable version of Domoticz (V4.10717)?
- Sunday 17 March 2019 17:10
- Forum: Cameras
- Topic: Motion or sound detection on a Foscam IP camera with the API - CGI
- Replies: 1
- Views: 4297