gruijter / com.gruijter.powerhour Goto Github PK
View Code? Open in Web Editor NEWHomey app to summarize power meters per hour, day and month
License: GNU General Public License v3.0
Homey app to summarize power meters per hour, day and month
License: GNU General Public License v3.0
For the power meter devcie. Is it possible to add a then card to reset the meter? ie when power becomes greater than, then reset meter value.
When i use this day and send me a push 23:59 it calulate wrong.. any ideas?
Hi, I have tested this App against my HomeWizard Energy. The gas reading works!
The Power Summarizer does not work as it cannot detect any devices. The HomeWizard Energy App does show the energy readings (but only the current reading, not any daily or hourly totals).
I'd like a card that allows me to trigger something on the X most expensive or cheap hours of the day.
So for example
For the three most expensive hours of the day I'd like to turn something of
For the four cheapest hours of the day, I'd like to run something extra (like charge my car)
So a card saying something like
"This is one of most expensive hours of the day"
This can be one card with invert of course.
Hi Robin,
I am using the app in a simple way to improve the costs of heating the house with our heat pump. When the price drops below the average of the day I switch on the heating. And when it rises above the average, the heating is switched off again. The same applies to the boiler.
https://homey.app/f/zqQy8_/
However, the card that should trigger when the price drops below the average of the day does not always fire. Resulting in a cold house... Most often this happens early in the morning (00:00 or 01:00).
Also the following flow never triggers.
https://homey.app/nl-nl/flow/8MNx8_/
When you find the time, could you look into this? If you need help debugging or there is anything I can do, please let me know.
Kind regards,
Wouter Berman
Hello.
I have problems receiving data from Qubino smart meter, ZMNHTD1. Are Power by Hour configured to recieve data from that device?
Odd Inge Jacobsen
I am using a EVA power consumption reader (HAN reader) as input source for the power by the hour app. The power consumption is constantly changing but in the power by the hour app the consumption is showed with a negativ sign every one-five minute
This is really a great app. Combined with 'Insights' showing the totals of 'previous day' creates great insight in power consumption. The only metric I miss is a total for the current day. If I put the 'previous day' totals in Insights then I'm always one day off, so my usage of Wednesday shows on Thursday. A metric for 'day total' would show a real usage. It could just be a copy of the value of 'previous day' but then shifted in time...
As you see in the picture, the consumption showing Jun23 really happened June 22nd, and Jun24 really happened June 23rd.
Hallo Robin, thanks for you nice app. I have a question.
In one VD i want to show for example the amount of kWh’s used.
Than from the same device (P1) the amount € spend today.
Problem is that although you provide a lot of values, but i can only show one of them because i cannot install the same source device twice. Do you know a solution?
Thanks in advance, Rene
All prices have been frozen since yesterday at 1600 CET. Tibber have also had issues fetching prices the last 24 hours but this now seems to be resolved.
Nord Pool is publishing prices in CET/CEST time zone. I am located in Estonia (+1h difference vs CET), therefore "Price now" in the app is actually the price that will be the next hour. Would it be possible to add a setting to offset the time by user defined amount of hours?
PS! Thank you for the great app!
Hi. I restart my Homey once a week, and every time I do this the app crashes. To get it working again I have to go to apps, choose the app, go to settings and restart the app. Is this a known issue?
One of my devices does not update the values for kWh until I restart the app.
It's a virtual device, but my other virtual devices does work. Tried to remove and add it again, but get the same problem.
The device name is: Vårt strømforbruk
Report I'd: d2e3ad0d-9443-457f-9032-ae31e594a27b
Running version: 3.1.0
Version 2.1.1
Hi Robin,
Nice work on the app and very useful for those that want to track their electic and gas usage.
My worry currently is the amountof memory it uses. I am on the old Homey 2016 and see this app is one of the top user. Is this something you can look at or is this due to the athom api it uses and the related privileges it needs. I will check if it will drop memory after some garbage collection (memory) by tomorrow but for me this is a concern.
When using both variableMarkup and fixedMarkup; it seems that the price is first multiplied with the variableMarkup and the fixedMarkup is added afterwards:
let muPrice = ((price * this.settings.exchangeRate * (1 + this.settings.variableMarkup / 100)) / 1000) + this.settings.fixedMarkup;
In reality (at least when using Tibber), the markup should first be added and the result should be used to multiply with the variableMarkup (tax).
Is there another way to configure this?
Can you add a variable that shows what the cheapest time of the day. I'ld like to wake up with a push message telling me the weather and stuff, i'ld like to include the cheapest time of the day, so I know when to (manually) start my dishwasher and stuff.
Found a thread (below) where qubino is not supported. My Qubino device (ZMNHTD1) is selectable when adding a new PBTH-unit, but no data comes through.
Any ideas if there's something i can do?
My Aqaria devices works flawless.
EDIT: It actually works if i change the setting "Use Watt as source".
When will you release version for Homey Bridge?
When i choose to show money today the number showing is the kwh?
Hi.
I try to use PBTH, but I don't know how to, I live in Denmark and have setup, so it update Denmark prices, but I can't figure out how to set it up to my usage.
I come home between 15:00 and 18:00 and I need to charge the car for 3½ hrs before 6:00 in the morning, can you explain/guide me how to ?
I've a sensor saying when the car is home/plugged in ready to charge.
Kind regards, Thomas.
When using Power By The Hour to keep track of charge costs for an EV I have noticed that maximum effect sometimes get an extremely high value when charging is activated and then quickly deactivated again, that is goes from 0 watts to several thousands of watts (actual effect) from one minute to the other and then back to 0. Just now I got a reading of >80.000 watts in max effect according to Power By The Hour. Actual effect was around 2.000 watts for a brief moment.
Been looking at the source code a bit and it seems to stem from the way measurePowerAvg is calculated, which then wattMax is set to.
The calculation error also leads to a too high power cost being calculated.
I'm using the Energylink from homewizard with the Homewizard app.
The Energylink is connect to the P1 meter and with S1 to the water meter and with S2 to the kWh meter for the solar panels.
It is not possible to select the gas meter because it isn't detected.
Also the solar panels can't be selected.
Also the data from the P1 meter reading is the aggregated data which is used bij this app.
Hi. As I posted in PM the output from the master has flaws. I think perhaps the other day in the PM you did not fully catch what I am on about. I'll try to post some better examples here:
Initally, the text is displayed correctly in Norwegian from my translation:
However, when hoovered, the text is displayed in Swedish:
And, these hoovered textsm I can not find anywhere in the files. I kindly ask you to help me find where they are. As i said in PM, the search with ctrl-shift-F (Find in files) did not find anything.
The other issue I was on about, with the flowcards, I actually found the problem with on my own. I have fixed them in the fork now, but await your help with the hoovered texts :)
Monthly power production is not reset on the first of the month. Value keeps increasing. Have the app installed for 28 days now, I’ll keep you posted if the counter should reset in the upcoming days.
Hi, Is it possible to change the flow update tariff so you select witch device you want to update.
Want to have different tariff on my energy meters.
/Albin
Hi,
Maybe this issue is reported or fixed but in version 4.5.6, is there a big problem with the measured values (see attached pic.). When this happens the app must be removed and added/ linked to the unit again. I have a feeling that this happens when the time passes 00.00, but not sure. The power app is not operational in this condition and can not be used.
Hei! The app innstals as it should, but it is not able when trying to use it in flows.
today there is a card "Priset blir ett av antal lägsta under period timmarna före klockan tid"
but it would be great if we also could have a card "Priset blir ett av antal lägsta under period timmarna mellan timme x och timme y" / "the price gets one of the lowest under period between hour x and y"
My Apex Smart Plug (EVA smart plug) is not found by the power by the hour app for Homey Pro, but my EVA smart power reader (han) is.
Hello There
I tested your Homey App, since Homey cannot produce power consumption information cumulated.
The app works for the devices it finds, but not for my Power Meters. I have the following Power Meters in place
myStrom Power Adapter (they also have a Homey App). Will these Power Adapters work with your app in the future?
I am also planning on installing a smart meter by the circute board. So now I am wondering if you know which of these smart meters you have supported already
Qubino 3 Phase Smart Meter
Shelly 3EM or 4Pro Smart Meter
Thank you and best regards
Alex
For the electrical part, I'm able to select the 'has a daily reset' checkbox, so my totals won't become negative. For the gas meter I'm not able to do this. Would it be possible to also add it in the Gas totalizer?
Hi, would be nice if the option is there as a card: cheapest rate with amount +hours of the next 8 hours.
Based on that, we can activated/delay certain equipment.
The average price next hours card does not seem to be working correctly. When I set the price (NO_Norway5) to be turned on when the average price is lowest for the next 2 hours on the period of this day. Sometimes it turns on every hour. And sometimes not at all.
I use an Iungo device to read my smart meter. if I add these in the app, the values are not read and visible. is there anything that can be done about this? The gas meter values that also go through the Iungo are read well
Hi,
When I try to add my power meter, I can only choose my PV-inverter, and it does not show my P1-smartmeter device (Electrical-part).
For P1-smartmeter device I use:
https://homey.app/nl-nl/app/com.p1.dsmr/P1-DSMR-Board-Lezer/test/
https://github.com/BardoelT/com.p1.dsmr
Power by the Hour sees the P1-device, because adding the GAS-part of the meter is possibe (and working):
Any idea on howto also add the Electrical-part of the P1-meter to Power by the Hour?
Thanks for looking into it!
Jordi
preferably an invert of #18
Not really an issue, but a 'great to have'. I love this app and it will help me a lot to save money.
Is it possible to automatically update the actual gas price in the app? If it knows the gas price (TTF), it is easy to calculate the cheapest energy. If the kwh price is lower than the gasprice/9.77, electricity is cheaper, so my boiler can get heated with an electrical heater in stead of gas.
I guess that if the actual hour kwh price can get updated automaticallly, the gas price update is no rocket science, isn't it?
https://www.powernext.com/spot-market-data
Hi,
I have had some help making a integration to Homey from StecaGrid Coolcept inverters via Better Logic, HTTP request flow cards and https://homey.app/en-us/app/com.arjankranenburg.virtual/Virtual-Devices/.
It works like this:
Measure_power is a property from a device that accepts Watts as value. Its a virtual device rather than a Solar panel app.
In short the HTTP get JSONpath does the XML grab. the string goes to the tree xml and grabs array number [2] which is your watt value and inserts that in to variable in Better Logic.
Then the flow at when variable changed (better logic) it will update the measure_power attribute of steca 1 or 2 to that number
However, I am not able to get Power By The Hour to find the buttons.
Dear Robin,
Variable gas price have a prive window from 06.00hr to 0.600hr each day. I don’t think you have implemented that.
Is it an idea to input the price as hourly prices from:
00.00hr to 06.00 with the day price of the previous day, and
From 06.00hr tot 24.00hr of the todays price?
How do you think about that?
Would like the option to choose 5, 15, 25 and 35% in addition to today's values of flow below/above the average price. Preferably the option to define the percentage myself
The last price update in the app was on 25-06 at 16:00. I tried restarting the app which did not resolve the issue. Could you please have a look?
Today I can get my energy usage cost based on how man kWh we consume. It would be nice if I also could add montly and daily subscription fee so I get the total in end of month. I've a daile subscrtion fee for the gonsumption and a monthly fee to the net owner.
Hi Rob,
a quick question: does this Homey App work for the HomeWizard Wi-Fi Energie Monitor and associated App?
Best regards,
Bert
Hi,
Since you implemented my last feature in a blink of an eye, here a new request.
For usage on the 'insight' page, could you add a 'money this hour' ? There is a 'Money last hour', but if you use that in Insights, you get an offset of one hour basically, see attached screenshot. The usage is in the top graph and the costs in the bottom one, but as it is the costs of the hour before, you have to look at the hour after it
.
I would like to address an issue which is relevant at least for the Norwegian users, who have day/night prices. When we close up on the clock to the time when price changes, the price + hours will not show correct price beyond the price change time, until the time passes, and the markup is updated from the flow. Is there any way to work around this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.