Moskus/hspi_CsharpSample

New images to the readme

Closed this issue · 3 comments

As of now I have only copied the images from Moskus post
https://forums.homeseer.com/forum/developer-support/programming-plug-in-development/plug-in-development/90775-hspi_moskussample-an-easier-plugin-sample-vb-net
We should have images that show the how it will appear when running this plugin.

Also add some "translation" of

Q: "Where do I start?"

A: 1. Copy "HomeSeerAPI.dll", "HSCF.dll" and "Scheduler.dll" from your HS3 dir to into the dir of this project (extract the zip file first, of course).
2. Just start HS3 if its not running, and hit Debug in Visual Studio. Then youll see whats going on
3. Do some customization, I suggest start by naming your plugin. this is done several places:
a. In "utils.vb", see variables "IFACE_NAME" and "INIFILE".
b. See in "My Project" in the Solution, and change both
c. If you, like me, dont want the solution and project named "MoskusSample" you can edit the .vbproj and .sln files in notepad (but close Visual Studio first).
4. Then look into the "Plugin.vb" file. A good place like any other is to start by finding the sub "InitIO", whats where the plugin is initialized.
5. However, if you REALLY want to dive right in to it, find the "UpdateTimerTrigger" sub and read to the end.

Can not be done until #3 is done.

Done