Pazuri Powerwall

dragonfly said:
I must be missing something, I'm using linux commandline, because I run it on the pi zero, over ssh

I created a local branch call dragonfly, then I try to commit it with

git push origin dragonfly

but that's when I get the error.

You cannot push directly to the github repo. Github is configured to have maintainers of a project who control quality as well as ensure conflicts are resolved in a streamlined manner. For easy collaboration, you should:
  1. Create an account on github and clone my master branch, badili/diy_power_monitoring, to your account/branch, lets call it github/dragonfly
  2. Clone your github/dragonfly to your local machine/pi, lets call it local/dragonfly (you will need to configure your machine with SSH keys to allow pushing back to github/dragonfly)
  3. Make yourchanges locally on local/dragonfly and test it to make sure its working (I think you have already done this)
  4. Once you are happy with the changes on local/dragonfly, push your changes to github/dragonfly
  5. To merge your changes back tobadili/diy_power_monitoring, create a pull request, requesting to merge[size=small]badili/diy_power_monitoring and github/dragonfly[/size]
  6. [size=small]I will get a notification of the pull request and then merge your request[/size]
Alternatively, send me your github username and I will add you to the project team and I will give you access to push to a branch dragonfly which I have created. I will then merge your changes.

#letsdothis
 
You cant commit to a repo you dont have acc to. You need to do a pull request
Look at the Link from solloh
 
Good progress. I am checking on how I can help you create a PR


Ok, you cant create a PR since you didn't clone my repo from my github to your github...

I can pull your changes offline, commit them to my github and then:
1. You clone from my github to your github
2. Clone from your github to your local machine
3. Make changes on your local machine and send them to your github
4. Create a PR request to my github

or

You repeat the process from post #21 (https://secondlifestorage.com/showthread.php?tid=9409&pid=68762#pid68762) and this time you clone from my github to your github as the first step. You might have to delete your current repository or create a new one.
 
Okay I did struggle with the clone, from your GitHub to mine, I thought I'd done it right but obviously not. Can you point me to instructions to cloning your GitHub to my account, I think I might have imported it by mistake.
 
1. Log in to your github account
2. Navigate to my github project --> https://github.com/badili/diy_powerwall_monitoring
3. On the top right of my project, click the fork button
4. Select your account
5. Github will fork my project to your account
6. If successful, under the name of your project, it will show forked from ...
7. Now you can go ahead and work from your github project


Update:

I finally got to select the cells that will go to the final powerwall. Final configuration:

1. 7S75P configuration for a total 525 cells
2. Average cell capacity: 2066 mAh
3. Total capacity: 3.72 kWh

Next is soldering, connections and testing

image_fjvuyy.jpg
 
Solloh said:
1. Log in to your github account
2. Navigate to my github project --> https://github.com/badili/diy_powerwall_monitoring
3. On the top right of my project, click the fork button
4. Select your account
5. Github will fork my project to your account
6. If successful, under the name of your project, it will show forked from ...
7. Now you can go ahead and work from your github project


Update:

I finally got to select the cells that will go to the final powerwall. Final configuration:

1. 7S75P configuration for a total 525 cells
2. Average cell capacity: 2066 mAh
3. Total capacity: 3.72 kWh

Next is soldering, connections and testing

image_fjvuyy.jpg




Think it finally worked.
 
Solloh said:
Hi all,

I have been drinking the 18650 kool aide and I have decided to take the plunge. I am a huge all things renewable fan from solar harvesting, rain water harvesting, grey water recycling, etc.

After watching very many helpful videos from HBPowerwall, Will Prowse, Dave Poze, Lithium Solar, DIY Tech and Repairs, Jehu and others (many thanks to you all "solar gods"), I felt I can go for something substantial from the word go.

The powerwall is to power a poultry project, thatincludes 130W freezer, 5 x 100W heating lamps, security lights (max 100W) and other miscellenous appliances

My first set up:


  • Target: 4.84 kWhVoltage: 24VConfig: 7S100P

Components:

  • 700 18650 cells from used laptop batteries
  • 1 x Liitokala Li-500
  • 38 x TP4056 charging modules (30 in the mail)
  • 4 Opus BT-3100 for charging (being ordered)
  • 4000W Reliable Inverter
  • BMS from china
  • EPever MPPT Tracer120AN charge controller
I am currently collecting and testing cells with ~400 cells currently in the kitchen but the rest of the components have already been delivered. During cell testing, I measure and record the original cell voltage, charge them fully and record that voltage too, let them sit for 3-4 weeks then record their voltages too. The plan is then to pop them into the Liitokala or OPus for testing of actual capacity as well as IR. All this data is logged in a google spreadsheet

One major question is how to monitor the whole setup remotely. The farm is 150KM away and I would like to log each and every parameter online if possible. I am ok with programming with arduinos but I wont mind using off the shelf solutions. Any leads will be very welcomed.

I am also battling with selecting/sizing the best solar panels for such kind of a setup. I have a lead of a 200W, 22.2V, 7.54A panel, but I don't know if this will be enough. Any leads and pointers will also be very helpful.


image_baxdwu.jpg

image_aukvro.jpg

image_eanrno.jpg

image_fgvdsd.jpg



The link to the google spreadsheet --> https://docs.google.com/spreadsheets/d/1baRBSUUdu7JgwFKBZFM6LG8HpAwsJ7omw4VpOnvYJIA/edit?usp=sharing


Hello there. Good to know I have someone in my country engaged in this forum for a better future.
Am Eddy. Have been "off grid" now for almost 1 year. I have a 3000 and3600watt 24volt inverters running all day. I lost count of my Li-ion cells. But am guessing around 4000Ah? 4000watt solar array. Using Watchpower to control my charge and discharge. :-/
Solar in Kenya really works.
 
Hi Eddy,

It's awesome to connect with you on this forum. I concur with you, solar in Kenya issa goldmine. I am just about to finish my first project of 3.7kW and I can't wait to get off-grid. Where did you get your Li-ion from?

I will take a look at Watchpower, seems cool.

Cheers
 
Update:

Finally got some time to continue this project.

I soldered the cells to form the packs and fully charged them. The packs' capacity range from 125Ah - 115Ah (125.45Ah, 123.57Ah, 117.14Ah, 119.01Ah, 119.17Ah, 116.39Ah). I think I can add some cells to the low capacity packs to reduce the spread.

I then assembled the components to the lovely pic below, added a 30A fuse between the PV and charge controller, a 100A DC fuse between the battery and inverter, a change over switch to be able to use power from the utility and the powerwall when needed and a pair of AC circuit breakers (10A and 20A) before sending the power to the house.

Looks good so far, now is to update the monitoring code and test the overall capacity of the powerwall.
 

Attachments

  • Pazuri Powerwall.jpg
    Pazuri Powerwall.jpg
    680.2 KB · Views: 119



Think it finally worked.
Hi dragonfly,

I have updated the code to fix:
  1. Crashing of the script after some time. Its now quite robust and handles failures well
  2. Refactored the code and introduce concise classes. When you confirm its working from your end I will delete the old classes. I have clearly marked classes to be deleted as such
  3. Added requisite try...catch blocks to ensure errors are handled correctly
  4. Introduced a new package `configparser` for reading of config files and moved all configs to that file
  5. Added a sample config file `demo_config.cfg` to guide in installing the system
  6. Updated the README.md
  7. Updated requirements.txt with the list of prerequisite packages
  8. Add support for sentry for logging of errors
I have added placeholders for saving locally to postgres as well as pushing to MQTT. I have neither tried to clean these code segments nor tested them. I am certain they won't work out of the box. You can follow the code in Database::save_data_online to see how to implement MQTT and postgres functionality.

In case of any hiccups, please hola and I will gladly assist
 
So today had my first real test of my powerwall. For >11hrs, we didn't have mains power, so I hooked up the system to the house to provide power.

Suffice to say, the system seem to work well. The cells had an average draw of ~10A DC and ~1.5A AC. The battery seems fine but I think I have a problem with Pack 1. Due to a very bad location, I couldn't solar charge the system despite very good sunlight.
 

Attachments

  • Screenshot 2020-12-17 at 21.31.33.png
    Screenshot 2020-12-17 at 21.31.33.png
    593.6 KB · Views: 115
Back
Top