Conversation
|
Anyone able to test this? |
|
Do I need to install the new piupsmon version in order to run the plugin? I can test the plugin if it runs with the original versio n. |
|
The plugin does not need any piupsmon. I communicates with piusv via I2C. You can disable piupsmon. |
|
Thanks for the plugin! It has been on my to-do list for a long time but I'm not really familiar with Python (yet). Configuration docs are missing but I got it running. Had to activate i2c in raspi-config and add the user "smarthome" to the "i2c" group. The Webif is working well, however. It would be nice to see the voltage / current values in their physical units and an explanation of the status code would be great. Do I have to add |
|
I added the missing status variable. Surprisingly I did not get this error. The status value is the raw value from the piusv. You are right, it should be translated: |
|
Starts now without error. Thanks!
|
6acb3ad to
19defb9
Compare
|
I added the webinterface update. The function was missing. v_batt it renamed to u_batt. The poll cycle can be configured using the poll_cycle parameter in the plugin config. This should be in the automatically generated docs. Anyhow I need to work on the documentation. Disableing the poll makes no sense. I will remove the comment. |
|
Super. Function is OK now. Maybe it's worth noting: I tested on a Raspi 2 with 32bit Bullseye system and shNG 1.9.5. From my point of view, the PR can be merged into develop. |
|
Thanks for testing. I use a Pi4 with 64bit system. |
|
Looks nice. Thanks for the contribution. I would use it :-) |
|
I had some trouble with the table on small devices. This is now solved. |
Create piusv.html
|
Is here still something to do? |
|
I have been getting several errors during the day while I2C baud rate was still system default : Tests with baud rate 40000 are running now. |
|
I am also running 40000. No errors here. |
|
Errors are gone after setting i2c baud rate to 40000. @Morg42 : Plugin can be merged into develop |


This is for the piusv+.
The original SW for piusv+ is not up to date any longer. A open source version in C is available here:
https://github.com/dehapama/piupsmonitor-raspberrypi
The plugin communicates directly with the PIUSV via I2C. There is still some work to do but the major
functions are OK. Fine tuning is still needed.