I am trying to set up MQTT access for my Glow CAD and pull it into Home Assistant (HassOS, rather than HASSIO etc). Hildebrand have kindly switched on MQTT for me. I have followed the guides and thought I had the config correct, but any HA sensor I create using the data is simply displaying "unknown".
My Mosquitto config looks like this:
and my glow.conf file (which is in \share\mosquitto\ as it is HassOS) looks like this:
topic SMART/HILD/XXXXXX in 0
remote_clientid unique cliend id
In my mosquitto log I have:
1618579742: Loading config file /share/mosquitto/glow.conf
1618579742: mosquitto version 1.6.3 starting
1618579742: Config loaded from /etc/mosquitto.conf.
1618579742: Loading plugin: /usr/share/mosquitto/auth-plug.so
1618579742: |-- *** auth-plug: startup
1618579742: ├── Username/password checking enabled.
1618579742: ├── TLS-PSK checking enabled.
1618579742: └── Extended authentication not enabled.
1618579742: Opening ipv4 listen socket on port 1883.
1618579742: Opening ipv6 listen socket on port 1883.
1618579742: Opening websockets listen socket on port 1884.
1618579742: Opening ipv4 listen socket on port 8883.
1618579742: Opening ipv6 listen socket on port 8883.
1618579742: Opening websockets listen socket on port 8884.
1618579742: Warning: Mosquitto should not be run as root/administrator.
1618579742: Connecting bridge glowmqtt (glowmqtt.energyhive.com:8883)
So the last line here looks like Mosquitto is connecting to glowmqtt. But what am I doing wrong?
Any help appreciated!
This is a redacted version of what I've got in my Mosquitto bridge (in /etc/mosquitto/conf.d/glowmarkt.conf)
That republishes every JSON message that comes in on SMART/HILD/AABBCCDDEEFF.
please test with a command line client like mosquito_sub
I have just tested your feed and it is fine
mosquitto_sub -d -v -h glowmqtt.energyhive.com -u $brightuser -P $brightpass -t "SMART/HILD/$yourmac"
make sure you are using your correct bright credentials