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

Access RS485 Modbus interface on AZAI6WSCDKB #18

Open
AG7GN opened this issue Apr 12, 2022 · 0 comments
Open

Access RS485 Modbus interface on AZAI6WSCDKB #18

AG7GN opened this issue Apr 12, 2022 · 0 comments

Comments

@AG7GN
Copy link

AG7GN commented Apr 12, 2022

gpulido,

Thank you for all the work you've done for this library. I really appreciate it.

On 2022-01-31, you posted a comment to a user in homeassisant-airzone regarding the use of the Airzone AZAI6WSCDKA:

Hello, This component at this moment uses the python-airzone library that only consumes localapi or modbus integration as it has been developed to not need any external conection (cloud connection). The cloud integration is on the list of things to add as soon I have some spare time, also as I don't own a cloud capable device I have to rely on the documentation to implement it.

However, I think that the AZAI6WSCDKB could be controlled using a rs485 and the modbus protocol, you will only need a raspi zero and a usb to rs485 device to make it work locally and it is more reliable than the cloud or the localapi integration. If you want to try such route, I can provide the info to make it work.

I have the AZAI6WSCDKB WiFi module attached to a Daikin FTXS12LVJU mini-split head. I am interested in controlling the head via the RS485 Modbus interface on the AZAI6WSCDKB as you mention in your comment. I've connected the A/B pins on the WiFi module to my RS485-USB adapter plugged into a Raspberry Pi and I'm using your modbus bridge. Using your airzone_cli.py script, I'm not able to retrieve anything from the WiFi module.

The output is as follows (pi-modbus-bridge is the Pi running your Modbus Bridge script):

$ ./airzone_cli.py pi-modbus-bridge 5020
WriteRegisterResponse 4 => 100

/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/airzone/innobus.py:186: DeprecationWarning: Call to deprecated function get_zones (use property).
  zs = "\n".join([str(z) for z in self.get_zones()])

Machine with id: 1Zones: 

The Pi is listening on TCP port 5020 and I know the port is open.

Can you provide additional information for making this work?

Thank you.

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

1 participant