MickMake / GoSungrow

GoLang implementation to access the iSolarCloud API updated by SunGrow inverters.
https://mickmake.com/
GNU General Public License v2.0
148 stars 42 forks source link

Mqtt implementation #44

Closed CraigA11 closed 1 year ago

CraigA11 commented 1 year ago

Hi Mick, loving your GoSungrow implementation, all's working as described for me. I have a question rather than an issue, the documentation shows the mqtt flags (username, password, host etc), when I set them should I expect to see traffic on the mqtt broker (Mosquito in this case). Cheers, Craig

CraigA11 commented 1 year ago

I'm sending the json string to the mqtt broker separately, eg ./GoSungrow data json AppService.queryMutiPointDataList MinuteInterval:60 StartTimeStamp:20230327000000 EndTimeStamp:20230327235900 Points:1058046_14_1_1.p13112,1058046_14_1_1.p13116,1058046_14_1_1.p13122,1058046_14_1_1.p13147,1058046_14_1_1.p13199