New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homey Energy #53
Comments
Hi, Eddi measures the power usage from CT1-CT3 and uses these values for calculating the energy usage since last update. you should be able to select which CT clamp to include in your calculation on the settings page, but I see that the Eddi device is not currently honoring that setting. I will fix that and publish a new version very soon. I do not own an Eddi device, so it would be very helpful if you are able to post an anonymized output from myenergi API. Use the following URL to get the data. https://s18.myenergi.net/cgi-jstatus-* Could you also provide some information on what the different CT clamps are connected to? Thanks! |
I have just published a new test version. You can install it from here: https://homey.app/a/net.biseth.myenergi/test/ The total power and energy calculation is changed to honor the settings under "Advanced Settings". I would b happy if you could install the test version and report back with your findings. Thanks! |
Evening, thanks for your responses. I have installed the test version and now the correct numbers are being shown again in Homey energy tab. I tried the cgi-jstatus link and the resulting page showed hardly any information. There is one CT clamp that I am aware of and, as far as I know, it is connected to the mains connection to monitor the direction and amount of electric energy |
CT1 shows measurements, CT 2 & 3 show nothing |
Interesting discovery. Several of the tag names have changed so had to amend a few flows, that's easy enough of course but can't find one to display the amount transferred today |
The numbers displayed in the Homey app for Energy and Energy CT1, these seem to be the same, are not what the android myenergie app shows |
Homey app shows 7.69kWh, whereas myEnergie app shows 3.5kWh |
Just looked at Insights, your app didn't reset the Energy from yesterday so it started at 4.2kWh instead of zero |
Hi, Not sure if I understand you correctly, but I have published a new version that include a setting to subtract generated energy from total when performing the energy calculation. Hope that solves the discrepancy you see between myenergi app and Homey app when it comes to energy calculation. Depending on how you choose to calculate energy, the CT1 energy and total energy can be the same. By default the system is automatically choosing which CTs chould be used in the power calculation. It selects the CT that is named "Internal Load". You can of course override this under "Advanced setings". See screenshot below: Just to be clear, the Homey app does not automatically reset energy usage. You will have to do that yourself by setting the offset under "Advanced settings". Hope this solves some of your issues mentioned above. Let me know what you think. Thanks! :) |
Excellent thanks, installing now. In previous live versions their was a tag for energy transferred today, it has disappeared from recent live and test versions. This new setting looks to bring it back |
Perfect! |
Morning, sorry to be a niusance but either I don't understand the changes or there is a bug/issue. I cannot manage to get your app to display energy transferred "today", it still shows cumulated since last reset, In previous versions there was a number tag for Transferred today, it has been removed, it showed the figure from the myenergie phone app for Green Energy Today. That tag would be very useful to have back again. A way to, via flows, manually reset Energy at minute after midnight might work. No sure |
Edit, I have created a PBTH device which should allow me to replace various tags. |
OK, so if I understand you correctly, you want to be able to display the energy consumption of your home "today" and maybe also other periods. That is currently not supported in the Homey app, but I can implement it and hopefully retrieve the data you want from myenergi. Remember, I can only supply data that exist in the API that myenergi is providing. If I cannot find it, it's a bit tricky to implement ;) |
Not of "home", just energy sent via Eddi to hot water. A couple versions ago of your app, it used to do this via a number tag with a name similar to Energy Transfered Today. I'm not worried about other days. I am experimenting with a Power By The Hour device that may be able to do what I need, it will take a couple of days to be sure |
It’s hard for me to determine what the difference between myenergi app and homey app without any data examples from myenergi app. Can you also provide a screenshot of that and pinpoint what the difference is? CT1 and Energy will most of the time track each other because CT1 is used in the total energy calculation. It actually depend on what you have selected under «Advanced settings». If you have selected Automatic, the it will use all CTs that is named «Internal Load». If you have selected manual, then the selected CTs will be used in the calculation. It is only the Energy data that will be used by Homey when determining the total energy. Reasons for the differences could be that CT1 The energy for the CT clamps should only be used as a reference and will only reflect how much energy has been drawn from that particular phase. The Homey app is only using data provided by myenergi. The energy is calculated from these data. |
The imported figure of 30.8 tracks almost perfectly with what SolarEdge are reporting was imported. Total house consumption today was 42.5kWh (we have 2 Tesla) of which 12.4kWh was produced by the solar panels and used by the home, 6.4kWh was diverted by Eddi to hot water |
Does the data from Harvi reflect the 30.8 you see in your other devices? |
You can also try to decrease the data update interval in the app settings to see if that could improve the accuracy. Minimum value here is 5 seconds. Default is 60 |
the polling interval was set at 30 seconds. |
Ok, you might have left out the asterisk at the end (*) Please double-check that the url ends with * |
The * is there |
Ok, strange. Let me re-evaluate the logic and see if I can find any discrepancies. Meanwhile, you can monitor the data to see if you can see any patterns emerge. |
Both those insights show the same increase today, just that PBTH started at zero |
Curious event, myenergie has been working grand and the PBTH app has been summarising daily production correctly.....shelly app has however been reporting |
This seems to have appeared after recent app update. The energy tab in Homey app shows Eddi power level from Harvi and not what Eddi is actually consuming. It is dark so no solar PV and Eddi showing 2.49KW consumption. Eddi is off, waiting for surplus.
The text was updated successfully, but these errors were encountered: