Page 1 of 1

Control the fan from a script in RouterOS 7.1(*) on RB493G

Posted: Sun Mar 13, 2022 6:33 am
by shuum
Hello everyone, I updated the operating system on my rb493g to router 7.1 (exactly the same as in 7.1.3) and the following scripts stopped working for me:
/system health get active-fan
/system health set use-fan="auxiliary"
What is interesting :shock: is that now these items are simply not in the section in which they were before:
/system/health> /system health print
Columns: NAME, VALUE, TYPE
#  NAME         VALUE  TYPE
0  voltage      13.3   V   
1  temperature  50     C   
2  fan1-speed   0      RPM 
Please tell me how can I control the fan from a script in RouterOS 7.1 on RB493G? Thanks.

Re: Control the fan from a script in RouterOS 7.1(*) on RB493G

Posted: Mon Mar 14, 2022 9:44 am
by Elans
Have you tried:
"
system/health/settings/get active-fan
system/health/settings/set use-fan=auxiliary
"

Re: Control the fan from a script in RouterOS 7.1(*) on RB493G

Posted: Mon Mar 14, 2022 1:42 pm
by shuum
Great Thanks! All work fine :D

For check in console:
:put [system/health/settings/get active-fan];

Re: Control the fan from a script in RouterOS 7.1(*) on RB493G

Posted: Wed Aug 09, 2023 12:44 pm
by FuscaSoftware
Hello,

I am not feeling the command above is changing anything. I need a solution my fans will not run on full speed because of these wrong sfp-module-temperature.
mikrotik_overheated_sfp_dac_2023-08_#2.png
Have anybody an idea?

Re: Control the fan from a script in RouterOS 7.1(*) on RB493G

Posted: Wed Aug 09, 2023 12:51 pm
by rextended
Yes, open your own topic, this is about 7.1 and 7.10 act differently.