PR52-33A temperature reading as hex value

Hello,

I have a PR52-33A temperature sensor, as per my screenshot below, it is reading my temperature has a hex value? I am unsure as to why this is happening, the device was staged inside a refrigerated cooler over the last 96 hours and has worked fine, no changes have been made to node-red or to the device.

image

Please provide your complete Node-Red Flow.

Let us know if you are using our IoT Edge Computer or running Node Red on your own computer/server.

If running on your own computer please indicate if you are using ncd-red-wireless or ncd-red-wireless-2. Also let us know the version of the library you are running.

Hello, do you want the JSON or just a screenshot of the flow?

I am using the IoT Edge computer, here is screenshots of the installed nodes, and the library version is 0.19.5.


JSON of flow:
[{“id”:“124e4cfb.101e73”,“type”:“tab”,“label”:“Sensor To Gauge “,“disabled”:false,“info”:””},{“id”:“21cb6d37.32fc12”,“type”:“ncd-gateway-node”,“z”:“124e4cfb.101e73”,“name”:“”,“connection”:“837142ce.132b28”,“unknown_devices”:0,“outputs”:1,“x”:350,“y”:460,“wires”:[[“26d64989.8f4c36”,“a0dff03.8b65c1”]]},{“id”:“26d64989.8f4c36”,“type”:“switch”,“z”:“124e4cfb.101e73”,“name”:“Sensor Cluster”,“property”:“payload.addr”,“propertyType”:“msg”,“rules”:[{“t”:“eq”,“v”:“00:13:a2:00:41:f0:48:13”,“vt”:“str”},{“t”:“eq”,“v”:“”,“vt”:“str”},{“t”:“eq”,“v”:“”,“vt”:“str”},{“t”:“eq”,“v”:“”,“vt”:“str”},{“t”:“eq”,“v”:“”,“vt”:“str”},{“t”:“eq”,“v”:“”,“vt”:“str”},{“t”:“eq”,“v”:“”,“vt”:“str”},{“t”:“eq”,“v”:“”,“vt”:“str”},{“t”:“eq”,“v”:“”,“vt”:“str”},{“t”:“eq”,“v”:“”,“vt”:“str”},{“t”:“eq”,“v”:“”,“vt”:“str”},{“t”:“eq”,“v”:“”,“vt”:“str”}],“checkall”:“true”,“repair”:false,“outputs”:12,“x”:650,“y”:460,“wires”:[[“3e65cc0e.6f7084”,“e24f0ed7.11cfc”,“f5dff593.38f1d8”,“e939823b.cc56c”,“a0dff03.8b65c1”],[],[],[],[],[],[],[],[],[],[],[]]},{“id”:“f76a25cc.8921c8”,“type”:“ui_gauge”,“z”:“124e4cfb.101e73”,“name”:“Temperature “,“group”:“fffe9723.6c7398”,“order”:1,“width”:0,“height”:0,“gtype”:“gage”,“title”:“Temperature “,“label”:“F°”,“format”:”{{msg.payload.sensor_data.temperature}}”,“min”:0,“max”:“100”,“colors”:[”#00b500”,“#e6e600”,“#ca3838”],“seg1”:“45”,“seg2”:“50”,“x”:1220,“y”:240,“wires”:[]},{“id”:“88463c60.fe5a6”,“type”:“ui_gauge”,“z”:“124e4cfb.101e73”,“name”:“Humidity”,“group”:“fffe9723.6c7398”,“order”:3,“width”:0,“height”:0,“gtype”:“gage”,“title”:“Humidity”,“label”:“%”,“format”:“{{msg.payload.sensor_data.humidity}}”,“min”:0,“max”:“100”,“colors”:[“#00b500”,“#e6e600”,“#ca3838”],“seg1”:“”,“seg2”:“”,“x”:1210,“y”:280,“wires”:[]},{“id”:“3e65cc0e.6f7084”,“type”:“function”,“z”:“124e4cfb.101e73”,“name”:“Convert to F° & Math.Round()”,“func”:“msg.payload.sensor_data.temperature = Math.round(msg.payload.sensor_data.temperature*1.8+32.00)\nreturn msg;\n”,“outputs”:1,“noerr”:0,“x”:1000,“y”:240,“wires”:[[“f76a25cc.8921c8”]]},{“id”:“e24f0ed7.11cfc”,“type”:“function”,“z”:“124e4cfb.101e73”,“name”:“Math.Round()”,“func”:“msg.payload.sensor_data.humidity = Math.round(msg.payload.sensor_data.humidity)\nreturn msg;”,“outputs”:1,“noerr”:0,“x”:950,“y”:280,“wires”:[[“88463c60.fe5a6”]]},{“id”:“1ff0e957.0ed177”,“type”:“ui_gauge”,“z”:“124e4cfb.101e73”,“name”:“Battery %”,“group”:“fffe9723.6c7398”,“order”:5,“width”:0,“height”:0,“gtype”:“gage”,“title”:“Battery %”,“label”:“%”,“format”:“{{msg.payload.battery_percent}}”,“min”:0,“max”:“100”,“colors”:[“#ca3838”,“#e6e600”,“#00b500”],“seg1”:“40”,“seg2”:“80”,“x”:1210,“y”:320,“wires”:[]},{“id”:“f5dff593.38f1d8”,“type”:“file”,“z”:“124e4cfb.101e73”,“name”:“”,“filename”:“root/sensor_data/logs/logs.csv”,“appendNewline”:true,“createDir”:false,“overwriteFile”:“false”,“x”:1000,“y”:520,“wires”:[[]]},{“id”:“e939823b.cc56c”,“type”:“function”,“z”:“124e4cfb.101e73”,“name”:“Math.Round()”,“func”:“msg.payload.battery_percent = Math.round(msg.payload.battery_percent)\nreturn msg;”,“outputs”:1,“noerr”:0,“x”:950,“y”:320,“wires”:[[“1ff0e957.0ed177”]]},{“id”:“a0dff03.8b65c1”,“type”:“debug”,“z”:“124e4cfb.101e73”,“name”:“”,“active”:true,“tosidebar”:true,“console”:false,“tostatus”:false,“complete”:“payload”,“x”:490,“y”:200,“wires”:[]},{“id”:“837142ce.132b28”,“type”:“ncd-gateway-config”,“z”:“”,“name”:“”,“comm_type”:“serial”,“ip_address”:“”,“tcp_port”:“2101”,“port”:“/dev/ttyS1”,“baudRate”:“115200”,“pan_id”:“7FFF”,“rssi”:true},{“id”:“fffe9723.6c7398”,“type”:“ui_group”,“z”:“”,“name”:“Sensor-01”,“tab”:“64310bce.37e2f4”,“order”:1,“disp”:true,“width”:“4”,“collapse”:false},{“id”:“64310bce.37e2f4”,“type”:“ui_tab”,“z”:“”,“name”:“AVP4 Environmental Monitoring Node”,“icon”:“”,“disabled”:false,“hidden”:false}]

@TravisE_NCD_Technica I updated npm and it began to work again, unsure of what happened but all seems well again.

1 Like