I finally got working my self-hosted gBridge on a RPi3. It works great on the way from Google Assistant to my MQQT server, but I’m having trouble updating the Assistant’s perception of the device’s state when its state changes by any other means than using Google Assistant or Google Home. For example, if I turn off the device using a different MQQT client, Google Assistant continues to think that the device is still on.
I know the state topic is the right one - It’s the same as the command topic but with a trailing “set” at the end. I can also see the MQTT message being posted on the state topic with the correct value. I’ve tried “on”/“off” and “1”/“0” for values, but it makes no difference.
Has anyone experienced something similar? If so, how did you go around troubleshooting it? I’m not sure of the best way to start. I’m fairly sure it’s something on my side, but I can’t see where in the docker-compose.yaml I may have missed an entry specific to posting state updates to Google…