RPICT3T1 is a shield for raspberry pi that uses current transformers to measure the electrical power carrier by a wire. Its sold on lechacal.com
- Raspberry pi 2
- RPICT3T1_v2.4 (bought on lechacal.com)
- 3 current transformers (sct-013-000)
Install pip for python3
sudo apt-get install python3-pipInstall serial (I did not manage to make it work when installing it using pip)
sudo apt-get install python3-serialClone the current project
git clone https://github.com/cdtx/rpict3t1_mqttThe main script expects to read a file named config.ini in the same folder, containing the following keys :
[MQTT]
# url or ip to the mqtt broker
HOST =
# port to connect to the mqtt broker
PORT =
# mqtt broker username/password
USERNAME =
PASSWORD =