Disclaimer¶
UNOFFICIAL SOFTWARE — NOT AFFILIATED WITH OR ENDORSED BY FRANKLINWH.
This is an emulator, not an aGate. It imitates FranklinWH's undocumented Direct Connect local API (reverse-engineered by third parties), its SunSpec Modbus TCP API (with undocumented FranklinWH extensions) and the FranklinWH Cloud API (the app's REST API, reverse-engineered from captured app traffic), from incomplete documentation and observations of a few real devices. It can never be 100% accurate: it may behave differently from a real aGate, now or in the future, and may have bugs, errors or omissions a real aGate doesn't have. Software that works here may still fail, or do harm, on real hardware. Verify on real hardware before relying on any result.
Provided AS-IS, without warranty of any kind. Use is entirely at your own risk; by using it you accept these limitations unreservedly. The authors accept no liability for any consequence, including anything done to real hardware by software developed or tested with it.
Do NOT contact FranklinWH support about this emulator. Raise issues at https://github.com/david2069/franklinwh-gateway-emulator/issues.
MIT License, with the additional notices in LICENSE.
Compliance & anti-circumvention¶
The emulator doesn't connect to a real aGate, but what you build with it may. Keep your gateway and battery settings, controls and operation compliant with the configuration set through the official FranklinWH mobile app and the installer/support portal. FranklinWH-managed settings may exist to protect the battery and gateway, apply software updates, enforce your local grid profile and import/export limits, and enforce incentive, subsidy or VPP/grid-programme restrictions. Bypassing or overriding any of them, deliberately or inadvertently, is entirely at your own risk, and is neither condoned nor encouraged by the authors.