Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing required option 'mqtt_user' in HiSense Air Conditioners #112

Open
blademckain opened this issue Jun 15, 2021 · 4 comments
Open

Missing required option 'mqtt_user' in HiSense Air Conditioners #112

blademckain opened this issue Jun 15, 2021 · 4 comments

Comments

@blademckain
Copy link

Hi, all
I installed the addon through hassio, following this guide:
In the HomeAssistant UI, enter Supervisor → Add-on Store.
Click ⋮ menu → Repositories.
Add https://github.com/deiger/AirCon to the list.
Choose HiSense Air Conditioner and install it.

I modified the configuration file as I attach in this photo, but on saving I get the indicated error
aircon_error

@kisjeth
Copy link

kisjeth commented Nov 6, 2021

Use the format visible in documentation

@crispy78
Copy link

crispy78 commented May 15, 2022

I'm adding to this issue because I have the same issue.
My config is:

log_level: INFO
mqtt_host: 10.25.10.9
mqtt_user: null
mqtt_pass: null
port: 1883
app:
  - username: f***************@**********.***
    password: *******************************
    code: fglair-eu

I have removed mqtt_user and mqtt_pass because my MQTT-server doesn't require credentials, they'll be added with "null" whenever I save the config. I'm using FGLair and I've entered my credentials. When I start the addon it'll display: "Missing required option 'mqtt_user' in HiSense Air Conditioners". I'm running Home Assistant Core 2022.5.4, Home Assistant Supervisor 2022.05.1, Home Assistant OS 7.6, HiSense Air Conditioners version: 0.3.10

UPDATE #1: I've added a username and password to the config (homeassistant) hoping my MQTT-server would allow a login attempt even though no credentials are needed, the addon has started and has found one device. Now I have to overcome the E0515 12:49:20.297 notifier.py:117] [KeepAlive] Sending local_reg failed: 403

UPDATE #2: I've changed the AC-unit to another WiFi (same ip-range I use for HA), assigned a fixed IP and removed the .json file in the config/hisense folder, so it had to reinitiate the unit again. Eventually I got it to work. Installation isn't as easy as the manual sort of implies.

@Alby247
Copy link

Alby247 commented Jul 22, 2022

This may or may not be relevant to your install but I can't get my a/c unit to connect to HA if I specify port 1883 (which is my Mosquitto mqqt broker port). It connects if I use a different port eg 1886.

That port in the hisense config is specifying a web server port of some kind not the mqqt broker port as set in HA. No idea what the web server does.

It would be great if the documentation was improved, I wasted hours on this. A single line in the docs that said "This port is a web server port used for [whatever reason] not the mqqt broker port" would save a lot of grief.

@kisjeth
Copy link

kisjeth commented Jul 24, 2022

This may or may not be relevant to your install but I can't get my a/c unit to connect to HA if I specify port 1883 (which is my Mosquitto mqqt broker port). It connects if I use a different port eg 1886.

That port in the hisense config is specifying a web server port of some kind not the mqqt broker port as set in HA. No idea what the web server does.

It would be great if the documentation was improved, I wasted hours on this. A single line in the docs that said "This port is a web server port used for [whatever reason] not the mqqt broker port" would save a lot of grief.

I don't know why, but my only working config is with port 8888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants