Search found 70 matches

by pvangorp
Monday 23 July 2018 21:24
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

Looks like your watermeter is not on idx34? 34 is the idx of my watermeter. Is your watermeter (RFXMeter) on the same idx??? Please double check the number in your device list.
by pvangorp
Sunday 22 July 2018 19:33
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

Start your url with ?param=......... &param is reserved. When you change the order of the url string it will work. json.htm?param=udevice&type=command&idx=34&svalue=999999
by pvangorp
Saturday 18 November 2017 20:28
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

My diode gives 3,3v :o 1,7v might be to low. Did you get the correct diode? Well I checked the number on the diode (1n746a) and according to the specs this should be a 3,3v zener.. But it does give the readings but like a thousand to high.. (as in 0,001 reports as 1) Go to settings, meters and set ...
by pvangorp
Saturday 18 November 2017 15:38
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

My diode gives 3,3v :o 1,7v might be to low. Did you get the correct diode?
by pvangorp
Friday 17 November 2017 15:36
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

Between black wire and GPIO. For direction I used a volt meter. If correct connected it give 3.3v instead of 5v. When wrong connected it gives 5v
by pvangorp
Thursday 16 November 2017 10:04
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

Bernard, I use several devices on USB and GPIO watermeter and relais without any power issues, but I use the original Pi3 adapter with 2.5A. You can use a separate power supply, but than I would use a Level Converter (as discussed before in this topic).
by pvangorp
Wednesday 15 November 2017 7:36
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

They will or the entered ip is wrong!
by pvangorp
Wednesday 15 November 2017 5:35
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

Use os.execute('wget http://...... instead of print. Print was for debugging!
by pvangorp
Friday 10 November 2017 16:06
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

Go to settings, meters and set the RFXMeter for water to 1000. Thats all
by pvangorp
Monday 30 October 2017 18:05
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

I created your situation and tested it today. Mine is working fine. Please validate your code again. It will work if your code is correct! Do you use the correct IP’s!
by pvangorp
Monday 30 October 2017 15:03
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

I used a zener because I had one. I mentioned a logic level converter. They are even cheaper https://www.tinytronics.nl/shop/nl/span ... arch=Level
by pvangorp
Monday 30 October 2017 11:35
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

The output is about 3volt or about 5volt when wrong way connected.
by pvangorp
Monday 30 October 2017 11:28
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

To your input GPIO of your Pi. Check your zener diode with a voltage meter. It does mater how you connect it. If wrong it stil gives 5v to your pi!
by pvangorp
Monday 30 October 2017 4:32
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

I created a test environment for your situation. As you can see in your dump something goes wrong!!! 2017-10-13 21:29:06.049 LUA: Water usage is still 173.005m3 2017-10-13 21:29:06.050 LUA: wget http://192.168.1.94:8080/json.htm?type=command¶m=udevice&idx=157&svalue=173005 -O /dev/null 2017-10-13 21: ...
by pvangorp
Monday 30 October 2017 4:24
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

Okay, I've tried to read up on the information about this, and I came up with the following wiring-scheme. As said, I am not very good at reading diagrams with symbols, so I made something a litte more visual for myself. Can anybody with a little more knowledge than me check if this would be a good ...
by pvangorp
Wednesday 25 October 2017 18:07
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

New feature tip. You can hide the dummy “GPIO Watermeter” by putting a $ in front of the name (don’t forget to change the script aswell) or put the device in the “hidden devices” Floor plan.
by pvangorp
Friday 13 October 2017 21:27
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

What happens when you swap the commandarray and weet line order. The print above the commandarray is in the log?
by pvangorp
Friday 13 October 2017 20:58
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 119290

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

Do you get some sort of error in the log? Looks oke to me. Is the ip included in your system settings network e.g. 127.0.0.*;192.168.*.* of both devices? Executing in browser should be the same as in script. You can use a print for debuging instead of os.execute. Otherwise I need to create a ...