Sense Hat Output Node

Node Red Version = V2.2.2
Node JS Version = 16.16.0

I'm having trouble getting the "Raspberry Pi Sense HAT output node." to work consistently. The help says that "This node sends commands to the 8x8 LED display on the Sense HAT" When I first deploy the flow, it works great and after a bit of time, stops displaying the value on the 8"x8" Sense HAT display.

I've looked through the internet and also this forum but find nothing to help with this issues. Any help you can give would be much appreciated.

[{"id":"2ec89064fec6df95","type":"tab","label":"Weather Station","disabled":false,"info":"","env":[]},{"id":"106aa20730fee226","type":"ds18b20","z":"2ec89064fec6df95","name":"DS18B20 Temp Sensor","sensorid":"28-00000de5aab1","timer":"0.1","x":140,"y":660,"wires":[["582a5db7486a7d76"]]},{"id":"80bae07275201596","type":"debug","z":"2ec89064fec6df95","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1030,"y":620,"wires":[]},{"id":"4224f459707c7a7a","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"c72f69a7a82c458d","order":6,"width":"19","height":"10","label":"Outdoor Temperature Historical Chart ","chartType":"line","legend":"false","xformat":"dd HH:mm","interpolate":"bezier","nodata":"","dot":false,"ymin":"0","ymax":"120","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1110,"y":700,"wires":[[]]},{"id":"de14a1e5209ce27b","type":"ui_gauge","z":"2ec89064fec6df95","name":"Outdoor Temperature","group":"c72f69a7a82c458d","order":5,"width":"6","height":"6","gtype":"gage","title":"Outdoor Temperature","label":"^F","format":"{{value}}","min":0,"max":"120","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1060,"y":660,"wires":[]},{"id":"bed593aadb177844","type":"exec","z":"2ec89064fec6df95","command":"vcgencmd measure_temp","addpay":"","append":"","useSpawn":"false","timer":"","winHide":false,"oldrc":false,"name":"CPU Temperature","x":330,"y":820,"wires":[["6ae406c32eec55ae"],[],[]]},{"id":"83dbcafb2c4d676b","type":"inject","z":"2ec89064fec6df95","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"60","crontab":"","once":true,"onceDelay":"1","topic":"","payload":"","payloadType":"date","x":130,"y":820,"wires":[["bed593aadb177844"]]},{"id":"fe8d0f75a47c5203","type":"debug","z":"2ec89064fec6df95","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1030,"y":780,"wires":[]},{"id":"6ae406c32eec55ae","type":"change","z":"2ec89064fec6df95","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"temp=","fromt":"str","to":"","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"'C","fromt":"str","to":"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":600,"y":800,"wires":[["d2346d47d1a8e932"]]},{"id":"2c38087083bb074c","type":"ui_gauge","z":"2ec89064fec6df95","name":"CPU Temperature","group":"746f3a57771ee534","order":1,"width":"6","height":"6","gtype":"gage","title":"CPU Temperature","label":"*F","format":"{{value}}","min":0,"max":"150","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1050,"y":820,"wires":[]},{"id":"2ba191d7b00fce3b","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"746f3a57771ee534","order":2,"width":"19","height":"10","label":"CPU Temperature Historical Chart ","chartType":"line","legend":"false","xformat":"dd HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"60","ymax":"150","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#8b65ae","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1100,"y":860,"wires":[[]]},{"id":"44f1bbbcbfc00934","type":"rpi-sensehat in","z":"2ec89064fec6df95","name":"Sense Hat Sensor Values","motion":false,"env":true,"stick":false,"x":150,"y":1080,"wires":[["e6a2b6f6d991fc13","f0412220714bd68b","0a08800a4eda5ca7"]]},{"id":"634235285a8b94d0","type":"ui_gauge","z":"2ec89064fec6df95","name":"Indoor Temperature","group":"41de7619099a8bd6","order":3,"width":"6","height":"6","gtype":"gage","title":"Indoor Temperature","label":"F","format":"{{value}}","min":0,"max":"120","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1050,"y":1000,"wires":[]},{"id":"e9ef5b78263b5051","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"41de7619099a8bd6","order":4,"width":"19","height":"10","label":"Indoor Temperature Historical Chart ","chartType":"line","legend":"false","xformat":"dd HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"30","ymax":"110","removeOlder":"4","removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":true,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#8b65ae","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1100,"y":1040,"wires":[[]]},{"id":"49bba03645908cde","type":"rpi-sensehat out","z":"2ec89064fec6df95","name":"","x":1450,"y":1080,"wires":[]},{"id":"e6a2b6f6d991fc13","type":"function","z":"2ec89064fec6df95","name":"Indoor temperature","func":"var o = msg.payload\nmsg.payload = o.temperature;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":590,"y":1020,"wires":[["b979265aac51ffa7"]]},{"id":"c31ff48289a8faa1","type":"ui_gauge","z":"2ec89064fec6df95","name":"Indoor Humidity","group":"868a7f03f1cdd2f2","order":1,"width":"6","height":"6","gtype":"gage","title":"Indoor Humidity","label":"^%","format":"{{value}}","min":"10","max":"85","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1040,"y":1140,"wires":[]},{"id":"0a6b22e38326da8c","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"868a7f03f1cdd2f2","order":2,"width":"19","height":"10","label":"Indoor Humidity Historical Chart ","chartType":"line","legend":"false","xformat":"dd HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"40","ymax":"85","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#8b65ae","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1090,"y":1180,"wires":[[]]},{"id":"f0412220714bd68b","type":"function","z":"2ec89064fec6df95","name":"Indoor Humidity","func":"var o = msg.payload\nmsg.payload = o.humidity;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":580,"y":1140,"wires":[["c31ff48289a8faa1","0a6b22e38326da8c"]]},{"id":"2f14e21f19080c6f","type":"ui_gauge","z":"2ec89064fec6df95","name":"Indoor Pressure","group":"183e67a67054638b","order":3,"width":"6","height":"6","gtype":"gage","title":"Indoor Pressure","label":"Pa","format":"{{value}}","min":0,"max":"1400","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1040,"y":1260,"wires":[]},{"id":"506d012339a32a0d","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"183e67a67054638b","order":4,"width":"19","height":"10","label":"Indoor Pressure Historical Chart ","chartType":"line","legend":"false","xformat":"dd HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"500","ymax":"1400","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#8b65ae","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1090,"y":1300,"wires":[[]]},{"id":"0a08800a4eda5ca7","type":"function","z":"2ec89064fec6df95","name":"Indoor Pressure","func":"var o = msg.payload\nmsg.payload = o.pressure;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":580,"y":1240,"wires":[["2f14e21f19080c6f","506d012339a32a0d"]]},{"id":"b979265aac51ffa7","type":"unit-converter","z":"2ec89064fec6df95","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","roundOutputField":true,"outputFieldDecimals":2,"name":"","x":820,"y":1020,"wires":[["634235285a8b94d0","e9ef5b78263b5051","e963fcf6f2672398"]]},{"id":"d2346d47d1a8e932","type":"unit-converter","z":"2ec89064fec6df95","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","roundOutputField":true,"outputFieldDecimals":2,"name":"","x":820,"y":800,"wires":[["2c38087083bb074c","fe8d0f75a47c5203","2ba191d7b00fce3b"]]},{"id":"582a5db7486a7d76","type":"unit-converter","z":"2ec89064fec6df95","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","roundOutputField":true,"outputFieldDecimals":2,"name":"","x":820,"y":660,"wires":[["de14a1e5209ce27b","80bae07275201596","4224f459707c7a7a"]]},{"id":"87c01520ecacb00a","type":"rpi-sensehat in","z":"2ec89064fec6df95","name":"Sense Hat Sensor Values","motion":true,"env":false,"stick":false,"x":150,"y":1400,"wires":[["aad067a95e78ea2e"]]},{"id":"aad067a95e78ea2e","type":"function","z":"2ec89064fec6df95","name":"Indoor Pressure","func":"var o = msg.payload\nmsg.payload = o.compass;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":580,"y":1400,"wires":[["55ceb018083a13ed","17f36b59a163c125"]]},{"id":"55ceb018083a13ed","type":"debug","z":"2ec89064fec6df95","name":"Info","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1010,"y":1400,"wires":[]},{"id":"17f36b59a163c125","type":"ui_gauge","z":"2ec89064fec6df95","name":"","group":"ca2c435558311978","order":0,"width":0,"height":0,"gtype":"compass","title":"Compass","label":"Deg from North","format":"{{value}}","min":0,"max":"360","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","className":"","x":1020,"y":1460,"wires":[]},{"id":"99e14aa05142a0f0","type":"delay","z":"2ec89064fec6df95","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"15","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":1220,"y":1080,"wires":[["49bba03645908cde","4f47b15ec4b8554b"]]},{"id":"4f47b15ec4b8554b","type":"debug","z":"2ec89064fec6df95","name":"Info","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1430,"y":1160,"wires":[]},{"id":"e963fcf6f2672398","type":"function","z":"2ec89064fec6df95","name":"","func":"msg.color = \"\"\n\nif (msg.payload <= 32) \n{\n    var TC = \"navy blue\";\n}\nelse if (msg.payload <= 65) \n{\n    var TC = \"blue\";\n}\nelse if (msg.payload <= 80) \n{\n    var TC = \"green\";\n}\nelse if (msg.payload <= 100) \n{\n    var TC = \"purple\";\n}\nelse \n{\n    var TC = \"red\";\n}\n\nmsg.color = TC;\nmsg.background = \"\";\nmsg.speed = \"2\";\nmsg.level = \"D1\"\nmsg.payload = \"R180\\n\"+msg.payload;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1020,"y":1080,"wires":[["99e14aa05142a0f0","3ae0786e2215305b"]]},{"id":"afe562fb8690fd0a","type":"catch","z":"2ec89064fec6df95","name":"","scope":null,"uncaught":true,"x":120,"y":1560,"wires":[["a2766779f4cd522d"]]},{"id":"a2766779f4cd522d","type":"debug","z":"2ec89064fec6df95","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":550,"y":1560,"wires":[]},{"id":"3ae0786e2215305b","type":"debug","z":"2ec89064fec6df95","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1430,"y":1200,"wires":[]},{"id":"c72f69a7a82c458d","type":"ui_group","name":"Outdoor Temperature","tab":"4926f15833135539","order":3,"disp":true,"width":"19","collapse":false,"className":""},{"id":"746f3a57771ee534","type":"ui_group","name":"CPU Temperature","tab":"4926f15833135539","order":4,"disp":true,"width":"19","collapse":false,"className":""},{"id":"41de7619099a8bd6","type":"ui_group","name":"Indoor Temperature","tab":"4926f15833135539","order":2,"disp":true,"width":"19","collapse":false,"className":""},{"id":"868a7f03f1cdd2f2","type":"ui_group","name":"Humidity","tab":"3407c3daa43bafe4","order":1,"disp":true,"width":"19","collapse":false,"className":""},{"id":"183e67a67054638b","type":"ui_group","name":"Pressure","tab":"3407c3daa43bafe4","order":2,"disp":true,"width":"19","collapse":false,"className":""},{"id":"ca2c435558311978","type":"ui_group","name":"Orientation","tab":"d7faa31facb41ae0","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"4926f15833135539","type":"ui_tab","name":"Temperature Tab","icon":"dashboard","disabled":false,"hidden":false},{"id":"3407c3daa43bafe4","type":"ui_tab","name":"Humidity Tab","icon":"dashboard","disabled":false,"hidden":false},{"id":"d7faa31facb41ae0","type":"ui_tab","name":"Orientation & Acceleration","icon":"dashboard","disabled":false,"hidden":false}]

Brett welcome to the forum.

can you SSH into your Pi and run the following

python -V
python3 -V
cat /etc/os-release

Then try this, add an inject node set like this:

Screen Shot 2022-07-11 at 4.56.45 AM

and connect it to the Sense Hat output node. Deploy and press the inject button and see if your other messages start to display.

There is an outstanding issue with the 'Sense Hat' node caused by the Pi using Python3. The code for the node was written using Python2 and some 'things' it was using have changed causing some 'issues'. Hopefully the code can befixed at some point.

Python V.2.7.16

Python3 V 3.7.3

Tried the inject node. It had no effect.

You didn show the result of the cat /etc/os-release

One thing I've noticed is that you are sending a very very large nimber of data points to your graph. The sensor hat sends a reading about every 10 seconds and you are want the data for the last four weeks. At a reading every 10 seconds:
6 readings per minute
6 * 60 = 360 readings per hour
360 * 24 = 8,640 readings per day
8,640 * 4 weeks = 34,560 readings in 4 weeks
How many pixels can you display on your monitor?

This is going to cause a big problem with performance on your Pi. If you want that many readings, I suggest you store then in an Influx database and then you can use Grafana to view the data.

I don’t need that many readings. I’ll fix that issue.

I did find a work around for the main issue. I modified the function node as follows:

msg.payload = "D1\n" + "R180\n" + msg.payload;

As you can see I’ve just added a dimming parameter.

This is working so far. Not sure why that makes a difference.

Here is my updated flow:

[{"id":"2ec89064fec6df95","type":"tab","label":"Weather Station","disabled":false,"info":"","env":[]},{"id":"106aa20730fee226","type":"ds18b20","z":"2ec89064fec6df95","name":"DS18B20 Temp Sensor","sensorid":"28-00000de5aab1","timer":"0.1","x":140,"y":660,"wires":[["582a5db7486a7d76"]]},{"id":"80bae07275201596","type":"debug","z":"2ec89064fec6df95","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1030,"y":620,"wires":[]},{"id":"4224f459707c7a7a","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"c72f69a7a82c458d","order":6,"width":"19","height":"10","label":"Outdoor Temperature Historical Chart ","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"120","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1110,"y":700,"wires":[[]]},{"id":"de14a1e5209ce27b","type":"ui_gauge","z":"2ec89064fec6df95","name":"Outdoor Temperature","group":"c72f69a7a82c458d","order":5,"width":"6","height":"6","gtype":"gage","title":"Outdoor Temperature","label":"^F","format":"{{value}}","min":0,"max":"120","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1060,"y":660,"wires":[]},{"id":"bed593aadb177844","type":"exec","z":"2ec89064fec6df95","command":"vcgencmd measure_temp","addpay":"","append":"","useSpawn":"false","timer":"","winHide":false,"oldrc":false,"name":"CPU Temperature","x":330,"y":800,"wires":[["d89ceb62bde11d6f"],[],[]]},{"id":"83dbcafb2c4d676b","type":"inject","z":"2ec89064fec6df95","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"60","crontab":"","once":true,"onceDelay":"1","topic":"","payload":"","payloadType":"date","x":130,"y":800,"wires":[["bed593aadb177844"]]},{"id":"fe8d0f75a47c5203","type":"debug","z":"2ec89064fec6df95","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1030,"y":780,"wires":[]},{"id":"6ae406c32eec55ae","type":"change","z":"2ec89064fec6df95","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"temp=","fromt":"str","to":"","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"'C","fromt":"str","to":"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":740,"wires":[["d2346d47d1a8e932"]]},{"id":"2c38087083bb074c","type":"ui_gauge","z":"2ec89064fec6df95","name":"CPU Temperature","group":"746f3a57771ee534","order":1,"width":"6","height":"6","gtype":"gage","title":"CPU Temperature","label":"*F","format":"{{value}}","min":0,"max":"150","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1050,"y":820,"wires":[]},{"id":"2ba191d7b00fce3b","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"746f3a57771ee534","order":2,"width":"19","height":"10","label":"CPU Temperature Historical Chart ","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"60","ymax":"150","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#8b65ae","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1100,"y":860,"wires":[[]]},{"id":"44f1bbbcbfc00934","type":"rpi-sensehat in","z":"2ec89064fec6df95","name":"Sense Hat Sensor Values","motion":false,"env":true,"stick":false,"x":150,"y":1080,"wires":[["557124f9561cfbbb"]]},{"id":"634235285a8b94d0","type":"ui_gauge","z":"2ec89064fec6df95","name":"Indoor Temperature","group":"41de7619099a8bd6","order":3,"width":"6","height":"6","gtype":"gage","title":"Indoor Temperature","label":"F","format":"{{value}}","min":0,"max":"120","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1050,"y":1000,"wires":[]},{"id":"e9ef5b78263b5051","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"41de7619099a8bd6","order":4,"width":"19","height":"10","label":"Indoor Temperature Historical Chart ","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"30","ymax":"110","removeOlder":"4","removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":true,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#8b65ae","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1100,"y":1040,"wires":[[]]},{"id":"49bba03645908cde","type":"rpi-sensehat out","z":"2ec89064fec6df95","name":"","x":1450,"y":1080,"wires":[]},{"id":"e6a2b6f6d991fc13","type":"function","z":"2ec89064fec6df95","name":"Indoor temperature","func":"var o = msg.payload\nmsg.payload = o.temperature;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":590,"y":1020,"wires":[["b979265aac51ffa7"]]},{"id":"c31ff48289a8faa1","type":"ui_gauge","z":"2ec89064fec6df95","name":"Indoor Humidity","group":"868a7f03f1cdd2f2","order":1,"width":"6","height":"6","gtype":"gage","title":"Indoor Humidity","label":"^%","format":"{{value}}","min":"10","max":"85","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1040,"y":1140,"wires":[]},{"id":"0a6b22e38326da8c","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"868a7f03f1cdd2f2","order":2,"width":"19","height":"10","label":"Indoor Humidity Historical Chart ","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"40","ymax":"85","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#8b65ae","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1090,"y":1180,"wires":[[]]},{"id":"f0412220714bd68b","type":"function","z":"2ec89064fec6df95","name":"Indoor Humidity","func":"var o = msg.payload\nmsg.payload = o.humidity;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":580,"y":1140,"wires":[["c31ff48289a8faa1","0a6b22e38326da8c"]]},{"id":"2f14e21f19080c6f","type":"ui_gauge","z":"2ec89064fec6df95","name":"Indoor Pressure","group":"183e67a67054638b","order":3,"width":"6","height":"6","gtype":"gage","title":"Indoor Pressure","label":"Pa","format":"{{value}}","min":0,"max":"1400","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1040,"y":1260,"wires":[]},{"id":"506d012339a32a0d","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"183e67a67054638b","order":4,"width":"19","height":"10","label":"Indoor Pressure Historical Chart ","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"500","ymax":"1400","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#8b65ae","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1090,"y":1300,"wires":[[]]},{"id":"0a08800a4eda5ca7","type":"function","z":"2ec89064fec6df95","name":"Indoor Pressure","func":"var o = msg.payload\nmsg.payload = o.pressure;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":580,"y":1240,"wires":[["2f14e21f19080c6f","506d012339a32a0d"]]},{"id":"b979265aac51ffa7","type":"unit-converter","z":"2ec89064fec6df95","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","roundOutputField":true,"outputFieldDecimals":2,"name":"","x":820,"y":1020,"wires":[["634235285a8b94d0","e9ef5b78263b5051","e963fcf6f2672398"]]},{"id":"d2346d47d1a8e932","type":"unit-converter","z":"2ec89064fec6df95","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","roundOutputField":true,"outputFieldDecimals":2,"name":"","x":820,"y":800,"wires":[["2c38087083bb074c","fe8d0f75a47c5203","2ba191d7b00fce3b"]]},{"id":"582a5db7486a7d76","type":"unit-converter","z":"2ec89064fec6df95","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","roundOutputField":true,"outputFieldDecimals":2,"name":"","x":820,"y":660,"wires":[["de14a1e5209ce27b","80bae07275201596","4224f459707c7a7a"]]},{"id":"87c01520ecacb00a","type":"rpi-sensehat in","z":"2ec89064fec6df95","name":"Sense Hat Sensor Values","motion":true,"env":false,"stick":false,"x":150,"y":1400,"wires":[["865bf0498a594e72"]]},{"id":"aad067a95e78ea2e","type":"function","z":"2ec89064fec6df95","name":"Indoor Pressure","func":"var o = msg.payload\nmsg.payload = o.compass;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":580,"y":1400,"wires":[["55ceb018083a13ed","17f36b59a163c125"]]},{"id":"55ceb018083a13ed","type":"debug","z":"2ec89064fec6df95","name":"Info","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1010,"y":1400,"wires":[]},{"id":"17f36b59a163c125","type":"ui_gauge","z":"2ec89064fec6df95","name":"","group":"ca2c435558311978","order":0,"width":0,"height":0,"gtype":"compass","title":"Compass","label":"Deg from North","format":"{{value}}","min":0,"max":"360","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","className":"","x":1020,"y":1460,"wires":[]},{"id":"e963fcf6f2672398","type":"function","z":"2ec89064fec6df95","name":"","func":"msg.color = \"\"\n\nif (msg.payload <= 32) \n{\n var TC = \"navy blue\";\n}\nelse if (msg.payload <= 65) \n{\n var TC = \"blue\";\n}\nelse if (msg.payload <= 80) \n{\n var TC = \"green\";\n}\nelse if (msg.payload <= 100) \n{\n var TC = \"purple\";\n}\nelse \n{\n var TC = \"red\";\n}\n\nmsg.color = TC;\nmsg.background = \"off\";\nmsg.speed = \"2\";\nmsg.payload = \"D1\\n\" + \"R180\\n\" + msg.payload;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1020,"y":1080,"wires":[["3ae0786e2215305b","49bba03645908cde"]]},{"id":"afe562fb8690fd0a","type":"catch","z":"2ec89064fec6df95","name":"","scope":null,"uncaught":true,"x":120,"y":1560,"wires":[["a2766779f4cd522d"]]},{"id":"a2766779f4cd522d","type":"debug","z":"2ec89064fec6df95","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":550,"y":1560,"wires":[]},{"id":"3ae0786e2215305b","type":"debug","z":"2ec89064fec6df95","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1430,"y":1120,"wires":[]},{"id":"cea9434b998f2420","type":"sqlite","z":"2ec89064fec6df95","mydb":"2cbce0ad7add99b0","sqlquery":"fixed","sql":"SELECT rowid, * FROM indoor_temperature","name":"","x":1100,"y":960,"wires":[["78c507a7c301d0ee"]]},{"id":"ee0527377dd79ebe","type":"inject","z":"2ec89064fec6df95","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"*,*,red","payloadType":"str","x":1290,"y":1000,"wires":[[]]},{"id":"78c507a7c301d0ee","type":"debug","z":"2ec89064fec6df95","name":"Info","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1430,"y":960,"wires":[]},{"id":"0c3dda1496ddb8b5","type":"inject","z":"2ec89064fec6df95","name":"","props":[{"p":"timestamp","v":"","vt":"date"},{"p":"topic","vt":"str"}],"repeat":"3600","crontab":"","once":true,"onceDelay":0.1,"topic":"","x":110,"y":460,"wires":[["6401fe6ef9dbb7b5"]]},{"id":"b1b62e2d2ddb7c3e","type":"http request","z":"2ec89064fec6df95","name":"OpenWeather API","method":"GET","ret":"obj","paytoqs":"ignore","url":[https://api.openweathermap.org/data/2.5/weather?zip=92677,us&appid=8efa092267f25fe644bbdb0e63899f2f&units=imperial](https://api.openweathermap.org/data/2.5/weather?zip=92677,us&appid=8efa092267f25fe644bbdb0e63899f2f&units=imperial),"tls":"","persist":false,"proxy":"","authType":"","senderr":false,"x":570,"y":460,"wires":[["f4251d21c15f2735","954890e168ac04e0","255a4202e64dcb6b"]]},{"id":"f4251d21c15f2735","type":"debug","z":"2ec89064fec6df95","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":790,"y":380,"wires":[]},{"id":"6401fe6ef9dbb7b5","type":"change","z":"2ec89064fec6df95","name":"Divide timestamp / 1000","rules":[{"t":"set","p":"timestamp","pt":"msg","to":"timestamp/1000","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":310,"y":460,"wires":[["b1b62e2d2ddb7c3e"]]},{"id":"954890e168ac04e0","type":"switch","z":"2ec89064fec6df95","name":"","property":"timestamp","propertyType":"msg","rules":[{"t":"btwn","v":"payload.sys.sunrise","vt":"msg","v2":"payload.sys.sunset","v2t":"msg"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":790,"y":500,"wires":[["4c66437b39148a3b"],["a11b19bace31103c"]],"inputLabels":["input"],"outputLabels":["Day","Night"]},{"id":"17f9fdf699c28bb4","type":"ui_gauge","z":"2ec89064fec6df95","name":"Outdoor Temperature","group":"c72f69a7a82c458d","order":5,"width":"6","height":"6","gtype":"gage","title":"Outdoor Temperature API","label":"F","format":"{{value}}","min":0,"max":"120","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1060,"y":320,"wires":[]},{"id":"b42252911768d6b2","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"c72f69a7a82c458d","order":6,"width":"19","height":"10","label":"Outdoor Temperature API Historical Chart ","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"120","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1120,"y":360,"wires":[[]]},{"id":"255a4202e64dcb6b","type":"function","z":"2ec89064fec6df95","name":"Indoor temperature","func":"var o = msg.payload.main\nmsg.payload = o.temp;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":830,"y":440,"wires":[["a8276053d97692cc","17f9fdf699c28bb4","b42252911768d6b2"]]},{"id":"a8276053d97692cc","type":"debug","z":"2ec89064fec6df95","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1010,"y":280,"wires":[]},{"id":"a11b19bace31103c","type":"debug","z":"2ec89064fec6df95","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1010,"y":540,"wires":[]},{"id":"4c66437b39148a3b","type":"debug","z":"2ec89064fec6df95","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1010,"y":500,"wires":[]},{"id":"557124f9561cfbbb","type":"delay","z":"2ec89064fec6df95","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"15","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":380,"y":1080,"wires":[["e6a2b6f6d991fc13","f0412220714bd68b","0a08800a4eda5ca7"]]},{"id":"9319abe3af69c51c","type":"delay","z":"2ec89064fec6df95","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"15","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":1360,"y":1260,"wires":[[]]},{"id":"d89ceb62bde11d6f","type":"delay","z":"2ec89064fec6df95","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"15","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":580,"y":800,"wires":[["6ae406c32eec55ae"]]},{"id":"865bf0498a594e72","type":"delay","z":"2ec89064fec6df95","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"15","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":380,"y":1400,"wires":[["aad067a95e78ea2e"]]},{"id":"c72f69a7a82c458d","type":"ui_group","name":"Outdoor Temperature","tab":"4926f15833135539","order":3,"disp":true,"width":"19","collapse":false,"className":""},{"id":"746f3a57771ee534","type":"ui_group","name":"CPU Temperature","tab":"4926f15833135539","order":4,"disp":true,"width":"19","collapse":false,"className":""},{"id":"41de7619099a8bd6","type":"ui_group","name":"Indoor Temperature","tab":"4926f15833135539","order":2,"disp":true,"width":"19","collapse":false,"className":""},{"id":"868a7f03f1cdd2f2","type":"ui_group","name":"Humidity","tab":"3407c3daa43bafe4","order":1,"disp":true,"width":"19","collapse":false,"className":""},{"id":"183e67a67054638b","type":"ui_group","name":"Pressure","tab":"3407c3daa43bafe4","order":2,"disp":true,"width":"19","collapse":false,"className":""},{"id":"ca2c435558311978","type":"ui_group","name":"Orientation","tab":"d7faa31facb41ae0","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"2cbce0ad7add99b0","type":"sqlitedb","db":"/home/pi/Documents/environment","mode":"RWC"},{"id":"4926f15833135539","type":"ui_tab","name":"Temperature Tab","icon":"dashboard","order":1,"disabled":false,"hidden":false},{"id":"3407c3daa43bafe4","type":"ui_tab","name":"Humidity Tab","icon":"dashboard","order":2,"disabled":false,"hidden":false},{"id":"d7faa31facb41ae0","type":"ui_tab","name":"Orientation & Acceleration","icon":"dashboard","order":3,"disabled":false,"hidden":false}]

I can't import that flow, it gets an error when I paste it into the import:

you have added something to the flow..

I'm wondering if all those var's might have been the problem. Once I took them out it seems to be working fine.
Screen Shot 2022-07-14 at 7.32.49 AM

You should only define a variable once...

Also be aware that the temperature reeading off the hat is going to be effected by the heat from the Pi itself. I have another sensor (DS18B20) in my office and it reads 80.6 while the sensehat is reading 91.3 a bit of a difference.

Paul,

When the problem was first discovered, I thought the same but I removed the variables and made the the color red. This had no affect so I re-established the variables.

I have removed the added nodes and have attached the flow below.

Thanks Brett

[{"id":"2ec89064fec6df95","type":"tab","label":"Weather Station","disabled":false,"info":"","env":},{"id":"106aa20730fee226","type":"ds18b20","z":"2ec89064fec6df95","name":"DS18B20 Temp Sensor","sensorid":"28-00000de5aab1","timer":"0.1","x":140,"y":660,"wires":[["582a5db7486a7d76"]]},{"id":"80bae07275201596","type":"debug","z":"2ec89064fec6df95","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1330,"y":620,"wires":},{"id":"4224f459707c7a7a","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"c72f69a7a82c458d","order":6,"width":"19","height":"10","label":"Outdoor Temperature Historical Chart ","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"120","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1410,"y":700,"wires":[]},{"id":"de14a1e5209ce27b","type":"ui_gauge","z":"2ec89064fec6df95","name":"Outdoor Temperature","group":"c72f69a7a82c458d","order":5,"width":"6","height":"6","gtype":"gage","title":"Outdoor Temperature","label":"^F","format":"{{value}}","min":0,"max":"120","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1360,"y":660,"wires":},{"id":"bed593aadb177844","type":"exec","z":"2ec89064fec6df95","command":"vcgencmd measure_temp","addpay":"","append":"","useSpawn":"false","timer":"","winHide":false,"oldrc":false,"name":"CPU Temperature","x":330,"y":800,"wires":[["d89ceb62bde11d6f"],,]},{"id":"83dbcafb2c4d676b","type":"inject","z":"2ec89064fec6df95","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"60","crontab":"","once":true,"onceDelay":"1","topic":"","payload":"","payloadType":"date","x":130,"y":800,"wires":[["bed593aadb177844"]]},{"id":"fe8d0f75a47c5203","type":"debug","z":"2ec89064fec6df95","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1330,"y":780,"wires":},{"id":"6ae406c32eec55ae","type":"change","z":"2ec89064fec6df95","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"temp=","fromt":"str","to":"","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"'C","fromt":"str","to":"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":820,"y":800,"wires":[["d2346d47d1a8e932"]]},{"id":"2c38087083bb074c","type":"ui_gauge","z":"2ec89064fec6df95","name":"CPU Temperature","group":"746f3a57771ee534","order":1,"width":"6","height":"6","gtype":"gage","title":"CPU Temperature","label":"F","format":"{{value}}","min":0,"max":"150","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1350,"y":820,"wires":[]},{"id":"2ba191d7b00fce3b","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"746f3a57771ee534","order":2,"width":"19","height":"10","label":"CPU Temperature Historical Chart ","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"60","ymax":"150","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#8b65ae","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1400,"y":860,"wires":[[]]},{"id":"44f1bbbcbfc00934","type":"rpi-sensehat in","z":"2ec89064fec6df95","name":"Sense Hat Sensor Values","motion":false,"env":true,"stick":false,"x":150,"y":1140,"wires":[["557124f9561cfbbb"]]},{"id":"634235285a8b94d0","type":"ui_gauge","z":"2ec89064fec6df95","name":"Indoor Temperature","group":"41de7619099a8bd6","order":3,"width":"6","height":"6","gtype":"gage","title":"Indoor Temperature","label":"F","format":"{{value}}","min":0,"max":"120","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1350,"y":1000,"wires":[]},{"id":"e9ef5b78263b5051","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"41de7619099a8bd6","order":4,"width":"19","height":"10","label":"Indoor Temperature Historical Chart ","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"30","ymax":"110","removeOlder":"4","removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":true,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#8b65ae","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1400,"y":1040,"wires":[[]]},{"id":"49bba03645908cde","type":"rpi-sensehat out","z":"2ec89064fec6df95","name":"","x":1710,"y":1100,"wires":[]},{"id":"e6a2b6f6d991fc13","type":"function","z":"2ec89064fec6df95","name":"Indoor temperature","func":"var o = msg.payload\nmsg.payload = o.temperature;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":850,"y":1020,"wires":[["b979265aac51ffa7"]]},{"id":"c31ff48289a8faa1","type":"ui_gauge","z":"2ec89064fec6df95","name":"Indoor Humidity","group":"868a7f03f1cdd2f2","order":1,"width":"6","height":"6","gtype":"gage","title":"Indoor Humidity","label":"^%","format":"{{value}}","min":"10","max":"85","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1340,"y":1140,"wires":[]},{"id":"0a6b22e38326da8c","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"868a7f03f1cdd2f2","order":2,"width":"19","height":"10","label":"Indoor Humidity Historical Chart ","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"40","ymax":"85","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"604800","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#8b65ae","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1390,"y":1180,"wires":[[]]},{"id":"f0412220714bd68b","type":"function","z":"2ec89064fec6df95","name":"Indoor Humidity","func":"var o = msg.payload\nmsg.payload = o.humidity;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":1140,"wires":[["c31ff48289a8faa1","0a6b22e38326da8c","7dea1952818c42a1"]]},{"id":"2f14e21f19080c6f","type":"ui_gauge","z":"2ec89064fec6df95","name":"Indoor Pressure","group":"183e67a67054638b","order":3,"width":"6","height":"6","gtype":"gage","title":"Indoor Pressure","label":"Pa","format":"{{value}}","min":0,"max":"1400","colors":["#0000fa","#fa00e5","#fa0000"],"seg1":"32","seg2":"95","className":"","x":1340,"y":1280,"wires":[]},{"id":"506d012339a32a0d","type":"ui_chart","z":"2ec89064fec6df95","name":"","group":"183e67a67054638b","order":4,"width":"19","height":"10","label":"Indoor Pressure Historical Chart ","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"500","ymax":"1400","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1086da","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#8b65ae","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1390,"y":1320,"wires":[[]]},{"id":"0a08800a4eda5ca7","type":"function","z":"2ec89064fec6df95","name":"Indoor Pressure","func":"var o = msg.payload\nmsg.payload = o.pressure;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":1280,"wires":[["2f14e21f19080c6f","506d012339a32a0d"]]},{"id":"b979265aac51ffa7","type":"unit-converter","z":"2ec89064fec6df95","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","roundOutputField":true,"outputFieldDecimals":2,"name":"","x":1060,"y":1020,"wires":[["634235285a8b94d0","e9ef5b78263b5051","e963fcf6f2672398"]]},{"id":"d2346d47d1a8e932","type":"unit-converter","z":"2ec89064fec6df95","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","roundOutputField":true,"outputFieldDecimals":2,"name":"","x":1040,"y":800,"wires":[["2c38087083bb074c","fe8d0f75a47c5203","2ba191d7b00fce3b"]]},{"id":"582a5db7486a7d76","type":"unit-converter","z":"2ec89064fec6df95","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","roundOutputField":true,"outputFieldDecimals":2,"name":"","x":1040,"y":660,"wires":[["de14a1e5209ce27b","80bae07275201596","4224f459707c7a7a"]]},{"id":"87c01520ecacb00a","type":"rpi-sensehat in","z":"2ec89064fec6df95","name":"Sense Hat Sensor Values","motion":true,"env":false,"stick":false,"x":150,"y":1400,"wires":[["865bf0498a594e72"]]},{"id":"aad067a95e78ea2e","type":"function","z":"2ec89064fec6df95","name":"Indoor Pressure","func":"var o = msg.payload\nmsg.payload = o.compass;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":1400,"wires":[["55ceb018083a13ed","17f36b59a163c125"]]},{"id":"55ceb018083a13ed","type":"debug","z":"2ec89064fec6df95","name":"Info","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1310,"y":1400,"wires":[]},{"id":"17f36b59a163c125","type":"ui_gauge","z":"2ec89064fec6df95","name":"","group":"ca2c435558311978","order":0,"width":0,"height":0,"gtype":"compass","title":"Compass","label":"Deg from North","format":"{{value}}","min":0,"max":"360","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","className":"","x":1320,"y":1440,"wires":[]},{"id":"e963fcf6f2672398","type":"function","z":"2ec89064fec6df95","name":"","func":"msg.color = ""\n\nif (msg.payload <= 32) \n{\n var TC = "navy blue";\n}\nelse if (msg.payload <= 65) \n{\n var TC = "blue";\n}\nelse if (msg.payload <= 80) \n{\n var TC = "green";\n}\nelse if (msg.payload <= 100) \n{\n var TC = "purple";\n}\nelse \n{\n var TC = "red";\n}\n\nmsg.color = TC;\nmsg.background = "off";\nmsg.speed = "2";\nmsg.payload = "D1\n" + "R180\n" + msg.payload;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1320,"y":1080,"wires":[["3ae0786e2215305b","49bba03645908cde"]]},{"id":"afe562fb8690fd0a","type":"catch","z":"2ec89064fec6df95","name":"","scope":null,"uncaught":true,"x":120,"y":1560,"wires":[["a2766779f4cd522d"]]},{"id":"a2766779f4cd522d","type":"debug","z":"2ec89064fec6df95","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":550,"y":1560,"wires":[]},{"id":"3ae0786e2215305b","type":"debug","z":"2ec89064fec6df95","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1690,"y":1060,"wires":[]},{"id":"ee0527377dd79ebe","type":"inject","z":"2ec89064fec6df95","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":",*,red","payloadType":"str","x":1690,"y":980,"wires":[]},{"id":"557124f9561cfbbb","type":"delay","z":"2ec89064fec6df95","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"15","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":580,"y":1140,"wires":[["e6a2b6f6d991fc13","f0412220714bd68b","0a08800a4eda5ca7"]]},{"id":"d89ceb62bde11d6f","type":"delay","z":"2ec89064fec6df95","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"15","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":580,"y":800,"wires":[["6ae406c32eec55ae"]]},{"id":"865bf0498a594e72","type":"delay","z":"2ec89064fec6df95","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"15","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":580,"y":1400,"wires":[["aad067a95e78ea2e"]]},{"id":"7dea1952818c42a1","type":"join","z":"2ec89064fec6df95","name":"","mode":"custom","build":"merged","property":"payload","propertyType":"msg","key":"topic","joiner":\n,"joinerType":"str","accumulate":true,"timeout":"","count":"","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":1310,"y":1220,"wires":[["eb6c7d802d893605"]]},{"id":"eb6c7d802d893605","type":"debug","z":"2ec89064fec6df95","name":"Info","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1690,"y":1220,"wires":},{"id":"c72f69a7a82c458d","type":"ui_group","name":"Outdoor Temperature","tab":"4926f15833135539","order":3,"disp":true,"width":"19","collapse":false,"className":""},{"id":"746f3a57771ee534","type":"ui_group","name":"CPU Temperature","tab":"4926f15833135539","order":4,"disp":true,"width":"19","collapse":false,"className":""},{"id":"41de7619099a8bd6","type":"ui_group","name":"Indoor Temperature","tab":"4926f15833135539","order":2,"disp":true,"width":"19","collapse":false,"className":""},{"id":"868a7f03f1cdd2f2","type":"ui_group","name":"Humidity","tab":"3407c3daa43bafe4","order":1,"disp":true,"width":"19","collapse":false,"className":""},{"id":"183e67a67054638b","type":"ui_group","name":"Pressure","tab":"3407c3daa43bafe4","order":2,"disp":true,"width":"19","collapse":false,"className":""},{"id":"ca2c435558311978","type":"ui_group","name":"Orientation","tab":"d7faa31facb41ae0","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"4926f15833135539","type":"ui_tab","name":"Temperature Tab","icon":"dashboard","order":1,"disabled":false,"hidden":false},{"id":"3407c3daa43bafe4","type":"ui_tab","name":"Humidity Tab","icon":"dashboard","order":2,"disabled":false,"hidden":false},{"id":"d7faa31facb41ae0","type":"ui_tab","name":"Orientation & Acceleration","icon":"dashboard","order":3,"disabled":false,"hidden":false}]

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.