If you have a problems with the urrlib2 after upgrading Pi or a fresh install try install urllib3 with pip
sudp pip install urrlib3
I made som redesigns in my script with error correction
my S0Meter needs a 2% correction
my current version
#!/usr/bin/env python
import RPi.GPIO as GPIO
import ...
Search found 3 matches
- Thursday 25 October 2018 20:19
- Forum: Utility
- Topic: DDS238-1 Cheap Energy-meter with S0 (no RS458)
- Replies: 13
- Views: 12189
- Friday 09 June 2017 16:53
- Forum: Utility
- Topic: DDS238-1 Cheap Energy-meter with S0 (no RS458)
- Replies: 13
- Views: 12189
Re: DDS238-1 Cheap Energy-meter with S0 (no RS458)
I rewrote the code, I wanted not only the counter but also the current power
At startup i read the last value from domoticz
The code puts a pullup resistor in
GPIO.setmode(GPIO.BCM)
GPIO.setup(13, GPIO.IN, pull_up_down = GPIO.PUD_DOWN)
At startup i read the last value from domoticz
The code puts a pullup resistor in
GPIO.setmode(GPIO.BCM)
GPIO.setup(13, GPIO.IN, pull_up_down = GPIO.PUD_DOWN)
- Wednesday 07 June 2017 19:41
- Forum: Utility
- Topic: DDS238-1 Cheap Energy-meter with S0 (no RS458)
- Replies: 13
- Views: 12189
DDS238-1 Cheap Energy-meter with S0 (no RS458)
This topic describes to connect the cheap DDS238-1 S0 pulse energy meter (without the RS485 that is the DDS238-1ZN) direct to the raspberry GPIO
I could not find a topic for the simple S0 energy meter
Aliexpress https://nl.aliexpress.com/item/5-32-A-230V-50HZ-Single-phase-Din-rail-KWH-Watt-hour-din ...
I could not find a topic for the simple S0 energy meter
Aliexpress https://nl.aliexpress.com/item/5-32-A-230V-50HZ-Single-phase-Din-rail-KWH-Watt-hour-din ...