Skip to content

Utility to dump data from the Diamond DEMSB-D01 solar panel energy monitor unit

License

Notifications You must be signed in to change notification settings

woll/demsb-dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

demsb-dump is a utility to dump data from the Diamond DEMSB-D01 solar panel energy monitor unit, via its USB port.

The DEMSB-D01 is a solar panel energy monitor, manufactured by Diamond Electric Manufacturing Co., www.diaelec.co.jp The monitor is supplied to household consumers in Japan, by solar panel suppliers like SANIX Co., www.sanix.jp

DEMSB-D01はダイヤモンド電機株式会社作った太陽光発電システム用表示ユニットです。 サニックスで売られるユニットです。

The supplied software only works on Windows, so I wrote demsb-dump to download the data on a Mac.

Presumably, with a few changes, the code will work under Linux and similar systems.

Version 1.0 was developed using:

Mac OS X 10.7.5

python 2.7 from MacPorts

py27-pyusb-devel from MacPorts

libusb @1.0.18_0 from MacPorts

The code was developed by recording the USB communications of the manufacturer-supplied Windows software and working out the neccessary commands, using some guesswork.

I didn't attempt to work out the meaning of some of the data transfers (e.g. the 63-byte block that is sent from the unit), but it appears that this can be ignored.

Usage

demsb-dump [ -t ] [ -y ] [ -m ] [ -s ] [ -v ]

Parameters:

-t
	Print a graph showing today's readings. This will only show the readings up to the previous hour (because that data doesn't yet exist!)

-y
	Print a graph showing yesterday's readings.

-m
	Print a graph showing the readings for the last 24 months.

-s
	Silent. Process, but do not print the graphs.

-v
	Debug. Show progress messages.

About

Utility to dump data from the Diamond DEMSB-D01 solar panel energy monitor unit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages