Search found 11 matches

by rogzon
Saturday 30 June 2018 0:02
Forum: dzVents
Topic: 'General purpose' timers
Replies: 22
Views: 5264

Re: 'General purpose' timers

It's pretty OK to trigger on a uservariable also....
by rogzon
Friday 29 June 2018 23:50
Forum: dzVents
Topic: dz vents runaway electrical sensor
Replies: 12
Views: 1308

Re: dz vents runaway electrical sensor

@tillo, If you read carefully the topic I sent in my last post you will see that there is a bug in dzVent/domoticz. The device Electrical(instant+counter) should normally get both power in Watts and the Energy in kWh from a sensor of some kind. You don't have a sensor that gives you any updates so ...
by rogzon
Thursday 28 June 2018 8:45
Forum: dzVents
Topic: lastUpdate.minutesAgo
Replies: 19
Views: 2686

Re: lastUpdate.minutesAgo

Hi! Maybe this would be another way to do this, you would get rid of the timer? return { on = { devices = {'PIR*'}, }, execute = function(domoticz,device,triggerInfo) if (device.state == 'On') then domoticz.devices(device.name:sub(4)).cancelQueuedCommands() domoticz.devices(device.name:sub(4 ...
by rogzon
Wednesday 27 June 2018 23:15
Forum: dzVents
Topic: dz vents runaway electrical sensor
Replies: 12
Views: 1308

Re: dz vents runaway electrical sensor

Okay, let's speak English then... I found this discussion: https://www.domoticz.com/forum/viewtopic.php?t=22117 It would seem as if this is your biggest problem. A workaround would would be to do the calculations yourself. The downside on that workaround would be that you would need one device each ...
by rogzon
Wednesday 27 June 2018 16:06
Forum: dzVents
Topic: dz vents runaway electrical sensor
Replies: 12
Views: 1308

Re: dz vents runaway electrical sensor

Så för att förstå detta.. Du vill ha ett device under "Utility" (kom inte ihåg vad det är på svenska) som visar 3000W när den är på och 0 när den är av samt att den visar energi för dygnet och totalt? Det visar sig att det device som heter Electrical(instant+counter) inte funkar riktigt som det skall ...
by rogzon
Wednesday 27 June 2018 14:32
Forum: dzVents
Topic: dz vents runaway electrical sensor
Replies: 12
Views: 1308

Re: dz vents runaway electrical sensor

Absolut! Norrland!
by rogzon
Wednesday 27 June 2018 14:21
Forum: dzVents
Topic: DzVents script for bathroom lights
Replies: 11
Views: 2998

Re: DzVents script for bathroom lights

In the off event for the PIR you could put domoticz.devices('bathroom lights name').switchOff().afterMin(2) which would switch off lights two minutes after PIR has reported no motion. You then need to put domoticz.devices('bathroom lights name').cancelQueuedCommands() in PIR On event otherwise it ...
by rogzon
Wednesday 27 June 2018 14:04
Forum: dzVents
Topic: dz vents runaway electrical sensor
Replies: 12
Views: 1308

Re: dz vents runaway electrical sensor

If you decide to use dzVents in domoticz you could use this: return { active = true, -- set to false to disable this script on = { devices = { 'THE NAME OF YOUR POOL HEATER SWITCH', } }, execute = function(domoticz, device) if(device.state=='On') then domoticz.variables('slaskOnCount').set(os.time ...
by rogzon
Wednesday 27 June 2018 11:52
Forum: dzVents
Topic: dzVent version info and .isDevice not working [Solved]
Replies: 4
Views: 1448

Re: dzVent version info and .isDevice not working [Solved]

Yes, that's a good idea. For now I am storing on and off time as string in a variable like this: return { active = true, -- set to false to disable this script on = { devices = { 224, -- id }, httpResponses = { 'scheduleinfo', } }, execute = function(domoticz, device) if (device.isDevice) then print ...
by rogzon
Monday 25 June 2018 22:09
Forum: dzVents
Topic: dzVent version info and .isDevice not working [Solved]
Replies: 4
Views: 1448

Re: dzVent version info and .isDevice not working [Solved]

For anybody else reading this.. The version info is available in the About dialog but for some reason I needed to update to 4.9700 to even have an entry stating the dzVents version... Also device.isDevice is working now. The only thing completely missing now is device.isSchedule which should return ...
by rogzon
Thursday 21 June 2018 14:21
Forum: dzVents
Topic: dzVent version info and .isDevice not working [Solved]
Replies: 4
Views: 1448

dzVent version info and .isDevice not working [Solved]

Hi! I have searched thru the whole Internet for an answer on how to get the version number of my installed dzVents..... Is there somewhere version information for dzVents? Also I have this: return { active = true, -- set to false to disable this script on = { devices = { 224, -- id }, httpResponses ...