Page 1 of 1

Creating a simple plugin

Posted: Mon Jul 12, 2010 11:32 pm
by Bastiaan
I am fighting with the HS HAI /Omnistat plugin. I got the source code in C++ but it seems hard to find someone who can update the plugin.

I got the serial port details from HAI, how to poll and set the thermostat. Since I don't need much functions I was wondering if it would not be easier to try to do a new plugin, very basic and simple but at least doing the job in a reliable way.

It means polling the COMM port requesting the status and sending some settings back. (Half duplex).
The values have to go to/from a few devices.

Would this be possible with VB or do I need C++ or C#?

Would the HS template be a good start or is it better not to use it. I have seen some wonderful plugins here and missed the training :cry:

Can I get some thoughts/advice/help from the programmers here?

Re: Creating a simple plugin

Posted: Tue Jul 13, 2010 12:01 am
by Bwired
Option is http://www.Rentacoder.com
I just hired a new programmer who is making a complete custom direct interface for my Davis Vantage Pro2 weatherstation.
I'm sure there are a some Homeseer programmers. You get the complete source and is a great sample project for yourself.
You should be able to help the guy testing etc.
Also fun to do, this is my 4th project.

Re: Creating a simple plugin

Posted: Tue Jul 13, 2010 12:02 am
by Digit
I don't think you'll need C#/C++.
If you're used to VB, start with creating VB code to communicate with the thermostat.
Once you've got that working, you should be able to create a plugin starting with the HS template, although documentation is poor.

There's enough experience on this forum to help you with creating the plugin :)