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

Add support for 0x4e2a aka VOX electronics IVA5-12JR wall mounted AC #608

Open
davidpanic opened this issue Jul 31, 2021 · 1 comment
Open

Comments

@davidpanic
Copy link

davidpanic commented Jul 31, 2021

This device is not strictly a broadlink device, but it does use their protocol.

I found that out because it is doing DNS queries to my pihole instance with the following FQDNs:

  • 20010activ.ibroadlink.com
  • cn-fwversions.ibroadlink.com
  • whiomplatform.hwcloudtest.cn
  • 10tcp.broadlink.com.cn
  • 10backup.broadlink.com.cn
  • 10main.broadlink.com.cn

All of the below testing was done in a docker container that was set up like this:

docker run -it --rm --net=host ubuntu
$ apt update
$ apt install python3 python3-pip wget
$ pip install broadlink
$ wget -O /bin/broadlink_discovery https://raw.githubusercontent.com/mjg59/python-broadlink/822b3c326631c1902b5892a83db126291acbf0b6/cli/broadlink_discovery
$ wget -O /bin/broadlink_cli https://raw.githubusercontent.com/mjg59/python-broadlink/822b3c326631c1902b5892a83db126291acbf0b6/cli/broadlink_cli
$ chmod +x /bin/broadlink_*

The CLI discovers the device on my local network as follows:

$ broadlink_discovery
Discovering...
###########################################
Unknown
# broadlink_cli --type 0x4e2a --host 172.16.10.178 --mac c8f7425fe477
Device file data (to be used with --device @filename in broadlink_cli) : 
0x4e2a 172.16.10.178 c8f7425fe477

Running any further commands leads to nowhere:

$ broadlink_cli --type 0x4e2a --host 172.16.10.178 --mac c8f7425fe477 --learn
Traceback (most recent call last):
  File "/usr/bin/broadlink_cli", line 131, in <module>
    dev.enter_learning()
AttributeError: 'device' object has no attribute 'enter_learning'

Home assistant reports the device as unsupported:

2021-07-31 18:40:46 ERROR (MainThread) [homeassistant.components.broadlink.config_flow] Unsupported device: 0x4e2a. If it worked before, please open an issue at https://github.com/home-assistant/core/issues
@danielchalmers
Copy link

the ASW-H12U3/JIR1DI-US and ASW-H36U2/LFR1DI-US in my house have the same code 0x4e2a, which seems to be covered by #520

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

2 participants