LEDs blinking on Airlite

You have a question or need an advice about how to do something? Ask it here!
Post Reply
rwijnen
Posts: 17
Joined: 30 Dec 2016 21:24
LEDs blinking on Airlite

Post by rwijnen »

Now I nearly got it all setup

All the Ctrl switches from the airlite (eg 1-16) are routed correctly and play the carts that I want.

To make it handy I am using two cardwalls for two rows of buttons from each 8 carts

As I set the following command:
OnCartPlay
EXEC_SEND_DRAIRLITE_REMOTEON 7|1
EXEC_SEND_DRAIRLITE_SETLEDBLINK ${cartid}|1|2|2

This works great for the first row on the airlite (1-8 row A). It plays the cart and blinks red-green-fast.

But the second row on the airlite (1-8 B) won't blink, when I start Ctrl switch 9 it does play CW2 Cart 1 but it blinks at Ctrl switch 1. So number 9 does trigger play and pause but doesnt show the blinking LED (it blijks at number 1)

I am confused, can't find anything relating in the GPIO mapping either.

Am I missing out on some command or routing?
rwijnen
Posts: 17
Joined: 30 Dec 2016 21:24
Re: LEDs blinking on Airlite

Post by rwijnen »

Bernd, you are fantastic!

That did the trick.

Would it be interesting if I post my layout on the forum? Since now I have a configuration with two working cartwalls being triggered on the airlite?
User avatar
radio42
Site Admin
Posts: 6451
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: LEDs blinking on Airlite

Post by radio42 »

You can use the following macro in your above command to simply add a value of 8 to your ${cartid} for the Cartwall2 commands:

Code: Select all

*[TOINT:{${cartid}}:{add}:{8}]
So the full command for Cartwall1.OnCartPlay would be:

Code: Select all

EXEC_SEND_DRAIRLITE_SETLEDBLINK *[TOINT:{${cartid}}:{add}:{8}]|1|2|2

Post Reply