GROTT_CONFIG_MQTT_HOST: unbound variable
I would like to ask for help. I installed Grott Beta branch (2.8) on HA app. I managed to get communication with ShineLan adapter.
:35:48] ERROR: Got unexpected response from the API: Service not enabled ********************************************************************************** - Grott - libscrc not installed, no CRC checking only record validation on length! ********************************************************************************** Grott Growatt logging monitor : 2.8.3 Grott process configuration file Grott process environmental variables Pulled 'ginvtype=default' from the environment Pulled 'gnomqtt=True' from the environment Grott override settings if set in commandline Grott process json layout files Grott proxy mode started ********************************************************************************** - Grott - libscrc not installed, no CRC checking only record validation on length! ********************************************************************************** Hostname : 8ce4abae-grott-beta IP : 172.30.33.6 , port : 5279 - Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.6', 49474), raddr=('47.91.67.66', 5279)> - Growatt packet received: <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.6', 5279), raddr=('192.168.88.8', 1026)> - Growatt packet received: <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.6', 5279), raddr=('192.168.88.8', 1026)> - Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.6', 49474), raddr=('47.91.67.66', 5279)> - Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.6', 49474), raddr=('47.91.67.66', 5279)> - Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.6', 49474), raddr=('47.91.67.66', 5279)>
But when I try to run...
The Grorr app dosn'r started. In log show: ERROR: Got unexpected response from the API: Service not enabled
`s6-rc: info: service base-addon-banner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service base-addon-log-level: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service base-addon-log-level successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started [16:17:41] INFO: Preparing to start... [16:17:42] ERROR: Got unexpected response from the API: Service not enabled ./script.sh: line 244: GROTT_CONFIG_MQTT_HOST: unbound variable s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped
I have MQTT Mosquitto running and I'm running HA. What am I doing wrong?
Same issue here. Will keep an eye on this.
Try to do REBOOT Home Assistant. Shubble help
Turns out it was an issue with MQTT broker. Thank you!
@murray888 What specifically was your issue? I'm getting this error too and am trying to figure out what's going wrong
I had the same issue, after some HA restart the Grott Add-on was unable to start, and got the next errors during Grott container init:
[16:31:36] INFO: Preparing to start...
[16:31:36] ERROR: Got unexpected response from the API: Service not enabled
./script.sh: line 253: GROTT_CONFIG_MQTT_HOST: unbound variable
After restart the MQTT broker (Mosquitto broker Addon) and try to start again the Grott Addon the issue was solved.