MickMake / HomeAssistantAddons

MIT License
43 stars 26 forks source link

mqtt user error #30

Open copetogo opened 1 year ago

copetogo commented 1 year ago

So i have tried multiple things with mqtt user including hass.io, local ip but none of it seems to work. I am attaching the error log of the add on as well as config page snapshot. Token File: /data/.GoSungrow/AppService_login.json 2023/05/24 09:33:00 INFO: Found SunGrow 2 devices 2023/05/24 09:33:00 Option[homeassistant/select/GoSungrow/GoSungrow-option-mqtt_debug/cmd] set to 'enabled' 2023/05/24 09:33:00 MQTT[homeassistant/select/GoSungrow/GoSungrow-option-loglevel/state] -> info 2023/05/24 09:33:00 INFO: Option[loglevel] set to 'debug' 2023/05/24 09:33:00 MQTT[homeassistant/select/GoSungrow/GoSungrow-option-fetchschedule/config] -> {"command_template":"{{ value }}","command_topic":"homeassistant/select/GoSungrow/GoSungrow-option-fetchschedule/cmd","device":{"connections":[["GoSungrow","GoSungrow-options"],["GoSungrow-options","GoSungrow"]],"identifiers":["GoSungrow"],"manufacturer":"GoSungrow","model":"GoSungrow","name":"GoSungrow options - Options","suggested_area":"GoSungrow","sw_version":"GoSungrow https://github.com/MickMake/GoSungrow","via_device":"GoSungrow"},"enabled_by_default":true,"encoding":"utf-8","icon":"mdi:format-list-group","name":"GoSungrow Option Fetch Schedule","object_id":"GoSungrow-option-fetchschedule","options":["2m","3m","4m","5m","6m","7m","8m","9m","10m"],"retain":true,"state_topic":"homeassistant/select/GoSungrow/GoSungrow-option-fetchschedule/state","unique_id":"GoSungrow-option-fetchschedule","value_template":"{{ value }}"} 2023/05/24 09:33:00 MQTT[homeassistant/select/GoSungrow/GoSungrow-option-loglevel/state] -> debug 2023/05/24 09:33:01 MQTT[homeassistant/select/GoSungrow/GoSungrow-option-fetchschedule/state] -> 5m 2023/05/24 09:33:01 MQTT[homeassistant/select/GoSungrow/GoSungrow-option-sleepdelay/config] -> {"command_template":"{{ value }}","command_topic":"homeassistant/select/GoSungrow/GoSungrow-option-sleepdelay/cmd","device":{"connections":[["GoSungrow","GoSungrow-options"],["GoSungrow-options","GoSungrow"]],"identifiers":["GoSungrow"],"manufacturer":"GoSungrow","model":"GoSungrow","name":"GoSungrow options - Options","suggested_area":"GoSungrow","sw_version":"GoSungrow https://github.com/MickMake/GoSungrow","via_device":"GoSungrow"},"enabled_by_default":true,"encoding":"utf-8","icon":"mdi:format-list-group","name":"GoSungrow Option Sleep Delay After Schedule","object_id":"GoSungrow-option-sleepdelay","options":["0s","10s","20s","30s","40s","50s","60s"],"retain":true,"state_topic":"homeassistant/select/GoSungrow/GoSungrow-option-sleepdelay/state","unique_id":"GoSungrow-option-sleepdelay","value_template":"{{ value }}"} 2023/05/24 09:33:01 MQTT[homeassistant/select/GoSungrow/GoSungrow-option-sleepdelay/state] -> 40s 2023/05/24 09:33:01 MQTT[homeassistant/select/GoSungrow/GoSungrow-option-servicestate/config] -> {"command_template":"{{ value }}","command_topic":"homeassistant/select/GoSungrow/GoSungrow-option-servicestate/cmd","device":{"connections":[["GoSungrow","GoSungrow-options"],["GoSungrow-options","GoSungrow"]],"identifiers":["GoSungrow"],"manufacturer":"GoSungrow","model":"GoSungrow","name":"GoSungrow options - Options","suggested_area":"GoSungrow","sw_version":"GoSungrow https://github.com/MickMake/GoSungrow","via_device":"GoSungrow"},"enabled_by_default":true,"encoding":"utf-8","icon":"mdi:format-list-group","name":"GoSungrow Option Service State","object_id":"GoSungrow-option-servicestate","options":["Run","Restart","Stop"],"retain":true,"state_topic":"homeassistant/select/GoSungrow/GoSungrow-option-servicestate/state","unique_id":"GoSungrow-option-servicestate","value_template":"{{ value }}"} 2023/05/24 09:33:01 MQTT[homeassistant/select/GoSungrow/GoSungrow-option-servicestate/state] -> Run 2023/05/24 09:33:01 INFO: Caching Sungrow metadata... 2023/05/24 09:33:01 INFO: Cached 687 Sungrow data points... PsId: required JSON request: {"ps_id":1151610} 2023/05/24 09:33:02 ERROR: strconv.Atoi: parsing "1446478_1446479": invalid syntax Error: strconv.Atoi: parsing "1446478_1446479": invalid syntax Usage: GoSungrow mqtt run [flags] Aliases: run, Examples: GoSungrow mqtt run
Flags: Use "GoSungrow help flags" for more info. Additional help topics: ERROR: strconv.Atoi: parsing "1446478_1446479": invalid syntax s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped Screenshot 2023-05-24 at 3 07 37 PM

PurserS commented 1 year ago

HI,

I have the same problem...

PsId: required JSON request: {"ps_id":5095269} 2023/05/31 07:58:10 ERROR: strconv.Atoi: parsing "1879717_1879718": invalid syntax Error: strconv.Atoi: parsing "1879717_1879718": invalid syntax Usage: GoSungrow mqtt run [flags] Aliases: run, Examples: GoSungrow mqtt run
Flags: Use "GoSungrow help flags" for more info. Additional help topics: ERROR: strconv.Atoi: parsing "1879717_1879718": invalid syntax s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

BoPontus commented 8 months ago

Have you come up with a solution on it? I have the same problem now... Please help me