Arbuzov / hass-broadlink-ac-mqtt

Home Assistant broadlink MQTT addon repository
Apache License 2.0
30 stars 7 forks source link

Connection fail #9

Open marcoahp opened 2 years ago

marcoahp commented 2 years ago

This is my log. What is the problem? successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun broadlink-ac-mqtt (no readiness notification) s6-rc: info: service legacy-services successfully started Starting Monitor... Authentication Failed to AC init() should return None, not 'bool' Stopping Starting Monitor... Authentication Failed to AC init() should return None, not 'bool' Stopping

oopiicaa commented 2 years ago

Can you post your config?

marcoahp commented 2 years ago

service: daemon_mode: true update_interval: 10 self_discovery: false bind_to_ip: false mqtt: host: core-mosquitto port: 1883 client_id: ac_to_mqtt user: mqtt-user passwd: password topic_prefix: /aircon auto_discovery_topic: homeassistant auto_discovery_topic_retain: false discovery: false devices:

oopiicaa commented 2 years ago

You have successfully paired your AC to AC Freedom app, right?

marcoahp commented 2 years ago

Yes

oopiicaa commented 2 years ago

Difference from yours to mine:

self_discovery: true
discovery: true

Although I don't think it will make any difference. I had many issues with this integration and I think one of them was similar to yours (don't remember if it was exactly the same). Maybe try to have your name written without any spaces and make sure that mac is written in lowercase (if you have letters in uppercase now). Again not sure if this is problem at all. Idk to be honest - someone else will have to help you :)

marcoahp commented 1 year ago

If I set self_discovery and discovery to true I get other error:

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun broadlink-ac-mqtt (no readiness notification) s6-rc: info: service legacy-services successfully started Starting Monitor... Stopping something went wrong, no devices found Starting Monitor... Stopping something went wrong, no devices found Starting Monitor... Stopping something went wrong, no devices found Starting Monitor...

nicopereira commented 1 year ago

I had this issue, and it was solved resetting the unit on AC Freedom. Delete device from ACF Then start the add process to send wifi config to AC, but dont continue to add the device to ACF This solved it for me.

marcoahp commented 1 year ago

I had this issue, and it was solved resetting the unit on AC Freedom. Delete device from ACF Then start the add process to send wifi config to AC, but dont continue to add the device to ACF This solved it for me.

Yes. But then, can you use AC Freedom too?