Community discussions

MikroTik App
 
xandor
newbie
Topic Author
Posts: 39
Joined: Wed Mar 30, 2005 6:29 pm

LED COMMAND...

Wed Mar 29, 2006 10:56 am

HI,
I can't found LED command on scripting list... I use RB532 board. Any idea?

Regards
Xandor
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Mar 29, 2006 11:30 am

There is 'blink',
and you may set 'blink duration=10'.
 
xandor
newbie
Topic Author
Posts: 39
Joined: Wed Mar 30, 2005 6:29 pm

Wed Mar 29, 2006 11:41 am

HI,
But for enable led1, led2, led3, etc...

Regards
Xandor
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Mar 29, 2006 11:44 am

You can use Ether1,Ether2, Ether3.
'interface ethernet blink ether1'.
 
xandor
newbie
Topic Author
Posts: 39
Joined: Wed Mar 30, 2005 6:29 pm

Wed Mar 29, 2006 11:50 am

HI,
I need to enable led onboard to RB532, in your script exampèle I have found it:

[admin@MikroTik] > :
beep execute global list pick time toip typeof
delay find if local put toarray tonum while
do for led log resolve tobool tostr
environment foreach len nothing set toid totime
[admin@MikroTik] >

If you see led command is present, instead isn't present into my RB532.

I have to add any new package on RB532 for obtain it?

Regards
 
xandor
newbie
Topic Author
Posts: 39
Joined: Wed Mar 30, 2005 6:29 pm

Wed Mar 29, 2006 12:10 pm

HI again,
I need to use wireless interfaces and not ethernet.
In wireless blink command isn't available.
I need a script for associate radio signal level to inside led on RB532.
Idea can be:

No signal:
/sys scheduler set 0 on-event="/blink duration=100ms" interval=1s

-95 to -90
/sys scheduler set 0 on-event="/blink duration=250ms" interval=1s

-90 to -85
/sys scheduler set 0 on-event="/blink duration=400ms" interval=1s

-85 to -80
/sys scheduler set 0 on-event="/blink duration=500ms" interval=1s

-80 to -75
/sys scheduler set 0 on-event="/blink duration=750ms" interval=1s

-75 or less:
/sys scheduler set 0 on-event="/blink duration=1s" interval=1s

But I need support for connect this script to radio signal level of wireless interface

Regards