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="Kaoh" data-source="post: 203313" data-attributes="member: 24754"><p>Here is a first version.</p><p>Features:</p><p>- Tells devices a xAP command without interface requirements</p><p>- Directly tell you light to turn on without using the computer, no matter what MP is doing</p><p>- Fully configrable</p><p>- It uses the Devices list from the BHA plugin to match the IR commands.</p><p></p><p>How does it work:</p><p>The plugin listens all the time to commands issued by MP, when the trigger command is noticed it starts to listen to the following commands, if within the given time a series of 3 numbers (REMOTE_#) codes is recieved, it handles those as device and command numbers.</p><p>For example: pressing ACTION_MOVE_UP followed by REMOTE_0, REMOTE_2, REMOTE_3 it will find the given alias for device 2 and search the device within BHA matching the alias and issue command 3 (Dim+10).</p><p></p><p>Rather simpel plugin, but it enables my IR remote to control the devices without using the screen and interface. (Yes I have a Pronto, so I have very need buttons per device <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" />).</p><p></p><p>Installation, place it in the plugin\process folder</p><p>Luanch MP once, and then close.</p><p>Now alter the IR2xAPExtender section to your liking.</p><p></p><p>Fill the DeviceAliases section like this:</p><p>0#BHADeviceAliasA;1#BHADEviceAliasB;2#BHADeviceAliasC;3#;4#BHADeviceAliasD etc</p><p></p><p>The numbers in this list are the command numers so the REMOTE_0 and REMOTE_2 part combine to 02 which returns device alias BHADeviceAliasC.</p><p>All numbers MSUT be present, so you can add up to 99 but the all empty onces must be filled also, see in the example item 3, no device is setup. but since you want one to listen to 4 you need it anyway.</p><p></p><p>Next version WILL have a setup screen to manage this <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>Values mean:</p><p><strong>SequenceStepTime</strong> how many second the plugin will wait for following number commands before resetting waiting for a new sequence trigger.</p><p><strong>LevelStep</strong> The percenta increase or decrease when command 3 (increase) and 4 (decrease) are given</p><p><strong>SequenceTriggerCommand</strong> What MP command should trigger the listener. See you IR setup for commands you can use.</p><p></p><p>The device sequence from you remote should consist from two numbers, so 00, 01, 02 etc</p><p>The third numbers tells the device what to do; possibilities are:</p><p>0: On</p><p>1: Off</p><p>2: Toggle</p><p>3: Level increase</p><p>4: Level decrease</p><p></p><p>So one final thought: Your remote should always! send 4 codes to get this working per device Trigger, device#part1, device#part2, action</p><p>If you set these up as a macro in your remote it feels a bit like long wait, but for example the marmitex remotes work the same (home button, device number, action) but then you manually press them, so your not waiting, feels faster somehow <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p></blockquote><p></p>
[QUOTE="Kaoh, post: 203313, member: 24754"] Here is a first version. Features: - Tells devices a xAP command without interface requirements - Directly tell you light to turn on without using the computer, no matter what MP is doing - Fully configrable - It uses the Devices list from the BHA plugin to match the IR commands. How does it work: The plugin listens all the time to commands issued by MP, when the trigger command is noticed it starts to listen to the following commands, if within the given time a series of 3 numbers (REMOTE_#) codes is recieved, it handles those as device and command numbers. For example: pressing ACTION_MOVE_UP followed by REMOTE_0, REMOTE_2, REMOTE_3 it will find the given alias for device 2 and search the device within BHA matching the alias and issue command 3 (Dim+10). Rather simpel plugin, but it enables my IR remote to control the devices without using the screen and interface. (Yes I have a Pronto, so I have very need buttons per device ;)). Installation, place it in the plugin\process folder Luanch MP once, and then close. Now alter the IR2xAPExtender section to your liking. Fill the DeviceAliases section like this: 0#BHADeviceAliasA;1#BHADEviceAliasB;2#BHADeviceAliasC;3#;4#BHADeviceAliasD etc The numbers in this list are the command numers so the REMOTE_0 and REMOTE_2 part combine to 02 which returns device alias BHADeviceAliasC. All numbers MSUT be present, so you can add up to 99 but the all empty onces must be filled also, see in the example item 3, no device is setup. but since you want one to listen to 4 you need it anyway. Next version WILL have a setup screen to manage this ;) Values mean: [B]SequenceStepTime[/B] how many second the plugin will wait for following number commands before resetting waiting for a new sequence trigger. [B]LevelStep[/B] The percenta increase or decrease when command 3 (increase) and 4 (decrease) are given [B]SequenceTriggerCommand[/B] What MP command should trigger the listener. See you IR setup for commands you can use. The device sequence from you remote should consist from two numbers, so 00, 01, 02 etc The third numbers tells the device what to do; possibilities are: 0: On 1: Off 2: Toggle 3: Level increase 4: Level decrease So one final thought: Your remote should always! send 4 codes to get this working per device Trigger, device#part1, device#part2, action If you set these up as a macro in your remote it feels a bit like long wait, but for example the marmitex remotes work the same (home button, device number, action) but then you manually press them, so your not waiting, feels faster somehow ;) [/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