Code Monkey home page Code Monkey logo

com.gruijter.powerhour's People

Contributors

cupra1979 avatar dirkg173 avatar gruijter avatar kmengvik avatar marlark avatar sebyldino avatar stefan-schweiger avatar yestond avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

com.gruijter.powerhour's Issues

Watt not updates

Why is not the watt in pbth update when the reported watt from my fibaro plug updates in homey?

The reported watt from the plug is 0 w but in pbth says 409 watt.

477F7C95-C8F0-40E6-8F2E-77B9FA1EDC5F
DCA10EEA-693B-4AB2-9A01-523AD7BDD708

This ”day”

When i use this day and send me a push 23:59 it calulate wrong.. any ideas?

Power by the Hour for HomeWizard

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).

X most expensive / cheap hours of the day

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.

Card not trigering as expected

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

Problem receiving data from Qubino

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

Daily usage totalizer

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.
image

Want to install source device more than once

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

Setting for the time zone

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!

Source device remains missing after Homey boot

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?

Device does not update kWh

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

High memory usage

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.

image

Using fixed and variable markup for dap

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?

Cheapest time.

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.

Some devices stop collecting data while others go on.

I love the app so much! But the issue appear on several devices:

Your app stopps showing power for a device til I restart the app. But in the same moment other recordings still goes on:

Shelly Plug s (status 7 days old):
image

Another Shelly Plug s (status few minutes):

image

Homey bridge

When will you release version for Homey Bridge?

trigger "then" price becomes XX% lower avg. this day

Hello and thank you for the app!

Please check behavior triggers where a percentage is used. I see "lower" works backwards
test flow
image
wrong trigger
image

And also something wrong with "above". looks like it doesn't work.

Tnx.

Need info for charging at right time

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.

Extremely high maximum effect

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.

Homewizard Energylink

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.

Output to GUI is with mixed languages

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:

image

However, when hoovered, the text is displayed in Swedish:

image

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.

image

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.

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.

Calculated/ measured values run wild and cannot be used

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.

example

please add a card to PBTH

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"

Smart power plug not recognised

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.

Power Meter only finds Fibaro Roller Shutter Devices

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

Power by the Hour - Gas meter reset

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?

Extra Card - cheapest of 8 hours

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.

Average price not working correctly

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.

electricity meter Iungo does not work

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

Not beeing able to add power-meter

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):
image

Any idea on howto also add the Electrical-part of the P1-meter to Power by the Hour?

Thanks for looking into it!
Jordi

Actual gas prices (TTF)

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

Not supported

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.
image

Time window variable gas price.

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?

Percentage Flow Card - avarage price

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

“Price now” not working.

it seems that all cards where you have to put
A variable by yourself does not work. When using below average everything seems fine, but “Price now get led than” is not working?
I did ask i a Danish Forum and it seems im not the only one experience this problem.

Regards Mathias.

6AD8B780-6C3B-415A-A491-D98F8C60992D
D940F6E5-0CA2-4C49-B042-006AE6FA6BEF

No NL price updates since 25-06 16:00

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?

Update van "totaal" Qubino 3-phase Smart Meter werkt niet

Als ik een PBTH aanmaak van het totaal van mijn 3 fase meter (Qubino), dan krijg ik geen waardes door.
Wel als ik de 3 fases afzonderlijk doe, maar het totaal dus niet (zie screenshots).
Kan dit opgelost worden aub?
Vriendelijke groet,
Edwin
Schermafbeelding 2022-09-21 om 09 47 55
Schermafbeelding 2022-09-21 om 09 47 47

Add daily and monthly fixed cost

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.

HomeWizard Wi-Fi Energie Monitor

Hi Rob,

a quick question: does this Homey App work for the HomeWizard Wi-Fi Energie Monitor and associated App?

Best regards,
Bert

Add money this hour.

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
Opera Homey 15 38 54@2x
.

Feature request: fixed markup changes during day/night

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?

@kmengvik see #27

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.