Search found 24 matches

by DRB2019
Monday 13 September 2021 14:32
Forum: dzVents
Topic: Light switch/Doorbel Modernizer
Replies: 7
Views: 622

Re: Light switch/Doorbel Modernizer

It works, i only press the doorbel once....
by DRB2019
Monday 13 September 2021 13:57
Forum: dzVents
Topic: Light switch/Doorbel Modernizer
Replies: 7
Views: 622

Re: Light switch/Doorbel Modernizer

I solved it in another way. See the script below. return { on = { devices = { 'Deurbel Modernizr' } }, data = { counter = { initial = 0 } }, execute = function(domoticz, switch) if (domoticz.data.counter == 1) then domoticz.devices('Overkapping').switchOn().forSec(2).repeatAfterSec(1, 5) domoticz ...
by DRB2019
Monday 13 September 2021 11:21
Forum: dzVents
Topic: Light switch/Doorbel Modernizer
Replies: 7
Views: 622

Re: Light switch/Doorbel Modernizer

Sorry for the late reply, i wil check the topic.
by DRB2019
Thursday 09 September 2021 18:13
Forum: dzVents
Topic: Light switch/Doorbel Modernizer
Replies: 7
Views: 622

Light switch/Doorbel Modernizer

Hello, I'am running a script to trigger if the doorbel is pressed, when it's pressed, than flash some lights for a specific amount of times. All works wel when they press the doorbel one time, when they press it two time's short after each other (within a sec.) the light goes on burning constanly ...
by DRB2019
Wednesday 19 August 2020 20:46
Forum: dzVents
Topic: Switch dzvents script to off [Solved]
Replies: 3
Views: 1549

Re: Switch dzvents script to off [Solved]

Two options; both based on a virtual switch. (when switch is active, script continues) The script works perfect !! I also made a new script for when then dummy switch is switched to off. return { on = { devices = {'SchemerControl'} }, logging = { level = domoticz.LOG_ERROR, }, execute = function ...
by DRB2019
Wednesday 19 August 2020 19:18
Forum: dzVents
Topic: Switch dzvents script to off [Solved]
Replies: 3
Views: 1549

Re: Switch dzvents script to off [Solved]

Hello waaren,
Thnx for the quick reply!, at this moment i go for option 1.

I 'am able to check the script tonight. I will let you know.

waaren wrote: Tuesday 18 August 2020 22:31 Two options; both based on a virtual switch. (when switch is active, script continues)
by DRB2019
Tuesday 18 August 2020 20:52
Forum: dzVents
Topic: Switch dzvents script to off [Solved]
Replies: 3
Views: 1549

Switch dzvents script to off [Solved]

Hello, I'am running the script below to switch 2 lights on in my living room, but sometimes i do not want the script to run. 1. Is it possible with a dummy switch in domoticz to switch the script to off (i mean the switch on/off in the events editor), 2. or is it better to implement a dummy switch ...
by DRB2019
Thursday 30 July 2020 19:40
Forum: dzVents
Topic: Script to parse Electricity from P1 Smart Meter reading [Solved]
Replies: 77
Views: 22843

Re: Script to parse Electricity from P1 Smart Meter reading [Solved]

Ok, I will try the script and see what happens.
by DRB2019
Thursday 30 July 2020 19:13
Forum: dzVents
Topic: Script to parse Electricity from P1 Smart Meter reading [Solved]
Replies: 77
Views: 22843

Re: Script to parse Electricity from P1 Smart Meter reading [Solved]

[/quote]
See below script. Explanation is in the comments of the script
[/quote]

How to get this script working with Domoticz Version: 4.10717 and dzVents Version: 2.4.19?
by DRB2019
Wednesday 29 July 2020 22:02
Forum: dzVents
Topic: Script to parse Electricity from P1 Smart Meter reading [Solved]
Replies: 77
Views: 22843

Re: Script to parse Electricity from P1 Smart Meter reading [Solved]

See below script. Explanation is in the comments of the script
I will try to get the script running.
Thnx!
by DRB2019
Wednesday 29 July 2020 18:17
Forum: dzVents
Topic: Script to parse Electricity from P1 Smart Meter reading [Solved]
Replies: 77
Views: 22843

Re: Script to parse Electricity from P1 Smart Meter reading [Solved]

I prefer to see the split in total high and low.
by DRB2019
Wednesday 29 July 2020 17:47
Forum: dzVents
Topic: Script to parse Electricity from P1 Smart Meter reading [Solved]
Replies: 77
Views: 22843

Re: Script to parse Electricity from P1 Smart Meter reading [Solved]

Code: Select all

I will give you the names and devices when I come home from work!
Below the devices in domoticz.
Snap1.jpg
Snap1.jpg (114.69 KiB) Viewed 1734 times
by DRB2019
Wednesday 29 July 2020 10:18
Forum: dzVents
Topic: Script to parse Electricity from P1 Smart Meter reading [Solved]
Replies: 77
Views: 22843

Re: Script to parse Electricity from P1 Smart Meter reading [Solved]

Can you share to what device names, types and subtypes the meter is reporting now ?
I will give you the names and devices when I come home from work!
by DRB2019
Wednesday 29 July 2020 9:26
Forum: dzVents
Topic: Script to parse Electricity from P1 Smart Meter reading [Solved]
Replies: 77
Views: 22843

Re: Script to parse Electricity from P1 Smart Meter reading [Solved]

Is your adapter already connected to domoticz ?
YES, the adapter is connected to domoticz.
I want to see separate usage (1.8.1 and 1.8.2)
by DRB2019
Tuesday 28 July 2020 22:04
Forum: dzVents
Topic: Script to parse Electricity from P1 Smart Meter reading [Solved]
Replies: 77
Views: 22843

Re: Script to parse Electricity form P1 Smart Meter reading [Solved]

You can try with the version in my post of Monday 08 June 2020 22:58 The two remaining errors are corrected in this one. I don’t want to export the data to a database, I only want to see the data in domoticz. I want to see the readings: Gas Total power consumption Usage power 1.8.1 Usage power 1.8.2
by DRB2019
Tuesday 28 July 2020 20:22
Forum: dzVents
Topic: Script to parse Electricity from P1 Smart Meter reading [Solved]
Replies: 77
Views: 22843

Re: Script to parse Electricity form P1 Smart Meter reading [Solved]

Today i installed a new P1-Wifi adapter to get the data from my smart meter.
I'am running domoticz Version: 4.10717 and dVents Version: 2.4.19.

Which version of the script can i use?
I see so many different versions, i'am a bit confused now.

Thnx for the reply!
Kind regards,
René
by DRB2019
Wednesday 01 July 2020 14:48
Forum: dzVents
Topic: Switch lights on when dark [Solved]
Replies: 8
Views: 1292

Re: Switch lights on when dark [Solved]

I changed the script to

domoticz.PRIORITY_HIGH and domoticz.SOUND_PERSISTENT

Thanks!
by DRB2019
Wednesday 01 July 2020 12:34
Forum: dzVents
Topic: Switch lights on when dark [Solved]
Replies: 8
Views: 1292

Re: Sitch lights on when dark [Solved]

It now works the way I want it! Thanks !! Also got telegram working: D, below the script I use. Could look like return { on = { timer = {'every 10 minutes between 15:30 and 22:20'}, }, logging = { level = domoticz.LOG_ERROR, -- change to LOG_ERROR when ok (was LOG_DEBUG) marker = 'dusk sensor ...
by DRB2019
Tuesday 30 June 2020 23:12
Forum: dzVents
Topic: Switch lights on when dark [Solved]
Replies: 8
Views: 1292

Re: Sitch lights on when dark [Solved]

why did you add?

Code: Select all

timer   = {'every 10 minutes'},  
It will not do anything in this script.
I only want to run the script every 10 minutes.
Just to avoid the lights switching on and off quickly
How can you realize this?

I will dig in the notify function and try it out!
by DRB2019
Tuesday 30 June 2020 21:13
Forum: dzVents
Topic: Switch lights on when dark [Solved]
Replies: 8
Views: 1292

Re: Sitch lights on when dark [Solved]

Assuming the name of your dusk-sensor switch is Schemerschakelaar1 it could look like Your script works perfect! I modified it a bit, so when the dusk sensor goes to 'Off' the lights also switch off. (fluctuation of light in the house). Is there also a possibility to send a telegram message when ...