NickStallman / home-assistant-repo

18 stars 6 forks source link

MQTT Error - Newbee User to HA #34

Open jy-tangle opened 3 hours ago

jy-tangle commented 3 hours ago

Sorry for the newbee Issue, how ever I get the following message in the WiNet Extractor and am unsure if it is the MQTT user and password that has issues or the SunGrow user and password. Any assist you can give will be greatly appreciated.

s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs 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

cli node build/src/index.js 2024-11-18 03:04:08 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:09 info: Fetched i18n properties. 2024-11-18 03:04:09 info: Connected to a older Winet-S device 2024-11-18 03:04:09 info: Connected to Winet, logging in 2024-11-18 03:04:09 info: Authenticated successfully 2024-11-18 03:04:09 info: Detected device: SG10RS (A2362516267) 2024-11-18 03:04:09 info: Updated 33 sensors 2024-11-18 03:04:09 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:11 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:12 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:13 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:14 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:15 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:16 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:17 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:18 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:19 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:19 info: Updated 20 sensors 2024-11-18 03:04:20 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:21 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized 2024-11-18 03:04:22 error: MQTT error: ErrorWithReasonCode: Connection refused: Not authorized_

NickStallman commented 2 hours ago

Looks like your Winet details are fine, the issue is with MQTT. Have you set up Mosquitto MQTT correctly with your HA? Are you providing the MQTT url correctly?

jy-tangle commented 1 hour ago

Thanks Nick, as you suggested my MQTT credentials had an error. Many Thanks for your quick help, very much appreciated