# Daily energy usage plus costs

**URL:** <https://discourse.nodered.org/t/daily-energy-usage-plus-costs/4648>\
**Category:** General\
**Created:** [7 November 2018 16:56 UTC](https://discourse.nodered.org/t/daily-energy-usage-plus-costs/4648 "2018-11-07T16:56:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [7 November 2018 17:03 UTC](https://discourse.nodered.org/t/daily-energy-usage-plus-costs/4648/2 "2018-11-07T17:03:17Z")

</div>

This thread might be a good starting point...

> [@Calculate rainfall per 24h](https://discourse.nodered.org/t/calculate-rainfall-per-24h/4167/9):
>
> So you will need to store the value. You can store values using context variables see: [https://nodered.org/docs/writing-functions#storing-data](https://nodered.org/docs/writing-functions#storing-data) Try importing this flow and see how you go [{"id":"9a549ce5.8953","type":"inject","z":"9726fcf.8cbf3","name":"Start of the day","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"00 00 \* \* \*","once":false,"onceDelay":0.1,"x":170,"y":400,"wires":[["4cdf847.94f0afc"]]},{"id":"4cdf847.94f0afc","type":"change","z":"9726fcf.8cbf3","name":"…

---

_[View the full topic](https://discourse.nodered.org/t/daily-energy-usage-plus-costs/4648)._
