# \[APP\]\[PRO\] YouLess, Enelogic - Belgian and Dutch P1 Smart Meter Reader

**URL:** <https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235>\
**Category:** Apps\
**Tags:** youless, enelogic, energy, smart-meter, dsmr\
**Created:** [November 19, 2018, 3:46pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235 "2018-11-19T15:46:00Z")\
**Posts on this page:** 20\
**Page:** 13

<div class="post-metadata">

**Author:** ![AR-J](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ar-j/32/2414_2.png) [@AR-J](https://community.homey.app/u/AR-J)\
**Post date:** [December 1, 2021, 8:46am UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/243 "2021-12-01T08:46:08Z")

</div>

I noticed the renamed screensavers. 😁 Is there a description of the new behavior and colouring?

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [December 1, 2021, 8:57am UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/244 "2021-12-01T08:57:11Z")

</div>

> [@FKey](#):
>
> In the timeline it reports as “enelogic and youless”

I guess Homey still needs to get used to the new name 😂

> [@AR-J](#):
>
> a description of the new behavior and colouring?

It should behave exactly the same as before: more red means more usage. More blue means more production. The maximum red and blue can be set in the device settings.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [December 2, 2021, 9:01am UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/245 "2021-12-02T09:01:56Z")

</div>

version 4.0.1 just went live in the app store.

- Fix optical water driver.

---

<div class="post-metadata">

**Author:** ![Ancent](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ancent/32/16839_2.png) [@Ancent](https://community.homey.app/u/Ancent)\
**Post date:** [December 3, 2021, 7:04pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/246 "2021-12-03T19:04:03Z")

</div>

Since the update to 4.0.0 my Enelogic P1 has lost the connection with Homey. I tried to add it again, but Homey says: session.on is not a function.

Unfortunately, reinstalling the app didn’t help either. What to do?

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [December 3, 2021, 7:34pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/247 "2021-12-03T19:34:36Z")

</div>

Hi @Ancent ,  
That is unfortunate. I cannot test it myself. Send me an app diagnostics report. I hope that gives me a clue.

---

<div class="post-metadata">

**Author:** ![Ancent](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ancent/32/16839_2.png) [@Ancent](https://community.homey.app/u/Ancent)\
**Post date:** [December 4, 2021, 11:54am UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/248 "2021-12-04T11:54:20Z")

</div>

Hi @Gruijter

Thank you looking in to it. Here are the last lines of the app diagnostic report:

> Blockquote  
> [err] 2021-12-02 20:06:49[Driver:LS120] Pair error Error: Info could not be retrieved from device at Youless.getInfo (/node\_modules/youless/youless.js:198:11) at processTicksAndRejections (internal/process/task\_queues.js:97:5) at async /drivers/LS120/driver.js:51:18  
> [log] 2021-12-02 20:06:49[Driver:LS120] save button pressed in frontend  
> [err] 2021-12-02 20:06:47[Driver:LS120] Pair error Error: Info could not be retrieved from device at Youless.getInfo (/node\_modules/youless/youless.js:198:11) at processTicksAndRejections (internal/process/task\_queues.js:97:5) at async /drivers/LS120/driver.js:51:18  
> [log] 2021-12-02 20:06:47[Driver:LS120] save button pressed in frontend  
> [err] 2021-12-02 20:06:36[Driver:LS120] Pair error Error: Info could not be retrieved from device at Youless.getInfo (/node\_modules/youless/youless.js:198:11) at processTicksAndRejections (internal/process/task\_queues.js:97:5) at async /drivers/LS120/driver.js:51:18  
> [log] 2021-12-02 20:06:36[Driver:LS120] save button pressed in frontend  
> [err] 2021-12-02 20:06:29[Driver:LS120] Pair error Error: connect ECONNREFUSED 192.168.10.110:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { errno: ‘ECONNREFUSED’, code: ‘ECONNREFUSED’, syscall: ‘connect’, address: ‘192.168.10.110’, port: 80 }  
> [log] 2021-12-02 20:06:29[Driver:LS120] save button pressed in frontend  
> [err] 2021-12-02 20:06:18[Driver:LS120] Pair error Error: Info could not be retrieved from device at Youless.getInfo (/node\_modules/youless/youless.js:198:11) at processTicksAndRejections (internal/process/task\_queues.js:97:5) at async /drivers/LS120/driver.js:51:18

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [December 4, 2021, 12:27pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/249 "2021-12-04T12:27:48Z")

</div>

> [@Ancent](#):
>
> Driver:LS120

You are trying to add the Enelogic as a Youless? You do have the old Enelogic P1 device right? Not the LS120?

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [December 4, 2021, 7:29pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/250 "2021-12-04T19:29:45Z")

</div>

Can you share the logs from when the device was sill paired? I need to see what error happened.

---

<div class="post-metadata">

**Author:** ![SjoerdAch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjoerdach/32/47979_2.png) [@SjoerdAch](https://community.homey.app/u/SjoerdAch)\
**Post date:** [December 5, 2021, 10:30am UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/251 "2021-12-05T10:30:34Z")

</div>

I’m running into the exact same problem. Don’t think I have a report from when it was connected, since I reinstalled the app a few days ago.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [December 5, 2021, 10:54am UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/252 "2021-12-05T10:54:56Z")

</div>

@SjoerdAch @Ancent

Can you try a new test version I created for you both: [Youless and Enelogic App for Homey | Homey](https://homey.app/a/com.gruijter.enelogic/test/)

It will only solve pairing the Enelogic. I need the error log after pairing from you to debug the rest 🙂

---

<div class="post-metadata">

**Author:** ![Ancent](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ancent/32/16839_2.png) [@Ancent](https://community.homey.app/u/Ancent)\
**Post date:** [December 5, 2021, 11:43am UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/253 "2021-12-05T11:43:36Z")

</div>

@Gruijter

Thanks! With this version the Enelogic P1 is connected to Homey, but it says ‘cannot read property ‘offPeak of undefined’

> Blockquote  
> err] 2021-12-05 11:38:43[Driver:enelogicp1] [Device:d57388df-85d0-4b96-be5f-0a20e6abbbbd] Poll error Cannot read property ‘offPeak’ of undefined  
> [err] 2021-12-05 11:38:23[Driver:enelogicp1] [Device:d57388df-85d0-4b96-be5f-0a20e6abbbbd] Poll error Cannot read property ‘offPeak’ of undefined  
> [err] 2021-12-05 11:38:13[Driver:enelogicp1] [Device:d57388df-85d0-4b96-be5f-0a20e6abbbbd] Poll error Cannot read property ‘offPeak’ of undefined  
> [log] 2021-12-05 11:38:03[Driver:enelogicp1] [Device:d57388df-85d0-4b96-be5f-0a20e6abbbbd] start polling 192.168.10.110 @10 seconds interval  
> [log] 2021-12-05 11:37:33[Driver:enelogicp1] [Device:d57388df-85d0-4b96-be5f-0a20e6abbbbd] Meter renamed to: 192.168.10.110

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [December 5, 2021, 11:47am UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/254 "2021-12-05T11:47:18Z")

</div>

Yes. With this error I am on to something I can work on. To be continued…

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [December 5, 2021, 12:21pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/255 "2021-12-05T12:21:20Z")

</div>

v4.0.3 Hopefully fixes Eneleogic. Hard for me to fully test since I don’t own that device myself.

> **[Youless and Enelogic](https://homey.app/en-us/app/com.gruijter.enelogic/Youless-and-Enelogic/)**
>
> Reduce your CO2 footprint - measure Power, Gas, Water

---

<div class="post-metadata">

**Author:** ![Ancent](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ancent/32/16839_2.png) [@Ancent](https://community.homey.app/u/Ancent)\
**Post date:** [December 5, 2021, 12:59pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/256 "2021-12-05T12:59:09Z")

</div>

@Gruijter

You solved it. The app works as before. Thanks again!

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [December 5, 2021, 3:24pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/257 "2021-12-05T15:24:01Z")

</div>

Super! I will release it as stable version then. Thx for reporting and testing @Ancent @SjoerdAch

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [December 7, 2021, 8:19pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/258 "2021-12-07T20:19:43Z")

</div>

I’m not getting it. Hopefully someone can shed some light on it. I’m trying to get a little bit more grip on my energy usage. I’m using the LS120 for some time now but have always assumed it would just work like it is supposed to. I have never looked at any of the other apps besides the one in homey.

Now I’m using this app together with the powerbythehour app to summarize the daily usage.

Powerbythehour reports i have been using 20kWh yesterday. When I check the site of Vattenval (my energy supplier) it reports 27kWh. So for the first time ever I looked in the app of the LS120 on my iPhone and that reports 27kWh too. What could it be powerbythehour reports only 20kWh. I do have solar panels, but there was practically no sun yesterday and my solarman reports it only have produced 0,7kWh… so that cannot make this difference.

As I understand LS120 only reports what it reads from the P1 meter. This is correct right? If this is correct I could create some calculations to check against powerbythehour right?

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [December 7, 2021, 8:25pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/259 "2021-12-07T20:25:37Z")

</div>

One thing that might throw things off: Power by the hour uses the Homey clock to see when the day/week/month/year changes. As of Homey firmware 5.0 Homey decided to change the clock from local time to UTC without informing app builders on how to properly get local time and/or test what the effect of the change would be.

The result is, that Power By the hour no longer resets the counters at 0:00 local time but UTC time, which differs 1 or 2 hours, depending on daylight savings. That may account for the difference, although if should be a shift a part of your usage from one day to another.

Most likely your power consumption around midnight was different from one day to the next.

I believe the developer of Power By the Hour recently became aware and was contemplating a way to fix this. But Athom isn’t making it easy. Ah but now I see: same developer 🙂

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [December 7, 2021, 8:36pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/260 "2021-12-07T20:36:08Z")

</div>

> [@Edwin\_D](#):
>
> Power By the hour no longer resets the counters at 0:00 local time but UTC time, which differs 1 or 2 hours, depending on daylight savings

No I already fixed that in an app update.

> [@Martijn\_Hoogenbosch](#):
>
> If this is correct I could create some calculations to check against powerbythehour right?

Just check your insights of the LS120 in Homey. Substract the kWh value at 0:00 from the value next midnight. I am eager to learn if PBTH is wrong or Vattenval…

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [December 7, 2021, 8:38pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/261 "2021-12-07T20:38:30Z")

</div>

> [@Gruijter](#):
>
> No I already fixed that in an app update.

Curious how? Must not have been very easy to get right with daylight savings?

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [December 7, 2021, 9:03pm UTC](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235/262 "2021-12-07T21:03:42Z")

</div>

> [@Edwin\_D](#):
>
> Must not have been very easy to get right with daylight savings?

There is a function for getting the timezone the Homey is using. In the end it is only 2 lines of code to correct for timezone offset.

> <https://github.com/gruijter/com.gruijter.powerhour/blob/8bebc2986f5725a88eb5e8d1658eed702177a650/drivers/generic_device.js#L188>

[Previous page](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235.md?page=12)

[Next page](https://community.homey.app/t/app-pro-youless-enelogic-belgian-and-dutch-p1-smart-meter-reader/4235.md?page=14)
