Hisense AEH-W4A1

For heating/cooling related questions in Domoticz

Moderator: leecollings

Post Reply
10thUnicorn
Posts: 5
Joined: Saturday 01 September 2018 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Hisense AEH-W4A1

Post by 10thUnicorn »

Hey, folks.
Someone tried to connect air conditioners with WiFi module AEH-W4A1 (Hisense, Ballu, etc)
Looking for any information :)
Spoiler: show
Image
zabinskiwojciech
Posts: 79
Joined: Thursday 16 May 2019 16:23
Target OS: Linux
Domoticz version: 4.10776
Location: Warszawa
Contact:

Re: Hisense AEH-W4A1

Post by zabinskiwojciech »

Hello. Did you manage to do something about Hisense? I have also tried to scan Wireshark network but it did not help. I wrote to support hisense but silence.
Greetings.
10thUnicorn
Posts: 5
Joined: Saturday 01 September 2018 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Hisense AEH-W4A1

Post by 10thUnicorn »

Hello.
I dropped out of the topic of home automation for a while :(
The other day I accidentally came across "python module and client for Hisense AEH-W4A1 wifi module" by Davide Varricchio https://github.com/bannhead/pyaehw4a1
I tried to write a plugin using it. But apparently Domoticz is not friends with "asyncio", I had to rewrite the module a little.
You can see the result here https://github.com/x-th-unicorn/domoticz-aeh-w4a1
For three days in a row, the plugin worked without failures with my air conditioner "Ballu BSAGI-09HN1-17Y-01".
I invite you to join the test ;)
zabinskiwojciech
Posts: 79
Joined: Thursday 16 May 2019 16:23
Target OS: Linux
Domoticz version: 4.10776
Location: Warszawa
Contact:

Re: Hisense AEH-W4A1

Post by zabinskiwojciech »

I will test this weekend, thank you very much.
zabinskiwojciech
Posts: 79
Joined: Thursday 16 May 2019 16:23
Target OS: Linux
Domoticz version: 4.10776
Location: Warszawa
Contact:

Re: Hisense AEH-W4A1

Post by zabinskiwojciech »

However, I could not stand and uploaded the plugin today but it is flawing. I have Domoticz 4.11391 so maybe there is a problem. I can't raise to 4.2020 because I have it on Ubuntu 16.04 LTS and my VM does not support higher versions.

2020-06-02 21:35:54.970 Error: (aehw4a1) failed to load 'plugin.py', Python Path used was '/home/zaber/domoticz/plugins/domoticz-aeh-w4a1/:/usr/lib/python35.zip:/usr/lib/python3.5/:/usr/lib/python3.5/plat-x86_64-linux-gnu:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2020-06-02 21:35:54.970 Error: (Klimatyzator) Module Import failed, exception: 'SyntaxError'
2020-06-02 21:35:54.970 Error: (Klimatyzator) Import detail: File: /home/zaber/domoticz/plugins/domoticz-aeh-w4a1/dz_aehw4a1/aehw4a1.py, Line: 40, offset: 60
2020-06-02 21:35:54.970 Error: (Klimatyzator) Error Line ' raise ConnectionError(f"Unknown device {self._host}")
2020-06-02 21:35:54.970 '
2020-06-02 21:37:02.822 Error: Klimatyzator hardware (30) thread seems to have ended unexpectedly
2020-06-02 21:37:16.827 Error: Klimatyzator hardware (30) thread seems to have ended unexpectedly
zabinskiwojciech
Posts: 79
Joined: Thursday 16 May 2019 16:23
Target OS: Linux
Domoticz version: 4.10776
Location: Warszawa
Contact:

Re: Hisense AEH-W4A1

Post by zabinskiwojciech »

I've added permissions for the file - chmod + x plugin.py but it didn't help.
maybe i need some python add-on for pip3
zabinskiwojciech
Posts: 79
Joined: Thursday 16 May 2019 16:23
Target OS: Linux
Domoticz version: 4.10776
Location: Warszawa
Contact:

Re: Hisense AEH-W4A1

