NOAH-mqtt via MQTT no longer works

Hello,

I have had a NOAH 2000 integrated into my HA for a few months now. I established the connection via MQTT and the noah-mqtt. Everything worked fine until yesterday. Since yesterday I no longer receive any data from NOAH. What have I already tried?

  1. restarted HA
  2. rebuild NOAH addon
  3. uninstalled and reinstalled NOAH Addon
  4. removed the NOAH in the ShinePhone app and set it up again
  5. created a new system in the ShinePhone app and set up the NOAH there

I can see the NOAH in the app and can also customize everything. I can also view all the data on the Growatt website. So the access data is correct.
Does anyone have any more ideas about what I can do?

{"time":"2025-02-18T17:08:34.509015446+01:00","level":"INFO","msg":"set log level","level":"DEBUG"}
{"time":"2025-02-18T17:08:34.509507781+01:00","level":"INFO","msg":"noah-mqtt started","version":"0.0.28","commit":"1b938d958ba9abf1f9ea873842230b155b0ff9b6"}
{"time":"2025-02-18T17:08:34.509699407+01:00","level":"INFO","msg":"running as","username":"root","uid":"0"}
{"time":"2025-02-18T17:08:34.509908824+01:00","level":"INFO","msg":"connecting to mqtt broker","host":"core-mosquitto","port":1883,"clientId":"noah-mqtt","username":"addons"}
{"time":"2025-02-18T17:08:34.51561618+01:00","level":"INFO","msg":"connected to mqtt broker"}
{"time":"2025-02-18T17:08:34.516203015+01:00","level":"INFO","msg":"setting server url","url":"https://server-api.growatt.com"}
{"time":"2025-02-18T17:08:44.690094588+01:00","level":"ERROR","msg":"could not login to growatt account","error":"Post \"https://server-api.growatt.com/newTwoLoginAPIV2.do\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
{"time":"2025-02-18T17:08:44.690183255+01:00","level":"ERROR","msg":"PANIC ... waiting 15s to exit ..."}
panic: Post "https://server-api.growatt.com/newTwoLoginAPIV2.do": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
goroutine 36 [running]:
noah-mqtt/internal/misc.Panic({0x3c2ec0, 0x400059a690})
	/home/runner/work/noah-mqtt/noah-mqtt/internal/misc/panic.go:11 +0x98
noah-mqtt/internal/polling.(*Service).Start(0x400009e840)
	/home/runner/work/noah-mqtt/noah-mqtt/internal/polling/service.go:38 +0xdc
main.main.func1({0x3c7a48, 0x40000c0288})
	/home/runner/work/noah-mqtt/noah-mqtt/cmd/noah-mqtt/main.go:54 +0x16c
main.connectMqtt.func1({0x3c7a48, 0x40000c0288})
	/home/runner/work/noah-mqtt/noah-mqtt/cmd/noah-mqtt/main.go:72 +0x84
created by github.com/eclipse/paho%2emqtt%2egolang.(*client).startCommsWorkers in goroutine 21
	/home/runner/go/pkg/mod/github.com/eclipse/[email protected]/client.go:614 +0x5dc
{"time":"2025-02-18T17:09:01.792025784+01:00","level":"INFO","msg":"set log level","level":"DEBUG"}
{"time":"2025-02-18T17:09:01.792524827+01:00","level":"INFO","msg":"noah-mqtt started","version":"0.0.28","commit":"1b938d958ba9abf1f9ea873842230b155b0ff9b6"}
{"time":"2025-02-18T17:09:01.792736287+01:00","level":"INFO","msg":"running as","username":"root","uid":"0"}
{"time":"2025-02-18T17:09:01.792949787+01:00","level":"INFO","msg":"connecting to mqtt broker","host":"core-mosquitto","port":1883,"clientId":"noah-mqtt","username":"addons"}
{"time":"2025-02-18T17:09:01.798375392+01:00","level":"INFO","msg":"connected to mqtt broker"}
{"time":"2025-02-18T17:09:01.798490892+01:00","level":"INFO","msg":"setting server url","url":"https://server-api.growatt.com"}
{"time":"2025-02-18T17:09:11.979062515+01:00","level":"ERROR","msg":"could not login to growatt account","error":"Post \"https://server-api.growatt.com/newTwoLoginAPIV2.do\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
{"time":"2025-02-18T17:09:11.979164599+01:00","level":"ERROR","msg":"PANIC ... waiting 15s to exit ..."}
1 Like

Install the MQTT Explorer add-on and see what the MQTT messages look like. It may not help but it’s worth knowing what the data looks like.

I have already tried, but I can’t get a connection or an answer either

That should be a clue. Connection to what? You connect the MQTT Explorer to the MQTT broker, then watch the data it handles.

Read the comment on Github I linked to, it’s a known issue with the Growatt API.

If I have understood correctly, there is no solution for this yet, is there? I also contacted Growatt support yesterday because the ShinePhone app no longer works when there is a WLAN connection. According to support, someone in China is currently working on the app, which can have such effects. It could take up to 2 days. My fear was that there is a connection here. However, other users of the NOAH apparently have no connection problems in the HA.

From what I understand from the message on Github, the NOAH-mqtt integration uses the same API as the Shine app, so that would explain why the Shine app also isn’t working and you’d have to wait until it gets fixed.

I don’t know why it would still work for others, could be a geographical thing.

1 Like

Today everything is working again :slight_smile: and without any changes on my side. The problem with the ShinPhone app in the WLAN has also been solved. Obviously the work in China is finished.