RSS integration with HS works

Plugwise Forum about Plugwise devices and the Source software.
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

RSS integration with HS works

Post by Noel »

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">The error message doesn't really show specific error messages.. Many error messages I received were HUGE and I found 'red' strings that provided a lot of information. Could you PM these to me?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
That is the red string what is shown in the Homeseer log file.

Image
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

RSS integration with HS works

Post by TANE »

DJ
I have installed and have done some tests.
When running your script I'm getting the same error as Wifi
When running the original script from Jon script will run okay and read some plugwise date in the devices.
but not not usable..hope you can correct the script
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

RSS integration with HS works

Post by TANE »

DJ found what is going wrong at my side.

You are skipping the device creation part..when the device don't exits...then there will be the error.
Can you please also add the device name...or don't overwrite it in Homeseer

Why is my output not looking nice..:(


[img]uploaded/Chak/2008122211935_plugrss.gif[/img]
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

RSS integration with HS works

Post by TANE »

okay...found the problem again...there was a new version of the script online on your page..


now device 52 is not updated and the usage is 0..

find out that Q42 in is device 4 in real
high numbers is now not working..:(


[img]uploaded/Chak/2008122212852_plugrss2.gif[/img]
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

RSS integration with HS works

Post by TANE »

okay my last spam message...

with low device numbers it's working.

- Dim level at the end is the usage (found it...correct device type will solve the problem)
- Device name will be replaced with rss data.just ignore the name or display the Plugwise name here

[img]uploaded/Chak/200812221380_plugrss3.gif[/img]
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

RSS integration with HS works

Post by Noel »

Chak.
Where did you find the new script?
When I try to download it it's asking for a username / password.
Link that I use is: http://www.nldj.com/wiki/Domotica/ProjectPlugwise
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

RSS integration with HS works

Post by TANE »

hahah I'm not going to tell you here how I found it...will send you the script
DJ my first look at it.

your error will be solved if your first create the device in Homeseer.
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

RSS integration with HS works

Post by Noel »

Okay.. Got it 1/2 working.
Showing the data from the plugs is working.
Turning the plugs on / off does not work (at the moment)
DJF3
Advanced Member
Advanced Member
Posts: 895
Joined: Thu Jul 12, 2007 9:28 am
Contact:

RSS integration with HS works

Post by DJF3 »

Site pwd is fixed now! Going to do some more work on it tomorrow.. Running into time issues because of unexpected events. Will try to support you and apply fixes as soon as possible.
Thanks for the feedback!
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

RSS integration with HS works

Post by TANE »

Thank you for your work..:)
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

RSS integration with HS works

Post by TANE »

Tip:
If you don't want the auto update just create a extra device like Q99.
Let the RSS event be triggered by Q99 any status change to run..
just click on/off for a update

You can use the ON/OFF of the other devices for triggering the Homeseer events for on/off of the plugs.
for more info see the other topic
http://www.domoticaforum.eu/topic.asp?TOPIC_ID=1768
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

RSS integration with HS works

Post by Noel »

One more thing that I noticed is that when everytime the event has been called, the "Name" will change back to "Plugwise" again.
DJF3
Advanced Member
Advanced Member
Posts: 895
Joined: Thu Jul 12, 2007 9:28 am
Contact:

RSS integration with HS works

Post by DJF3 »

Updated version: 0.4
- (FOUND:0.2, FIXED:0.4) It only works with Plugwise device-codes < 10 (only 1-character-number)
- (FOUND:0.3, FIXED:0.4) Device name in HS is overwritten by the current code.
- (FOUND:0.2, FIXED:0.4) Script crashes if device from .ini doesn't exist in HS. It now checks and puts error message in HS log.
- (FOUND:0.3, FIXED:0.4) Script overwrites devicename with RSS Title (Plugwise)
Download: http://www.domoticaworld.com/scripts/plugwise/

Cheers
DJ
Last edited by DJF3 on Wed Feb 08, 2012 1:10 pm, edited 1 time in total.
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

RSS integration with HS works

Post by TANE »

DJ,
Thanks for the latest update.


How can I disable the logging to log file?
Last Change field is not always updating see Q6 compare to other screenshots (old time form yesterday) total usage is changed.

Hope you can also support devices >10
all my other devices have higher numbers.

[img]uploaded/Chak/200812313531_ScreenShot001.gif[/img]
DJF3
Advanced Member
Advanced Member
Posts: 895
Joined: Thu Jul 12, 2007 9:28 am
Contact:

RSS integration with HS works

Post by DJF3 »

- PW device-id's >10 should be supported now, even though I can't test it myself. There was an error in grabbing the device-code from the .ini file (I only grabbed the first character after the Q (so with Q25 it would take '2' instead of '25').

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">LAST CHANGE - If a device was modified externally (not directly by HomeSeer) then this column - and this screen - may not display those changes or the device's new status. To update the screen, click the Poll Device button at the top of the screen (if visible) to go to the Poll Device screen and have HomeSeer communicate with each device to get its current status. When you come back to this screen, the "Status" and "Last Change" columns will display the most up-to-date information about each device.<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
- When I click 'poll devices' it looks like it actually picks up on the last change for the PW devices..


- The next release (0.5) which is not available yet has a parameter that allows you to set the trace level (0=off, 1=on, 2=DETAILED).

Cheers
DJ
Post Reply

Return to “Plugwise Forum”