Closed jimmybish closed 1 year ago
Yeah, I made a slight error with the mqtt_endpoints.json
file. If you add a , just between the the two last array elements, it'll fix it.
}
"getPsDetail": {
"include": [
"virtual.*"
],
"exclude": [
]
}
Change it to this:
},
"getPsDetail": {
"include": [
"virtual.*"
],
"exclude": [
]
}
Ah, that'll do it! I even looked over that JSON file and the template in cmd_mqtt.go
multiple times and didn't pick that up 🤦
Fantastic, all working now. Thanks!
Hi! 👋 As a round of perfect timing, I found and decided to give GoSungrow a try approximately 20 mins after you updated to v3.0 😁 Unfortunately, I've hit an error when attempting to sync MQTT to HA. (Note, I'm running HA Docker with Mosquitto Docker on the same host, but I don't think that should matter here).
The connection works and I can get devices:
But when I go to perform an MQTT sync, I receive the following:
My config, if that helps:
It looks like it's at least got as far as creating
mqtt_endpoints.json
from cmd_mqtt.go#L522, but I'm not quite there enough with Go to figure out where it might have gone wrong after that.