gruijter / com.gruijter.powerhour

Homey app to summarize power meters per hour, day and month
GNU General Public License v3.0
10 stars 13 forks source link

tariff is not updated in electricity meter #157

Closed ypstullibus closed 10 months ago

ypstullibus commented 10 months ago

I added this simple workflow - but tarrif stays unchanged on default:

Flow

(I have 2 devices - therefore 2 times update of the actualPrice)

ypstullibus commented 10 months ago

just found the update is made automatically when group ist set <> 0!

BUT: I have my spot-prices calculated in cent and I want the summaryDevice to calculate in € ! ==> setting in the pricingUI: currency = cent / exchangeRate = 100 --> I see the prices in readable cent now (e.g.15.42 centc instead of 0.1542 €) Having a look at the electricity_meter device i see a tariff of 15.42 € instead of 0.1542 € - I found no possibility to enter an exchangeRate there too. But here it makes sense to use € because I see dayPrices, monthPrices and yearPrices (unreadable in cent)

ExchageRate-Issue

gruijter commented 10 months ago

yeah, you should use Euro's everywhere. So do NOT use cents in DAP, and Euro in the summarizer.