Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.46 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.46 KB

Live plotting of data from a USB-enabled HOPI HP-9800 power meter

Screenshot

Screenshot

Acknowledgments

Most lower-level work taken from other similar projects:

Requirements

From scratch, download and install python 3 and run:

pip3 install pyserial matplotlib

Short code/file overview

  • hopy.py - helpers for the next two files
  • hopi_log.py - opens device, reads out, prints to stdout
  • hopi_plot.py - opens device, reads out, plots in GUI

TODO

  • wrap into executable, so we don't have to require you install python and some packges
  • command line argument parsing
  • figure out port naming and priorities on linux
  • see if it makes sense to show both apparent and real power (divide by power factor)

CONSIDER

  • make the interface connect to devices as you plug them in (also to be able to report, and not just fail silently), not just at startup
  • reivew / fix the CRC code (right now the check on incoming data is disabled - I'm not sure whether it's just my HOPI or a general issue)
  • rewrite it async style?
  • web USB version?