(Hi DCeeJay.)
(Read your reply.)
for clarity with the DEBUG node
Yes, it is disabled.
I injected the data and habitually disabled it when done, so if I needed to get back to it status quo the data would still be there.
The data in the screen shot is from that debug node.
(Annoyed that you can't put extra blank lines in for separation of paragraphs other than one line)
This is weird.
(Not to you Steve)
I've decided to minimalise the problem.
This is my test flow:
(Sorry it has a fan
node in it to simplify switching what is connected to what.
See below screen shots.)
[{"id":"b8cb4c65.14521","type":"function","z":"baf80d2f.6bd538","name":"Add time","func":"var temperature = msg.payload;\nvar now = Date.now();\nmsg = {temperature: temperature, timestamp:now};\nreturn msg;\n","outputs":1,"noerr":0,"x":280,"y":2930,"wires":[[]]},{"id":"4aafd22.8baa5ac","type":"inject","z":"baf80d2f.6bd538","name":"","topic":"","payload":"foo","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":2860,"wires":[["1a3051b4.30cfce"]]},{"id":"d6c6250d.65fbe","type":"debug","z":"baf80d2f.6bd538","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":650,"y":2930,"wires":[]},{"id":"1a3051b4.30cfce","type":"random","z":"baf80d2f.6bd538","name":"","low":"1","high":"10","inte":"true","property":"payload","x":280,"y":2860,"wires":[["b8cb4c65.14521","e6a6b5c1.9777b8"]]},{"id":"200ee33d.e3cf4c","type":"ui_chart","z":"baf80d2f.6bd538","name":"","group":"2c2e8aab.1813b6","order":0,"width":0,"height":0,"label":"Test","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"Test","dot":false,"ymin":"","ymax":"","removeOlder":"4","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#010305","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":650,"y":2980,"wires":[[]]},{"id":"e6a6b5c1.9777b8","type":"fan","z":"baf80d2f.6bd538","x":510,"y":2930,"wires":[["d6c6250d.65fbe","200ee33d.e3cf4c"]]},{"id":"5fa25e69.6b3a4","type":"inject","z":"baf80d2f.6bd538","name":"wipe","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":350,"y":3060,"wires":[["b5c422f.8706c6"]]},{"id":"b5c422f.8706c6","type":"function","z":"baf80d2f.6bd538","name":"","func":"msg.payload = null;\nreturn msg;","outputs":1,"noerr":0,"x":500,"y":3060,"wires":[["200ee33d.e3cf4c"]]},{"id":"2c2e8aab.1813b6","type":"ui_group","name":"Group 2","tab":"ce4bcacd.5cc46","order":2,"disp":true,"width":6},{"id":"ce4bcacd.5cc46","type":"ui_tab","z":"","name":"VTEMP","icon":"dashboard","order":36,"disabled":false,"hidden":false}]
Forgive the FAN node. It just makes it easier to swap inputs to the chart and debug node.
Here's the weird thing.
inject
-- random
(1-10 integer) -- chart
and debug
.
Setting the chart up for 4 minutes and slowly pressing the inject a few times with a few seconds apart, the char did show a a line. note it is (say) 17:30. The chart time was 17:00.
I then tried to add the function
node and timestamp the data.
Didn't work. Dunno why. But indulge me for a second.
So, I disconnected the function
node to the chart
and connected the chart
to the random
node.
Pressed the inject
node a few times as before.
nothing!!!
I don't get it.
I added a msg.payload = null;
on the second inject
node to wipe the chart.
That isn't working, other than I don't have any traces on it, but as I am not repeatedly pressing that inject
node, the chart
isn't showing any more lines when I press the original inject
node to inject random data.
Screen shots for clarity.