RSS integration with HS works
RSS integration with HS works
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.
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
Update.
version 0.4 is working fine with deviceID >10
version 0.4 is working fine with deviceID >10
RSS integration with HS works
REQ
Update devicevalue with current usage
Upadte devicestatus with the actual status
This information can than be used for triggering.
Update devicevalue with current usage
Upadte devicestatus with the actual status
This information can than be used for triggering.
RSS integration with HS works
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.
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
Dj can you add this to the next version?
RSS integration with HS works
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.
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
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.

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
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.
<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
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
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
Last edited by DJF3 on Wed Feb 08, 2012 1:09 pm, edited 1 time in total.
RSS integration with HS works
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.
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
I've just done the update to verson 5, and it looks like all is working fine.
-
- Starting Member
- Posts: 11
- Joined: Tue Feb 27, 2007 5:22 pm
- Location: Orleans
- Contact:
RSS integration with HS works
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 ?

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
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
-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
I'm already measuring the watts of my Christmas tree 

RSS integration with HS works
Nevermind.. I've removed this message.
The error was an ID TEN T (ID 10 T) error.
All is working as it should.
The error was an ID TEN T (ID 10 T) error.
All is working as it should.