Search found 10 matches

by GAEvakYD
Saturday 16 December 2017 12:19
Forum: dzVents
Topic: sunrise / sunset trigger
Replies: 4
Views: 4168

Re: sunrise / sunset trigger

Ahhhh I've found it. My is dzVents is named vzIsDonker. Now I've got two triggers in that script: '1 minutes after sunrise', '1 minutes before sunset' The log gives informatie that the triggers works Ok, but there are something with an internal Scheduler. See the log rules at: 2017-12-15 08:09:01 ...
by GAEvakYD
Friday 15 December 2017 8:15
Forum: dzVents
Topic: sunrise / sunset trigger
Replies: 4
Views: 4168

sunrise / sunset trigger

I've a question about the sunrise and sunset trigger. I want to put on a virtual switch. So I've used the code below. I expected two events. At sunrise and at sunset. But in the log I can see that I got four events. Before and After Sunset en Sunrise. Is there an option to only get two triggers? I ...
by GAEvakYD
Wednesday 10 September 2014 13:56
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Using GPIO to measure energy
Replies: 88
Views: 56049

Re: Using GPIO to measure energy

This is my schema:
https://drive.google.com/file/d/0B3C0u0 ... sp=sharing

You can also use it with the 5v of the PiFace.
by GAEvakYD
Sunday 07 September 2014 10:43
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Using GPIO to measure energy
Replies: 88
Views: 56049

Re: Using GPIO to measure energy

Thanks. Looks like this works. The counter value on the device tabs begins counting at 0.17 kWh, so not 0.0. When opening the log it's empty but I think the need a few hours to build up a nice graphic. In the settings in the RFXMeter/Counter Dividers section I changed the Energy value from 1000 to ...
by GAEvakYD
Saturday 06 September 2014 17:30
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Using GPIO to measure energy
Replies: 88
Views: 56049

Re: Using GPIO to measure energy

Ow my piface config looks like this:
piface.0.input.0.enabled=true
piface.0.input.0.pin_type=rising
piface.0.input.0.count_enabled=false
piface.0.input.0.count_update_interval_sec=1
by GAEvakYD
Saturday 06 September 2014 17:15
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Using GPIO to measure energy
Replies: 88
Views: 56049

Re: Using GPIO to measure energy

Wow very nice Robin. Sorry for the late reaction but had some serious workload for office thing. :( In the meantime my PiFace is arrived. I've used my old setting with the phototransistor and resistor to give me the pulses to the GPIO input. I've used the Python libs to test the hardware and it ...
by GAEvakYD
Monday 18 August 2014 21:16
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Using GPIO to measure energy
Replies: 88
Views: 56049

Re: Using GPIO to measure energy

Nice. That's looks great.

What kind of hardware did you use Robin? Specially the seperated counters for different groups are great. I want to measure the main kWh meter, but more details are welcome. Specially from my electric car of my heating pump.
by GAEvakYD
Sunday 17 August 2014 15:08
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Using GPIO to measure energy
Replies: 88
Views: 56049

Re: Using GPIO to measure energy

Thanks. I think I will go for a PiFace device.

Can you show some screenshots of Domoticz with PiFace and enerycount functions?
by GAEvakYD
Saturday 16 August 2014 21:22
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Using GPIO to measure energy
Replies: 88
Views: 56049

Re: Using GPIO to measure energy

Thanks for helping me Robin. I'm in doubt about buying an PiFace or a YouLess meter. Writing a custom plugin isn't an option. Been there done that, now I want to use a more standard solution. One of the reason's why I'm hesitation about the PiFace is because it also use the wiringPI lib. That's a ...
by GAEvakYD
Saturday 16 August 2014 13:47
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Using GPIO to measure energy
Replies: 88
Views: 56049

Using GPIO to measure energy

Hi, I'm using a Raspberry PI with GPIO board. In the past I''ve written an own c++ program to measure the current amount of energy used. This with a photoransistor and a resistor that gives a pulse when the digital meter blink. My own program has a poll interval of 10000 micro seconds (0.1 seconds ...