home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Basic Home Automation via xAP BSC enabled devices (updated 9-01-2008)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="TritonT" data-source="post: 161585" data-attributes="member: 26020"><p>Patrick, you Sir are a legend. </p><p></p><p>1. Thanks, fine in 2.0g</p><p></p><p>2. Thanks, left align is good, right align a bit more problematic (but then it often is in MediaPortal!), doesn’t matter to I only wanted left!</p><p></p><p>3. Thanks, perfect.</p><p></p><p>4. Thanks, the range setting looks great. This is all that’s needed for devices that report the values that you want to show, such as temperature. </p><p>However, for example I have a friend with a water level contraption connected to a Netiom that reports using BSC on a scale 0-1023, this means very little, however by multiplying this number by 0.00255 it is now a accurate gauge in metres, this is what he wants to show. I think that by providing a multipler option followed by an offset option (zero is rarely zero in these things) I think you can cover all linear analogue sensors, be they water level, voltage, humidity, daylight or whatever. </p><p></p><p>5. I didn’t really mean anything that complicated. All I wanted was to be able to put the xAP icon on the OSD message, so that it would be easy to tell that the message was coming from the xAP plugin. </p><p></p><p><a href="http://www.typetech.org/mediaportal/automation_osd_screenshot.jpg" target="_blank">Screenshot</a></p><p></p><p>Below is an example of the message format I have been sending, it works fine apart for the ‘Line5=And finally a fourth!’ never appears.</p><p> </p><p>xap-header</p><p>{</p><p>v=12</p><p>hop=1</p><p>uid=FF456200</p><p>Class=message.display</p><p>Target=MEPO.BHAConn.abit-ic7.OSD.1</p><p>Source=mi4.floor.ABITIC7</p><p>}</p><p>Display.text</p><p>{</p><p>Line1=This is the title</p><p>Line2=This is the first line of text</p><p>Line3=And a second one</p><p>Line4=Even a third</p><p>Line5=And finally a fourth!</p><p>Priority=1</p><p>Duration=20</p><p>}</p><p>Display.look</p><p>{</p><p>Align=Left</p><p>}</p><p></p><p>6. I’ll ask.</p><p></p><p>I have amended the Replicant and ReVision skins and put then at the bottom of this post. Thanks again.</p><p></p><p></p><p>@ odin318</p><p></p><p>Yes, Patrick is right Z-Wave is not yet supported by xAP (there has been talk about someone writing a connector for a long time but it hasn’t happened yet, as far as I know), but thats not quite the end of the story. Z-Wave is supported by <a href="http://wiki.xplproject.org.uk/index.php/XPL_News" target="_blank">xPL</a> and there are 2 possibilities available to translate the xPL messages into xAP messages, they are:</p><p></p><p><a href="http://www.mi4.biz/index.php" target="_blank">Floorplan 1.2</a></p><p><a href="http://board.homeseer.com/showthread.php?t=109125" target="_blank">xapmcsHub xAP/xPL</a></p><p></p><p>So theoretically you could have:</p><p></p><p>Z-Wave Controller – xPLZWave node (with ControlThink Z-Wave SDK.& xPLHal) – xapmcsHub – MediaPortal plugin.</p><p></p><p>I have not yet tried this! But I am planning on having a go as soon as I have got the time.</p><p></p><p></p><p>Revised skin files:</p><p></p><p><a href="http://www.typetech.org/mediaportal/ReVison%20and%20Replicant%20Skins.zip" target="_blank">Replicant & ReVision Skins</a></p><p></p><p>Please note that to get the word ‘Automation’ at the top you need to add <String id="9195">Automation</String> to your strings file in the Language folder.</p></blockquote><p></p>
[QUOTE="TritonT, post: 161585, member: 26020"] Patrick, you Sir are a legend. 1. Thanks, fine in 2.0g 2. Thanks, left align is good, right align a bit more problematic (but then it often is in MediaPortal!), doesn’t matter to I only wanted left! 3. Thanks, perfect. 4. Thanks, the range setting looks great. This is all that’s needed for devices that report the values that you want to show, such as temperature. However, for example I have a friend with a water level contraption connected to a Netiom that reports using BSC on a scale 0-1023, this means very little, however by multiplying this number by 0.00255 it is now a accurate gauge in metres, this is what he wants to show. I think that by providing a multipler option followed by an offset option (zero is rarely zero in these things) I think you can cover all linear analogue sensors, be they water level, voltage, humidity, daylight or whatever. 5. I didn’t really mean anything that complicated. All I wanted was to be able to put the xAP icon on the OSD message, so that it would be easy to tell that the message was coming from the xAP plugin. [URL="http://www.typetech.org/mediaportal/automation_osd_screenshot.jpg"]Screenshot[/URL] Below is an example of the message format I have been sending, it works fine apart for the ‘Line5=And finally a fourth!’ never appears. xap-header { v=12 hop=1 uid=FF456200 Class=message.display Target=MEPO.BHAConn.abit-ic7.OSD.1 Source=mi4.floor.ABITIC7 } Display.text { Line1=This is the title Line2=This is the first line of text Line3=And a second one Line4=Even a third Line5=And finally a fourth! Priority=1 Duration=20 } Display.look { Align=Left } 6. I’ll ask. I have amended the Replicant and ReVision skins and put then at the bottom of this post. Thanks again. @ odin318 Yes, Patrick is right Z-Wave is not yet supported by xAP (there has been talk about someone writing a connector for a long time but it hasn’t happened yet, as far as I know), but thats not quite the end of the story. Z-Wave is supported by [URL="http://wiki.xplproject.org.uk/index.php/XPL_News"]xPL[/URL] and there are 2 possibilities available to translate the xPL messages into xAP messages, they are: [URL="http://www.mi4.biz/index.php"]Floorplan 1.2[/URL] [URL="http://board.homeseer.com/showthread.php?t=109125"]xapmcsHub xAP/xPL[/URL] So theoretically you could have: Z-Wave Controller – xPLZWave node (with ControlThink Z-Wave SDK.& xPLHal) – xapmcsHub – MediaPortal plugin. I have not yet tried this! But I am planning on having a go as soon as I have got the time. Revised skin files: [URL="http://www.typetech.org/mediaportal/ReVison%20and%20Replicant%20Skins.zip"]Replicant & ReVision Skins[/URL] Please note that to get the word ‘Automation’ at the top you need to add <String id="9195">Automation</String> to your strings file in the Language folder. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Basic Home Automation via xAP BSC enabled devices (updated 9-01-2008)
Contact us
RSS
Top
Bottom