Search found 2 matches

by leonkoster
Tuesday 18 June 2019 21:57
Forum: Other questions and discussions
Topic: P1 meter crashes
Replies: 0
Views: 495

P1 meter crashes

Hello,
I have a P1 smart meter USB connected to my RPI3 B+ but after a while the P1 meter sort of crashes and the serial port closes.
If i disabel it and renable it it works just fine but will crash soon.
Does anyone else have this problem or the answer to it?
by leonkoster
Tuesday 16 October 2018 22:17
Forum: Other questions and discussions
Topic: Watermeter lezen met raspberry en Inductieve NPN sensor
Replies: 394
Views: 114462

Re: Watermeter lezen met raspberry en Inductieve NPN sensor

I tried making it work but i keep getting the following error:

Traceback (most recent call last):
File "/home/pi/downloads/domoticz/scripts/watermeter.py", line 21, in <module>
f = file(fn, "r+")
NameError: name `file` is not defined