srcfl / srcful-gateway

Sourceful Energy Gateway: Connect your solar inverter or Utility meters to earn tokens.
https://sourceful.energy/
MIT License
5 stars 2 forks source link

Issue configuring enphase inverters due to token size #289

Closed davmoz closed 1 week ago

davmoz commented 2 weeks ago

Enphase configuration fails because authentication token exceeds BLE's 512-byte transmission limit (MTU).

h0bb3 commented 2 weeks ago

A quick fix could be to remove stuff from the token as it is a jwt e.g. the header is not needed and can be reconstructed in the gateway instead... it could also be an idea to send it as plain json and not in jwt format, keys kan be shorter and base58 is quite bloaty.

h0bb3 commented 1 week ago

we will move to using credentials in the UI and the gateway will fetch the token. This also makes it easier for the end user.

h0bb3 commented 1 week ago

Gateway now accepts either a token or a user/pwd gw serial combo. Next step is the configurator :)