Buienradar monitor HS3 plugin

Buienradar monitor HS3 plugin van Labium (Dutch allowed forum)

Moderator: labium

labium
Advanced Member
Advanced Member
Posts: 512
Joined: Sat Feb 06, 2010 10:56 am
Location: netherlands

Buienradar monitor HS3 plugin

Post 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.
Attachments
buienradarzip.zip
buienradar hs3 plugin
(38.49 KiB) Downloaded 699 times
christiand
Member
Member
Posts: 69
Joined: Sat Oct 02, 2010 9:15 pm

Re: buienradar monitor hs3 plugin

Post 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
Attachments
Knipsel.JPG
Knipsel.JPG (22.64 KiB) Viewed 22852 times
labium
Advanced Member
Advanced Member
Posts: 512
Joined: Sat Feb 06, 2010 10:56 am
Location: netherlands

Re: buienradar monitor hs3 plugin

Post by labium »

the disconntected doesnt say anything. . even disconnected it works.
bartbakels
Advanced Member
Advanced Member
Posts: 515
Joined: Tue May 31, 2011 6:44 pm
Contact:

Re: buienradar monitor hs3 plugin

Post 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.

:D
Software: HS3, HStouch, Plugwise , BLBackup, BLLatestImage, Zwave, JowiHUE, PHlocation, Netcam, Harmony Plugin, ThinkingCleaner, HSPhone, Eneco Toon Script, Pushover, Visonic Powermax LV Interface

(ON ESXI )on NUC
labium
Advanced Member
Advanced Member
Posts: 512
Joined: Sat Feb 06, 2010 10:56 am
Location: netherlands

update buienradar monitor hs3 plugin

Post 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.
Attachments
buienradar1.0.0.5.zip
(79.05 KiB) Downloaded 595 times
example big graph
example big graph
buienradargpsbig.PNG (18.84 KiB) Viewed 22644 times
example with rain
example with rain
buienradarhsp2.PNG (4.02 KiB) Viewed 22651 times
which request ?
which request ?
buienradargps.PNG (10.58 KiB) Viewed 22667 times
Last edited by labium on Sat Dec 21, 2013 6:30 pm, edited 2 times in total.
bartbakels
Advanced Member
Advanced Member
Posts: 515
Joined: Tue May 31, 2011 6:44 pm
Contact:

Re: buienradar monitor hs3 plugin

Post 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
Software: HS3, HStouch, Plugwise , BLBackup, BLLatestImage, Zwave, JowiHUE, PHlocation, Netcam, Harmony Plugin, ThinkingCleaner, HSPhone, Eneco Toon Script, Pushover, Visonic Powermax LV Interface

(ON ESXI )on NUC
labium
Advanced Member
Advanced Member
Posts: 512
Joined: Sat Feb 06, 2010 10:56 am
Location: netherlands

Re: buienradar monitor hs3 plugin

Post 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
bartbakels
Advanced Member
Advanced Member
Posts: 515
Joined: Tue May 31, 2011 6:44 pm
Contact:

Re: buienradar monitor hs3 plugin

Post 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
Software: HS3, HStouch, Plugwise , BLBackup, BLLatestImage, Zwave, JowiHUE, PHlocation, Netcam, Harmony Plugin, ThinkingCleaner, HSPhone, Eneco Toon Script, Pushover, Visonic Powermax LV Interface

(ON ESXI )on NUC
labium
Advanced Member
Advanced Member
Posts: 512
Joined: Sat Feb 06, 2010 10:56 am
Location: netherlands

Re: buienradar monitor hs3 plugin

Post 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>
vanisher

Re: buienradar monitor hs3 plugin

Post 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?
labium
Advanced Member
Advanced Member
Posts: 512
Joined: Sat Feb 06, 2010 10:56 am
Location: netherlands

Re: buienradar monitor hs3 plugin

Post by labium »

you dont have the same errors in the log as bartbakels ?
vanisher

Re: buienradar monitor hs3 plugin

Post 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()  
labium
Advanced Member
Advanced Member
Posts: 512
Joined: Sat Feb 06, 2010 10:56 am
Location: netherlands

Re: buienradar monitor hs3 plugin

Post by labium »

and if you put the SplineformCpp2.dll in the rootdirectory of homeseer ?
vanisher

Re: buienradar monitor hs3 plugin

Post by vanisher »

same issue
labium
Advanced Member
Advanced Member
Posts: 512
Joined: Sat Feb 06, 2010 10:56 am
Location: netherlands

Re: buienradar monitor hs3 plugin

Post 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
Post Reply

Return to “Homeseer Buienradar monitor HS3 plugin”