Esperyd?s Raspberry PI project

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

tocan

Member
Joined
Sep 20, 2017
Messages
43
Anywais its not the topic. I saw just Valence lithium iron batteries in Daniels Video and do not know where he got them. And a price level here is not talked. Should be a good solution for me.

Back to the topic...
I did change the passwords in the build but did expose it in the internet and runs approx 3-4 days and than seems to be hacked... Idea was that daniel can develope with time on real EPEVER and SUN GTIL-V2 1000 (the Model of 22-65V and the Model 45-90V).

Anyways its now second time i can no more reach the unit. That way i do suggest for the moment not to use this img with internet access. I have 2 Internet lines and one is seperate only for such tests. I will check stability now without access to the Internet until Daniel have time to look a bit deeper inside...

First time i did not change the passwords but second time i did change them all because of the Webserverpage with the data.
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
Of course you should not expose it on internet like that. All passwords are defaults and its just a matter of minutes untill a robot scanned it, logged in and have set it up to what they want.

I dont have time to develop a software for you m8 for free. I can give guidance and such but currently i cannot do the full software. In best case i can do a test to see I its possible to talk to the inverter but thats all.


But once again. This raspberry is made to sit on inside of a fw/router as it is. You can of course have it externally too but then you need to secure it down!
 

tocan

Member
Joined
Sep 20, 2017
Messages
43
Daniel was not my intention to let do you the complete hack and scripting for all parameters. The access later on will be protected. And here i will describe also how to do it. I only need one simple example or 2 how to get the data into the influxdb. For the tool i use for shure socat that grab the data.t

The Influx Data can be shown later as Demo... For the moment was only to show a Live Demo. The own use later will include for me IPtables firewall pure VPN connection and Port Knocker.
I did understand that way that youhave more ease if you can test some scripts with a real EPever or GTILv2.
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
Code:
#!/usr/bin/python

from pymodbus.client.sync import ModbusSerialClient as ModbusClient

import time

port = "/dev/ttyUSB0"

client = ModbusClient(method = 'rtu', port = port, baudrate = 115200)
client.connect()

while True:


  # read 6 registers starting at 0x3000
  result = client.read_input_registers(0x3000, 1, unit=1)

  pvVolts = float(result.registers[0] / 100.0)
  pvAmps = float(result.registers[1] / 100.0)
  batteryVolts = float(result.registers[4] / 100.0)
  batteryAmps = float(result.registers[5] / 100.0)


  print "pvvolts=", pvVolts
  print "pvamps=", pvAmps
  print "batteryvolts=", batteryVolts
  print "pvcurrent=", batteryAmps
  print


  time.sleep(1) # pause before reading the next register

  # read the battery SOC
  result = client.read_input_registers(0x311A, 1, unit=1)
  batterySOC = result.registers[0]

  print "batterySOC=", batterySOC


This above fetched from a site could be a start. Then its just to arrange them as Json object and for instance pass to MQTT or directly to influx.

If you pm me with a secure ssh login to the machine il do a quick one that works.


If anyone wanna test the new version before i put it out let me know.

Needed is:
* You need to run batrium
* you need to have either a PIP or an MPI inverter hooked up
* You should have some interest in testing with some nodered or OpenHab.

The 2 first is whats needed to do initial test kind of.
 

tocan

Member
Joined
Sep 20, 2017
Messages
43
I will set it up again and harden it a bit. Than i share you the login. I will PM or mail you also in the GTILV" Topic. Here i think its the most easy stuff to ship you one to sweden after i contact the chinese management about the idea. It will be arrount 10 of october. Just for idea... Hope manager understand that we will do something for them and thats a hand in hand thing... it will be a GTILV2 1000 with 45-90 v Version.
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
External controlling is something i like the most. but i know most people only run it with the external meter :)
 
Joined
Mar 5, 2017
Messages
101
daromer said:
If anyone wanna test the new version before i put it out let me know.

Needed is:
* You need to run batrium
* you need to have either a PIP or an MPI inverter hooked up
* You should have some interest in testing with some nodered or OpenHab.

The 2 first is whats needed to do initial test kind of.


Daniel,
I would like to test the new version, I have a PCM60x, PIP5048HS and Batrium with a 7s15p test pack (still building the 14s80p).
I'll contact you on facebook.
 

tocan

Member
Joined
Sep 20, 2017
Messages
43
FrnanduMarti?ski said:
daromer said:
If anyone wanna test the new version before i put it out let me know.

Needed is:
* You need to run batrium
* you need to have either a PIP or an MPI inverter hooked up
* You should have some interest in testing with some nodered or OpenHab.

The 2 first is whats needed to do initial test kind of.


Daniel,
I would like to test the new version, I have a PCM60x, PIP5048HS and Batrium with a 7s15p test pack (still building the 14s80p).
I'll contact you on facebook.

I like to test it too, to be prepared to include more easy later little adons like alexa and other nice stuff of home automation.
 

Pliggen

New member
Joined
Oct 8, 2017
Messages
2
Hi!


I'm new to this Raspberry pi stuff, I bought one a couple of days ago.

I have a solar panel and mppt charge controller at my summerhouse.
I have seen that you could get the info from the charge controller to be viewable over internet, so I wonder if this is the way
to get that done?

