Open sighmon opened 9 months ago
I managed to test a fix in PR #7 using https://github.com/sighmon/homekit-powerwall by adding the following line to my go.mod
file:
replace github.com/foogod/go-powerwall => github.com/sighmon/go-powerwall v0.0.0-20240116104430-7e4a9dc82d72
@sighmon seems this repo is dead. I have a maintained fork at https://github.com/andig/go-powerwall for time being. Feel free to use that.
@andig I'm not sure just point to your fork will work as the module name won't match in go.mod
. But if you merge all of the PRs from this repo and update the mod file it might be a good option.
2/4 PRs are mine and merged, int64 is also fixed. Since I decided to go for a permanent fork, module name was changed.
@andig I'm not seeing the fix here on main
: https://github.com/andig/go-powerwall/blob/main/meters.go#L35
Feel free to open PR against master.
Thanks so much for your library. This week I noticed that https://github.com/sighmon/homekit-powerwall stopped working, so looked into the logs and saw:
cannot unmarshal number 60000000000 into Go struct field MeterAggregatesData.timeout of type int
Feels similar to #4
Here's a sample of the output from
/api/meters/aggregates
from Powerwall runningv23.36.3 aa269d35