deiger / AirCon

Scripts for controlling Air Conditioners, e.g. with HiSense modules.
GNU General Public License v3.0
216 stars 58 forks source link

Dcoumentation update request #182

Open Alby247 opened 2 years ago

Alby247 commented 2 years ago

In the Home Assistant add on documentation it specifies:

app:

  • username: App user name password: App password code: App code log_level: One of DEBUG, INFO, WARNING, ERROR, CRITICAL. Default is INFO. mqtt_host: IP address (or localhost). mqtt_user: User name for MQTT server. Remove if no authentication is used. mqtt_pass: Password for MQTT server. Remove if no authentication is used. port: Port number for the web server.

This last line seemed to me to logically be the mqqt broker port since it's there with the other mqqt info, but after much trial and error I discovered it won't connect with the port set to 1883 (my Mosquitto mqqt broker port), I used 1886 which works.

Could this be clarified a little to prevent future users from making the same mistake I did? There is no indication of what the web server is, or indeed any mention of it elsewhere - a few words to explain what it's for would be very helpful.

OlePZ9 commented 2 years ago

In the Home Assistant add on documentation it specifies:

app:

  • username: App user name password: App password code: App code log_level: One of DEBUG, INFO, WARNING, ERROR, CRITICAL. Default is INFO. mqtt_host: IP address (or localhost). mqtt_user: User name for MQTT server. Remove if no authentication is used. mqtt_pass: Password for MQTT server. Remove if no authentication is used. port: Port number for the web server.

This last line seemed to me to logically be the mqqt broker port since it's there with the other mqqt info, but after much trial and error I discovered it won't connect with the port set to 1883 (my Mosquitto mqqt broker port), I used 1886 which works.

Could this be clarified a little to prevent future users from making the same mistake I did? There is no indication of what the web server is, or indeed any mention of it elsewhere - a few words to explain what it's for would be very helpful.

I can confirm, a change to Port 1886 lets it work. Thanks for your comment!