Beginners Guide to Processing 18650 Cells | Cell Database


Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Esperyd´s Raspberry PI project
#11
Next part where I show how you can hook up your energy meter to your raspberry pi





Links to Ebay for getting above stuff:
Korishan likes this post
Follow me! >> YouTube / Forum system setup / My webpage  Diy Tech & Repairs

Current: 10kW Mpp Hybrid | 4kW PIP4048 | 2x PCM60x | 83kWh LiFePo4 | 10kWh 14s 18650 |  66*260W Poly
Upcomming: 14S 18650~30kWh | Automatic trip breakers, and alot more
Reply


#12
nice job.

To keep scripts running node has a tool called "forever" you can install using npm.

I'm building a system with CNBOU helios inverters and will also use an AC meter with rs485.
When the build is finished (will take a few years cos of low budget) i'll try to figure out how to get them working with the pi.
Reply
#13
Cool. yes forever is needed for background and stuff. Im running mine in screen right now just to make sure i know whats going on.
Follow me! >> YouTube / Forum system setup / My webpage  Diy Tech & Repairs

Current: 10kW Mpp Hybrid | 4kW PIP4048 | 2x PCM60x | 83kWh LiFePo4 | 10kWh 14s 18650 |  66*260W Poly
Upcomming: 14S 18650~30kWh | Automatic trip breakers, and alot more
Reply
#14
Hey Mate, I am keen to get this running so I can view my stats live however I am having issues getting the pipusb.js scripts running.

I have loaded up the ISO and got it all working, but when I try to run pipusb.js I get this message:

pi@grafpi /energy-logger/MPP $ sudo node pipusb.js
module.js:471
throw err;
^

Error: Cannot find module 'express'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/energy-logger/MPP/pipusb.js:3:15)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)

I am using the v6 version of your ISO, I am going to try the v5 version to see if that works but it is downloading painfully slow at the moment.
Reply
#15
The older version wont help hmm.

Can you do
Code:
ls node_modules | grep express

In the same folder as you did above?
Follow me! >> YouTube / Forum system setup / My webpage  Diy Tech & Repairs

Current: 10kW Mpp Hybrid | 4kW PIP4048 | 2x PCM60x | 83kWh LiFePo4 | 10kWh 14s 18650 |  66*260W Poly
Upcomming: 14S 18650~30kWh | Automatic trip breakers, and alot more
Reply
#16
(08-20-2017, 09:33 AM)daromer Wrote: The older version wont help hmm.

Can you do
Code:
ls node_modules | grep express

In the same folder as you did above?

I got this result:

Code:
pi@grafpi /energy-logger/MPP $ ls node_modules | grep express
ls: cannot access node_modules: No such file or directory
Reply
#17
Oki.  Then the issue is the permissions to that folder i guess. Do:


Code:
ls -la

And there should be a node_modules folder in there. 
If not thats weird. im running same version here. 

If you can, pm me on messenger instead. You find me under daniel römer on the facebook group for instance.
Follow me! >> YouTube / Forum system setup / My webpage  Diy Tech & Repairs

Current: 10kW Mpp Hybrid | 4kW PIP4048 | 2x PCM60x | 83kWh LiFePo4 | 10kWh 14s 18650 |  66*260W Poly
Upcomming: 14S 18650~30kWh | Automatic trip breakers, and alot more
Reply
#18
Daniel,
I'm curious where this batrium_reader.exe comes from?
Is it made by Batrium guys, or did you do it yourself?
I'm wondering if it is possible to get access to the source code, since I'de like to see what I can change and tweak to my needs.

Also, if somebody has a good and easy way of starting mono .exe automatically at raspbian boot, would appreciate.

Thanks.
Reply
#19
I made the batrium and no its not Open source by request by batrium. I am though working on a more generic version.

So hoppfully that will help and if you have certain request mer me know.
Follow me! >> YouTube / Forum system setup / My webpage  Diy Tech & Repairs

Current: 10kW Mpp Hybrid | 4kW PIP4048 | 2x PCM60x | 83kWh LiFePo4 | 10kWh 14s 18650 |  66*260W Poly
Upcomming: 14S 18650~30kWh | Automatic trip breakers, and alot more
Reply
#20
Haven't been successfull in running mono batrium_reader.exe on background except for using screen, which doesn't resolve the after reboot situation.

When started in background it stops for some reason I don't understa.

When trying to run it in a systemctl service it blows up like this:

