manymuch / Xgimi-4-Home-Assistant

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

Failed to connect xgimi halo+ v0.0.5 #13

Closed evd1ser closed 9 months ago

evd1ser commented 1 year ago

Hello! I can't to connect my projector xgimi halo+ (XK03H) to Home assistant.

name: XK03H // custom name
host: 192.168.1.31 // projector host in router local network
token: "143FCB9335F278FFFFFF3043524B544D" // found token in https://github.com/manymuch/Xgimi-4-Home-Assistant/issues/5#issuecomment-1508169353
Снимок экрана 2023-04-27 в 19 17 23

plugin version: v0.0.5 Home Assistant 2023.4.6 Supervisor 2023.04.1

what's wrong?

manymuch commented 1 year ago

Make sure the projector is on before using UI setup. If you still failed to setup through UI, try to use mannual setup in configuration.yaml. BTW, it seems that some xgimi projector does not respond to port 554, issue#11.
I am considering removing the alive_checking during UI setup. If you success with the mannual setup, could you check that the on/off status responed correctly?

mayongze commented 1 year ago

Make sure the projector is on before using UI setup. If you still failed to setup through UI, try to use mannual setup in configuration.yaml. BTW, it seems that some xgimi projector does not respond to port 554, issue#11. I am considering removing the alive_checking during UI setup. If you success with the mannual setup, could you check that the on/off status responed correctly?

h3s did not open port 554

evd1ser commented 1 year ago

Make sure the projector is on before using UI setup.

Yes it is on and I can ping it by my pc

If you still failed to setup through UI, try to use mannual setup in configuration.yaml.

I try to add manual, with different tokens - but no command not work

h3s did not open port 554

Ok, and how i can open it? adb is connected to projector successfully...

adb connect 192.168.1.31
already connected to 192.168.1.31:5555
manymuch commented 1 year ago

@evd1ser Do you mean all command(including poweroff, volumeup ...) not working? AFAIK, the adb connectivity is only available on international firmware of xgimi, if you can use adb, you could also try HA official android TV integration

gaetabno commented 1 year ago

I have same Issue. I can't use configuration.yaml, HA show me an indentation

Screenshot 2023-05-16 alle 01 43 32
dE1l commented 12 months ago

Have same problem with Halo+ - "Failed to connect" from UI

Added manual to configuration.yaml this:

remote:
  - platform: xgimi
    name: Halo
    host: 192.168.0.44
    token: "143FCB9335F278FFFFFF3043524B544D"

And trying to sent this command:

service: remote.send_command
data:
    command: volumeup
target:
    entity_id: remote.halo

And it don't have result... What debug information i can get for you?

image
shitforcode commented 11 months ago

@evd1ser Do you mean all command(including poweroff, volumeup ...) not working? AFAIK, the adb connectivity is only available on international firmware of xgimi, if you can use adb, you could also try HA official android TV integration

The issue with that solution is you cannot turn on the Xgimi via Bluetooth. I think International users need this integration for the Bluetooth magic to wake the Xgimi up and then use the regular google tv providers. I got it working on a Horizon Ultra Pro 4k international using the manual setup.

latel commented 10 months ago

same here, image

I cannot see port 554 either

~ sudo nmap -Pn 10.10.10.109 
Password:
Starting Nmap 7.94 ( https://nmap.org ) at 2024-01-22 12:57 CST
Nmap scan report for 10.10.10.109
Host is up (0.022s latency).
Not shown: 994 closed tcp ports (reset)
PORT      STATE SERVICE
7001/tcp  open  afs3-callback
7002/tcp  open  afs3-prserver
7100/tcp  open  font-service
8080/tcp  open  http-proxy
11111/tcp open  vce
49152/tcp open  unknown
liangfyx commented 10 months ago

V0.6同样问题,但手动添加后可以调用服务

latel commented 10 months ago

V0.6同样问题,但手动添加后可以调用服务

开机也行吧,我开机还是用不了

manymuch commented 10 months ago

Please try v0.0.7.