Displays SMA Sunny Beam's Power, E-Today and E-Total in Linux.
Categories
Interface EnginesLicense
GNU General Public License version 2.0 (GPLv2)Follow SBtool
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
-
We are almost 10 years later... CRC library has been updated (I used it with version 0.22.1 of the CRC library). Therefore, you might see this error: "Use of uninitialized value in subroutine entry at /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1/Digest/CRC.pm line 272, <DATA> line 1." In such case: Go to line 97 of the sbtool script, where you will find: $crc = crc(pack ("H*", $cmd_str),16,0xffff,0xffff,1,0x1021,1); Update this line to: $crc = crc(pack ("H*", $cmd_str),16,0xffff,0xffff,1,0x1021,1,0); The last zero makes sure you don't use the new functionality in the CRC library. The old version of the library didn't have this parameter. By the way, I am running this script from a raspberry pi, with node-red, saving values to influxDB and representing them on Grafana.