Does/has anyone ever tried to create a script that runs continuously monitoring the health voltage, and at a specified voltage execute a graceful shutdown of the system? I have venue where we need to create a WI-FI mesh network for an event, but there is no readily available source of electricity. I have several RB 411s running on 12 volt batteries and I want to shut the AP down before the batteries are damaged from too deep a discharge cycle. Any help or examples would be greatly appreciated.
:if ( $TempDiff >= 1 ) do={ :log info (“Environment: Last Temperature was $TempLast C. Actual Temperature is $TempAct C.”) }
:if ( $VoltDiff >= 1 ) do={ :log info (“Environment: Last Voltage was $VoltLast V. Actual Voltage is $VoltAct V.”) }
Hi all …
I want to ask, could we create a script to monitor the voltage and send alarms to the Telegram?
Namely:
Enter the VoltAlarmMAX and VoltAlarmMIN script variables
to find out the current voltage
The script will sense the voltage at 10 intervals when it detects a drop below VoltAlarmMIN sends a message, then begins monitoring and each time it drops by 0.5Volt, it sends a message with current voltage, (example: WARNING, power failure - current voltage is xyVolt), and It will send it until the power comes on, ie If the voltage level is bigger to or equal to VoltAlarmMAX, then it sends a message (example: Power restored - current voltage is xyVolt), no more messages are sent, only if the voltage drops below VoltAlarmMIN, and the cycle repeats …