# \[APP\]\[PRO\] KEBA app

**URL:** <https://community.homey.app/t/app-pro-keba-app/68776>\
**Category:** Apps\
**Tags:** app\
**Created:** [September 12, 2022, 4:40pm UTC](https://community.homey.app/t/app-pro-keba-app/68776 "2022-09-12T16:40:39Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![Jonathan\_Cohen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cohen/32/32700_2.png) [@Jonathan\_Cohen](https://community.homey.app/u/Jonathan_Cohen)\
**Post date:** [January 21, 2023, 10:04am UTC](https://community.homey.app/t/app-pro-keba-app/68776/61 "2023-01-21T10:04:01Z")

</div>

@aste The discovery only find the “current” one, it does not find 2 Keba. so it goes in to Standard homey pairing flow. I try to manually filter current to force it into manual pair but no luck yet.  
Homey pairing and me are not very good friends…  
The mac on the other start with same as in topic?

---

<div class="post-metadata">

**Author:** ![aste](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aste/32/9729_2.png) [@aste](https://community.homey.app/u/aste)\
**Post date:** [January 21, 2023, 10:53am UTC](https://community.homey.app/t/app-pro-keba-app/68776/62 "2023-01-21T10:53:30Z")

</div>

I’m no programmer myself, so whatever you are doing, I find it as magic 🙂  
As changing the IP for one or the other works like a charm. Is there a way to duplicate current objects?

The old box:  
LAN: 00:60:B5:3A:54:F8  
WLAN / WiFi: 88:6B:0F:97:53:54

The new box:  
LAN: 00:60:B5:3E:C7:DB  
WLAN / WiFi: 84:2E:14:71:C3:73

So LAN MAC is the same. For me, that’s the connection I want to use. WIFI, however, is new.

---

<div class="post-metadata">

**Author:** ![aste](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aste/32/9729_2.png) [@aste](https://community.homey.app/u/aste)\
**Post date:** [January 21, 2023, 6:07pm UTC](https://community.homey.app/t/app-pro-keba-app/68776/63 "2023-01-21T18:07:02Z")

</div>

@Jonathan_Cohen I checked my installed apps for add device process ending in an option for manual add. Both Shelly and SMA Energy do that.

Shelly by Allterco Robotics:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/9/19eefc869eb848b3ccdc05d5e4b06a0f447d3334.png)

SMA Energy by @Richard_B:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/5/05789e8dbef94113d783fe7e5ef7f1fee881a089.png)

Maybe it’s possible to ask @Richard_B how he implemented the manual add option following a failed auto discovery?

I also found this documentation about pairing devices and there seems to be an option for supplying additional information such as port and IP under “Device Pairing Data” header: [Pairing - Homey Apps SDK](https://apps.developer.homey.app/the-basics/devices/pairing)

I hope this can be of any help making Homey pairing more of a friend 🙂

---

<div class="post-metadata">

**Author:** ![Jonathan\_Cohen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cohen/32/32700_2.png) [@Jonathan\_Cohen](https://community.homey.app/u/Jonathan_Cohen)\
**Post date:** [January 21, 2023, 7:44pm UTC](https://community.homey.app/t/app-pro-keba-app/68776/64 "2023-01-21T19:44:20Z")

</div>

@aste, please try the new test version - if OK I will publish it live.

> **[Keba](https://homey.app/sv-se/app/se.cohen.keba/Keba/)**
>
> Automation by Innovation.

I used the Shelly app before to get the first version of fallback to work -but now I got a hint on something - it seem to work for me now to get up fallback, but do not have 2 boxes so cannot test so well - when I try to add my current box i get a duplicate error so I guess that is good 🙂

---

<div class="post-metadata">

**Author:** ![aste](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aste/32/9729_2.png) [@aste](https://community.homey.app/u/aste)\
**Post date:** [January 21, 2023, 9:24pm UTC](https://community.homey.app/t/app-pro-keba-app/68776/65 "2023-01-21T21:24:27Z")

</div>

@Jonathan_Cohen Almoast, I can feel how close it is 🙂

Cannot read properties of undefined (reading “id”)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/4/74461a585d8547aa975b1147f0e57f4cb1b0c753.png)

---

<div class="post-metadata">

**Author:** ![aste](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aste/32/9729_2.png) [@aste](https://community.homey.app/u/aste)\
**Post date:** [January 22, 2023, 8:47am UTC](https://community.homey.app/t/app-pro-keba-app/68776/66 "2023-01-22T08:47:46Z")

</div>

Great news!  
After Homey updated itself to v8.1.2 last night a new Keba was found and added! Don’t know why it worked after reboot of Homey. No error messages this time, just added as expected.

The current Keba was added as Charge box1. I did change IP on the object to Charge box2. When the second Keba was added i found Charge box2 and added it even though it was already in Homey. Are you keeping track of the originally added MAC address and not the MAC addresses of the objects currently in Homey?

I have the Auto discovery checkbox checked as default.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Cohen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cohen/32/32700_2.png) [@Jonathan\_Cohen](https://community.homey.app/u/Jonathan_Cohen)\
**Post date:** [January 22, 2023, 9:44am UTC](https://community.homey.app/t/app-pro-keba-app/68776/67 "2023-01-22T09:44:21Z")

</div>

Hi @aste, glad to here it ow works…

The missing ID thing should not really be able to happen (both the current and new have ID)… but I added more log rows to try to catch that in the future.  
About MAC I do not have that, the identification on different devices is by the device serial. When using discovery it is Homey who handle the Mac and try to find/update the IP when any change or reconnect to network.

Anyway, a new version with the changes on pairing is submitted to production and already is in test.

---

<div class="post-metadata">

**Author:** ![aste](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aste/32/9729_2.png) [@aste](https://community.homey.app/u/aste)\
**Post date:** [January 22, 2023, 9:53am UTC](https://community.homey.app/t/app-pro-keba-app/68776/68 "2023-01-22T09:53:19Z")

</div>

Thank you!

Is it possible next to have a look at my feature request in post 55?

Sent a donation for beverages of your choice as appreciation for your work.

---

<div class="post-metadata">

**Author:** ![aste](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aste/32/9729_2.png) [@aste](https://community.homey.app/u/aste)\
**Post date:** [January 22, 2023, 12:47pm UTC](https://community.homey.app/t/app-pro-keba-app/68776/69 "2023-01-22T12:47:31Z")

</div>

I think I found a calculation issue.

Keba app indicates 3,9kW with “curr 6000” set = “Curr user 6000”. When charging my Zoe, that is not correct. From a “report 3” I get more accurate “P 704158” = 0,7kW

Could it be that you are calculating P from I values insted of using the P value from report 3?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/f/6f9ebcd0c77573d11810365a523de6f781e42bfc.jpeg)

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/9/99b90b2f6d38723446642aac3466352fa9303dd6.jpeg)

---

<div class="post-metadata">

**Author:** ![Jonathan\_Cohen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cohen/32/32700_2.png) [@Jonathan\_Cohen](https://community.homey.app/u/Jonathan_Cohen)\
**Post date:** [January 22, 2023, 6:02pm UTC](https://community.homey.app/t/app-pro-keba-app/68776/70 "2023-01-22T18:02:59Z")

</div>

@aste - yes I calculate… u\*i=p…  
But I will update to use P.

I will look into the wishlist and add those…  
For #1 - you mean calculate u\*i=p…/ phase?

---

<div class="post-metadata">

**Author:** ![aste](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aste/32/9729_2.png) [@aste](https://community.homey.app/u/aste)\
**Post date:** [January 22, 2023, 9:44pm UTC](https://community.homey.app/t/app-pro-keba-app/68776/71 "2023-01-22T21:44:22Z")

</div>

@Jonathan_Cohen Tnx!

Regarding point 1 on the wishlist. Just realised that this is kind of wierd when you can’t trust I\*U=P. Since Keba only supply total P this is of no use as it won’t reflect real world in every case. Or maybe this is only relevant for the Zoe. When I think about it, all other vehicals is actually following the formula.

As for number 2, you can just use “E total” for the total energy incresing.  
And as a 2.5, you can add “E pres” for energy during current/last session 😉

For my usecase the priority order is in reverse. 5 being the most wished for item.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Cohen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cohen/32/32700_2.png) [@Jonathan\_Cohen](https://community.homey.app/u/Jonathan_Cohen)\
**Post date:** [January 23, 2023, 6:51pm UTC](https://community.homey.app/t/app-pro-keba-app/68776/72 "2023-01-23T18:51:04Z")

</div>

@aste for the #4 - a slider does not give any visual indicator on the value, also it seem to not “stick” where you drop it.  
I do not think this will be usefull.

 ![Fil 000 (1)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/6/2698cdb34ec3583f2988066fccad9f36ec737465.jpeg)

I could add more values / steps to the one I already use (between 6-63 A). These are available UI components in Homey, [Capabilities - Homey Apps SDK](https://apps.developer.homey.app/the-basics/devices/capabilities#ui-components)

---

<div class="post-metadata">

**Author:** ![aste](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aste/32/9729_2.png) [@aste](https://community.homey.app/u/aste)\
**Post date:** [January 23, 2023, 8:14pm UTC](https://community.homey.app/t/app-pro-keba-app/68776/73 "2023-01-23T20:14:02Z")

</div>

@Jonathan_Cohen I agree. The thermostat component would be the most visually pleasing, but that would probably count as bad code. The Picker is clearly the best option. Try 6-16 in 1A increments, 20-32 in 4A increments. I can’t find any Keba supporting more then 32A so you can most likely stop at 32A.

After 1.0.12 It does not seem to update the object. Last night it didn’t identify I was charging and never updated the power. Last update was 9 hours ago. That’s 12:00 today. I unplugged before 7 and replugged at 20.  
But I also updated that Keba v1.12 to v1.15. There are a few more capabillities for UDP in v1.15.  
I don’t know which one broke the updating.

report 2:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/1/310f4f97d7995ebadf75919dc3734ba09ef550d9.jpeg)

report 3:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/e/ae582bca84ae5015e1f8857b92551910ddc8a957.jpeg)

---

<div class="post-metadata">

**Author:** ![Jonathan\_Cohen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cohen/32/32700_2.png) [@Jonathan\_Cohen](https://community.homey.app/u/Jonathan_Cohen)\
**Post date:** [January 23, 2023, 8:33pm UTC](https://community.homey.app/t/app-pro-keba-app/68776/74 "2023-01-23T20:33:15Z")

</div>

@aste please send a new repport i can see where the error is

---

<div class="post-metadata">

**Author:** ![aste](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aste/32/9729_2.png) [@aste](https://community.homey.app/u/aste)\
**Post date:** [January 23, 2023, 8:44pm UTC](https://community.homey.app/t/app-pro-keba-app/68776/75 "2023-01-23T20:44:29Z")

</div>

55714bc7-5b0c-4c49-b8b9-e5c655f4d7e0

edit:  
Box2 is active and charging: b3a3b0cb-fbf2-49aa-ace7-7768500761bb

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/7/f7bea40c118f2294c4e7d8ba9b03762ab44c74f4.jpeg)

---

<div class="post-metadata">

**Author:** ![Jonathan\_Cohen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cohen/32/32700_2.png) [@Jonathan\_Cohen](https://community.homey.app/u/Jonathan_Cohen)\
**Post date:** [January 24, 2023, 6:59am UTC](https://community.homey.app/t/app-pro-keba-app/68776/76 "2023-01-24T06:59:34Z")

</div>

@aste - the problem is the listening on UDP that gives error, the box on IP 10.199.99.220:7090 seem to work - the other get error “Error \_sendUDPasCallback: Error: bind EADDRINUSE 0.0.0.0:7090”.  
So the problem should not be any updates - but actually some kind of problem having 2 boxes and me not killing/closing the listening process correct.  
I will try to look into this - but it is a bit hard without 2 boxes, but I will try to mimic and see if I can find a solution. 🙂

---

<div class="post-metadata">

**Author:** ![aste](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aste/32/9729_2.png) [@aste](https://community.homey.app/u/aste)\
**Post date:** [January 24, 2023, 7:30am UTC](https://community.homey.app/t/app-pro-keba-app/68776/77 "2023-01-24T07:30:35Z")

</div>

@Jonathan_Cohen I understand. Let me know if you like to setup a remote session and try on a live 2 box environment.

---

<div class="post-metadata">

**Author:** ![aste](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aste/32/9729_2.png) [@aste](https://community.homey.app/u/aste)\
**Post date:** [January 26, 2023, 9:23am UTC](https://community.homey.app/t/app-pro-keba-app/68776/78 "2023-01-26T09:23:57Z")

</div>

@Jonathan_Cohen Had a strange issue last night.

I deactivated Box1 on a schedule at 01:00.  
It then self activated 9 seconds later.

How can that be?

Diag: a4a29c3d-010d-42f8-9f65-24aa981c6b2b

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/ace873cd191f5704b4bbc6323eedd44a9632899c.png)

---

<div class="post-metadata">

**Author:** ![Zigme](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zigme/32/16498_2.png) [@Zigme](https://community.homey.app/u/Zigme)\
**Post date:** [February 13, 2023, 9:21am UTC](https://community.homey.app/t/app-pro-keba-app/68776/79 "2023-02-13T09:21:52Z")

</div>

Hi Jonathan,  
Box got deactivated after upfraded to 1.1.4  
Is there anything I can do about this?  
Br  
Jørgen

---

<div class="post-metadata">

**Author:** ![Jonathan\_Cohen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cohen/32/32700_2.png) [@Jonathan\_Cohen](https://community.homey.app/u/Jonathan_Cohen)\
**Post date:** [February 13, 2023, 9:39am UTC](https://community.homey.app/t/app-pro-keba-app/68776/80 "2023-02-13T09:39:40Z")

</div>

@Zigme ,how do you mean deactivated, a red error message?  
Please send me a Diagnostic Report from the app.  
From what version did you update, and have you restated app and/or Homey since update.

[Previous page](https://community.homey.app/t/app-pro-keba-app/68776.md?page=3)

[Next page](https://community.homey.app/t/app-pro-keba-app/68776.md?page=5)
