# Next value in msg max 1 higher than last

**URL:** <https://discourse.nodered.org/t/next-value-in-msg-max-1-higher-than-last/67493>\
**Category:** General\
**Tags:** database\
**Created:** [8 September 2022 18:41 UTC](https://discourse.nodered.org/t/next-value-in-msg-max-1-higher-than-last/67493 "2022-09-08T18:41:53Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![bgdev2015](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bgdev2015/32/67525_2.png) [@bgdev2015](https://discourse.nodered.org/u/bgdev2015)\
**Post date:** [8 September 2022 20:18 UTC](https://discourse.nodered.org/t/next-value-in-msg-max-1-higher-than-last/67493/5 "2022-09-08T20:18:10Z")

</div>

There 2 values:

Val1: 8257 and Val2: 8254

Val 2 is the needed value, but this value will change because its my Total consumed Energy. Whats the second val i dont know.

 ![Unbenannt](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/d/0d9af01fa6bc9298f9f953a904fe1aefe5afa941.png)

Atm this is what my Node looks like. With first filter in total-line iam clearing some outputs from my electricity meter thats 100% incorrect because the tasmota-software isnt fully compatible with my meter^^

---

_[View the full topic](https://discourse.nodered.org/t/next-value-in-msg-max-1-higher-than-last/67493)._
