Domi04151309 / HomeApp

HomeApp is a small and easy to use smart home app with a simple framework.
https://f-droid.org/packages/io.github.domi04151309.home/
GNU General Public License v3.0
106 stars 24 forks source link

Unable to Access Router Settings #46

Open moriel5 opened 2 years ago

moriel5 commented 2 years ago

Hello, while I am still not an actual user of this app (that may happen once I set up Home Assistant at our house), I have tried to evaluate Home App multiple times in the past with simple HTML-based devices, namely routers, without any success, and I had just tried it again, without any new results.

I have tried accessing the settings of:

Xiaomi Mi3 (Rev.1), running PandoraBox and X-Wrt (Chinese OpenWrt distro that is actually vanilla OpenWrt Nightly, down to the package sources)

Xiaomi Mi3G, PandoraBox (will flash vanilla OpenWrt when I have the time)

Netgear DM200, running vanilla OpenWrt (I need to update it, it's from last year)

Linksys WRT32X, running vanilla OpenWrt (I need to update it, it's from last year)

TP-Link W8970 V2, running latest stock firmware

OEM D-Link DSL-2740U, running latest OEM firmware

TP-Link RE200 V1, running latest stock firmware

Other than that, I am pretty excited about Home App (It would be nice to be able to control our air conditioners, however the manufacturer (Tadiran) was lazy with those and outsourced the wireless tech to some random company, and we're not going to install the malware that is recommended for them (I have run a few tests on the APK) (especially since we are used to using the bundled remotes (I am more interested in connecting them to an isolated network to prevent unwanted connections to them)), so figuring out how they even they even work will take time (the recommended malware requires an account with some random Chinese company)).

Domi04151309 commented 2 years ago

Have you selected the "Website" mode? What do you mean by "unable to access"? Does it show you a white page or does it not load at all? Can you provide an error message or a more detailed description?

moriel5 commented 2 years ago

I'm sorry about not properly detailing my issue, perhaps I was half asleep at the time (not definite, I don't remember).

I may have missed it, however I saw no "Website" mode option.

Regarding the actual result, I just got a white screen, nothing else.

Update: I found what you had meant, in the per-device settings in the app. "Website" is the default mode, and as such was already selected.

cweiske commented 2 years ago

I have the "white page" problem with a Shelly Plus 1 (v2) device and the Android Emulator for v25. Shelly v1 devices work fine, Shelly v2 do not. When trying it on my Android 10 phone both are fine. So it looks like a bug in the underlying Android web view component, and newer Android versions work better.

moriel5 commented 2 years ago

I personally have tested this from several Android devices, mostly from custom ROMs, but also some stock ROMs.

Nexus 4 - CrDroid - Android 7.1.2 - Google WebView Nexus 4 - CrDroid - Android 7.1.2 - Bromite WebView HiSense Sero 7 Pro - AOSP - Android 6.0 - AOSP WebView HiSense Sero 7 Pro - AOSP - Android 6.0 - Google WebView HiSense Sero 7 Pro - AOSP - Android 6.0 - Bromite WebView LG G3 D855 - LineageOS - Android 7.1.2 - LineageOS WebView Razer Phone 2 - Stock - Android 9 - Google WebView

I have had the same results in each case, and via different WebView Browsers (Lightning Browser, SmartCookieWeb, Via) I can access and configure the Routers' settings just fine.

moriel5 commented 2 years ago

As (unfortunately) expected, version 1.8 does not change anything.

I'll see if I can use a relative who has a Xiaomi Redmi 8 (Note?) Pro, running stock MIUI which is based upon Android 10 and see.