-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #170 from acoleman-apc/master
Updates to work with latest Emon CMS version
- Loading branch information
Showing
2 changed files
with
66 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
### You will need to install pip: sudo apt-get install python-pip | ||
### And you'll need pymodbus installed: pip install -U pymodbus | ||
|
||
#Configuration is for Renogy Rover on USB0 | ||
[[Renogy]] | ||
Type = EmonHubModbusRenogyInterfacer | ||
[[[init_settings]]] | ||
com_port = /dev/ttyUSB0 | ||
com_baud = 9600 | ||
toextract = BatteryPercent,Charging_Stage,BatteryTemp_F,SolarVoltage,SolarCurrent,SolarPower | ||
toextract = BatteryPercent,Charging_Stage,BatteryTemp_F,SolarVoltage,SolarCurrent,SolarPower,PowerGenToday | ||
poll_interval = 30 # More fields can be found in datalist.py | ||
[[[runtimesettings]]] | ||
nodeoffset = 28 #make sure this matches with nodename below | ||
pubchannels = ToEmonCMS, | ||
subchannels = ToRenogy, | ||
basetopic = emonhub/ | ||
|
||
[nodes] | ||
|
||
[[28]] | ||
[[28]] | ||
nodename = Renogy | ||
[[[rx]]] | ||
names = BatteryPercent,Charging_Stage,BatteryTemp_F,SolarVoltage,SolarCurrent,SolarPower | ||
names = BatteryPercent,Charging_Stage,BatteryTemp_F,SolarVoltage,SolarCurrent,SolarPower,PowerGenToday | ||
datacode = 0 | ||
scales = 1, 1, 1, 0.1,0.01,1,1 | ||
units = %, s, s, V, A,W | ||
units = %, s, s, V, A,W,W |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters