Page 3 of 4

RSS integration with HS works

Posted: Wed Dec 03, 2008 4:56 pm
by TANE
DJ
good to hear that.
I can test it for you if available.
27 of my devices have code above 10
also some devices in the 70.

RSS integration with HS works

Posted: Wed Dec 03, 2008 6:14 pm
by TANE
Update.
version 0.4 is working fine with deviceID >10

RSS integration with HS works

Posted: Wed Dec 03, 2008 10:11 pm
by TANE
REQ
Update devicevalue with current usage
Upadte devicestatus with the actual status
This information can than be used for triggering.

RSS integration with HS works

Posted: Wed Dec 03, 2008 11:51 pm
by Rene
I changed the first lines of the rss_DJ_01.xml to get a more accurate reading:
format 'Appliance.PowerUsage' as '{0:0.00}'
format 'Appliance.TotalUsage' as '{0:0.00}'
format 'Module.PowerUsage' as '{0:0.00}

Rene.

RSS integration with HS works

Posted: Thu Dec 04, 2008 12:05 am
by TANE
Dj can you add this to the next version?

RSS integration with HS works

Posted: Thu Dec 04, 2008 12:06 am
by DJF3
Chak: nice req, that makes sense. Will put that in 0.5 (release probably 2morrow)
Rene: I deliberately got rid of the extra zero because I tried to keep it easy to read (and the last 0 doesn't matter that much). The VB script should handle the different format correctly.

RSS integration with HS works

Posted: Thu Dec 04, 2008 12:14 am
by Rene
That's right the script handled the format correctly. I prefer it this way ;-)

A feature request from me: It would be nice to have the possibility (configurable) to use the name of each appliance, in the title field of the RSS feed, to overwrite the homeseer device name.

Rene.

RSS integration with HS works

Posted: Thu Dec 04, 2008 12:45 am
by Noel
I'm seeing a warning in the log file when the script is called.
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">3-12-2008 23:42:30 - Warning - GetDevice is not reliable for device enumeration. Please use the new GetDeviceEnumerator method. Source: Script.NET_03-dec-2008 15:55:41.76565422_MyRSS_DJ_4.vb<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
It's only a warning, and the script is working great for me.

RSS integration with HS works

Posted: Fri Dec 05, 2008 2:43 pm
by DJF3
New version available http://www.domoticaworld.com/scripts/plugwise/

New:
<ul><li>Added logging parameter in .ini file (0=off, 1=on, 2=DETAILED)</li><li>Files have been renamed to remove Jon00's RSS reader dependency</li><li>Replaced GetDevice with new "GetDeviceEx"</li> <li>The Current Usage value is now written to the Device Value field so you can use it to trigger events (untested)</li> </ul>

Enjoy your weekend!
DJ

RSS integration with HS works

Posted: Sat Dec 06, 2008 12:21 am
by TANE
Dj,
The latest update is working fine including DeviceValue

I have build a funny event using the devicevaule
We often forget to turn off the Hifi system
Event will turn the Hifi System off when the TV powerusage is higher than 80 watt..next one is monitor Hifi usage and turn this one off when the usage is lower then XX for 15 minutes.
Turning off event is just sending the IR signal for off.
Usage in standby is lower than 0,1 watt..standby kill makes no sense.

RSS integration with HS works

Posted: Sat Dec 06, 2008 12:31 am
by Noel
I've just done the update to verson 5, and it looks like all is working fine.

RSS integration with HS works

Posted: Sat Dec 06, 2008 11:02 am
by cedriclocqueneux
Hi ! I have an error with this plugin :(

06/12/2008 09:58:40 Error Script compile error: Type 'XmlNode' non dfini.on line 108
06/12/2008 09:58:40 SCR Option Strict OffImports System.IOImports System.XMLImports System.TextImports System.Text.RegularExpressionsimports Schedulerimports SystemPublic Module scriptcode1#Region "Automatically generated code, do not modify"'Automatically generated code, do not modify'Event Sources Begin Public WithEvents hs As Scheduler.hsapplication Public WithEvents hsp As scheduler.hsp Public WithEvents hssystem As scheduler.phone0'Event Sources End'End of automatically generated code#End Regionsub main(ByVal strMode As String)'

I see instruction on your website, and all is ok: setting.ini, plugwise.ini, and devices are created. It seems to be a problem with System.xml, but i don't nderstand. Do you have an idea ?

RSS integration with HS works

Posted: Sat Dec 06, 2008 12:57 pm
by DJF3
Good question, I don't know the answer.
-Can you restart the HS server to see if this solves the problem?
-Are you running the latest version of HS? (2.3.0.0)

These are the difficult error messages, unlike the ones that tell you there's a missing comma [:)]
Do some extra searches on the HS forum or google. You might end up finding more information.

On VB namespaces: http://homeseer.com/support/homeseer/We ... spaces.htm
Article: http://board.homeseer.com/showthread.ph ... 1&t=118781
Article: http://board.homeseer.com/showthread.ph ... 1&t=129339

Have to buy a Christmas tree now!
Cheers
DJ

RSS integration with HS works

Posted: Sat Dec 06, 2008 1:30 pm
by Noel
I'm already measuring the watts of my Christmas tree :-)

RSS integration with HS works

Posted: Sat Dec 06, 2008 10:26 pm
by Noel
Nevermind.. I've removed this message.

The error was an ID TEN T (ID 10 T) error.
All is working as it should.