liaan / broadlink_ac_mqtt

Broadlink Air Conditioners to mqtt
MIT License
101 stars 44 forks source link

Can't discover any device #95

Closed cezarg1410 closed 2 years ago

cezarg1410 commented 2 years ago

Hello. My env is:

And no matter of config.yml the output is always the same: For

python3 monitor.py -S

the output is:

No devices found, make sure you are on same network broadcast segment as device/s

What is important: on the same machine i have another OS installed which is Ubuntu and there I use HA Core docker container. And there it works perfectly fine! My AC unit works like a charm. Here on debian: no way to setup it.

for the command

python3 monitor.py -d

The debug log is:

2022-04-18 10:59:10,926,926 DEBUG    [monitor.py:284] /home/*****/ha-home/acmqtt-home/broadlink_ac_mqtt/monitor.py v1.1.0 is starting up
2022-04-18 10:59:10,926,926 DEBUG    [monitor.py:286] Loglevel set to DEBUG
2022-04-18 10:59:10,929,929 DEBUG    [monitor.py:138] Checking if already running
2022-04-18 10:59:10,929,929 INFO     [monitor.py:342] Starting Monitor...
2022-04-18 10:59:10,929,929 DEBUG    [monitor.py:344] Starting mainloop, responding on only events
2022-04-18 10:59:10,929,929 DEBUG    [AcToMqtt.py:301] Coneccting to MQTT: localhost with client ID = ac_to_mqtt
2022-04-18 10:59:10,932,932 DEBUG    [AcToMqtt.py:490] Mqtt connected! client=<paho.mqtt.client.Client object at 0x7fc947b8bf70>, userdata=None, flags={'session present': 0}, rc=0
2022-04-18 10:59:10,932,932 DEBUG    [AcToMqtt.py:495] Listing on /aircon/+/+/set for messages
2022-04-18 10:59:10,932,932 DEBUG    [AcToMqtt.py:272] publishing on topic "/aircon/LWT", data "online"
2022-04-18 10:59:15,938,938 INFO     [monitor.py:169] Stopping

I will be very grateful for any help!

liaan commented 2 years ago

did you ever manage to get this sorted? if not, maybe some firewall or something?

cezarg1410 commented 2 years ago

Hello! Sorry - i forgot totally about that issue... I was able to solve it - the problem was related with firewall as You mentioned.

OskarKaptacz commented 1 year ago

Hello! Sorry - i forgot totally about that issue... I was able to solve it - the problem was related with firewall as You mentioned.

What exactly did you had to change in firewall settings?