Page 1 of 1

writing a plugin

Posted: Sat Mar 28, 2015 5:35 pm
by stuartturrell
Hi all,
I wish to write a plugin to allow meteohub to gather data from a oil monitor I have.

meteohub detects the device, (its a USB CP210x device) but I am absolutely clueless where to go from there.

Can anyone point me in the right direct. Where to start etc...

Many thanks

Stuart

Re: writing a plugin

Posted: Sun Apr 05, 2015 7:55 am
by AlaskaWX
Do you have any information about a programming interface for the oil monitor? If there is an API of some kind or documentation on how to read it, then it should be fairly easy to write a meteohub plugin for it. The plugin can be a bash script, a perl script, or my favorite, a gcc c program compiled into a binary. It won't be so easy if you have to reverse engineer the communication protocol.

What meteohub platform are you running on?

Re: writing a plugin

Posted: Sun Apr 05, 2015 9:58 am
by stuartturrell
I've tried to get some info on the output of the device from the manufacturer but never got any.

I'm running on rpi2.