Do you think that as a beginner at raspberry I could get this running?

I have the Epever tracerA 1210A mppt charge controller.

I hopesomeone can advise me in the right direction on this!

Thanks!
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
I personally dont have any Epever so i also dont know how to set that one up.

If you got an internet connection at that place you most certainly can use the raspberry to controll your solar installation. Its just one of many ways to do it :)
 

tocan

Member
Joined
Sep 20, 2017
Messages
43
Pliggen said:
Hi!


I'm new to this Raspberry pi stuff, I bought one a couple of days ago.

I have a solar panel and mppt charge controller at my summerhouse.
I have seen that you could get the info from the charge controller to be viewable over internet, so I wonder if this is the way
to get that done?

Do you think that as a beginner at raspberry I could get this running?

I have the Epever tracerA 1210A mppt charge controller.

I hopesomeone can advise me in the right direction on this!

Thanks!

i answer you also.

The build i set as demo online for the reason if daniel have time he is allowed to try to help me as a not programmer to write some initial code or a script. And i will try to put it back...

In that way can be more units integrate with the time and also the epever or the grid tie converter... Unless special for such case like you it will work... if you have internet in yours summer house and a router there exists a solution what i did describe in german language but grafana with influx is much more sexy.

the only thing you have to do is just to make you a cable what is a 5 minutes work and cost you less than 10 euros...
You can than also use the existing windows software from home. Its a level for beginners because you just need copy and paste.
Reason for me was that my boat is at the moment in netherlands and in future in romania and so i can manage with the raspberry a lot of things. like lights on and other things from germany...
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
Tocan: Try not to write inside the quoted area :) Its a bit hard to get to the points you written and the quoted points.
 

Pliggen

New member
Joined
Oct 8, 2017
Messages
2
tocan said:
Pliggen said:
Hi!


I'm new to this Raspberry pi stuff, I bought one a couple of days ago.

I have a solar panel and mppt charge controller at my summerhouse.
I have seen that you could get the info from the charge controller to be viewable over internet, so I wonder if this is the way
to get that done?

Do you think that as a beginner at raspberry I could get this running?

I have the Epever tracerA 1210A mppt charge controller.

I hopesomeone can advise me in the right direction on this!

Thanks!

i answer you also.

The build i set as demo online for the reason if daniel have time he is allowed to try to help me as a not programmer to write some initial code or a script. And i will try to put it back...

In that way can be more units integrate with the time and also the epever or the grid tie converter... Unless special for such case like you it will work... if you have internet in yours summer house and a router there exists a solution what i did describe in german language but grafana with influx is much more sexy.

the only thing you have to do is just to make you a cable what is a 5 minutes work and cost you less than 10 euros...
You can than also use the existing windows software from home. Its a level for beginners because you just need copy and paste.
Reason for me was that my boat is at the moment in netherlands and in future in romania and so i can manage with the raspberry a lot of things. like lights on and other things from germany...

Hi Tocan!

That would be great if you could share how to do this! I'm not sure if you have it up and running or if you are working on it? I have a cable USB to RS485 if thats what you mean?

Hope to get going on this soon! :)
 

tocan

Member
Joined
Sep 20, 2017
Messages
43
Pliggen said:
Hi Tocan!

That would be great if you could share how to do this! I'm not sure if you have it up and running or if you are working on it? I have a cable USB to RS485 if thats what you mean?

Hope to get going on this soon! :)

Hi it depess when I got some first start scripts because i am not a programmer... with a brief instruction where to go to finish a script started by a developer i can work.

I guess version 7 is out .. saw in a video bu not for download at the moment...
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
A new version exist that is slightly different. In a day or 2 there will be info regarding it!
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
* The software for MPP products swapped out to a new one. NPM based for easy installed and exist on Github
* Batrium software now on Github so everyone can do their versions. Its also 100% remade
* All software have autostart
* Better handling in influx and optimized the system some more
* More examples in NodeRed
* Dashboard for Batrium is updated with more and better information


This is the main points kind of where the 3 top ones are what I have been working on last weeks when i got some minutes to spare.
 

frnandu

New member
Joined
Apr 19, 2017
Messages
21
daromer said:
* The software for MPP products swapped out to a new one. NPM based for easy installed and exist on Github
* Batrium software now on Github so everyone can do their versions. Its also 100% remade
* All software have autostart
* Better handling in influx and optimized the system some more
* More examples in NodeRed
* Dashboard for Batrium is updated with more and better information


This is the main points kind of where the 3 top ones are what I have been working on last weeks when i got some minutes to spare.
Wonderfull.
Github adresses for batrium and yours rep?

Sent from my SM-G920F using Tapatalk
 

daromer

Moderator
Joined
Oct 8, 2016
Messages
5,659
They are not public as of yet. They are hidden but will be open soon :)
 

tocan

Member
Joined
Sep 20, 2017
Messages
43
daromer said:
They are not public as of yet. They are hidden but will be open soon :)

I did hope a little bit for a sourceforge place... ok i am old fashion guy... have a git but not realy know how to use it...

Just did phone to china today to get the modbus for sun gtilin English...
 
Top