Code Monkey home page Code Monkey logo

watchpower-voltronic-log-web-charts's Introduction

=== watchpower-voltronic-log-web-charts v1.5 ===

Screenshot

=== STATUS: IT WORKS!

=== ABOUT ===

this is a PHP + HTML + JS based "program" that can read log files created by the WatchPower solar hybrid inverter monitoring software (Java based)

WatchPower only writes debug files when in the top right corner the symbol r-click -> debug mode is on.

then it should write log files like: 2023-10-30 USB-QPIGS.log

o this program will read the log files from ./data subdirectory

o in order to mount the live data mount --bind can be used

mkdir /var/www/html/data mount --bind /home/user/software/WatchPower/log/debug/ /var/www/html/data chown -R www-data /var/www/html

o sort them by their date-filename.log

o read them line by line and try to generate charts

o so users can (better) visualize their energy production & consumption

PS: yes really could not think of a shorter name X-D

==== PROBLEMS ====

=== pc halts during boot ===

description: the USB connected inverter during boot sends a bunch of data, that might be interpreted by the computer as "keyboard" input and hence stops the boot process (workaround: restart computer until successfull boot up)

(it is a really ugly workaround)

tried_that: tried to use a galvanic usb separator, if it would help prevent the boot (sometimes) but did not help

=== non-senese-values ===

solution: in WatchPower, try to (taskbar) r-click on WatchPower-symbol -> switch off and on DEBUG mode (checkbox)

it started reporting nonsensical values for battery voltage (on the display it shows the correct voltage)

but in the data field[10] is supposed to be battery voltage: 00.40V (#wtf!?)

2024-01-10 2024-01-10 14:22:59 232.9 49.9 232.9 49.9 0093 0049 001 323 00.40 000 000 0006 0000 000.0 00.00 00000 00010000 00 00 00000 010

for comparison: field[10] says: 49.70V

2024-01-06 2024-01-06 00:00:05 231.5 50.0 229.9 50.0 0068 0030 001 348 49.70 000 075 0025 0000 000.0 00.00 00002 00010000 00 00 00000 010

watchpower-voltronic-log-web-charts's People

Contributors

ultimatesolar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.