v0.3.0-beta #88
Replies: 16 comments 44 replies
-
Error in manual install instructions. It seems that influx is changing the locks and keys, so I got an error when trying to update: Following the instructions on this web page got me through this key problem: It still failed to update until I realized you and they differ on some file names. I think these were the deletions: |
Beta Was this translation helpful? Give feedback.
-
Hello David, I loaded 0.2.0 on a new SD Card set up as before, then ran through the upgrade path to 0.3.0. Everything went smooth, no issues :) I stopped at the "run as a service" as the documentation is not yet there for that. The config.toml deployment is much nicer to use, so all good from me, thank you. I was looking for information on using 1 CT for each circuit or 2 CTs. I was sure I saw a panel diagram showing 2 CTS used. I believe the link is broken on the getting started page. Can you point me in the right direction or explain when or why to use 1 or 2 CTs please. For me, I am just logging data for grid supply and individual circuits feeding my property. The more circuits I can log the better! |
Beta Was this translation helpful? Give feedback.
-
Followed the upgrade procedure from 0.2.0 to 0.3.0 edited config.toml, started the power_monitor.py per the instructions. Dashboard shows solar as negative. looking at the raw CT data, it shows as it should, as positive values, but even though I am using 2 CT's for the solar, the value it does show is the difference between the two... so 31.4W on CT3, 33W on CT4 and it shows -1.6W solar... |
Beta Was this translation helpful? Give feedback.
-
Ok, Sun was going down. In sleep mode, the inverter draws a watt or two from one leg of the mains to keep it alive. the other was zero. that was where the negative was coming from as I had watts_cutoff_threshold=0 for both. Just set them both to 3 and now they read 0 I'll have to see what happens tomorrow during daylight. and terminal mode before I made the change0:
and after the change:
|
Beta Was this translation helpful? Give feedback.
-
The other thing its doing is every couple dashboard refreshes, everything drops to 0 and status goes to "No Data" |
Beta Was this translation helpful? Give feedback.
-
Also: so I used wget to pull the tar.gz of 0.3.0, expanded it and copied the files into the rpi_power_monitor directories |
Beta Was this translation helpful? Give feedback.
-
Definitely shows positive in terminal mode. I'll get a shot when I get home this afternoon and also grab the latest
Thanks
Get BlueMail for Android
…On Feb 16, 2023, 18:19, at 18:19, David ***@***.***> wrote:
The amperage from the sensor that's directly measuring your solar
should show positive. The general logic is if it's flowing into the
panel, it should be positive, and if it's flowing out of the panel, it
should be negative.
Can grab the latest commit from the `develop-v0.3.0` branch, and try
testing again in terminal mode, and share the output when your solar is
producing?
--
Reply to this email directly or view it on GitHub:
#88 (reply in thread)
You are receiving this because you commented.
Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Cool. Thank you
Get BlueMail for Android
…On Feb 17, 2023, 09:25, at 09:25, David ***@***.***> wrote:
Got it - it's happening in the dashboard itself. The Amperage plot on
the Home Power Dashboard has a `* -1` applied to the solar power data:
![image](https://user-images.githubusercontent.com/17997328/219721950-973e95ff-537e-469b-80d3-373019fcc4c5.png)
So, if you remove this value, it will display as positive.
--
Reply to this email directly or view it on GitHub:
#88 (reply in thread)
You are receiving this because you commented.
Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Have an error running backups... _Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
How do we make 0.3.0 start as a service? I used the same startup script for systemctl as the previous versions used, and it fails unless you start it after the pi is completely up manually with |
Beta Was this translation helpful? Give feedback.
-
Crap... Spoke too soon..
_Feb 24 18:03:58 FiberPi systemd[1]: power-monitor.service: Consumed 1.275s CPU time.
Feb 24 18:03:59 FiberPi systemd[1]: power-monitor.service: Scheduled restart job, restart counter is at 5.
Feb 24 18:03:59 FiberPi systemd[1]: Stopped Raspberry Pi Power Monitor.
Feb 24 18:03:59 FiberPi systemd[1]: power-monitor.service: Consumed 1.275s CPU time.
Feb 24 18:03:59 FiberPi systemd[1]: power-monitor.service: Start request repeated too quickly.
Feb 24 18:03:59 FiberPi systemd[1]: power-monitor.service: Failed with result 'exit-code'.
Feb 24 18:03:59 FiberPi systemd[1]: Failed to start Raspberry Pi Power Monitor.
_
…On Fri, Feb 24, 2023 at 4:59 PM David ***@***.***> wrote:
You'll need to update the service file at
/etc/systemd/system/power-monitor.service. I just pushed the sample
service file to the docs so that it can be grabbed easily from the command
line. (I still have to build the actual documentation section out for
running as a service, but I'll get to that soon).
You can run the following commands (one by one) to replace the old service
file with the new one for v0.3.0:
sudo systemctl stop power-monitor.service
sudo wget https://david00.github.io/rpi-power-monitor/docs/v0.3.0-beta/power-monitor.service -O /etc/systemd/system/power-monitor.service
sudo systemctl daemon-reload
sudo systemctl start power-monitor
sudo systemctl status power-monitor
—
Reply to this email directly, view it on GitHub
<#88 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI77WUBH4JMLSDX4YSAOOH3WZFKPTANCNFSM6AAAAAAUSI76TQ>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Seems like the script is running quit resource intensive, 100% utilisation. Note that I did not compare before going with 0.3.0, it might just be the nature of what it is doing... |
Beta Was this translation helpful? Give feedback.
-
Hi David, |
Beta Was this translation helpful? Give feedback.
-
still can't connect to the database after a git fetch and pip3 install .
***@***.***:~/rpi-power-monitor/rpi_power_monitor $ sudo python3 backup.py
03-09-2023 17:14:50 - INFO:
------------- Starting new backup -------------
03-09-2023 17:14:51 - INFO: Mounted /dev/sdb1 to /media/backups
03-09-2023 17:14:51 - DEBUG: Created directory
/media/backups/power_monitor_backups/backup_2023-03-09_1714.
03-09-2023 17:14:51 - INFO: Stopped power monitor service... Starting
InfluxDB Backup.
03-09-2023 17:14:51 - INFO: Please wait. This can take several minutes if
you have a lot of data, and you won't see any output until it's done.
*2023/03/09 17:14:51 Invalid metadata blob, ensure the metadata service is
running (default port 8088)backup: invalid metadata received*
03-09-2023 17:14:51 - INFO: Done backing up InfluxDB. Creating an archive...
03-09-2023 17:14:51 - DEBUG: Done creating the archive. Cleaning up...
03-09-2023 17:14:52 - INFO: There are currently 5 backups. Removing 1 old
backups.
03-09-2023 17:14:52 - DEBUG: USB Drive unmounted.
03-09-2023 17:14:52 - INFO: Backup completed successfully in
1.3444718449609354 seconds. Backup filesize: 0.001562 MB
…On Wed, Mar 8, 2023 at 7:18 PM David ***@***.***> wrote:
I've fixed the backup issue, so you should now be able to get the fix by
pulling the latest changes down with git pull.
—
Reply to this email directly, view it on GitHub
<#88 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI77WUGZ2HSP47CUKK2VJU3W3FDXZANCNFSM6AAAAAAUSI76TQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
unfortunately not good with git at all
…On Thu, Mar 9, 2023 at 6:30 PM David ***@***.***> wrote:
It look like the git pull must not have worked for you - I can tell
because in the update to backup.py, I added
<ce2b32e#diff-e9efe26a1b36ef611871ba071a40acbd1239d32f9e39d2da1d3108bdad5f6558R132>
the round() function to the time that gets printed to the screen.
Backup completed successfully in 1.3444718449609354 seconds
Are you familiar with git to troubleshoot?
—
Reply to this email directly, view it on GitHub
<#88 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI77WUFTOXLLE75VKGKYOV3W3KG4DANCNFSM6AAAAAAUSI76TQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hello David,thank you very much for your good work!Is it possible for you to enter the ID of SPI in the config.toml ? Unfortunately I can't do that...... config.tom
power_monitor.py
I am currently using several MCPs, for example to monitor internal voltages...... Sorry for my google english |
Beta Was this translation helpful? Give feedback.
-
This is a beta release for v0.3.0. Help testing would be much appreciated! For upgrade instructions, please see the release page.
If testing, you'll need to create
config.toml
manually and put it next topower_monitor.py
, or specify the path when you launch the power monitor with:python3 power_monitor.py --config /path/to/config.toml
Config file link:
config.toml
This discussion was created from the release v0.3.0-beta.
Beta Was this translation helpful? Give feedback.
All reactions