I also got an answer from Defa support when I asked about API.
“So far, there is no public API available and no timeline if it will come.”
I asked them to forward API request to the developer, hopefully they will pick it up.
Anyone managed to setup DEFA to Home Assistant? Last time I spoke to them they said it is not possible and probably won’t be possible in the future either, but things might have changed ?
No, DEFA and their managing company CloudCharge dont want private users to have the possibility to manage their own chargers. They want users to pay a expensive fee to Cloudcharge. The only way a private owner can control their charger are on the DEFA Power app. So if you are thinking of buying a DEFA Power, think once more and buy something else.
My local electricity company did have DEFA Power integration. But they have removed Defa Power integration, due to many integration errors from DEFA.
I am one of the developers writing firmware for this charger and can clarify: it only supports OCPP 2.0 whereas there is no OCPP 2.0 add-on for Home Assistant, not as far as I know anyway.
But should you somehow obtain an OCPP 2.0 CSMS running in your LAN, you can always use wireshark to see what the charger tries to connect to and then give it a DNS server which will resolve that to your IP address. A bit convoluted, I know, but they chose to not have an option to send custom CSMS URL from bluetooth application.
Thanx for answer many of us that really regret buying this piece of crap that only are tied to a Cloud server that are meant for big parking areas and not to a singel house owner who wants to control the charger for them self.
DEFA:s technical experts are so stupid and dont know shit.
Will the app continue working even if I get the charger to connect to my own HA CSMS?
I’m currently working on a Home Assistant integration for DEFA Power. You can find the GitHub repository here: https://github.com/Bebbssos/ha-defa-power
To install it using HACS:
- Add a custom repository:
- Repository:
https://github.com/Bebbssos/ha-defa-power
- Type: Integration
- Search for DEFA Power and download it.
That is really awesome! Are you open to contributions (not promising anything but I’d love to try to find some time to help)?
I’m definitely open to contributions. Feel free to submit a pull request whenever you have time.
How do I get a developer token?
I did select the option to use phone number and only entered the phone number on the format of +467… (Sweden, 00467… didn’t work) and left the other entry empty. I got a sms with a verification code to enter at then next step.