I managed to activate the ADB, and tried to add it to configuration.yaml as androidtv but I was not successful, his android is version 6.0 and does not have an updated play store / play services (but I can install apk).
Hey. Were you able to achieve the HASS integration for your projector? Also, after updating my project’s UI, I’m unable to find how to switch to ADB, any tips?
Thanks in advance.
There is no way to power on the xgimi projector through this integration. The integration communicates with xigimi projector by UDP, once the projector is powered off, the only way to wake it up is using the bluetooth remote. However, I can not find any relevant threads about how to simulate the bluetooth remote.
But there is a walk around: you can setup auto start on power plugin in XGIMI settings, and then use a smart power plug to power on the projector.
“Does this require enabling the ADB on the projector? "
No, it communite with the projector through UDP.
" After firmware update the ADB option is no longer available.”
Yes, thats exactly the reason I develop this integration.
If you can update to latest system, it is available in setting->advanced mode.
In some early system, start-on-power-on mode setting is in factory mode, here is tutorial in chinese to get into factory mode: https://www.touying.com/t-41902-1.html
briefly, go to system info page, and then hold LEFT button on remote but for me, Z6X, is UP button, you may give it a try.
In an even earlier system, unfortunately, there is no such a setting, it is possible to install an android apk that enable start-on-power-on.
Also, is there a way to implement the status of the projector? The one I’m looking for is to be able to tell whether it’s in the speaker mode (shutter closed) or projector mode (shutter open)?
Currently I can not find such a API, the power on/off status is achieved by check if the IP is reachable. I would update to this post if I figure this out.
So I’ve decided to reverse my home theater automation logic. Instead of hoping to control the projector with automation, I let the projector trigger my automation.
Before we’d do a voice command “Hey, Siri” or “Ok, Google” (my wife and I are part of different subculture , - “Movie Mode”. this would lower the projector screen, turn off the lights we don’t want and dim the wall light for ambience. (the ambient light turns off when we press “play”, and turns back on if we “pause” or “stop”).
My projector, however, has a manual shutter, so we’d still need to manually open it.
Now. I added Sonoff S31 plug, which reads power consumption of the projector. Plotting the graph of the power consumption, makes it clear when the projector is - off, on speaker mode (= shutter closed), on video mode (= shutter open).
So, now, when we open shutter i.e. “Movie mode”, all of my lights and projector screen do their thing. When I close it - I exit “Movie mode”. I added a few seconds of delay to execute automation to take care of debouncing.