cmcgerty / Sofar2mqtt

A smart home interface for Sofar solar and battery inverters.
GNU General Public License v3.0
79 stars 45 forks source link

MQTT Rarely Updates #9

Open Sku1ly opened 2 years ago

Sku1ly commented 2 years ago

Hi,

Thanks for making this, I have everything set up and working but I get updates via MQTT maybe every ten minutes and usually only six times. Reboot the nodemcu sometimes brings it back, sometimes doesn't.

Serial monitor shows constant MQTT reconnects and I can see the same in the MQTT server logs.

How often is it supposed to update and have you seen similar behaviour before?

Sku1ly commented 2 years ago

I think I may have solved this. I think I chose the wrong nodemcu version 1.0 vs 0.9 which caused frequent WiFi drop outs.

Seems to be stable now so will close.

Sku1ly commented 2 years ago

It wasn't this :( I've tried two nodemcus and a wemos d1 mini and seeing the same behaviour.

Pinging I see constant drops and errors in serial monitor. It worked for most of today then broke.

Any thoughts?

image

zambujal commented 2 years ago

Don't know... but it's weird... could be some wire, sometimes things like this happens to me... I redo everything... and then it's working. ;)

cmcgerty commented 2 years ago

Out of interest, did you also change the ESP8266? There is some question mark in my mind as to whether some are more tolerant of 3.3v logic than others. That said, I normally just use the cheapest ones I can find and don’t have an issue.

On 30 Sep 2021, at 14:32, zambujal @.***> wrote:



Don't know... but it's weird... could be some wire, sometimes things like this happens to me... I redo everything... and then it's working. ;)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/cmcgerty/Sofar2mqtt/issues/9#issuecomment-931326487, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADFHULLX4TAAUMVWKOVS5VTUERRGXANCNFSM5BRROQIA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

zambujal commented 2 years ago

I used the lol nonemcu cheap 8266 it worked well for me.


From: cmcg @.> Sent: Thursday, September 30, 2021 1:37 PM To: cmcgerty/Sofar2mqtt @.> Cc: zambujal @.>; Comment @.> Subject: Re: [cmcgerty/Sofar2mqtt] MQTT Rarely Updates (#9)

Out of interest, did you also change the ESP8266? There is some question mark in my mind as to whether some are more tolerant of 3.3v logic than others. That said, I normally just use the cheapest ones I can find and don’t have an issue.

On 30 Sep 2021, at 14:32, zambujal @.***> wrote:



Don't know... but it's weird... could be some wire, sometimes things like this happens to me... I redo everything... and then it's working. ;)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/cmcgerty/Sofar2mqtt/issues/9#issuecomment-931326487, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADFHULLX4TAAUMVWKOVS5VTUERRGXANCNFSM5BRROQIA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/cmcgerty/Sofar2mqtt/issues/9#issuecomment-931330927, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALLQQOJYEEDO6C4EMND4ZP3UERR3JANCNFSM5BRROQIA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

cmcgerty commented 2 years ago

Hi @zambujal .

Sofar2mqtt V2.0 beta1 has been published today, which is a major write and should bring much greater stability. See if that is better for you.