# \[APP\]\[PRO\] Plugwise Smile P1 - Dutch and Belgian Smart Meter Reader

**URL:** <https://community.homey.app/t/app-pro-plugwise-smile-p1-dutch-and-belgian-smart-meter-reader/8012>\
**Category:** Apps\
**Tags:** app\
**Created:** [January 26, 2019, 3:15pm UTC](https://community.homey.app/t/app-pro-plugwise-smile-p1-dutch-and-belgian-smart-meter-reader/8012 "2019-01-26T15:15:22Z")\
**Posts on this page:** 4\
**Page:** 12

<div class="post-metadata">

**Author:** ![Fred\_ckx](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fred_ckx/32/86217_2.png) [@Fred\_ckx](https://community.homey.app/u/Fred_ckx)\
**Post date:** [September 13, 2024, 9:04pm UTC](https://community.homey.app/t/app-pro-plugwise-smile-p1-dutch-and-belgian-smart-meter-reader/8012/226 "2024-09-13T21:04:06Z")

</div>

Robin,

I have been using your codes for accessing my Smile’s for a long time. Used Nodered for a long period.

My question is partly off topic as I want to access my Smile from Python scripts on a Synology NAS.  
I do it on my NAS iso my Homey because I am more into Python and because I also access my Solaredge inverter and a TAPO smartplug for the heat pump energy.

I currently get the data with a “default” url: [http://192.168.xxx.yyyy/core/locations/logs](http://192.168.xxx.yyyy/core/locations/logs) . But I want to get somewhat more flexibility as I want to get data over a longer period to simulate the effect of a storage battery.

I tried to decipher the part of the code on Github  
[[com.plugwise.smile/node\_modules/smilep1/smilep1.js at master · gruijter/com.plugwise.smile · GitHub](https://github.com/gruijter/com.plugwise.smile/blob/master/node_modules/smilep1/smilep1.js)] where the url is composed, but I am puzzled due to my lack of understanding of Javascript.

Line 312 reads:

`${path};class:eq:${logClass};${typeString};@from=${from};@to=${to};@interval=${interval}`;

I expect that path equals /core/locations/logs . Could you give one or more examples how a url should look if I want to select an other time period. The default interval is OK form me, but what are the options?. And what does the part class:eq:$(logClass) bring.

I hope you want to help me although this is a non-Homey question.

Fred

---

<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:** [September 13, 2024, 9:13pm UTC](https://community.homey.app/t/app-pro-plugwise-smile-p1-dutch-and-belgian-smart-meter-reader/8012/227 "2024-09-13T21:13:40Z")

</div>

Indeed off topic. And I dont remember.  
Maybe better of checking existing python code for smile p1: [GitHub - plugwise/python-plugwise: Plugwise python module for Smiles (Anna, Adam, P1) and Stretch](https://github.com/plugwise/python-plugwise)

---

<div class="post-metadata">

**Author:** ![Fred\_ckx](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fred_ckx/32/86217_2.png) [@Fred\_ckx](https://community.homey.app/u/Fred_ckx)\
**Post date:** [September 14, 2024, 11:49am UTC](https://community.homey.app/t/app-pro-plugwise-smile-p1-dutch-and-belgian-smart-meter-reader/8012/228 "2024-09-14T11:49:29Z")

</div>

Nevertheless “bedankt” Robin! I will have a look at the python-plugwise repository.

---

<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 8, 2024, 11:53am UTC](https://community.homey.app/t/app-pro-plugwise-smile-p1-dutch-and-belgian-smart-meter-reader/8012/229 "2024-12-08T11:53:23Z")

</div>

New version 5.1.0 is ready for testing: [Plugwise Smile P1 App for Homey | Homey](https://homey.app/a/com.plugwise.smile/test/)

- Added Homey total imported/exported energy capability.
- Minor fixes.

This new release prepares the app for new Homey Energy functionality.

[Previous page](https://community.homey.app/t/app-pro-plugwise-smile-p1-dutch-and-belgian-smart-meter-reader/8012.md?page=11)
