-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding MSRx2 interfacer #13
base: beaglebone
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tidy up the config file and it's ok
com_baud = 38400 | ||
[[[runtimesettings]]] | ||
pubchannels = ToEmonCMS, | ||
subchannels = ToRFM12, | ||
|
||
# datacode = B #(default:h) | ||
# scale = 100 #(default:1) | ||
group = 210 #(default:210) | ||
group = 3421749817 #(default:210) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this a crazy number?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This number was kind of encryption, node only send and receive data to another node with this group number.
apikey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
# data_send_interval = 20 #seconds | ||
# status_send_interval = 60 | ||
#url = http://api.gle.solar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets remove api keys and urls form the source
site_id = 5 | ||
|
||
|
||
#[[BMV]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these comments look odd? We shuold leave the interfacer as a tempalte commented out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don` understand what you mean, BMV and this data logger use the same serial port, one of them need to be commented out and here BMV is commented
import emonhub_interfacer as ehi | ||
from emonhub_interfacer import EmonHubInterfacerInitError | ||
|
||
"""class EmonhubSerialInterfacer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets add a comment that this is for the MSrX charge controler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
adding solarpak charger controllers interfacers.