first of all, many thanks to AdamWelchUK for this great dashboard.
This is my first Node RED project I've deployed so I'm learning a lot.
My setup: Raspi Buster, NodeRED 14.17.3, all palletes up to date.
I'm using Dashboard v0.5.
For historical data I'm trying to modify flow to send data using MQTT to my Home Assistant instead to save to Influxdb.
There are non properly filled payload messages from Switch Node starting from topic MonthConsumed to TotalGenerated.
Only topic TodayConsumed has array of two items.
array[2]
0: 4
1: 0
As you can see, the array has not only 2 items as the function "32 bit register conversion /100" expect so correct output is only for topic TodayConsumed.
Hello,
first of all, many thanks to AdamWelchUK for this great dashboard. This is my first Node RED project I've deployed so I'm learning a lot.
My setup: Raspi Buster, NodeRED 14.17.3, all palletes up to date.
I'm using Dashboard v0.5. For historical data I'm trying to modify flow to send data using MQTT to my Home Assistant instead to save to Influxdb.
There are non properly filled payload messages from Switch Node starting from topic MonthConsumed to TotalGenerated. Only topic TodayConsumed has array of two items. array[2] 0: 4 1: 0
Topic MonthConsumed payload array: array[4] 0: undefined 1: undefined 2: 283 3: 0
Topic Yearconsumed: array[6] 0: undefined 1: undefined 2: undefined 3: undefined 4: 283 5: 0
As you can see, the array has not only 2 items as the function "32 bit register conversion /100" expect so correct output is only for topic TodayConsumed.
Is there a fix for this behaviour?
Thanks
Radek