Giter Site home page Giter Site logo

Comments (14)

fsaris avatar fsaris commented on August 18, 2024

Hi, I personally don't have the P1 device so I don't get that data in my app.

To reverse engineer the correct api calls I would need to get access to a account with P1 data to check what calls are made.

Maybe you can give me temporary access to your account with the "Deel de app met je gezin" option. So I can check the api calls.

from home-assistant-zonneplan-one.

Broekman avatar Broekman commented on August 18, 2024

Hi, that would be great, many thanks. Can you send me an email to which I can add the family share. Also let me know if you need anything else or if I have to test something.

from home-assistant-zonneplan-one.

fsaris avatar fsaris commented on August 18, 2024

Please contact me via DM on https://community.home-assistant.io/u/minifranske

from home-assistant-zonneplan-one.

fsaris avatar fsaris commented on August 18, 2024

Added support for the P1, not sure about all values will let it run for a while to see if I added the correct labels to the available values. To try this you self install the latest main version https://github.com/fsaris/home-assistant-zonneplan-one#installing-mainbeta-version-using-hacs

from home-assistant-zonneplan-one.

Broekman avatar Broekman commented on August 18, 2024

Many thanks, much appreciated! Overall seems to be working just fine. Below some small remarks:

Electricity today

  • Values OK
  • Name: perhaps change to 'Energy consumption today'
  • Icon: currently mdi:power; perhaps change to mdi:flash? (mid:power is a power button).

Electricity delivery

  • Values OK (verified with home meter vs what Zonneplan reports back)
  • Name: perhaps change to 'Energy consumption' - delivery feels wrong 😄
  • Icon: same as 'electricity today'

Electricity production

  • Name: perhaps change to 'Energy production'
  • Will check values tomorrow, at the time of installing I was already consuming more than I was producing always 0.
  • Icon: same as 'electricity today'

Electricity average

  • Name: perhaps change to 'Energy consumption daily average' to align with the others
  • Icon: same as 'electricity today'
  • Looks like the result of (daily consumption / hours) although I only have ~1 hour of data the moment, so not 100% sure.

Last/first measured

  • If you agree with the name changes; align with above ^

Gas

  • All OK, maybe also add consumption or something to the name. Other than that no remarks.

from home-assistant-zonneplan-one.

fsaris avatar fsaris commented on August 18, 2024

Ah, it was mdi:flash I was looking for indeed 😄

Are the gas values in the correct unit? Looked to me that is was off by a factor of 1000. But not exactly sure.

Will check the naming later this weekend.

from home-assistant-zonneplan-one.

Broekman avatar Broekman commented on August 18, 2024

Oops, you're right. Gas is indeed of by a factor of 1000. Would be expensive having to pay for 2627m3 gas today (almost 2000 euros).

from home-assistant-zonneplan-one.

fsaris avatar fsaris commented on August 18, 2024

@Broekman any idea if Electricity average is the average daily consumption? Or maybe an average of (consumption + solar power) - production so the "real" current consumption.

from home-assistant-zonneplan-one.

fsaris avatar fsaris commented on August 18, 2024

I updated some of the labels and icons

from home-assistant-zonneplan-one.

Broekman avatar Broekman commented on August 18, 2024

Hi Frans,

Thanks for the update.

Looks like the average is the value used by Zonneplan for the live power value in their app (because I don't buy energy from them it's not shown in the app anymore). I created a sensor myself yesterday with a simplistic (P1 consumption - P1 production) which results in roughly the same value although it looks like Zonneplan does some time based average on this as it always differs ~1-15 watts.

Also added a sensor: (solar yield - production + consumption) to get the actual needed power (i.e. what my devices actually use).

Also a note on the actual gas usage, it looks a bit behind (also update interval ranges from 30-70min). E.g. today at 7:32 my thermostat reported 100% heating and gradually reduced heating power till 9:02 (8:07 <30%). Initial gas spike was at 8:07 and a giant spike was at 9:11, while my thermostat was already <30% from 8:07 (no hot water used elsewhere this morning). At 10:07 the giant spike went down again while my thermostat was already idling/low power around 8:15. When I see a spike again I will check the actual values on my meter (can also test by just increasing my temp later today). Overall daily gas usage/increases does look OK (divided by 1000). This is of course not on your side but just as a note.

from home-assistant-zonneplan-one.

fsaris avatar fsaris commented on August 18, 2024

regarding gas usage; looks like this is reported only every hour with some additional delay. If you look at the hour graph in the app the values seem to match. And that graph is also behind.

from home-assistant-zonneplan-one.

Broekman avatar Broekman commented on August 18, 2024

Yes, I also noticed the high interval so that's explainable.

Regarding the average value, I'm quite sure its average since last report. It also averages short spikes (e.g. coffee machine) but goes back to normal on the next update.

from home-assistant-zonneplan-one.

Broekman avatar Broekman commented on August 18, 2024

Hi Frans,

All seems to be OK and didn't have any issues so far, so I think we can close the ticket? I will leave the family access to my Zonneplan account up for a few more weeks (or longer/shorter, whatever you need). Many thanks for the quick addition 👍 If you need anything, you can contact me through e.g. a PM on Home Assistant.

from home-assistant-zonneplan-one.

fsaris avatar fsaris commented on August 18, 2024

Hi Stefan,

Your welcome.

Zonneplan contacted me after they saw the discussion here and send me a Zonneplan Connect module so I can test this with my own data in the near future :)

from home-assistant-zonneplan-one.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.