nagyrobi / home-assistant-custom-components-linkplay

LinkPlay based media devices integration for Home Assistant.
170 stars 32 forks source link

Onelink Safe and Sound show unavailable #98

Closed theOrakle closed 2 years ago

theOrakle commented 2 years ago

I have 8 onelink devices and I'm struggling to get them connected. Any debugging tips?

Debug on info: 2022-11-04 20:56:54.201 WARNING (MainThread) [custom_components.linkplay.media_player] Failed communicating with LinkPlayDevice (start) '10.0.16.193': uuid: <class 'aiohttp.client_exceptions.ClientConnectorError'>

My config:

- platform: linkplay
  host: 10.0.16.193
  name: basement_onelink
  sources: {}

What the device looks like on the network:

root@sto-pi:~# nmap bas-onelink
Starting Nmap 7.80 ( https://nmap.org ) at 2022-11-04 18:11 CDT
Nmap scan report for bas-onelink (10.0.16.193)
Host is up (0.0093s latency).
rDNS record for 10.0.16.193: bas-onelink.14671.local
Not shown: 993 closed ports
PORT      STATE SERVICE
443/tcp   open  https
7000/tcp  open  afs3-fileserver
8080/tcp  open  http-proxy
8180/tcp  open  unknown
8888/tcp  open  sun-answerbook
8899/tcp  open  ospf-lite
49152/tcp open  unknown
MAC Address: 00:12:BL:AA:BL:AA (LinkSprite Technologies)
theOrakle commented 2 years ago

Home Assistant 2022.11.1

gabe@sto-pi:/tmp$ wget http://10.0.16.192:8080/httpapi.asp?command=getStatus
--2022-11-04 21:11:21--  http://10.0.16.192:8080/httpapi.asp?command=getStatus
Connecting to 10.0.16.192:8080... connected.
HTTP request sent, awaiting response... 470 Connection Authorization Required
2022-11-04 21:11:21 ERROR 470: Connection Authorization Required.

gabe@sto-pi:/tmp$ wget http://10.0.16.192:8888/httpapi.asp?command=getStatus
--2022-11-04 21:11:49--  http://10.0.16.192:8888/httpapi.asp?command=getStatus
Connecting to 10.0.16.192:8888... connected.
HTTP request sent, awaiting response... 403 Forbidden
2022-11-04 21:11:49 ERROR 403: Forbidden.
nagyrobi commented 2 years ago

They are likely not Linkplay A31.

theOrakle commented 2 years ago

Fair enough, just wanted a second opinion.

Thanks