Search found 15 matches

by JelleB
Friday 25 March 2016 15:09
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO Interrupt for water meter
Replies: 29
Views: 10119

Re: GPIO Interrupt for water meter

How would the divide by 2 and INT value look like? WATER_DELTA_POST = INT(WATER_DELTA / 2) ? I haven't used shielded cable, cable is some 2.5 m long and runs next to fuse box etc, so EM interference is very well possible. Have the TCTR5000 connected directly to GPIO. The sensor has a potmeter to ...
by JelleB
Tuesday 22 March 2016 20:37
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO Interrupt for water meter
Replies: 29
Views: 10119

Re: GPIO Interrupt for water meter

Well, maybe not fixed, but it works. I'd rather have a few liters too many or too sort than than the usage get doubled. E.g. when I open several taps in the house, on the terminal I see several ticks in a row, but count visually only 1 revolution (liter) of the meter and 1 sensor on/off. Water ...
by JelleB
Monday 21 March 2016 21:05
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO Interrupt for water meter
Replies: 29
Views: 10119

Re: GPIO Interrupt for water meter

RidingTheFlow, I faked the value of the IDX to the actual meter reading. Flush the toilet, count 7 pulses on the TCTR5000 sensor, yet the value is updated to value +14. What could cause this or how can I fix it? Fully agree your script is very robust, but in my case 1 liter is counted as 2 ticks and ...
by JelleB
Monday 21 March 2016 20:45
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO Interrupt for water meter
Replies: 29
Views: 10119

Re: GPIO Interrupt for water meter

RidingTheFlow,

I faked the value of the IDX to the actual meter reading.
Flush the toilet, count 7 pulses on the TCTR5000 sensor, yet the value is updated to value +14. What could cause this or how can I fix it?

Fully agree your script is very robust, but in Domoticz strange things happen it seems.
by JelleB
Monday 21 March 2016 20:45
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO Interrupt for water meter
Replies: 29
Views: 10119

Re: GPIO Interrupt for water meter

RidingTheFlow,

I faked the value of the IDX to the actual meter reading.
Flush the toilet, count 7 pulses on the TCTR5000 sensor, yet the value is updated to value +14. What could cause this or how can I fix it?

Fully agree your script is very robust, but in Domoticz strange things happen it seems.
by JelleB
Monday 21 March 2016 12:17
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO Interrupt for water meter
Replies: 29
Views: 10119

Re: GPIO Interrupt for water meter

Thanks, removed the & from crontab and checked the scripts is runnng. The sensor on the watermeter nicely blinks every liter, however Domoticz reports I have used 20 m3 since yesterday. This does not make sense. How can I monitor what the script sends back to domoticz (run print statements in the ...
by JelleB
Sunday 20 March 2016 22:03
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO Interrupt for water meter
Replies: 29
Views: 10119

Re: GPIO Interrupt for water meter

Got it. When I start the script manually it prints the delta and the ticks and increments the liters in domoticz. I added the automatic start of the scriot to crontab: @reboot python /home/pi/domoticz/scripts/watermeter.py & However, upon reboot, the counter is not incremented and the meter in the ...
by JelleB
Sunday 20 March 2016 15:15
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO Interrupt for water meter
Replies: 29
Views: 10119

Re: GPIO Interrupt for water meter

Yes I did and replaced 'GAS' with 'WATER'.

Indeed the Virtual increment counter shows up as watermeter and data 0 kWh. Should I select another dummy, to get water in liters or can i edit the properties of the dummy?

IDX should be the IDX of the dummy device (not the hardware IDX)
by JelleB
Sunday 20 March 2016 14:59
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO Interrupt for water meter
Replies: 29
Views: 10119

Re: GPIO Interrupt for water meter

Ridingthe flow,
this works with me. However, when opening the water tap, I see the counter increments but also get some 'Domoticz Json error' warnings. What could this mean?

Also, how do I get the counter values as nicely configured variable in the Utilities tab of the domoticz web interface?
by JelleB
Friday 18 March 2016 21:20
Forum: Others
Topic: SolarEdge in Latest Beta / Port Number
Replies: 161
Views: 61707

Re: SolarEdge in Latest Beta / Port Number

Sappien, the latest (stable v.4843) software version contain the option to get Solaredge from API web. SO you can getthe data from the Solaredge web API.
by JelleB
Monday 14 March 2016 22:09
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO Interrupt for water meter
Replies: 29
Views: 10119

Re: GPIO Interrupt for water meter

Bram2202, would you be able to share/give some more guidance on how to modify the script (other than ip adress, port, pin nr and GPIO nr)? I guess the script will be stored in /scripts and made executable. I did all this and get the same errors as above user. Also, how did you specify this counter ...
by JelleB
Tuesday 01 March 2016 23:00
Forum: Others
Topic: SolarEdge in Latest Beta / Port Number
Replies: 161
Views: 61707

Re: SolarEdge in Latest Beta / Port Number

My installer made a call to Solaredge to get it explained how to get the API and key.
If you haven't paid the full bill, wait until you have the data you need :-)
by JelleB
Monday 29 February 2016 15:39
Forum: Utility
Topic: my water meter.
Replies: 38
Views: 25063

Re: my water meter.

Dear all,
I want to use a TCRT5000 directly on the GPIO port. I will get a water enter type sensus 620 from my water company (opportunity replacement).
Anyone got a working script for this combination?

Also, to which GPIO pin should the D0 signal be connected to?
by JelleB
Saturday 27 February 2016 18:43
Forum: Others
Topic: SolarEdge in Latest Beta / Port Number
Replies: 161
Views: 61707

Re: SolarEdge in Latest Beta / Port Number

Got it. It even picked up the data without the device connected.
Thanks.
by JelleB
Thursday 25 February 2016 22:22
Forum: Others
Topic: SolarEdge in Latest Beta / Port Number
Replies: 161
Views: 61707

Re: SolarEdge in Latest Beta / Port Number

Got the same problem.
Allowed new hardware for 5 minutes, added Solaredge via Web API
Solaredge worker started
No devices visible in the table.
I'm running beta V2.4768

Rebooted a couple of times as well.