Page 1 of 4
Buienradar monitor HS3 plugin
Posted: Wed Jul 24, 2013 7:42 pm
by labium
if you live in the netherlands you can get the the rain expectations for the next hours with buienradar for you specific coordinates . here is a sample plugin to show the rain expectations.
go to hs manage plugin menu go to buienradarconfig page, fill in your adress and pressing on a button geo google finds your lattitude and longitude and buinradar the rain expectations.
download zip file put hspi file in hs3 root directory and the javascript files in the html js directory.
Re: buienradar monitor hs3 plugin
Posted: Wed Aug 07, 2013 1:51 pm
by christiand
I just tried it, but it doenst seem to work. It stays on disconnected.
Also the plugin has a reference to gif which isnt in the zip file.
File does not exist: C:\Program Files (x86)\HomeSeer HS3\html\images\JillesSomfy\Off-Line.gif
Re: buienradar monitor hs3 plugin
Posted: Thu Aug 08, 2013 8:36 am
by labium
the disconntected doesnt say anything. . even disconnected it works.
Re: buienradar monitor hs3 plugin
Posted: Wed Nov 27, 2013 6:22 pm
by bartbakels
Labium,
Did you update this plugin in the meantime? I saw some strange behaviors during testing this plugin. (e.g. the disconnected issue, and some buttons without function)
Thanks for this plugin.

update buienradar monitor hs3 plugin
Posted: Sat Dec 21, 2013 2:22 pm
by labium
download zip file , copy the HSPI_BUIENRADARGPS.exe and HSPI_BUIENRADARGPS.exe.config file to the homeseer root directory, copy the SplineFormCpp2.dll file in the bin dir to the hs3 bin dir, copy the js files to html/js/buienradargps dir of hs3, copy the BuienRadarGps dir to the html/images dir of hs3
change:
devicestatus of io device is correct
graph is visible now in devicestatus column of the location device and can be made big or small by the devicebuttons. solitary graph page is not supported anymore
delete all the old buienradar gps devices.
Re: buienradar monitor hs3 plugin
Posted: Sat Dec 21, 2013 4:39 pm
by bartbakels
labium,
thnx voor de update. Echter ik krijg hem nog niet aan de gang. Eerst liggen stoeien met de file locaties van de js files, sommige worden verwacht in buirenradargps dir in de JS folder. Echter nu krijg ik een error dat men de splineccp2.dll niet kan vinden. Waar kan ik deze vinden?
Code: Select all
dec-21 15:33:36 Plug-In Finished initializing plug-in BuienRadarGps
dec-21 15:33:36 Error Initializing plug-in(2): BuienRadarGps Instance::Could not load file or assembly 'SplineFormCpp2.dll' or one of its dependencies. The specified module could not be found.0STACK:Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.InitIO(String port) at Scheduler.clsHSPI.CheckInterfaces()
dec-21 15:33:36 BuienRadarGps Retrieved count from plug-in sample device is: 2
daarnaast blijft hij op disconnected staan, maar dat kan waarschijnlijk hierdoor veroorzaakt worden, en kan mijn adres niet terug vinden met find coordinates, dus heb deze manueel ingevoerd.
mvg
Bart
Re: buienradar monitor hs3 plugin
Posted: Sat Dec 21, 2013 6:26 pm
by labium
de js files moeten inderdaad in HS3 Root\html\js\buienradar ik heb de zip file aangepast.
de SplineFormCpp2.dll moet naar de HS3 Root\Bin gekopieerd worden zit in zip file in map Bin
HSPI_BUIENRADARGPS.exe en de HSPI_BUIENRADARGPS.exe.config moet in de homeseer root dir
de image files moeten in de HS3 Root\html\images\BuienRadarGps gekopieerd worden
de directories in de zip file zijn de relatieve direcories tov de hs3 root dir
Re: buienradar monitor hs3 plugin
Posted: Sat Dec 21, 2013 6:48 pm
by bartbakels
Labium,
Sorry i will continu in english.
I installed it correctly (paths) including the dll in the bin. However keep getting this message. Maybe the dependencies of the dll are causing this?
Regards
Bart
Re: buienradar monitor hs3 plugin
Posted: Sat Dec 21, 2013 7:05 pm
by labium
the dll is in c++/cli . the exe.config file should look like
<?xml version="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin"/>
</assemblyBinding>
</runtime>
</configuration>
Re: buienradar monitor hs3 plugin
Posted: Sat Dec 21, 2013 9:49 pm
by vanisher
The images in the zip are in the wrong folder.
Question, i just installed this plugin but i get one big red stopsign.. Disconnected.
Anything else i have to do besides creating the location and enable mon?
Re: buienradar monitor hs3 plugin
Posted: Sat Dec 21, 2013 10:41 pm
by labium
you dont have the same errors in the log as bartbakels ?
Re: buienradar monitor hs3 plugin
Posted: Sat Dec 21, 2013 10:43 pm
by vanisher
You are right:
Code: Select all
dec-21 21:43:07 Error Initializing plug-in(2): BuienRadarGps Instance::Could not load file or assembly 'SplineFormCpp2.dll' or one of its dependencies. The specified module could not be found.0STACK:Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.InitIO(String port) at Scheduler.clsHSPI.CheckInterfaces()
Re: buienradar monitor hs3 plugin
Posted: Sat Dec 21, 2013 10:47 pm
by labium
and if you put the SplineformCpp2.dll in the rootdirectory of homeseer ?
Re: buienradar monitor hs3 plugin
Posted: Sat Dec 21, 2013 10:51 pm
by vanisher
same issue
Re: buienradar monitor hs3 plugin
Posted: Sat Dec 21, 2013 11:53 pm
by labium
these are the dependencies of the dll file it is in framework 4, i thought hs3 downloaded that also as prerequisite. i use visual studio on the same machine as hs3 maybe that installs something.
SplineFormCpp2.MyForm.resources - Embedded, ContainedInManifestFile,
ImageRuntimeVersion: v4.0.30319
Assembly SplineFormCpp2, Version=1.0.*, Culture=Invariant Language (Invariant Country):
hash=SHA1, flags=PublicKey
Assembly mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
hash=None, flags=None
Assembly System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
hash=None, flags=None
Assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
hash=None, flags=None
Assembly System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a:
hash=None, flags=None
Assembly System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
hash=None, flags=None
Assembly System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
hash=None, flags=None