Ashipa
(AshipaEko)
29 August 2023 15:04
1
Hello,
New to all of this, so forgive my dumb questions.
I’m trying to use a self hosted instance of emoncms. Capturing data from my inverter and battery with some scripts.
Got the setup to a point where for example i have 2 feeds for solar production
Log to Feed
Power to kWh
These data do not survive a reboot of my Raspberry Pi
I’m trying to have a setup where i can have feeds for
Daily Solar
Monthly Solar
Annual Solar
All Time.
Feed data that will survive restarts or reboots ot anything going wrong.
ALSO
I have Battery data from my DIY bank
Battery watts in
Amps in
Battery Watts Out
Amps Out
Remaining Battery AH
I’d appreciate a guide on how to get Battery SOC from these data feeds
Thank you
borpin
(Brian Orpin)
30 August 2023 06:31
2
Hi and welcome.
How long do you wait to reboot? The data is initially written to RAM and then written to disk (usually). Go away and make a cuppa, then come back and try a reboot.
On the Inputs page you create the processing as you state.
Post an image of your processing (example for processing a pulse input)
The 3 names on the RHS are the Feed names.
On the Feeds page you will see the data that is stored.
Ashipa
(AshipaEko)
30 August 2023 10:31
3
Thank you.
I did a reboot after 3 days logging because i needed to restart the Pi for other reasons.
That was when I discovered the data disappeared.
This is what i currently have.
I have a dashboard setup to display these feeds
borpin
(Brian Orpin)
31 August 2023 06:17
4
Is this a standard setup on a Pi?
Go to admin and see what the Services say especially feedwriter
Ashipa
(AshipaEko)
31 August 2023 09:57
5
I found that feedwriter was red, so i tried to reinstall. there was an error message with mysql which i solved by installing php-mysql.
This is what i have in there now. feedwriter is now green
borpin
(Brian Orpin)
31 August 2023 15:03
6
So in answer to my question, a non-standard install.
Ashipa
(AshipaEko)
1 September 2023 08:31
7
Ashipa:
I’m trying to have a setup where i can have feeds for:
Monthly Solar
Annual Solar
All Time.
Feed data that will survive restarts or reboots ot anything going wrong.
ALSO
I have Battery data from my DIY bank
Battery watts in
Amps in
Battery Watts Out
Amps Out
Remaining Battery AH
I’d appreciate a guide on how to get Battery SOC from these data feeds
Thank you
Yes. Thank you for pointing me in the right direction. I have now tried a reboot and my data didn’t disappear.
Please assist me with the rest of my question if you can.
thanks
Jaddache
(Simon Sykes)
1 September 2023 08:52
8
Isn’t Battery SOC = Remaining Battery AH / Battery Capacity AH?
Ashipa
(AshipaEko)
1 September 2023 18:54
10
sadly i am completely clueless about how all of these work.
I’ll appreciate a screenshot or some sort of guide. I’m guessing it’ll be a virtual feed like this?