Hi everyone, I’ve run into a problem.
I can receive mqtt select messages from homeassistant in node-red, but I manually send the mqtt select options in node-red to the same topic.
The options in the homeassistant interface do not change. What do I need to do in node-red to update the mqtt select options in the homeassistant interface?
[{"id":"b27e51db2a1c7ba2","type":"inject","z":"d6dab6684def383d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"Option 1","payloadType":"str","x":700,"y":640,"wires":[["a7c54f09216456f6"]]},{"id":"0368492f07d720ee","type":"inject","z":"d6dab6684def383d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"Option 2","payloadType":"str","x":700,"y":680,"wires":[["a7c54f09216456f6"]]},{"id":"c379fc32bbd22114","type":"mqtt in","z":"d6dab6684def383d","name":"","topic":"test/select/topic","qos":"2","datatype":"auto-detect","broker":"fabdf67036b6902f","nl":false,"rap":true,"rh":0,"inputs":0,"x":700,"y":740,"wires":[["abe1c2f9a9203ade"]]},{"id":"a7c54f09216456f6","type":"mqtt out","z":"d6dab6684def383d","name":"","topic":"test/select/topic","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"fabdf67036b6902f","x":880,"y":660,"wires":[]},{"id":"abe1c2f9a9203ade","type":"debug","z":"d6dab6684def383d","name":"debug 16","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":880,"y":740,"wires":[]},{"id":"fabdf67036b6902f","type":"mqtt-broker","name":"","broker":"localhost","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""}]
Any help would be greatly appreciated!