BardoelT / com.p1.dsmr

The Homey app for reading data of the DSMRv4 board
GNU General Public License v3.0
0 stars 1 forks source link

Working with DSMR-API #8

Open JordVisbeen opened 3 years ago

JordVisbeen commented 3 years ago

Hi Thijs,

I currently use the DSMR-WS 1.0.5 firmware from Willem Aandewiel, on a ESP-01 board. On Homey I have the older com.p1.DSMR app from Tycho Schenkeveld. This has been working perfect for a long time now. But as you indicated, DSMR-WS is not maintained anymore, so it's maybe time to move on.

So first I installed/updated to your Homey app. But it can't find the DSMR-WS 1.0.5 module anymore (timeout 30000ms). But in your comments you indicated that old driver should still work right? So what could be the issue here?

Next to this I installed the DSMR-API version on the ESP-01. This can be found by your Homey app. But here I only see delivered energy. Returned energy is completely gone. Am I doing something wrong?

Thanks for your time! Jordi Visbeen

BardoelT commented 3 years ago

Hi Jordi,

The old driver is deprecated, the driver will still work as long as it is already installed. But you can no longer add a new device with the old driver. I didn't get requests to keep supporting the now deprecated driver, but this is no longer a problem as you updated the hardware, right?

I am working on an update with some new features, mainly to bring some support for the flows. Good thing you letting me know that the returned enery will be used, I will also bring that feature back.

Let me know if you have any other requests! I will let you know when I have an update.

JordVisbeen commented 3 years ago

Hi Thijs,

Great to hear that you are still working on updates for the app! I have 2 friends and several collegues with a Homey and the DSMR-hardware, so your app will be used more and more I predict (at least I will promote it).

I have an electronics background and at the moment I can flash any DSMR-version from Willem, so I think we can help eachother out here (you could use me as tester ;) ). But I agree with you that the focus should be on the newest DSMR-API version.

My basic wishlist for now would be to have the same figures back as they were available in the 1.0.1 app (see picture): Homey 1 0 1 app view_s

Note: the lower figure 'Elektriciteit huidig verbruik/teruglevering' is useless to me. When delivering power this is always 0. I think this has to do with my smart-meter beeing not the newest version. But you can leave it in for others.

Other items that could be implemented (maybe in the settingspage of the device):

Thanks and I'm looking forward to it!

BardoelT commented 3 years ago

Hi Jordi, Today I released the app for testing purposes. You can install and test the updated app here: https://homey.app/a/com.p1.dsmr/test/. Let me know what you think of the update!

JordVisbeen commented 3 years ago

Hi Thijs, I installed the test release.

DSMR-WS: working again, all info is available. 'depricated' message is shown (which is good).

DSMR-API: all requests are in and working. Also nice to see the info from the board in the settings page! Question: what is the refresh rate of this? IMG-20210416-WA0000

For now I see no issues and I'm going to test it more next week.

For now I'm very happy with it, major thanks!

JordVisbeen commented 3 years ago

Oh closing is a bit too fast now 😂

JordVisbeen commented 3 years ago

Hi Thijs,

After some more testing I have the following remarks:

1) Names of the measured items are not consistent. image My suggestion, make the purple one 'Totale Elektriciteit teruggeleverd'. Maybe also 'Totaal gas verbruikt' instead of Gas verbruikt.

2) Energytab not(?) working: The energy consuption from the meter is not displayed, although the setting is set to 'on'. image The 5 watt displayed is because I filled in the energy usage of the device itself.

3) I'm using the app 'power by the hour' (https://homey.app/nl-nl/app/com.gruijter.powerhour/Power-by-the-Hour/). It can find my GAS-device, but unable to find the Electricity device. Would be nice for the daily/monthly E-figures.

Thanks for looking into it!

JordVisbeen commented 2 years ago

Hi Thijs, The Homey app v2.1.0 still says 'experimental', but it's already working quite well from april 2021. Shouldn't it just be the regular version? Or did you want to look into above items first?

Thanks!

https://homey.app/nl-nl/app/com.p1.dsmr/P1-DSMR-Board-Lezer/test/