Can someone help me pls? I am trying to set up Emoncms to access my CCGX, but I am unsure exactly where this config file gets edited in. Worried I might install in the wrong place. Can someone show their full config file & location please?
My Emoncms is on an Intel NUC, & pymodbus has been installed.
Thanks, Doug (safe in Overcast Sunny Australia! Hope Donnie Trump gets over his Covid? )
Thanks Brian,
I installed from the Github image, & I think I disabled all the Pi bits. (I used the rPi user name etc as standard, cos it was easier!)
Emoncms is running fine, & it is getting data from my monitor. I Installed pymodbus, & that seems fine.
What I wish to achieve is to get the battery SOC from the CCGX, so that I can emulate the Victron Dashboard data (in some yet to be determined form).
My system is 2 of Solaredge 5Kw inverters, currently 15Kw of panels, thew Victron Charger/Inverter & Zenaji Batteries (Which are Lithium Titanate manufactured in Melbourne, Australia)
I have done this and it is all up and running and working fine. Once you have pymodbus installed and running. Log into your emonbase locally.
Then click the three bars at top left. Click emon hub. Select edit config. Scroll down to interfaces and insert my code. Restart and go to inputs and it should all be there .
Unless I understand more how you have set emoncms up on the NUC I’ll not be able to help much as there are simply too many variables.
Can you click on the button Copy as Markdown next to Server Information on the Admin page and paste into a reply here please (no further formatting required).
Browser :- Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Cyberfox/52.9.1
Language :- en-US,en;q=0.5
Window
Size :- 2545 x 1343
Screen
Resolution :- 2560 x 1440
(end)
Thanks Brian, realising I am well out of my depth (but prepared to learn). I am a hardware man!
I realise that I do not know how all the s/w fits together, except in a basic way.
But, when you did the install, you did not install emonhub. You will need to do that.
I think you can just clone the emonhub repo and run the install. As I do not know where or how you installed the scripting part of emoncms, I can’t advise where to install it to.
On the Pi systems that is all in /opt/openenergymonitor.
I realise that this thread is quite old now, but I’m trying to do exactly the same as you did. It seems to run MODBUS successfully, but then I get this in the logfile:
Hi. Some time ago I did this. I remember it being a PITA when I did it.
Tbh with all my experience now. I can help you muddle way through the modbus stuff but the best way to parse data from your victron system is via mqtt
Download this and install of your pc.
Then connect to your venus device and take a look at which topics you wish to pull out.
Then use the venus os large image with node red and you can pull the topics out using the installed victron nodes or via mqtt topics and ping them straight into emon device piece of cake.