AirCon icon indicating copy to clipboard operation
AirCon copied to clipboard

Entity AC Hisense AEH-W4E1 is unavailable

Open mmitocariu opened this issue 2 years ago • 7 comments

Hello. I have a problem integrating the Hisense AEH-W4E1 air conditioner. I installed and configured the Mosquitto Broker and HiSense Air Conditioners add-ons. Air conditioning can be controlled via HTTP commands (example: "http://192.168.1.128:8888/hisense/command?property=t_power&value=ON"), but the status of the entity is "Unavailable". Where did I go wrong?

Configuration.yaml climate: #Midea air

  • platform: midea_ac host: 192.168.1.175 id: 123456789012345

#HiSense

  • platform: mqtt name: AC Hisense unique_id: ca2c4fa28273 availability:
    • topic: hisense_ac/LWT
    • topic: hisense_ac/ca2c4fa28273/available/status precision: 1 temperature_unit: C current_temperature_topic: hisense_ac/ca2c4fa28273/f_temp_in/status fan_mode_command_topic: hisense_ac/ca2c4fa28273/t_fan_speed/command fan_mode_state_topic: hisense_ac/ca2c4fa28273/t_fan_speed/status fan_modes:
    • auto
    • lower
    • low
    • medium
    • high
    • higher mode_command_topic: hisense_ac/ca2c4fa28273/t_work_mode/command mode_state_topic: hisense_ac/ca2c4fa28273/t_work_mode/status modes:
    • "off"
    • fan_only
    • heat
    • cool
    • dry
    • auto swing_mode_command_topic: hisense_ac/ca2c4fa28273/t_fan_power/command swing_mode_state_topic: hisense_ac/ca2c4fa28273/t_fan_power/status swing_modes:
    • "on"
    • "off" temperature_command_topic: hisense_ac/ca2c4fa28273/t_temp/command temperature_state_topic: hisense_ac/ca2c4fa28273/t_temp/status max_temp: 30 min_temp: 16 send_if_off: false

Mosquitto_Broker Hisense_add_on Hisense_1 Hisense_2 Hisense_3 config_achisense.json.txt

mmitocariu avatar Jun 06 '22 05:06 mmitocariu

Hello

I have your same module and your same configuration, it is also not available to me. Have you found a solution?

addons gives me the following errors:

Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/app/aircon/main.py", line 304, in asyncio.run(run(parsed_args)) File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run return loop.run_until_complete(main) File "/usr/local/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete return future.result() File "/app/aircon/main.py", line 253, in run query_status_worker(devices), notifier.start(session)) File "/app/aircon/main.py", line 153, in setup_and_run_http_server await site.start() File "/usr/local/lib/python3.7/site-packages/aiohttp-3.7.4-py3.7-linux-aarch64.egg/aiohttp/web_runner.py", line 128, in start reuse_port=self._reuse_port, File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1389, in create_server % (sa, err.strerror.lower())) from None OSError: [Errno 98] error while attempting to bind on address ('::', 1883, 0, 0): address already in use

manuele84 avatar Jun 17 '22 17:06 manuele84

same here image

Giorgio-Zarantonello avatar Jun 19 '22 00:06 Giorgio-Zarantonello

if it helps, I set port 8888 and now everything works.

by mistake I entered the broker's port 1883.

manuele84 avatar Jun 19 '22 19:06 manuele84

i have also 8888 , setted separated user and password can't see the issue would you help me ? i'm italian too

Giorgio-Zarantonello avatar Jun 20 '22 19:06 Giorgio-Zarantonello

ho anche 8888, utente e password separati impostati non riesco a vedere il problema mi aiutereste? anche io sono italiano

Ci provo... Fammi vedere la configurazione dell'addon Hisense..

Il broker Mqtt ti funziona regolarmente?

manuele84 avatar Jun 21 '22 11:06 manuele84

I can confirm, port 8888 solve the problem

szmidtpiotr avatar Aug 05 '22 18:08 szmidtpiotr

+1 on 8888 to solve the problem. Documentation is unclear on what the port should be/purpose of it :). Happy to make changes to README if someone can help me understand what that port is for.

togume avatar Jul 26 '23 12:07 togume