Basic Home Automation via xAP BSC enabled devices (updated 9-01-2008) (2 Viewers)

patrick

Portal Pro
April 20, 2005
608
45
Southeast
Home Country
United States of America United States of America
Thanks for test driving :)

Can you have a look at the "output.state" issue?

I am sure its my fault somewhere, I will have a look.

Do you plan on implementing event driven screen-pops?
Had not really thought about event driven pop-ups..
Have to think about how one would configure that. Ideas?

Do you plan to allows devices and connectors that do not use strict BSC schema?

I can, I just didn't want to support say xAP-x10 and xAP-BSC schema
when there are connectors for transforming x10 to xAP already.


It produces xAP in the following format:

xap-header
{
v=12
hop=1
uid=FE123401
class=xap-temp.notification
source=ERSP.telemetry.Shuttle-sk41g.com2:confused:ensor1
}
temperature.current
{
temp=24.19
seq=2
location=Sensor1
unit=C
}

Do you have a link to the full schema?


Thanks again for trying it.

patrick
 

patrick

Portal Pro
April 20, 2005
608
45
Southeast
Home Country
United States of America United States of America
The following command from your plugin does not register in the x10 Connector, but I can see it on the network:

xap-header
{
v=12
hop=1
uid=FFABCD00
class=xAPBSC.cmd
source=MEPO.BHAConn.Abit-ic7
target=ERSP.X10.Shuttle-sk41g:BedRoom.Blanket
}
output.state
{
id=*
state=TOGGLE
}

By changing "output.state" to "output.state.1" the command works. I don't know enough about the BSC schema and it's interpretation to understand which is correct, but I do know which one works.


Think I figured it out. The BSC spec says that cmd messages can have multiple
output.state body parts using output.state.n but it also seemed that with only a
single body part one could omit the .n (there is an example in the spec like this).
Must be that it strictly responds to body parts with .n.

I will change the code since it should always work with the .n
Hopefully have it up here by the weekend.

Thanks,
patrick
 

patrick

Portal Pro
April 20, 2005
608
45
Southeast
Home Country
United States of America United States of America
Hi Patrick, I'm really looking forward to using this too, but I have to track down some good sources for x10 or any other power control systems.
Any suggestions or links to hardware that this plugin can control would be great.
I have been to all the web sites you link to, but can't find a lot on any specific hardware for controlling regular appliances except x10. Unfortunately x10 isn't very popular so the gear is quite expen sive and rare here.
Since the voltage and frequencies are different it's not even a matter of grabbing some x10 when I'm next in the US.

Thanks for the plugin. I'm sure you'll get a lot more feedback once the holidays are over and people have to start finding things to entertain them while at work ;-)

What about C-Bus there?
There is a xAP connector for that.

HTH,
patrick
 

Marcusb

Retired Team Member
  • Premium Supporter
  • February 16, 2005
    1,995
    29
    Melbourne
    good suggestion. I haven't really looked into C-Bus. I think the main issue is that in Australia it is mostly a buisness system for controlling office buildings (even my work uses it) so as a result the pricing is very steep. Corporate pricing is always scary for this type of thing.

    Most Australians haven't really seen the need for home automation. I understand it's used quite a lot more in the US.
     

    patrick

    Portal Pro
    April 20, 2005
    608
    45
    Southeast
    Home Country
    United States of America United States of America
    By changing "output.state" to "output.state.1" the command works. I don't know enough about the BSC schema and it's interpretation to understand which is correct, but I do know which one works.

    I update the first post with v0.1b that should fix this for you.

    Thanks again for trying it out.

    patrick
     

    shred444

    Portal Pro
    May 13, 2006
    143
    0
    Patrick,

    lets say you dont know the address of an x10 compliant device. Is there a way to get it by monitoring the bus and waiting for it to execute a command?
     

    patrick

    Portal Pro
    April 20, 2005
    608
    45
    Southeast
    Home Country
    United States of America United States of America
    good suggestion. I haven't really looked into C-Bus. I think the main issue is that in Australia it is mostly a buisness system for controlling office buildings (even my work uses it) so as a result the pricing is very steep. Corporate pricing is always scary for this type of thing.

    Most Australians haven't really seen the need for home automation. I understand it's used quite a lot more in the US.

    Ok, I will keep looking ;)

    patrick
     

    patrick

    Portal Pro
    April 20, 2005
    608
    45
    Southeast
    Home Country
    United States of America United States of America
    Do you plan on implementing event driven screen-pops?

    Just saw this post on the xap_automation list
    New app from James
    http://tech.groups.yahoo.com/group/xap_automation/message/3348

    MailMe is an SMTP server. It receives emails and then triggers xAP
    messages based on the to address.
    The initial idea was that my router can send an email in the event of a
    problem, and this app would allow that email to trigger display
    messages, TTS etc. That worked well so I though I could use the IP
    camera above the front door as that could send emails when it detected
    movement....

    Maybe that can help faster than I can ;)

    Thanks,
    patrick
     

    patrick

    Portal Pro
    April 20, 2005
    608
    45
    Southeast
    Home Country
    United States of America United States of America
    Patrick,

    lets say you dont know the address of an x10 compliant device. Is there a way to get it by monitoring the bus and waiting for it to execute a command?

    If you are using a x10 connector for xAP-BSC than it "should" be auto-discovered
    by this plugin.


    HTH,
    patrick
     

    aasmund Nordal

    Portal Pro
    June 20, 2005
    204
    0
    Norway
    Home Country
    Norway Norway
    wow! A plugin that alow me to use homeseer 1.7 :) This is great. Pherhaps it could somehow be used to automaticly dim the lights down when opening a movie?
    And dim slowly up when it has ended?

    Almost to bad I am visiting my parents.
     

    Users who are viewing this thread

    Top Bottom