Esperyd?s Raspberry PI project

jbates58

New member
Joined
Mar 6, 2021
Messages
17
As i said many times now it will not start unless it can connect to Influxdb and your Mosquitto brooker. If it ant it will die directly. So please once again check the logs and see whats going on and why it cant connect.
Hey Daromer

Yes, this i understand. and it makes sense.

however, the issue i have is.

I cant start the container, to access the config ini file, to change the settings, so that it can connect to influx and mqtt.

looking at the portainer logs, it shows similar errors to above about not been able to parse auth credentials. it also mentions as the last entry that it cant connect to the mqtt server.

and this i understand, because the credentails havent been entered as its a fresh install (well, as far as i can tell it is. i have removed the container, the volume and the images, and started it from scratch several times) but as i said i cant keep it running to access the config file to set the credentails.

any suggestions?
 

daromer

Moderator
Staff member
Joined
Oct 8, 2016
Messages
5,564
Thats an issue but you should be able to see the logs and whats going wrong. If you run latest it should work.
Since you have a normal rpi perhaps try to run it there? You also states in the beginning that you were able to edit the config?

I cant replicate your issue so dont know what you have done with it nor the config. And yes you need to edit the config file to be able to start it up :)


Feel free to DM me and we take it from there.
 

grand

New member
Joined
Mar 22, 2021
Messages
4
Hi there,

Well done on this project you've done great work! I have followed the 'Raspberry PI solar system 2.0' guide and have the following questions if you can please assist:

Q1 - Will Solar-sis work with the USB port on inverter? Or is it Serial only?
Q2 - How do we find out which solar-sis example we need to install?
Q3 - How do we see if Solar-sis is successfully connecting to the inverter and getting data?
Q4 - I'm not interested in the BMS information as I have a large lead acid setup, do I still need WatchmonUDPListener?

I am happy to donate but want to check if this is going to work with my setup first, my inverter: 5KVA-48-PAR-B MPPT

Thank you
Paul
 

daromer

Moderator
Staff member
Joined
Oct 8, 2016
Messages
5,564
1. It will work with USB. I run USB to serial adaptors myself and the port on the inverter is basically that though it runs older hw that is pretty unstable.
2. Depends on your inverter or protocol of your inverter
3. Check the logs. you see answers on each call.
4. No you dont. You can even run the NodeMCU system i built instead and dont have to run a raspberry PI.

Above inverter is mot likely just an PIP clone so you should be able to use that part of the code.
 

grand

New member
Joined
Mar 22, 2021
Messages
4
- Can you please provide a recommendation of a solar-sis example to install? I'm really not sure where to begin to find which protocol my inverter uses, I know this inverter works with the 'Watchpower' software.
- Where do I find the logs for Solar-sis? Is that using Portainer > Containers > Solar-sis > Logs?
- What do you mean by "use that part of the code"? Are you referring to 'NodeMCU'? If yes can you provide a url for the software for it? I have already a Raspberry v4 so i'd like to use that if possible.

Thank you!

Paul
 

daromer

Moderator
Staff member
Joined
Oct 8, 2016
Messages
5,564
* As i said it looks like a PIP clone so you should use the PIP example
* Solar sis does not run as a container. Its a stand alone nodejs project. You find the logs directly in console or wherever you configure it
* If you have the R4 then go with it. You need to install the software either via NPM or from Github and then install the packages for it.
 

grand

New member
Joined
Mar 22, 2021
Messages
4
Thank you! I appreciate the assitance, so i've gone with the PIP4084, I find in console it dosen't like the Baud rate of 2400, do you know how I can find a Baud rate that will work?

pi@raspberrypi:~/solar-sis/example/PIP4084 $ sudo node project.js
[2021-03-23 08:27:17] http localhost Listening on port: 3001
[2021-03-23 08:27:17] ERR! serial:/dev/hidraw0 Error: Error: Invalid argument setting custom baud rate of 2400
[2021-03-23 08:27:17] ERR! serial:/dev/hidraw0 { [Error: Error: Invalid argument setting custom baud rate of 2400]
[2021-03-23 08:27:17] ERR! serial:/dev/hidraw0 stack:
[2021-03-23 08:27:17] ERR! serial:/dev/hidraw0 'Error: Error: Invalid argument setting custom baud rate of 2400' }

From Kern.log when I plug in the Inverter via USB:
Mar 23 08:13:57 raspberrypi kernel: [ 86.042142] usb 1-1.1: new low-speed USB device number 3 using xhci_hcd
Mar 23 08:13:57 raspberrypi kernel: [ 86.191934] usb 1-1.1: New USB device found, idVendor=0665, idProduct=5161, bcdDevice= 0.02
Mar 23 08:13:57 raspberrypi kernel: [ 86.191943] usb 1-1.1: New USB device strings: Mfr=3, Product=1, SerialNumber=0
Mar 23 08:13:57 raspberrypi kernel: [ 86.207204] hid-generic 0003:0665:5161.0001: hiddev96,hidraw0: USB HID v1.11 Device [HID 0665:5161] on usb-0000:01:00.0-1.1/input0
 

grand

New member
Joined
Mar 22, 2021
Messages
4
The Error "Error: Invalid argument setting custom baud rate of 2400" Is that actualy a scripting error or it dosen't like the rate of 2400?
Cheers
Paul
 

daromer

Moderator
Staff member
Joined
Oct 8, 2016
Messages
5,564
You have the answer here: https://github.com/opengd/solar-sis/issues/4
Unfortunately an issue using the newer serial driver. I have not looked into fixing it so depending on version you run this will happen. Look at the version
 

400bird

Member
Joined
Apr 27, 2020
Messages
78
Great project, thank you for taking the time to build and help us all troubleshoot the same problems over and over again.
I am working on installing the Batrium WatchMon UDP listener.

When I follow these steps on your website:

1618721840888.png


I get the following error:

1618721792014.png


I don't quite think that is the failure I should expect.
 
Top