# \[APP\]\[Pro\] Alfen - Optimal Charging, Smarter Homes: Powering Efficiency for You and the Grid

**URL:** https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683
**Category:** Apps
**Tags:** app, homey-pro
**Created:** [February 15, 2025, 11:23am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683 "2025-02-15T11:23:15Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![EdStaal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edstaal/32/35035_2.png) [@EdStaal](https://community.homey.app/u/EdStaal)
#### Post date: [June 9, 2024, 9:39am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/21 "2024-06-09T09:39:00Z")

</div>

Hi roger, wat heb je gedaan in de lader zelf want ik kan hem niet zelf in de wifi hangen omdat een derde partij dit heeft gedaan. Of wat moet ik hun vragen qua installatie?  
Heet de app tibber, begrijp ik dat goed?

---

<div class="post-metadata">

### Author: ![RogerSt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rogerst/32/12432_2.png) [@RogerSt](https://community.homey.app/u/RogerSt)
#### Post date: [June 9, 2024, 10:25am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/22 "2024-06-09T10:25:12Z")

</div>

Mijn paal is door Eneco geinstalleerd. De laadpaal zelf is nu niet geintegreerd in Homey, maar mijn auto hangt in de Tibber app op android.  
Het load balancen zit in de laadpaal.  
Het slim laden zit in de combi Tibber App/integratie met de auto.  
Het is niet zoals ik zou willen, maar Tibber heeft aangekondigd de Alfen Single Pro te gaan ondersteunen (zonder belofte wanneer).  
Ik heb overigens een energiecontract van Tibber, anders werkt het niet denk ik.  
Roger

---

<div class="post-metadata">

### Author: ![RogerSt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rogerst/32/12432_2.png) [@RogerSt](https://community.homey.app/u/RogerSt)
#### Post date: [June 9, 2024, 8:53pm UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/23 "2024-06-09T20:53:04Z")

</div>

Sorry, my previous post should have been in English.

- My Alfen Eve Single Pro is NOT in my network.
- Tibber has announced support for the Charger, without stating when.

Currently:

- the EV charger is using load balancing by a connection to the P1 on my smart energy meter.
- the smart charging part is done using the Tibber App which integrates with my Skoda car (Enyaq iV).
- I have a Tibber energy contract, otherwise, I suspect, it will not work.

---

<div class="post-metadata">

### Author: ![Berjan\_Rood](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/berjan_rood/32/80867_2.png) [@Berjan\_Rood](https://community.homey.app/u/Berjan_Rood)
#### Post date: [June 25, 2024, 8:12pm UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/24 "2024-06-25T20:12:40Z")

</div>

Ik stuur mijn Alfen palen aan met de modbus app, geef dan dus modbus commando`s. Der is ook aardig wat uit te lezen via modbus

---

<div class="post-metadata">

### Author: ![ChrisTerBeke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christerbeke/32/74687_2.png) [@ChrisTerBeke](https://community.homey.app/u/ChrisTerBeke)
#### Post date: [July 19, 2024, 8:01am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/25 "2024-07-19T08:01:11Z")

</div>

So I recently went through the required hoops to get the root password for my Alfen Eve charging station and took it “offline” (disconnected the remote backoffice for which I had to pay 6 Euro’s per month, and converted the P1 cable into a network cable, and added back load balancing capabilities via the HomeWizard P1 WiFi dongle). I now have several options to integrate into Homey:

- Talk to the Alfen HTTP API directly (which is also used by the ACE Service Installer application and gives full access to all configuration items)
- Run an Energy Management System (maybe combined with something like [EVCC.io](http://EVCC.io)) and integrate that into Homey (write custom app or use the proven MQTT route)
- Build an app for Homey that basically implements the OCPP server protocol and have the charger talk directly to that (the most low-level option, but can add a lot of awesome features as if you’re running your own remote back-office provider!)

I think I’m gonna give the 3rd option a try. This would not only add support for the Alven Eve, but a whole lot of other chargers that support OCPP (which is pretty much the industry standard nowadays, at least in the EU).

Chris

---

<div class="post-metadata">

### Author: ![F\_Van](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/f_van/32/28509_2.png) [@F\_Van](https://community.homey.app/u/F_Van)
#### Post date: [July 19, 2024, 10:26am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/26 "2024-07-19T10:26:07Z")

</div>

That sounds great Chris. look forward to the Homey app for Alfen Eve

---

<div class="post-metadata">

### Author: ![ChrisTerBeke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christerbeke/32/74687_2.png) [@ChrisTerBeke](https://community.homey.app/u/ChrisTerBeke)
#### Post date: [July 24, 2024, 9:03am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/27 "2024-07-24T09:03:49Z")

</div>

Small update on my progress.

Implementing OCPP is going quite well. I can send and receive messages to a (simulated) charging station. I have also made a start on auto-discovery for known charging station manufacturers, starting with Alfen (based on mDNS). I’m implementing OCPP in such a way that any charging station that was added during a Homey pairing flow is automatically whitelisted on the OCPP server. Then you can configure the charging station to point to Homey as remote back office (I’ll add some instructions in the pairing flow). I’m also adding RFID tag whitelisting to the app settings. Please let me know what other features you would like to see.

Chris

---

<div class="post-metadata">

### Author: ![F\_Van](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/f_van/32/28509_2.png) [@F\_Van](https://community.homey.app/u/F_Van)
#### Post date: [July 24, 2024, 10:25am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/28 "2024-07-24T10:25:42Z")

</div>

Sounds good, what comes to mind is that it would be great to set charging to max, comfort or green for the Alfen stations from homey.

---

<div class="post-metadata">

### Author: ![RuyteRo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ruytero/32/69966_2.png) [@RuyteRo](https://community.homey.app/u/RuyteRo)
#### Post date: [July 24, 2024, 10:40am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/29 "2024-07-24T10:40:47Z")

</div>

Hi Chris,  
This approche would mean that a OCPP backoffice for split-billing cannot be configered on the Alfen anymore?

---

<div class="post-metadata">

### Author: ![ChrisTerBeke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christerbeke/32/74687_2.png) [@ChrisTerBeke](https://community.homey.app/u/ChrisTerBeke)
#### Post date: [July 24, 2024, 11:05am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/30 "2024-07-24T11:05:53Z")

</div>

Depending on the charging station it could still be possible. OCPP supports a charging station having multiple back office providers (on different network interfaces, e.g. LAN for Homey and SIM for a remote provider that you use for automated billing). OCPP also supports proxying, so I could add that to the Homey app so you can still forward the charging session information to the billing provider.

---

<div class="post-metadata">

### Author: ![ChrisTerBeke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christerbeke/32/74687_2.png) [@ChrisTerBeke](https://community.homey.app/u/ChrisTerBeke)
#### Post date: [July 24, 2024, 11:06am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/31 "2024-07-24T11:06:49Z")

</div>

Makes sense! I’m not sure if that’s standard OCPP functionality, or an Alfen custom message. Could still be implemented by creating some device sub-types for specific manufacturers with additional controls.

---

<div class="post-metadata">

### Author: ![MacManiac78](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/macmaniac78/32/78317_2.png) [@MacManiac78](https://community.homey.app/u/MacManiac78)
#### Post date: [August 17, 2024, 3:19am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/32 "2024-08-17T03:19:15Z")

</div>

Use Alfen on ModBus and than connect it with Homey?

---

<div class="post-metadata">

### Author: ![F\_Van](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/f_van/32/28509_2.png) [@F\_Van](https://community.homey.app/u/F_Van)
#### Post date: [October 7, 2024, 6:28am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/33 "2024-10-07T06:28:19Z")

</div>

Hi Chris, just wondering if there is any progress on the app?

---

<div class="post-metadata">

### Author: ![ChrisTerBeke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christerbeke/32/74687_2.png) [@ChrisTerBeke](https://community.homey.app/u/ChrisTerBeke)
#### Post date: [October 7, 2024, 12:53pm UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/34 "2024-10-07T12:53:11Z")

</div>

Also an option, but ModBus isn’t universal for all charging station brands, whereas OCCP is a standard (higher-level) protocol specifically for charging stations. This means the Homey user would need to configure a lot more things to access the correct ModBus registers, and there is more room for writing faulty data to the charging station and breaking it in the process.

---

<div class="post-metadata">

### Author: ![ChrisTerBeke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christerbeke/32/74687_2.png) [@ChrisTerBeke](https://community.homey.app/u/ChrisTerBeke)
#### Post date: [October 7, 2024, 12:55pm UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/35 "2024-10-07T12:55:50Z")

</div>

Not much progress, switched jobs, went on vacation and worked on feature requests and bug fixes for my other Homey apps. I have a basic connection working (charging station can connect and authenticate, and send keep-alive messages). Next step would be deciding which basic functionality to start with so I can publish a first (test) version. Some preliminary code can be found here: [homey-ocpp/drivers/ocpp/device.ts at main · ChrisTerBeke/homey-ocpp · GitHub](https://github.com/ChrisTerBeke/homey-ocpp/blob/main/drivers/ocpp/device.ts).

---

<div class="post-metadata">

### Author: ![MrDutchfighter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrdutchfighter/32/4295_2.png) [@MrDutchfighter](https://community.homey.app/u/MrDutchfighter)
#### Post date: [December 23, 2024, 4:51pm UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/36 "2024-12-23T16:51:49Z")

</div>

Have been working on an Alfen integration. So far it is only to see how much energy has been used for the new energy dashboard. It connects to the API of the charger (partially same data as can be seen in the MyEve app). However it is quite hard to set-up. You need a username, password and fixed IP, and the fixed IP must be in the same subnet as your Homey. So if you have a network set-up with multiple subnets for WiFi, Domotica, and other devices both the Charger and Homey needs to be in the same network (and if you want to access it through the MyEve app, then also your phone).

But there is something 🙂

You can find the source here: [GitHub - robertraaijmakers/com.alfen: Project to support the Alfen charger on the local Homey platform.](https://github.com/robertraaijmakers/com.alfen)

You need to enter the username (admin), IP and password in code and compile your own version. Then you can add the charger as device. After that you get some nice details and power usage will show up in the new Homey Energy feature 🙂

I want to make it more dynamic with discovery and a set-up wizard, but haven’t found the best documentation from Athom yet on how to do that properly per device.

 ![IMG_7996](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/1/c1e1796fb8d19fc7c6155bf30bf462bc882ca574.jpeg)

---

<div class="post-metadata">

### Author: ![fmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fmb/32/27097_2.png) [@fmb](https://community.homey.app/u/fmb)
#### Post date: [December 23, 2024, 11:34pm UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/37 "2024-12-23T23:34:23Z")

</div>

Nice! Great steps!

---

<div class="post-metadata">

### Author: ![KennyMoens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kennymoens/32/84061_2.png) [@KennyMoens](https://community.homey.app/u/KennyMoens)
#### Post date: [December 25, 2024, 10:07am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/38 "2024-12-25T10:07:16Z")

</div>

Hey,

Great to hear, will try it out during the next days.

If you want help, feel Free to reach out, I have Developed the Viessmann app, so I might be able to help you out to Publish it.

Groetjes  
Kenny

---

<div class="post-metadata">

### Author: ![F\_Van](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/f_van/32/28509_2.png) [@F\_Van](https://community.homey.app/u/F_Van)
#### Post date: [December 25, 2024, 10:13am UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/39 "2024-12-25T10:13:04Z")

</div>

Super, just installed it and works nice. Now I can limit the SOC of the I-pace that does not have this option in the car. It is still a calculation but better than limiting timewise

---

<div class="post-metadata">

### Author: ![KennyMoens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kennymoens/32/84061_2.png) [@KennyMoens](https://community.homey.app/u/KennyMoens)
#### Post date: [December 26, 2024, 2:07pm UTC](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683/40 "2024-12-26T14:07:33Z")

</div>

Hey,

The app works nicely.

I’ve just created a merge request that allows to configure the credentials using a custom pairing view & the device settings:

> <https://github.com/robertraaijmakers/com.alfen/pull/1>
>
> Allow to configure the settings and credentials from the UI.

Hope this helps you out.

Merry Christmas,  
Kenny

[Previous page](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683.md?page=1)

[Next page](https://community.homey.app/t/app-pro-alfen-optimal-charging-smarter-homes-powering-efficiency-for-you-and-the-grid/130683.md?page=3)
