# \[APP\]\[Pro\] Norwegian Electricity Bill (Strømregning)

**URL:** <https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678>\
**Category:** Apps\
**Created:** [December 16, 2021, 10:13am UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678 "2021-12-16T10:13:31Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Espen\_Fevang](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/espen_fevang/32/17293_2.png) [@Espen\_Fevang](https://community.homey.app/u/Espen_Fevang)\
**Post date:** [January 3, 2022, 4:41pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/42 "2022-01-03T16:41:29Z")

</div>

I am using the new test version. Great app!

If you add «strømregning - enhet» which «strømregning» will it get its prices from?

I see that a «strømregning» created in an earlier version has less option to choose from when choosing «statusindicator». Is there any way to fix this?

I will also say that I combine this app, with the app «groups». I group all my heating cables to report consumption to a «strørmregning - all heating cables». In «strørmregning - all heating cables» I set the «nettleie - fast kostnad» to 0, but the rest of the prices I specify. This works very good 🙂 I just wanted you to know so that future changes to the app dont change this 🙂

Thank you so much for the app.

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [January 3, 2022, 5:01pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/43 "2022-01-03T17:01:56Z")

</div>

I recommend just one “Strømregning”, and you can have several “Strømregning - enhet”. But it’s up to you.

It will get it’s settings from “the first” “Strømregning” …

“Strømregning - enhet” does not add fixed amounts (grid yearly, or utility monthly). So I think you can use the new “Strømregning - enhet” for your heating cables.

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [January 3, 2022, 5:02pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/44 "2022-01-03T17:02:38Z")

</div>

And the status indicators… Looks like some bugs in the Homey app to me…

---

<div class="post-metadata">

**Author:** ![mroek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mroek/32/38044_2.png) [@mroek](https://community.homey.app/u/mroek)\
**Post date:** [January 3, 2022, 5:11pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/45 "2022-01-03T17:11:55Z")

</div>

I just installed the test version, and in the web interface there is no way of discerning the device types. They are both shown as “Norwegian Utility Bill”, so I can’t see which one is the slave device. I have my Homey set to English, it might be different if it was set to Norwegian. Haven’t checked the phone app, because I’m currently in the process of transferring to a new phone.

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [January 3, 2022, 7:14pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/46 "2022-01-03T19:14:18Z")

</div>

Probably because the default name in English (Norwegian Utility Bill Device) is a bit too long.

But you can rename the device after it’s installed.

---

<div class="post-metadata">

**Author:** ![mroek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mroek/32/38044_2.png) [@mroek](https://community.homey.app/u/mroek)\
**Post date:** [January 3, 2022, 7:27pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/47 "2022-01-03T19:27:31Z")

</div>

Yes, I saw that. Still somewhat confusing, but in the phone app it is possible to discern them, since it allows for longer names to be shown.

---

<div class="post-metadata">

**Author:** ![Espen\_Fevang](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/espen_fevang/32/17293_2.png) [@Espen\_Fevang](https://community.homey.app/u/Espen_Fevang)\
**Post date:** [January 3, 2022, 8:25pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/48 "2022-01-03T20:25:31Z")

</div>

Thanks for your reply. I find the app groups a bit unstable. Do you know of any other way to achieve my scenario as described in the previous post - without using the groups app?

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [January 4, 2022, 6:14am UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/49 "2022-01-04T06:14:48Z")

</div>

Yes, you can create one variable and two flows:

**1.** create a number variable

**2. first flow:** add all Power capabilities (Effekt) for all heating cables, eg. every 15 seconds, and store the sum in a variable

[https://homey.app/no-no/flow/\_cBIzU/](https://homey.app/no-no/flow/_cBIzU/)

(If you want a bit more work, you can instead create one flow per heating cable device, and update the sum on Power changes (Strømmen ble endret).)

**3. second flow:** on every change of the variable, update the “Strømregning Enhet” - device

[https://homey.app/no-no/flow/iPLIzU/](https://homey.app/no-no/flow/iPLIzU/)

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [January 4, 2022, 7:56am UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/50 "2022-01-04T07:56:09Z")

</div>

v. 1.1.1 is ready for testing:

- Added separate formula for fixed monthly utility costs

Click on the link below to get access to and install the test-version:

> **[Norwegian Electricity Bill](https://homey.app/en-us/app/no.almli.utilitycost/Norwegian-Electricity-Bill/)**
>
> Calculate electricity and grid costs

---

<div class="post-metadata">

**Author:** ![mroek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mroek/32/38044_2.png) [@mroek](https://community.homey.app/u/mroek)\
**Post date:** [January 4, 2022, 11:41am UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/51 "2022-01-04T11:41:51Z")

</div>

Excellent! Thank you for your great work and quick turnaround on adding requested features. Much appreciated!

---

<div class="post-metadata">

**Author:** ![mroek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mroek/32/38044_2.png) [@mroek](https://community.homey.app/u/mroek)\
**Post date:** [January 6, 2022, 12:01pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/52 "2022-01-06T12:01:45Z")

</div>

@balmli  
I am really happy with this app, but I have a small (I hope) additional wish. Currently, the app only shows energy usage for the current day and for the current year. It would be nice to have energy also for current month (and possibly last month) as well. I know that the costs for current and last month are there, but it would be nice to also have the energy shown.

Is that something you could consider adding?

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [January 6, 2022, 12:29pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/53 "2022-01-06T12:29:58Z")

</div>

You can turn off resetting the Energy daily in adv. settings (Reset power meter daily).

And accumulate the energy to a monthly value, and reset the Energy value by a flow.

---

<div class="post-metadata">

**Author:** ![mroek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mroek/32/38044_2.png) [@mroek](https://community.homey.app/u/mroek)\
**Post date:** [January 6, 2022, 1:01pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/54 "2022-01-06T13:01:17Z")

</div>

Sure, it would just be convenient if it was directly available in the app, since there is already costs per month. And by doing it like you suggest, I can no longer see the current daily value (it would instead show the accumulated monthly).

Again, I can of course use flows to get around that too, so not a big deal, I just thought it would be nice to have in the app.

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [January 8, 2022, 8:02am UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/55 "2022-01-08T08:02:06Z")

</div>

V. 1.2.0 with the following changes:

- Added action card ‘Update energy with X kWh’ to update with energy (kWh) instead of power (W)

The ‘Update energy with X kWh’ action can be used instead of the ‘Update consumption with X W’.

Here’s link to get access to the test-version:

> **[Norwegian Electricity Bill](https://homey.app/en-us/app/no.almli.utilitycost/Norwegian-Electricity-Bill/)**
>
> Calculate electricity and grid costs

---

<div class="post-metadata">

**Author:** ![mroek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mroek/32/38044_2.png) [@mroek](https://community.homey.app/u/mroek)\
**Post date:** [January 8, 2022, 1:42pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/56 "2022-01-08T13:42:53Z")

</div>

A quick question: My app was automatically updated to this new version, which is fine. However, is it possible to switch to the official release version to not get automatic updated to test versions? Is it as easy as just pressing “install” on the release version? And if so, does that preserve all data?

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [January 8, 2022, 2:31pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/57 "2022-01-08T14:31:06Z")

</div>

Yes, that’s correct. No data will be destroyed if you go back the official release.

But it’s always good to have some help to test new releases.

---

<div class="post-metadata">

**Author:** ![mroek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mroek/32/38044_2.png) [@mroek](https://community.homey.app/u/mroek)\
**Post date:** [January 8, 2022, 2:47pm UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/58 "2022-01-08T14:47:13Z")

</div>

Oh, absolutely. I’m all for helping out with beta testing, but in some cases the new features might not be of interest to me, and if the test version breaks something else, that would be annoying.

---

<div class="post-metadata">

**Author:** ![mroek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mroek/32/38044_2.png) [@mroek](https://community.homey.app/u/mroek)\
**Post date:** [January 10, 2022, 8:19am UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/59 "2022-01-10T08:19:23Z")

</div>

So I decided to test the new features, as using energy instead of power should be even more accurate (given the fact that when the device itself does the accumulation, it should have a higher internal sample frequency). It seems to work fine, but there’s a side effect that you might want to do something about. Look at this screenshot:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/6/06c9c73cecb8e46014a6eb3f9ef7a19281a23d1c.png)

Current cost is a wee bit off (understatement of the year), and also negative. This device (the water heater) hasn’t been on for some hours when the screenshot was taken, but I guess the device that measures power and energy has perhaps sent updates to the energy with identical values, which messed up your calculation.

Another side effect of using energy is that “Current cost” will stay at some value even after the device is no longer drawing any power, which could perhaps be confusing for some. The most obvious fix is perhaps to allow for also reporting current power to the “Strømregning”-device, and have it simply prioritize energy values, but use power to determine whether there is actually any power draw or not.

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [January 10, 2022, 8:38am UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/60 "2022-01-10T08:38:53Z")

</div>

Yes, maybe the “Current cost” should be blanked in “kWh” - mode…

---

<div class="post-metadata">

**Author:** ![mroek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mroek/32/38044_2.png) [@mroek](https://community.homey.app/u/mroek)\
**Post date:** [January 10, 2022, 8:51am UTC](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/61 "2022-01-10T08:51:34Z")

</div>

Yes, or at least not allowed to go below zero.

[Previous page](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678.md?page=2)

[Next page](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678.md?page=4)
