johanmeijer / grott

Growatt inverter monitor
https://github.com/johanmeijer/grott/wiki
374 stars 103 forks source link

How to confirm MQTT, Influx and PVOutput is working? #492

Open paytah232 opened 7 months ago

paytah232 commented 7 months ago

Hi @johanmeijer,

I've got this running in docker on a Synology NAS, using home assistant as well. I'm using grott.ini for the docker, and as far as I can tell, grott is still relaying the data to the internet (Growatt Server), as I can access it from the ShinePower app, but I can't seem to see any information coming through on MQTT, Influx or PVOutput.

I'm wondering how I can test to confirm, as I expected the data should be easily available but I can't seem to get any response.

The setup: Synology NAS, running grott in docker with grott.ini Synology NAS is available locally on 192.168.0.2 ShineLAN Box is available locally on 129.168.0.169, which has sever IP 192.168.0.2. Grott Docker uses 192.168.0.2:5279 to docker:5279

ShineLan Box: image

PVOutput: image

MQTT: image

INFLUX: image

I get the following from grott logs, suggesting my config is at least working: grott.csv

Any help would be appreciated, thank you.

johanmeijer commented 7 months ago

Are you sure your data is being routed via Grott? Have you changed the adres in the inverter / datalogger.

From the log you sent I can not see grott is working ok. This seems not to be a real grott log to me.

paytah232 commented 6 months ago

I can see that the reported server IP matches the NAS I am running off, and no longer matches growatt.server.com. However, I am not sure if that is the correct method of setup. Can you confirm full steps to ensure datalogger is pointing the right server (i.e the local server)?

johanmeijer commented 6 months ago

Is the information the only information you see in the Grott log on your NAS?

Grott runs in docker at your NAS? How do you start Grott? You need to map the NAS port to the Grott Container.

paytah232 commented 6 months ago

I recently did a server wipe, but yes, it was in a container, with all the ports set up as far as I know. I'll get it set back up again shortly and show you.

paytah232 commented 6 months ago

@johanmeijer I've got it set up back again. I can confirm that I was getting no data via the shine app when the container was down, and now that it's up, it has come back, so Grott is working as expected.

What I want to test now is how I can confirm the MQTT Broker is working, as I still get nothing on the topic channel. image

According to the docker logs, as below, MQTT seems to be active - yet I still receive nothing, with no errors to trace: grott.csv

johanmeijer commented 6 months ago

Hmm in your logfile I still see no data being processed by grott. I can see there is some communication flow (probably pings). It can be a timing thing (just at the moment of capturing no data).

I expect some messages that there is data being written to MQTT in the grott log.

paytah232 commented 6 months ago

@johanmeijer Happy to try some things you suggest to try and get the MQTT working. What are your suggestions?

paytah232 commented 4 months ago

@johanmeijer I have looked into this again, but still unsure what could be the cause. Are you able to help me find the cause of the issue at all please?

johanmeijer commented 4 months ago

I need more log information. Is there information in the log which show the values? Do see messages that data is (or not)send to MQTT or PVOutput?

paytah232 commented 4 months ago

I can get that for you. Is there a way to increase the log verbosity so we get more information?

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Johan Meijer @.> Sent: Thursday, February 29, 2024 7:10:18 AM To: johanmeijer/grott @.> Cc: paytah232 @.>; Author @.> Subject: Re: [johanmeijer/grott] How to confirm MQTT, Influx and PVOutput is working? (Issue #492)

I need more log information. Is there information in the log which show the values? Do see messages that data is (or not)send to MQTT or PVOutput?

— Reply to this email directly, view it on GitHubhttps://github.com/johanmeijer/grott/issues/492#issuecomment-1969921632, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKQIUREUPLETBJOSAKATOXDYV6MLVAVCNFSM6AAAAABADXW2ICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRZHEZDCNRTGI. You are receiving this because you authored the thread.Message ID: @.***>