I don’t think this is in the default firmware already.
any plans to implement the same in default firmware ?
@yuxin.zou can you have a check?
guys do we have any update on this please.
@alzhao , @yuxin.zou
We will develop this feature, but not soon. Around the second half of the year.
Is it possible to also develop a feature to switch off all radio signals, including LTE signal, when the device is on “standby mode” ? Currently, when on standby, only wifi signal is switched off but LTE remains active which consumes considerable battery, which defeats the purpose of “standy” mode.
This is also discussed on other threads, but no clear answer is given.
This feature along with auto-shutdown will be two great additions of power management on hopefully upcoming 4.2 update.
Appreciated
Putting this in the feature requrest again. There was discussion and finally decided to keep the modem active. But need to check if the reason is still valid.
Im also interested in using the xe 300 as a vehicle hotspot, among other uses. One thing I don’t like is that I have to manually turn it off every time I turn the ignition off, since my vehicle’s power outlets turn off after 5 minutes. It would be nice if there was a whole config page to determine power on and off conditions.
Noob here. How do I modify auto-off. Sh script? Do I need a plugin to do that? Are there any prerequisites?
It is a sh script. So need to ssh to the router, modify and test.
I don’t know how to do code. Is there an official guide on how to get auto power off functionality? I would like my device to automatically power off after 15 minutes of no clients being detected. But only on battery mode. When my vehicle shuts off, the USB port turns off as well so this drains the battery unless I manually turn it off which I normally forget to do. This really needs to be a configurable setting in my view.
I’m also interested on this on Puli device to use in car.
@robotluo Please can you also include this feature in version 4.x. Thanks in advance.
@yuxin.zou please can you help us by including this feature in version 4.x for mudi E750 as it is still under development.
All older products will be upgraded to version 4.3.2, which will not include new features.
This feature should be added in future version.
Add workaround to add a script that survives sysupgrade:
For example, the target script is
/root/power_save.sh
- edit /etc/rc.local to add script call
vi /etc/rc.local
add this line:
sh /root/power_save.sh
- make the script survive sysupgrade:
echo -e “\n/root/power_save.sh” >>/etc/sysupgrade.conf
I’m interested in a way to not phisically shutdown the Mudi GL-E750 as well.
I’ve been trying with poweroff and halt through SSH but the modem come back to “Booting” state and gets stuck at it.
It’s incredible that even after 3 years of this discussion there isn’t a way too shutdown the modem through the html interface
If you use poweroff or halt command, the Linux actually halt, meaning it is not rebooting, not running. But does not power off the chipset.
If you have Firmware v4.x, pls try the following command to turn off. This should work for both E750V1 and E750V2
ubus call mcu cmd_json {\"poweroff\":\"1\"}
About Auto Power on when plugging power, E750V2 will NOT auto power on when plugging power.
@alzhao you’re the goat!!!
It works perfectly via ssh.
I send the command and after I checked 5 minutes later, even if it’s charging it was completely turned off.
Is there anyway to create a shortcut for this, let’s say, an HTML link to send the command instead of opening terminal and loving in from SSH?
or maybe a way to add a button or plug-in to the admin panel?
It would be nice to have this option as a default button on Admin Panel instead of just the reboot option.
But even if it’s not a way for making it simpler, thanks a lot!!!
#!/bin/sh
CONTROLLER_PATH="/usr/lib/lua/luci/controller/mcu.lua"
VIEW_PATH="/usr/lib/lua/luci/view/mcu/index.htm"
mkdir -p /usr/lib/lua/luci/controller
mkdir -p /usr/lib/lua/luci/view/mcu
cat << 'EOF' > "$CONTROLLER_PATH"
module("luci.controller.mcu", package.seeall)
function index()
entry({"admin", "mcu"}, template("mcu/index"), _("MCU Control"), 60).dependent = true
entry({"admin", "mcu", "poweroff"}, call("action_poweroff"), _("Power Off"), 61)
end
function action_poweroff()
local result = os.execute("ubus call mcu cmd_json '{\"poweroff\":\"1\"}'")
luci.http.redirect(luci.dispatcher.build_url("admin/mcu"))
end
EOF
cat << 'EOF' > "$VIEW_PATH"
<h2>MCU Control</h2>
<form action="{{url('admin/mcu/poweroff')}}" method="post">
<input type="submit" value="Power Off" />
</form>
EOF
echo "Button installed successfully."
Try this script. Run it from /tmp folder. It will create button in LuCi. To login to LuCi https://your-routers-ip/cgi-bin/luci