gSpotx2f / luci-app-internet-detector

Internet detector for OpenWrt
Apache License 2.0
55 stars 23 forks source link

Incorrectly displayed form. #4

Closed 4IceG closed 2 years ago

4IceG commented 2 years ago

Hi :), I don't know if it's just for me, but the controls are shifted, as if they did not fit.

I still have a question. Can I add my own AT command to reset the modem in the application? @gSpotx2f And a little bit of privacy .. would you look at the code of my application? because I don't know how to work around a certain thing in LuCI JS. Internet detector .

gSpotx2f commented 2 years ago

UI fixes. If you need more custom commands, you can restart modem in User scripts -> down-script. Something like this:

mmcli -m any --command=AT+<command>
/etc/init.d/modemmanager restart

I don't know much about modems. I just stole commands from watchcat :)

4IceG commented 2 years ago

Ok, thanks for the hint :) I'll check it, although I don't use a modem manager.

@gSpotx2f gSpotx2f and could you take a look at my code in LuCI JS, my application and direct me to the solution? I wrote a simple app, but I'd like to improve it even more.