Replies: 1 comment
-
Hello rofo69, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been struggling to find any information on this on the web.
Chatgpt sent me down a rabbit hole and suggested that if I add these keys to the NVS editor I could sent MQTT messages to HA:
mqtt_enabled = true
mqtt_broker = <YOUR_HOME_ASSISTANT_IP>
mqtt_port = 1883
mqtt_user = <YOUR_MQTT_USERNAME>
mqtt_password = <YOUR_MQTT_PASSWORD>
And then change a button mapping like so:-
{"gpio": 5, "type": "BUTTON_LOW", "pull": true, "normal": {"pressed": "MQTT:homeassistant/squeezelite/button/playpause"}},
This appears to make the device attempt to connect to my MQTT broker, but I get an error saying I am sending a null username and password.
Also, using serial debugging, its complaining about the button config saying:
[0;33mW (2899) config: Value not found for key MQTT:homeassistant/squeezelite/button/playpause
Is what I am trying even possible ?
Beta Was this translation helpful? Give feedback.
All reactions