writing a plugin

Moderator: Mattk

Post Reply
stuartturrell
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sun Jan 18, 2009 5:02 am

writing a plugin

Post by stuartturrell » Sat Mar 28, 2015 5:35 pm

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

User avatar
AlaskaWX
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Thu Apr 05, 2012 7:46 pm

Re: writing a plugin

Post by AlaskaWX » Sun Apr 05, 2015 7:55 am

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?

stuartturrell
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sun Jan 18, 2009 5:02 am

Re: writing a plugin

Post by stuartturrell » Sun Apr 05, 2015 9:58 am

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.

Post Reply