Post by zabinskiwojciech »

However, we have to wait with the tests, I started checking and it turned out that for two months I stopped pinging the air conditioner. I need to check what happened, the air conditioner works, I restarted it but still doesn't respond to pings ...
10thUnicorn
Posts: 5
Joined: Saturday 01 September 2018 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Hisense AEH-W4A1

Post by 10thUnicorn »

I Rewritten without the use of Literal String Interpolation (PEP 498)
It should now work on Python 3.5
We can continue testing, I think I'm starting to understand python :)
10thUnicorn
Posts: 5
Joined: Saturday 01 September 2018 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Hisense AEH-W4A1

Post by 10thUnicorn »

zabinskiwojciech wrote: Wednesday 03 June 2020 7:12 However, we have to wait with the tests, I started checking and it turned out that for two months I stopped pinging the air conditioner. I need to check what happened, the air conditioner works, I restarted it but still doesn't respond to pings ...
I also had this happen a couple of times, once it was enough to turn off the power to the air conditioner for a couple of hours, the second time I had to connect it to WiFi again
zabinskiwojciech
Posts: 79
Joined: Thursday 16 May 2019 16:23
Target OS: Linux
Domoticz version: 4.10776
Location: Warszawa
Contact:

Re: Hisense AEH-W4A1

Post by zabinskiwojciech »

I only have such a problem that for almost a year I do not want to work this manufacturer's app for pairing, hi-smart life.
I will come home from work and fight this air conditioner ;-)
10thUnicorn
Posts: 5
Joined: Saturday 01 September 2018 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Hisense AEH-W4A1

Post by 10thUnicorn »

My air conditioner was set up with this app https://play.google.com/store/apps/deta ... d&hl=en_US
But, on Android 9 it can't get data, last time I managed to configure it from an old tablet with Android 4.4 was in December.
zabinskiwojciech
Posts: 79
Joined: Thursday 16 May 2019 16:23
Target OS: Linux
Domoticz version: 4.10776
Location: Warszawa
Contact:

Re: Hisense AEH-W4A1

Post by zabinskiwojciech »

but I guess I won't be able to do anything because my module refused to work. shows me to pair but doesn't connect to my wifi. the phone connects to the AP emitted by the AC and that's it.
zabinskiwojciech
Posts: 79
Joined: Thursday 16 May 2019 16:23
Target OS: Linux
Domoticz version: 4.10776
Location: Warszawa
Contact:

Re: Hisense AEH-W4A1

Post by zabinskiwojciech »

Hello. I have been testing for a long time and everything works, I only have a problem with A / C modules because when I have a wifi module and an IR module connected, my wifi freezes. recently after updating linux and Domoticz crashes me errors from the plug from time to time, but everything works.
2021-01-09 00:48:41.956 Error: (Klima) AC (192.168.1.131) unavailable
maybe you know how to disable such logs in plugins because I have two more plugins and they are banging with errors but they work.
magmac
Posts: 1
Joined: Saturday 07 October 2017 11:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Hisense AEH-W4A1

Post by magmac »

For now - this plugin doesn't work. Still the same info in log:
2021-01-28 15:52:35.384 Error: (K1) AC (192.168.100.251) unavailable
Original app HiSmart Life is working, I can ping AC, it is in the same subnet.

Plugin installed manually or via Python Plugin Manager.

Domoticz is up to date.

When I set debug mode to on, I receive messages like this:
2021-01-28 15:55:27.269 (K1) Pushing 'onHeartbeatCallback' on to queue
2021-01-28 15:55:27.288 (K1) Processing 'onHeartbeatCallback' message
2021-01-28 15:55:27.289 (K1) Calling message handler 'onHeartbeat'.
2021-01-28 15:55:27.289 (K1) onHeartbeat called
2021-01-28 15:55:27.289 (K1) Poll unit
2021-01-28 15:55:27.387 Error: (K1) AC (192.168.100.251) unavailable
also I did chmod +x on plugin.py and several times restarted domoticz.

Any ideas what is wrong?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests