Reply to thread

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:

SequenceStepTime how many second the plugin will wait for following number commands before resetting waiting for a new sequence trigger.

LevelStep The percenta increase or decrease when command 3 (increase) and 4 (decrease) are given

SequenceTriggerCommand 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 ;)


Top Bottom