Closed danobot closed 5 years ago
QR and Face detection require that you have Google Play services installed, sounds like you do not have that, or the version you have does not include those libraries. The camera stream will also not work as it uses the library to create MJPEG stills for the HTTP streaming camera.
I have no experience with Android Go, but I am guessing there is a setup issue or an issue with that particular OS that is causing some incompatibility issues. I know that MQTT is working as expected, but someone did file another report that the HTTP commands were not working.
For your MQTT setup be sure you are using just the IP address for the broker, no http prefix.
The HTTP streaming services works, I tested it on an Pixel phone running Android 9.
http://hasbian:8123/states isn't a command, its published information that is sent as a MQTT message. The only thing you listed that would work under normal conditions is http://10.1.1.8:2971/camera/stream.
For QR and face detection, I will try to install Google Play services. If it does not work, then that is fine as it is a limitation of my device. Im more concerned about getting either MQTT or HTTP api to work.
I have set up MQTT on dozens of IoT devices before. The host is just the IP address (without http or port). The default port is used.
I am reporting issues on this device, I have no doubt that HTTP streaming services work on other devices. What is odd is that the device is capable of hosting a HTTP server (as vlaidated with a different app)
Where did you get the hasbian:8123 URL from? I didn't report anything about hasbian.
kitchen
in my case is the device name of the tablet. I thought maybe WallPanel would advertise its DNS name (was worth a try as I was running out of ideas.).
Is there any way to get logs from the device or enable debug mode?
I think maybe Android Go has Google Play services, but they might be reduced, so they are missing the machine learning libraries. I am certain MQTT works on non Go Android devices, so I am sure I can offer you any support for your issue.
The issues you are reporting are not an application bugs, they are incompatibility issues with Android GO. In addition to Google Play service libraries, its also possible that the HTTP server and MQTT libraries used by the app are missing something required to work properly.
The only thing I can do is test the app on Android Go, but I don't have that device so I would need to setup an emulator to test. I use Firebase and Crashlytics for issue reporting, there are no logs generated unless there is an actual crash. If you want you can compile the application from source code using Android Studio and see the full log output.
For my command statement, I was referring to these two links:
http://10.1.1.8:2971/api/state http://kitchen:2971/api/state
There is no command to fetch the states from the device. So those would not achieve anything. The commands are listed in the command section of the documentation. https://github.com/thanksmister/wallpanel-android#mqtt-and-http-commands.
Only our camera stream would be valid, if that is the IP address of your device:
http://10.1.1.8:2971/camera/stream
But as I stated, you were missing the Google Play services to support using the camera for motion and video. If you unselect motion, QR, Face detection options in the settings, can you then see the camera? This might mean that there is an incompatible camera library. I am not using Camera2 libraries, the newest, so just wondering if Android Go actually requires Camera2 and doesn't have backwards support.
All good questions, but absent testing on Android Go, I am just guessing as to the possible issues.
According to Google, Android Go is an optimized version of Android Oreo or 8.1. If you see an app in the play store, it should be an indication that the app is already optimized for Android Go.
https://android-developers.googleblog.com/2017/12/welcoming-android-81-oreo-and-android.html
There is no current way to test specifically for Android Go devices without a physical devices. You test for Android Orea, which the app has been tested for. There is no present way for me to duplicate the issues you are experiencing. I am not sure they are specifically related to Android Go or maybe some device settings.
@danobot Did you get Wallpanel running on Android Go?
No, i found an alternative. Android Go is very restrictive as its supposed to be lightweight for low-spec devices.
Yeah, Android Go is a no go....
@danobot What alternative, I have a need for a very cheap android device to work as a keyboard for our alarmsystem? I mean Go is stripped down, and some of the advanced features of wallpanel will not work, but mqtt?, not much advanced in that :-)
Fire tablets are pretty cheap.
@fribse Fully Kiosk App
My Android tablet is running Android Go 8.1.0. The latest version is installed. Android Go is a stripped down version of Android that runs on cheaper tablet devices with low-spec hardware (the type of table people would use as a wall panel)
Describe the bug There are a few issues:
HTTP API Not Working The HTTP API is not working. I installed another app that runs a simple webserver and confirmed that the device allows access on different ports. I tried changing the port number and enabling/disabling the HTTP API. The device is connected to internet and I am attempting to access it on the local network. TO test, I tried to access:
MQTT API not working I entered
ubuntu
and left the default port 1883. My MQTT server does not require credentials, so I left them blank. Checking the MQTT server logs shows that WallPanel is not even attempting to connect to the broker.QR code and Face detection Issue When entering the test camera mode it shows a toast saying that some required libraries are not available. (Is there any way around this?)
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context This is a brand new tablet, clean installation with all available OS updates installed. I would be happyto assist testing or provide more information such as logs.