Activating voltage based control in Rpi
Voltage Thresholds
High Voltage alarm is activated with value for any of the phases is more than 275 for more than 2 minutes.
Low Voltage alarm is activated when value for any of the phases is less than 150V for more than 2 minutes.
Update log_files repository
- cd log_files
- git pull origin master
Run python script to activate voltage based control. Following script will create a json file in `/home/pi/conf/voltage_monitor` folder.
- python activate_voltage_based_control.py
Check if following file is created or not
- pi@raspberrypi ~ $ cat conf/voltage_monitoring/voltage_monitor.json
- {
- "enable": "True",
- "voltage_monitor_path": [
- "/Meter2/VoltageRPhase",
- "/Meter2/VoltageBPhase",
- "/Meter2/VoltageYPhase"
- ]
- }
In the above example, we are monitoring voltage control on Meter id 2's VoltageRPhase, VoltageBPhase, VoltageYPhase.
Restart the driver
- driver_restart
Checking logs for voltage based control
- 2018-09-09 10:35:03+0530 [-] Voltage Alarm Normal - False
High Voltage
- 2018-09-09 10:35:03+0530 [-] Voltage Alarm High- True
Low Voltage
- 2018-09-09 10:35:03+0530 [-] Voltage Alarm Low- True