project-alice-assistant / HermesLedControl

Provides an easy way to control your leds in an Hermes environment
GNU General Public License v3.0
83 stars 41 forks source link

Mqtt port !!!! #101

Closed arpagor62970 closed 3 years ago

arpagor62970 commented 3 years ago

The bug A clear and concise description of what the bug is. in line 46 of /home/pi/hermesLedControl_v2.0.13/models/engines/rhasspy.py we have : 46 configs['mqttPort'] = conf['mqtt'].get('port', 12183) The port is constantly set and poses a problem for users who have changed it !!! the modification to be made is: 46 configs['mqttPort'] = conf['mqtt'].get('port', '')

Bye Arpagor

Psychokiller1888 commented 3 years ago

.get(foo, bar) tries to get foo from the list and returns bar if the key is not found...