Sep 06 09:36:45 pi mono[2382]: UDPSend.init()
Sep 06 09:36:45 pi mono[2382]: Make sure grafana host is configured in hosts file
Sep 06 09:36:45 pi mono[2382]: Unhandled Exception:
Sep 06 09:36:45 pi mono[2382]: System.NullReferenceException: Object reference not set to an instance of an object
Sep 06 09:36:45 pi mono[2382]: at UDPReceive.Main () [0x00000] in <filename unknown>:0
Sep 06 09:36:45 pi mono[2382]: [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
Sep 06 09:36:45 pi mono[2382]: at UDPReceive.Main () [0x00000] in <filename unknown>:0
Sep 06 09:36:45 pi systemd[1]: batrium.service: main process exited, code=exited, status=1/FAILURE
Sep 06 09:36:45 pi systemd[1]: Unit batrium.service entered failed state.

Any idea why is this?
Having to manually start it after each reboot is a pain in the a** Smile

Thanks for any help.
Reply


Who read this thread?
100 User(s) read this thread:
hbpowerwall (10-27-2017, 10:53 AM), Chickey (10-30-2017, 04:13 PM), ShaneE (08-23-2017, 07:51 PM), Minx (10-22-2017, 08:10 AM), daromer (10-27-2017, 10:38 AM), mike (10-05-2017, 05:42 PM), Toochi84 (06-24-2017, 07:13 PM), goodnowm (11-14-2017, 11:26 PM), AveRageJoe (11-01-2017, 06:18 AM), BigBen (11-01-2017, 07:37 AM), PaulKennett (10-28-2017, 04:19 AM), Joaquinsfy (10-23-2017, 09:26 PM), SJBW (10-22-2017, 07:39 AM), NiVa (10-26-2017, 02:57 PM), MichelKuenemann (08-28-2017, 09:12 AM), Lux_Gamer (07-17-2017, 07:10 PM), Andreas Kvernes (10-01-2017, 10:05 AM), owitte (09-21-2017, 07:06 AM), opus40 (10-22-2017, 06:35 AM), RudyLiPower (06-28-2017, 04:23 AM), lgeo (06-25-2017, 07:42 AM), dakoal (07-08-2017, 01:37 PM), VdVoort4 (10-18-2017, 08:49 AM), Glubux (10-26-2017, 07:33 PM), Majorphill (06-28-2017, 11:41 PM), coolfx (09-14-2017, 01:34 PM), ruby2 (10-29-2017, 12:43 AM), JustJim (09-26-2017, 01:29 PM), Korishan (10-27-2017, 11:23 AM), A + A (10-26-2017, 02:16 PM), PAF (10-27-2017, 11:20 AM), Prahe86 (09-02-2017, 06:14 PM), Clisse (10-20-2017, 07:45 AM), Dizelis (07-29-2017, 08:31 AM), Wolverine (06-25-2017, 04:02 AM), Zensay (11-18-2017, 11:22 PM), Franky Beuselinck (10-18-2017, 07:42 PM), Batrium (10-17-2017, 05:03 AM), Darmok (07-18-2017, 01:03 AM), Scepterr (06-26-2017, 03:27 AM), eeesOap (10-19-2017, 07:43 PM), Tristan Timmer (09-12-2017, 11:33 AM), Frnandu Martiński (11-05-2017, 09:33 PM), CrankyCoder (07-11-2017, 02:58 PM), flight4900 (10-27-2017, 08:38 PM), Droid126 (06-24-2017, 08:22 PM), eAnic (09-29-2017, 01:46 PM), jdeadman (10-28-2017, 01:15 AM), charlie246 (07-02-2017, 09:20 AM), monsted (10-20-2017, 10:49 AM), camils (10-22-2017, 10:35 AM), Zagy (10-24-2017, 08:51 AM), 2146 (07-31-2017, 09:20 PM), wim (11-05-2017, 07:22 PM), wimpie007 (11-16-2017, 04:09 PM), frnandu (10-29-2017, 02:26 AM), typ49 (10-29-2017, 06:51 AM), Robert Baumer (06-24-2017, 07:31 PM), Alyas Junior Abdul (10-04-2017, 05:05 AM), Jeremy Choy (07-10-2017, 08:23 PM), 1958 greyhound (08-20-2017, 11:27 PM), Abarth595 (08-21-2017, 12:40 PM), Sentinal (06-26-2017, 02:53 PM), Tango47 (09-28-2017, 08:37 PM), kktuo (09-22-2017, 05:54 AM), neilmc (10-08-2017, 11:43 PM), Kaspars Krumins (10-22-2017, 11:05 AM), Verner A. Møller-jensen (10-22-2017, 08:48 AM), Tychipowerwall (09-06-2017, 09:31 AM), dinoN17 (07-11-2017, 08:34 AM), kaits31 (10-22-2017, 04:44 AM), gaz (06-25-2017, 07:15 AM), watts-on (10-27-2017, 12:04 PM), Dan Lim (09-17-2017, 09:53 AM), jesusangel (11-14-2017, 09:25 PM), Gimpy_AK (09-21-2017, 02:18 PM), Daggerzz (07-31-2017, 04:45 PM), Hanssing (10-27-2017, 01:57 PM), MetalFang (07-11-2017, 08:30 PM), Krowez (07-10-2017, 09:17 PM), Fredd (10-26-2017, 08:55 AM), autobd (08-20-2017, 02:08 PM), IronSky (10-18-2017, 07:57 PM), Mark Daniel Olsen (07-10-2017, 02:10 PM), Dicklinn (06-30-2017, 02:00 PM), DrkHrs13 (07-31-2017, 04:27 PM), tamkov (10-29-2017, 07:47 PM), silverse2m6 (06-25-2017, 01:55 AM), kot (06-28-2017, 05:33 PM), quake101 (11-07-2017, 07:05 PM), brobertosdrky9990 (07-10-2017, 12:43 PM), Joost2 (09-20-2017, 07:17 PM), OmgImAlexis (07-04-2017, 01:41 PM), ismaildoganw (09-06-2017, 02:41 AM), kazbach (07-31-2017, 07:04 PM), LinuxSneaker (06-26-2017, 06:22 PM), Mark Lex (09-17-2017, 06:55 AM), Davel (10-21-2017, 12:22 PM), Stefaan De Ridder (10-27-2017, 07:04 AM), Mustang7302 (06-28-2017, 09:27 PM)

Forum Jump:


Users browsing this thread: 2 Guest(s)