Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i/o timeout on the AC device #52

Open
romfreiman opened this issue May 27, 2024 · 3 comments
Open

i/o timeout on the AC device #52

romfreiman opened this issue May 27, 2024 · 3 comments

Comments

@romfreiman
Copy link

Trying to run the integration, but seems that it failing to connect to the AC. Not sure whether it has different protocol version? something else?

{"time":"2024-05-27T07:04:19.001619917Z","level":"ERROR","source":{"function":"github.com/ArtemVladimirov/broadlinkac2mqtt/app/webClient.(*webClient).SendCommand","file":"/go/src/broadlinkac/app/app/webClient/client.go","line":43},"msg":"Failed to read the response","err":"read udp 192.168.3.24:43333->192.168.3.21:80: i/o timeout"}
{"time":"2024-05-27T07:04:19.001819383Z","level":"ERROR","source":{"function":"github.com/ArtemVladimirov/broadlinkac2mqtt/app/service.(*service).SendCommand","file":"/go/src/broadlinkac/app/app/service/service.go","line":720},"msg":"failed to send a command","err":"read udp 192.168.3.24:43333->192.168.3.21:80: i/o timeout","device":"e811576872fc","input":{"Payload":"WqWqVVqlqlUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADL7wAAKk5lAAni6BZWaHL8AAAAAKHDAABFNFLn+S7alYNEkwg175pt+2ktw3C5BEOsXNY/u1Ot+giBTKf4z0FxADKOVww7hslNBXCESaOJ4prhBFQ2oFvd3ALBYa8TJeh+GbD30c4GjQ==","Ip":"192.168.3.21","Port":80}}
{"time":"2024-05-27T07:04:19.001907338Z","level":"ERROR","source":{"function":"github.com/ArtemVladimirov/broadlinkac2mqtt/app/service.(*service).AuthDevice","file":"/go/src/broadlinkac/app/app/service/service.go","line":137},"msg":"failed to send command","err":"read udp 192.168.3.24:43333->192.168.3.21:80: i/o timeout","input":{"Mac":"e811576872fc"}}
{"time":"2024-05-27T07:04:19.001944908Z","level":"ERROR","source":{"function":"main.(*App).Run.func1","file":"/go/src/broadlinkac/app/main.go","line":162},"msg":"failed to Auth device e811576872fc. Reconnect in 3 seconds...","err":"read udp 192.168.3.24:43333->192.168.3.21:80: i/o timeout"}

config,yml:
devices:

  • ip: 192.168.3.21
    mac: E811576872FC
    name: Childroom AC
    port: 80

    Temperature Unit defines the temperature unit of the device, C or F.

    If this is not set, the temperature unit is Celsius.

    temperature_unit: C

`~/tmp/tf> sudo nmap -sU -p80 192.168.3.21
Starting Nmap 7.93 ( https://nmap.org ) at 2024-05-27 13:37 IDT
Nmap scan report for AC_SMT-68-72-fc (192.168.31.21)
Host is up (0.050s latency).

PORT STATE SERVICE
80/udp open|filtered http
MAC Address: E8:11:57:68:72:FC (Hangzhou BroadLink Technology)

Nmap done: 1 IP address (1 host up) scanned in 0.68 seconds`

I do have a dedicated app running on my phone and it works fine

Thanks

@antonbelov92
Copy link

Got the same issue

@juanmijm
Copy link

juanmijm commented Oct 6, 2024

I don't know if it has anything to do with it, but according to the documentation the mac is in lowercase

@Coleslav
Copy link

Facing same issue, got mac address lower cased. I spoke with guy which has same AC with that functionality working. He gave me advice to kill pair process on mobile phone right after device connect to wifi but without any results. Did you solve it somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants