Sendo A/C unit with Wifi Control (BroadLink_OEM-T1)

Really? Why cant i set fixation_v ? Is this a limitation of the integration, or something else?

Guys I made a complete tutorial on how to set it up here: Broadlink AC Integration (AUX, Dunham, Rcool, Akai, Rinnai, Kenwood, Tornado, Ballu)

2 Likes

I just set this up and thought I would share the pitfalls I fell into.

I am running the docker (https://github.com/broadlink-ac/broadlink_ac_mqtt_docker) on unraid and connecting it to HASSOS running in a VM. I ahve a couple of rinnai AC units that are controllable with the AC freedom app.

Andremain’s guide was useful for trouble shooting. Thanks :slight_smile:

My pitfalls:

  • the config.yaml for the docker doesnt seem to parse passwords with symbols correctly. This prevented the docker from connecting to the MQTT broker. changing the password to alphanumeric characters resolved it.
  • My AC units werent being discovered. Using MQTT explorer I could see the docker was connected to the MQTT broker but no data was being passed. I assume this is due to having the AC units on a different vlan and UDP not being passed between the networks. Manually adding the devices to the dockers config.yaml didnt fix it. But thankfully someone earlier in this thread had solved the issue. Change self discovery to false. All sorted.

My last issue is getting the ac unit temp to appear as a sensor in home assistant. I can control them using love lace but want to do some basic datalogging. Still new to Home assistant.

Thanks to any and all that worked on the code to make this possible.

1 Like

I’ve set this up in docker desktop but from the logs it is just looping with these errors:
Set the network to host.
Uses this pull:
https://hub.docker.com/r/broadlinkac/broadlink_ac_mqtt/tags?page=1&ordering=last_updated

What am I missing?


Starting Monitor...


[Errno -3] Try again


Stopping


Starting Monitor...


hi, i know its a old post, but if u could, i need ur help, i have 2 ac unitsone buyed about 3-4 years ago whit broadlink wifi module,working perfectly whit ur script monitor.py
the other one,same model but newer, cant be discover, i tried mqtt explorer, i could see topics in /aircon but 0 topics from this one.
my question is, how could i know about topic i must search for new ac?
ty

Hi All, Please vote here for my idea:

Thanks!

1 Like

I also get this issue. I’m a new user. Tried installing it a few weeks ago .

monitor stop basicaly if cant find configuration or log file, or if cant found any ac
your ac works whit acfredoom?
look at propierties of ur ac in app and look if he shows and ip@port
if not probably u have newwer units and this script didnt work

Installation of PyCrypto keeps failing:

Installing collected packages: PyCrypto
    Running setup.py install for PyCrypto ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-toule5rt/pycrypto_8bfce04c62e84272ba9eee1456a7dcad/setup.py'"'"'; __file__='"'"'/tmp/pip-install-toule5rt/pycrypto_8bfce04c62e84272ba9eee1456a7dcad/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-han661ge/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/PyCrypto
         cwd: /tmp/pip-install-toule5rt/pycrypto_8bfce04c62e84272ba9eee1456a7dcad/
    Complete output (189 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-aarch64-3.9
    creating build/lib.linux-aarch64-3.9/Crypto
    copying lib/Crypto/__init__.py -> build/lib.linux-aarch64-3.9/Crypto
    copying lib/Crypto/pct_warnings.py -> build/lib.linux-aarch64-3.9/Crypto
    creating build/lib.linux-aarch64-3.9/Crypto/Hash
    copying lib/Crypto/Hash/MD4.py -> build/lib.linux-aarch64-3.9/Crypto/Hash
    copying lib/Crypto/Hash/SHA384.py -> build/lib.linux-aarch64-3.9/Crypto/Hash
    copying lib/Crypto/Hash/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/Hash
    copying lib/Crypto/Hash/RIPEMD.py -> build/lib.linux-aarch64-3.9/Crypto/Hash
    copying lib/Crypto/Hash/SHA256.py -> build/lib.linux-aarch64-3.9/Crypto/Hash
    copying lib/Crypto/Hash/HMAC.py -> build/lib.linux-aarch64-3.9/Crypto/Hash
    copying lib/Crypto/Hash/MD2.py -> build/lib.linux-aarch64-3.9/Crypto/Hash
    copying lib/Crypto/Hash/SHA512.py -> build/lib.linux-aarch64-3.9/Crypto/Hash
    copying lib/Crypto/Hash/SHA224.py -> build/lib.linux-aarch64-3.9/Crypto/Hash
    copying lib/Crypto/Hash/hashalgo.py -> build/lib.linux-aarch64-3.9/Crypto/Hash
    copying lib/Crypto/Hash/SHA.py -> build/lib.linux-aarch64-3.9/Crypto/Hash
    copying lib/Crypto/Hash/MD5.py -> build/lib.linux-aarch64-3.9/Crypto/Hash
    creating build/lib.linux-aarch64-3.9/Crypto/Cipher
    copying lib/Crypto/Cipher/blockalgo.py -> build/lib.linux-aarch64-3.9/Crypto/Cipher
    copying lib/Crypto/Cipher/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/Cipher
    copying lib/Crypto/Cipher/DES3.py -> build/lib.linux-aarch64-3.9/Crypto/Cipher
    copying lib/Crypto/Cipher/XOR.py -> build/lib.linux-aarch64-3.9/Crypto/Cipher
    copying lib/Crypto/Cipher/PKCS1_OAEP.py -> build/lib.linux-aarch64-3.9/Crypto/Cipher
    copying lib/Crypto/Cipher/Blowfish.py -> build/lib.linux-aarch64-3.9/Crypto/Cipher
    copying lib/Crypto/Cipher/ARC2.py -> build/lib.linux-aarch64-3.9/Crypto/Cipher
    copying lib/Crypto/Cipher/DES.py -> build/lib.linux-aarch64-3.9/Crypto/Cipher
    copying lib/Crypto/Cipher/AES.py -> build/lib.linux-aarch64-3.9/Crypto/Cipher
    copying lib/Crypto/Cipher/PKCS1_v1_5.py -> build/lib.linux-aarch64-3.9/Crypto/Cipher
    copying lib/Crypto/Cipher/CAST.py -> build/lib.linux-aarch64-3.9/Crypto/Cipher
    copying lib/Crypto/Cipher/ARC4.py -> build/lib.linux-aarch64-3.9/Crypto/Cipher
    creating build/lib.linux-aarch64-3.9/Crypto/Util
    copying lib/Crypto/Util/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/Util
    copying lib/Crypto/Util/RFC1751.py -> build/lib.linux-aarch64-3.9/Crypto/Util
    copying lib/Crypto/Util/randpool.py -> build/lib.linux-aarch64-3.9/Crypto/Util
    copying lib/Crypto/Util/_number_new.py -> build/lib.linux-aarch64-3.9/Crypto/Util
    copying lib/Crypto/Util/py3compat.py -> build/lib.linux-aarch64-3.9/Crypto/Util
    copying lib/Crypto/Util/asn1.py -> build/lib.linux-aarch64-3.9/Crypto/Util
    copying lib/Crypto/Util/Counter.py -> build/lib.linux-aarch64-3.9/Crypto/Util
    copying lib/Crypto/Util/winrandom.py -> build/lib.linux-aarch64-3.9/Crypto/Util
    copying lib/Crypto/Util/number.py -> build/lib.linux-aarch64-3.9/Crypto/Util
    creating build/lib.linux-aarch64-3.9/Crypto/Random
    copying lib/Crypto/Random/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/Random
    copying lib/Crypto/Random/_UserFriendlyRNG.py -> build/lib.linux-aarch64-3.9/Crypto/Random
    copying lib/Crypto/Random/random.py -> build/lib.linux-aarch64-3.9/Crypto/Random
    creating build/lib.linux-aarch64-3.9/Crypto/Random/Fortuna
    copying lib/Crypto/Random/Fortuna/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/Random/Fortuna
    copying lib/Crypto/Random/Fortuna/SHAd256.py -> build/lib.linux-aarch64-3.9/Crypto/Random/Fortuna
    copying lib/Crypto/Random/Fortuna/FortunaGenerator.py -> build/lib.linux-aarch64-3.9/Crypto/Random/Fortuna
    copying lib/Crypto/Random/Fortuna/FortunaAccumulator.py -> build/lib.linux-aarch64-3.9/Crypto/Random/Fortuna
    creating build/lib.linux-aarch64-3.9/Crypto/Random/OSRNG
    copying lib/Crypto/Random/OSRNG/fallback.py -> build/lib.linux-aarch64-3.9/Crypto/Random/OSRNG
    copying lib/Crypto/Random/OSRNG/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/Random/OSRNG
    copying lib/Crypto/Random/OSRNG/rng_base.py -> build/lib.linux-aarch64-3.9/Crypto/Random/OSRNG
    copying lib/Crypto/Random/OSRNG/posix.py -> build/lib.linux-aarch64-3.9/Crypto/Random/OSRNG
    creating build/lib.linux-aarch64-3.9/Crypto/SelfTest
    copying lib/Crypto/SelfTest/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest
    copying lib/Crypto/SelfTest/st_common.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest
    creating build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/common.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_DES3.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_Blowfish.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_ARC2.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_CAST.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_DES.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_AES.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_pkcs1_15.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_XOR.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_ARC4.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Cipher
    creating build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/common.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_MD2.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA512.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_HMAC.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA224.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA384.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA256.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_MD5.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_RIPEMD.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_MD4.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Hash
    creating build/lib.linux-aarch64-3.9/Crypto/SelfTest/Protocol
    copying lib/Crypto/SelfTest/Protocol/test_AllOrNothing.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Protocol
    copying lib/Crypto/SelfTest/Protocol/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Protocol
    copying lib/Crypto/SelfTest/Protocol/test_KDF.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Protocol
    copying lib/Crypto/SelfTest/Protocol/test_chaffing.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Protocol
    copying lib/Crypto/SelfTest/Protocol/test_rfc1751.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Protocol
    creating build/lib.linux-aarch64-3.9/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/test_importKey.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/test_ElGamal.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/test_RSA.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/test_DSA.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/PublicKey
    creating build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random
    copying lib/Crypto/SelfTest/Random/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random
    copying lib/Crypto/SelfTest/Random/test_random.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random
    copying lib/Crypto/SelfTest/Random/test__UserFriendlyRNG.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random
    copying lib/Crypto/SelfTest/Random/test_rpoolcompat.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random
    creating build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random/Fortuna
    copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random/Fortuna
    copying lib/Crypto/SelfTest/Random/Fortuna/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random/Fortuna
    copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random/Fortuna
    copying lib/Crypto/SelfTest/Random/Fortuna/test_SHAd256.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random/Fortuna
    creating build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random/OSRNG
    copying lib/Crypto/SelfTest/Random/OSRNG/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random/OSRNG
    copying lib/Crypto/SelfTest/Random/OSRNG/test_fallback.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random/OSRNG
    copying lib/Crypto/SelfTest/Random/OSRNG/test_winrandom.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random/OSRNG
    copying lib/Crypto/SelfTest/Random/OSRNG/test_generic.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random/OSRNG
    copying lib/Crypto/SelfTest/Random/OSRNG/test_nt.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random/OSRNG
    copying lib/Crypto/SelfTest/Random/OSRNG/test_posix.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Random/OSRNG
    creating build/lib.linux-aarch64-3.9/Crypto/SelfTest/Util
    copying lib/Crypto/SelfTest/Util/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Util
    copying lib/Crypto/SelfTest/Util/test_Counter.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Util
    copying lib/Crypto/SelfTest/Util/test_winrandom.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Util
    copying lib/Crypto/SelfTest/Util/test_number.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Util
    copying lib/Crypto/SelfTest/Util/test_asn1.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Util
    creating build/lib.linux-aarch64-3.9/Crypto/SelfTest/Signature
    copying lib/Crypto/SelfTest/Signature/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Signature
    copying lib/Crypto/SelfTest/Signature/test_pkcs1_pss.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Signature
    copying lib/Crypto/SelfTest/Signature/test_pkcs1_15.py -> build/lib.linux-aarch64-3.9/Crypto/SelfTest/Signature
    creating build/lib.linux-aarch64-3.9/Crypto/Protocol
    copying lib/Crypto/Protocol/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/Protocol
    copying lib/Crypto/Protocol/KDF.py -> build/lib.linux-aarch64-3.9/Crypto/Protocol
    copying lib/Crypto/Protocol/AllOrNothing.py -> build/lib.linux-aarch64-3.9/Crypto/Protocol
    copying lib/Crypto/Protocol/Chaffing.py -> build/lib.linux-aarch64-3.9/Crypto/Protocol
    creating build/lib.linux-aarch64-3.9/Crypto/PublicKey
    copying lib/Crypto/PublicKey/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/PublicKey
    copying lib/Crypto/PublicKey/_DSA.py -> build/lib.linux-aarch64-3.9/Crypto/PublicKey
    copying lib/Crypto/PublicKey/_slowmath.py -> build/lib.linux-aarch64-3.9/Crypto/PublicKey
    copying lib/Crypto/PublicKey/ElGamal.py -> build/lib.linux-aarch64-3.9/Crypto/PublicKey
    copying lib/Crypto/PublicKey/DSA.py -> build/lib.linux-aarch64-3.9/Crypto/PublicKey
    copying lib/Crypto/PublicKey/_RSA.py -> build/lib.linux-aarch64-3.9/Crypto/PublicKey
    copying lib/Crypto/PublicKey/RSA.py -> build/lib.linux-aarch64-3.9/Crypto/PublicKey
    copying lib/Crypto/PublicKey/pubkey.py -> build/lib.linux-aarch64-3.9/Crypto/PublicKey
    creating build/lib.linux-aarch64-3.9/Crypto/Signature
    copying lib/Crypto/Signature/__init__.py -> build/lib.linux-aarch64-3.9/Crypto/Signature
    copying lib/Crypto/Signature/PKCS1_PSS.py -> build/lib.linux-aarch64-3.9/Crypto/Signature
    copying lib/Crypto/Signature/PKCS1_v1_5.py -> build/lib.linux-aarch64-3.9/Crypto/Signature
    Skipping optional fixer: buffer
    Skipping optional fixer: idioms
    Skipping optional fixer: set_literal
    Skipping optional fixer: ws_comma
    running build_ext
    running build_configure
    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    configure: error: in `/tmp/pip-install-toule5rt/pycrypto_8bfce04c62e84272ba9eee1456a7dcad':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-toule5rt/pycrypto_8bfce04c62e84272ba9eee1456a7dcad/setup.py", line 456, in <module>
        core.setup(**kw)
      File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/usr/lib/python3.9/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/lib/python3.9/distutils/command/install.py", line 546, in run
        self.run_command('build')
      File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/usr/lib/python3.9/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-toule5rt/pycrypto_8bfce04c62e84272ba9eee1456a7dcad/setup.py", line 251, in run
        self.run_command(cmd_name)
      File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-toule5rt/pycrypto_8bfce04c62e84272ba9eee1456a7dcad/setup.py", line 278, in run
        raise RuntimeError("autoconf error")
    RuntimeError: autoconf error
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-toule5rt/pycrypto_8bfce04c62e84272ba9eee1456a7dcad/setup.py'"'"'; __file__='"'"'/tmp/pip-install-toule5rt/pycrypto_8bfce04c62e84272ba9eee1456a7dcad/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-han661ge/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/PyCrypto Check the logs for full command output.
➜  ~

Any idea why?

Looks like you are missing the c compiler or at least the path to it. I would run the installer for gcc to see it will resolve that issue. If gcc is installed then adding the installed location to the path environment variable should do it.

Thanks, I’m pretty new to this so I’m trying to make sense of it all.
I’ve noticed that I do not have gcc. Can you point me to how to run the installer?

PS.
I’m running this install on a Raspberry 4b:
haos_rpi4-64-7.0.img.xz (github.com)

Yeah I get the same other than the Errno -3 error code. My aircon doesn’t use the ACFreedom app, rather the Home Comfort app, but thought I’d try it out as it uses a Broadlink Wifi chip as well.

All I receive via MQTT is the value “online” but I’m not sure whether that’s just the script/container that’s online or whether its an aircon.

Starting Monitor...

something went wrong, no devices found

Stopping

Starting Monitor...

something went wrong, no devices found

Stopping

is it possible to make an integration with the help of this homebridge integration

I am also asking for help

We need this integration because many AC brands use the same app

Hello!
Maybe my code will help you.

I reversed AUX-based air conditioner protocol and made esphome component.
It is possible to drive AC from Home Assistant with DIY dongle (simple esp8266/esp32 + DC-DC + couple resistors).

Component source code is published on github.

How do I convert the temperature back to Fahrenheit?

Hi, thanks for the good work. In the AC Freedom app we can see the actual internal temperature of the room. Is it available in HA as a sensor?

Hi, Makis. Yes you can. For details see readme on github.

1 Like

Can’t get it to work does not show up in MQTT Explorer. Running Docker on synology [broadlinkac/broadlink_ac_mqtt:latest] and Running MQTT [eclipse-mosquitto]

`
service:
daemon_mode: True
update_interval: 10
self_discovery: True
bind_to_ip: False

mqtt:
host: 192.168.1.106
port: 1883
client_id: ac_to_mqtt
user: *****
passwd: **********
topic_prefix: /aircon
auto_discovery_topic: homeassistant
auto_discovery_topic_retain: False
discovery: True

##Devices
devices:

  • ip: 192.168.1.194
    mac: A0:43:B0:AA:F1:22
    name: BL-aa-f1-22
    port: 80
    `