Esperyd?s Raspberry PI project

Announcement - Help us fight the BOTS! Please report all spam including stuff in your inbox!

Wolf

Active member
Joined
Sep 25, 2018
Messages
1,610
This should work
give it a try
Create a switch node and split the message by type == 3f33
Create a function node with.int16le('ExpansionOutputPwm1')

From there you should be able to manipulate it.
Wolf

image_ghutvj.jpg
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
Just feed it into the json node and you suddenly can work with the data in json format :)

Yeah you figurer it out i Read now hehe
 

Wolf

Active member
Joined
Sep 25, 2018
Messages
1,610
Yea I went with a little more complex answer forgot about the json node.
Wolf :angel:
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
Hehe. Keep it simple ;)

Json and then just DO name.setting ;) also note that he uses My software so he dont have to do any conversio.
 

pmhaynes

New member
Joined
Jul 11, 2018
Messages
3
Wolf said:
This should work
give it a try
Create a switch node and split the message by type == 3f33
Create a function node with.int16le('ExpansionOutputPwm1')

From there you should be able to manipulate it.
Wolf

image_ghutvj.jpg
Thanks for you replywolf
i updated my post with how i sorted it.

Now im on to fighting node red in docker! works fine until you want to add nodes which use symlinks! aahhhhhhh
 

IronSky

Member
Joined
Jun 12, 2017
Messages
52
Hello daromer, your Esperyds Raspberry PI project is running also on the PI 4?
 

Cell-King

Member
Joined
Sep 23, 2019
Messages
58
Hi @daromer,

I didn't know where else to post this but in your video on making a handy rs232 serial cable (which is great by the way) you say to use pin 1 to power the MAX232 chip. I was looking at the spec sheets and it seems the MAX232 is a 5v chip. Perhaps the VCC line for the converter should go to pin 2 which is a 5 volt rail? This might explain why my serial port needs resetting, I need to test this!

Spec sheet here:https://www.raspberrypi.org/forums/viewtopic.php?t=132660
Here's a copy of the image from your website:




image_edlkro.jpg


EDIT: It seems that the MAX232 is 5v and the MAX3232 works between 3 to 5.5 volts. So I guess the general rule for most people would be to use pin2?
 

iomagico

Member
Joined
Mar 23, 2018
Messages
42
Hello there.
Two questions

1. I am running out of space and would like to erase oldest grafana datas. How perform it?
2. I am using a 64GB card but only 5 GB are available. Why?
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
Ironsky No
Cell King yeah you are most likely right but lower voltage is safer :).

1. Check grafana docs
2. You need to expand the filesystem or did you get a fake SD Card?
 

iomagico

Member
Joined
Mar 23, 2018
Messages
42
daromer said:
Ironsky No
Cell King yeah you are most likely right but lower voltage is safer :).

1. Check grafana docs
2. You need to expand the filesystem or did you get a fake SD Card?
Hi Daromer, thanks for your reply.

1. where can I find the grafana docs? Grafana website?
2. Yes I need to expand the filesystem. How can I do that?
 

Cell-King

Member
Joined
Sep 23, 2019
Messages
58
>Cell King yeah you are most likely right but lower voltage is safer.

Thanks Daromer. I had a lot of issues with my serial port connection due to the chip freezing, I couldn't get it to work for more than a day before it needed a reset to work again. Since I have moved to the 5 volt rail it has been stable. I'd imagine there are a lot of clones on the market so it's probably not built to the same spec as a genuine one.
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659

iomagico

Member
Joined
Mar 23, 2018
Messages
42
daromer said:
1. Google grafana as example
2. If you used my default image it will expand automatically. If you fiddled around you most likely screwed it up or as i said what sd card did you use? Ebay one??

https://www.google.com/search?q=exp...1.69i57j0l7.4440j1j4&sourceid=chrome&ie=UTF-8

thanks again Daromer.
for some reasons my filesystemdid not expanded automatically.
SD quality is high (samsung) but my linux knowledge is very low.
Followed your link and now my disk got 64GB space.
thanks
 

Cell-King

Member
Joined
Sep 23, 2019
Messages
58
Hi All, I've been using solar-sis as a reporting/graphing tool for my PCM60x but I was wondering how you can go about changing settings remotely on the device as well. For example- say if I wanted to change the max charging from 40 amps to 45 amps, can anyone describe how I could make that change? There doesnt seem to be much in the docs and I can't seem to make any sense of the Node-JS scripts.
 

zerberfert

Member
Joined
Apr 14, 2020
Messages
58
I finally got my raspberry pi 3 in from China. I wanted to get your OS installed and play with it before I get my system up and running.

@daromer

I am having trouble downloading your Pi iso from you website. Both links are doing the same thing.

Here is the error it is giving me. Do you know why?


image_gengwp.jpg
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
I have installed a new webbserver. Havent moved the ISO.

Will fix later today
 

MasterCATZ

New member
Joined
Jul 13, 2018
Messages
18
would it be possible to read this data to activate relays that only enables heaters to run when solar input is higher than loads/ max exportlimits arereachedand batteries are 100% charged ?


I have a few of these in parallel

http://voltronicpower.com/en-US/Pro...wiMGWbV6ICTQkzZJjDY53w361XI-mdtPaZh8a1Z8ptNxk

how can I go about reading multiple units ? and I am assuming if I use the serial connection USB connection to the laptop will still work ?

I see batrium support , would you be able to add in diybms support as well ?

my original idea was to use batteryless inverters for running the heaters but that plan back fired as single units could not handle the heater loads so gone to hybrid inverters
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
If they are in parelell internally you read the data from 1 only. The protocol doing that is uploaded already. Or if they arent tied in parallel with the board you just insert one serial adapter in each.

I am scrapping this Image in short. I have built a totally new setup that relies on container based structure (ALOT easier to install and maintain). Yes Im working on the DIY bms part as we speak and it will be fully integrated into this setup with code in containter and flows in node-red ;)

Takes some time. It cost to get the gear but also the time spent is costly so i hope to get there soon.

I have also rebuilt the solar-sis into dongles that runs on wireless that connects directly to the inverters!!! Makes it more stable but i have bummer in the code that i need to solve. Keeping the price down generally creates more work. Stay tuned for this!!
 

MasterCATZ

New member
Joined
Jul 13, 2018
Messages
18
thank you for the fast reply
I figured the ISO was dropped as v8 was 4 years old

I was wanting to be able to monitor each inverter individually and planing on still using solarpower program
as I am wanting to keep track of the solar panel strings have have ~minute logging
what I am unsure is how I should go about connecting so I can keep solarpower program connected via usb and make use of the unused serial connection
how many serial connections can be sent directly to a raspberry pi ? or is going serial to usb/wifi the better option

I will look more into solar-sis soon 20 pages to still catch up on here :D
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
You cant have both running at same time. They will crash each others requests. You could write your own software that only listens on incoming data based on what Solarpower requests but thats it.

You can have as many connected to a PI as you want but beware of that most serial adaptors are very unreliable long term especially connected to the inverters in this case. I know this because i run 4 of them and they tend to break every now and then. Thats also why i have opted to go for an wireless system based on MQTT instead.

Current setup is based on this code https://github.com/daromer2/InverterOfThings that i of course forked since i was lazy. But i have big problems with what i call a bug where the ESP ends up in a loop after crash and dont reconnect to the wireless again. Im running the software serial right now and its notorious to be difficult when using wifi at same time but if that crashes i still think it should reconnect but it doesnt.

So if someone with actual mad skills there wanna help feel free to reach out. Backup plan is to go ESP32 and have dual hardware uarts or use the built in HW uart on the esp8266 but that renders current debugging useless unless i use software for that...

It is working though (I havent pushed latest update) with PCM60x/PIP4048/MPI series protocol.
 
Top