manymuch / Xgimi-4-Home-Assistant

XGIMI integration for home assistant
MIT License
161 stars 21 forks source link

Problems with mainland China xgimi H3 projector, UDP commands not recognized in latest firmware + BLE 'switchon' not working #10

Closed netweaver1970 closed 1 year ago

netweaver1970 commented 1 year ago

Hi, I'm using -bought via a Chinese friend- an H3 projector with full Chinese firmware in Europe. This firmware is not switchable to English and there seems no Internation firmware available for it. It also contains only Mandarin oriented VoD pay-per-view services.

Today, I have installed the latest version of the integration and I managed to use the switchoff command in the remote service call from HA, to actually switch off the projector. So far so go. Alas, switching on using BLE, using the -in the python code- hardcoded manufacturer code didn't work.

While I was at it, I saw there was a firmware upgrade available, I was still on a very old version, so I decided to upgrade. After the upgrade, switching off using the HA service call doesn't work any more, as it seems the command supplied via UDP is now being fed -underwater- to a voice subsystem. And the voice subsystem seems to understand only Mandarin (as kind of expected). This is what appears when sending the switchoff command: image

The coloured bars in the middle were moving, as if the projector was indeed listening for voice commands. This could be consistently repeated.

Maybe the UDP commands need to be translated in Mandarin to work in this newest version of the firmware? And the BLE switching doesn't work in the older nor latest firmware. So the -one size fits all- hardcoded entry might not be enough.

Any ideas? Thanks.

netweaver1970 commented 1 year ago

grrr, just saw now it's poweroff ... will try again quickly and update the ticket.

netweaver1970 commented 1 year ago

yep, mea culpa, 'poweroff' works :). I'll close this ticket and update the main ticket for my non-working BLE 'poweron'