Error when deploy - Wireless device node

Hi

This error appears went I deploy the program, and then the program stops working. When this happens I need to restart node-red, and then the program works again. Maybe someone had this problem in the past.

I am working with the Asset Monitor.

Thanks

@jacob can you take a look at this when you get chance.

Unfortunately we haven’t seen this issue before. That looks like for some reason that the config node becomes unset from memory somehow.

Do any errors display in your console that you used to start Node-Red when this error occurs?

Check your configuration nodes and look for one that isn’t being used or anything strange? You can find config nodes through the context menu in the top right of the UI > Configuration Nodes

Hi, Jacob. I saw something weird and I delete all the unused serial configurations, but the problem continues.

How I can restart all the memory?

Thanks

Restarting Node-Red clears all memory and its really the only reliable way.

Unfortunately that error message isn’t any more informative.

Can you post your Node-Red export (Context menu in top right, Export, copy to clipboard, paste it here) or if it contains sensitive material you can send it to us through our contact form: https://ncd.io/contact-us/technical-support-for-ncd-industrial-devices/

[{“id”:“3cbb48c8.f14478”,“type”:“tab”,“label”:“NCD ASSET MONITOR”,“disabled”:false,“info”:""},{“id”:“783b93f4.f58c8c”,“type”:“debug”,“z”:“3cbb48c8.f14478”,“name”:“1”,“active”:true,“tosidebar”:true,“console”:false,“tostatus”:false,“complete”:“true”,“targetType”:“full”,“x”:850,“y”:580,“wires”:[]},{“id”:“9c4bd8bc.91b378”,“type”:“ncd-wireless-node”,“z”:“3cbb48c8.f14478”,“name”:“ASSET”,“connection”:“333bdc31.cb3d54”,“config_comm”:"",“addr”:"",“sensor_type”:“25”,“auto_config”:false,“node_id”:0,“delay”:“1”,“destination”:“0000FFFF”,“power”:4,“retries”:10,“pan_id”:“7FFF”,“change_enabled”:"",“change_pr”:“0”,“change_interval”:“0”,“cm_calibration”:“60.6”,“bp_altitude”:“0”,“bp_pressure”:“0”,“bp_temp_prec”:“0”,“bp_press_prec”:“0”,“amgt_accel”:“0”,“amgt_mag”:“0”,“amgt_gyro”:“0”,“impact_accel”:“0”,“impact_data_rate”:“4”,“impact_threshold”:25,“impact_duration”:1,“activ_interr_x”:1,“activ_interr_y”:2,“activ_interr_z”:4,“activ_interr_op”:8,“filtering”:0,“data_rate”:5,“time_series”:0,“reading_type”:1,“x”:70,“y”:120,“wires”:[[“47acfe10.f69c7”,“bd4d7736.9d3978”,“6c2abcdf.d9c8f4”]]},{“id”:“47acfe10.f69c7”,“type”:“split”,“z”:“3cbb48c8.f14478”,“name”:"",“splt”:"\n",“spltType”:“str”,“arraySplt”:1,“arraySpltType”:“len”,“stream”:false,“addname”:“topic”,“x”:270,“y”:260,“wires”:[[“d933550b.e8c878”]]},{“id”:“7829af7b.41231”,“type”:“ui_chart”,“z”:“3cbb48c8.f14478”,“name”:"",“group”:“83eeae23.7a23”,“order”:3,“width”:0,“height”:0,“label”:“Desplazamiento en el tiempo”,“chartType”:“line”,“legend”:“true”,“xformat”:“auto”,“interpolate”:“bezier”,“nodata”:"",“dot”:false,“ymin”:"-1",“ymax”:“1”,“removeOlder”:“1”,“removeOlderPoints”:“20”,“removeOlderUnit”:“60”,“cutout”:0,“useOneColor”:false,“useUTC”:true,“colors”:["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],“useOldStyle”:false,“outputs”:1,“x”:980,“y”:220,“wires”:[[]]},{“id”:“3ab966bd.58bb7a”,“type”:“ui_gauge”,“z”:“3cbb48c8.f14478”,“name”:"",“group”:“771cbb69.47bf04”,“order”:1,“width”:0,“height”:0,“gtype”:“wave”,“title”:“Battery”,“label”:“V”,“format”:"{{value | number:2}}",“min”:0,“max”:“3.3”,“colors”:["#ff0011","#e6e600","#09ca00"],“seg1”:"",“seg2”:"",“x”:500,“y”:360,“wires”:[]},{“id”:“bd4d7736.9d3978”,“type”:“change”,“z”:“3cbb48c8.f14478”,“name”:"",“rules”:[{“t”:“set”,“p”:“payload”,“pt”:“msg”,“to”:“data.battery”,“tot”:“msg”}],“action”:"",“property”:"",“from”:"",“to”:"",“reg”:false,“x”:280,“y”:360,“wires”:[[“3ab966bd.58bb7a”]]},{“id”:“abbfd258.eb403”,“type”:“range”,“z”:“3cbb48c8.f14478”,“minin”:"-1000",“maxin”:“1000”,“minout”:"-1",“maxout”:“1”,“action”:“clamp”,“round”:false,“property”:“payload”,“name”:"",“x”:750,“y”:260,“wires”:[[“7829af7b.41231”,“5eddbee3.c691a”,“1ab8a7.5187475a”,“e7b4c962.305fe8”]]},{“id”:“5eddbee3.c691a”,“type”:“ui_chart”,“z”:“3cbb48c8.f14478”,“name”:"",“group”:“83eeae23.7a23”,“order”:2,“width”:0,“height”:0,“label”:“Ultimos valores”,“chartType”:“radar”,“legend”:“false”,“xformat”:“HH:mm:ss”,“interpolate”:“linear”,“nodata”:"",“dot”:false,“ymin”:"-3",“ymax”:“3”,“removeOlder”:1,“removeOlderPoints”:"",“removeOlderUnit”:“3600”,“cutout”:0,“useOneColor”:false,“useUTC”:false,“colors”:["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],“useOldStyle”:false,“outputs”:1,“x”:940,“y”:260,“wires”:[[]]},{“id”:“d933550b.e8c878”,“type”:“switch”,“z”:“3cbb48c8.f14478”,“name”:“Switch”,“property”:“payload”,“propertyType”:“msg”,“rules”:[{“t”:“index”,“v”:“0”,“vt”:“num”,“v2”:“2”,“v2t”:“num”}],“checkall”:“true”,“repair”:false,“outputs”:1,“x”:410,“y”:260,“wires”:[[“37b32063.1c487”]]},{“id”:“37b32063.1c487”,“type”:“change”,“z”:“3cbb48c8.f14478”,“name”:“Change”,“rules”:[{“t”:“change”,“p”:“topic”,“pt”:“msg”,“from”:“acc_x”,“fromt”:“str”,“to”:“x”,“tot”:“str”},{“t”:“change”,“p”:“topic”,“pt”:“msg”,“from”:“acc_y”,“fromt”:“str”,“to”:“y”,“tot”:“str”},{“t”:“change”,“p”:“topic”,“pt”:“msg”,“from”:“acc_z”,“fromt”:“str”,“to”:“z”,“tot”:“str”}],“action”:"",“property”:"",“from”:"",“to”:"",“reg”:false,“x”:580,“y”:260,“wires”:[[“abbfd258.eb403”]]},{“id”:“ff87af81.ec2dc”,“type”:“ui_gauge”,“z”:“3cbb48c8.f14478”,“name”:"",“group”:“beb05eeb.7a09b”,“order”:3,“width”:0,“height”:0,“gtype”:“gage”,“title”:“Y”,“label”:"",“format”:"{{value | number:2}}",“min”:"-1",“max”:“1”,“colors”:["#ff0011","#e6e600","#09ca00"],“seg1”:"",“seg2”:"",“x”:1090,“y”:340,“wires”:[]},{“id”:“af3553.4cca3ab”,“type”:“ui_gauge”,“z”:“3cbb48c8.f14478”,“name”:"",“group”:“beb05eeb.7a09b”,“order”:1,“width”:0,“height”:0,“gtype”:“gage”,“title”:“X”,“label”:"",“format”:"{{value | number:2}}",“min”:"-1",“max”:“1”,“colors”:["#ff0011","#e6e600","#09ca00"],“seg1”:"",“seg2”:"",“x”:1089,“y”:298,“wires”:[]},{“id”:“f73ef410.34e3a8”,“type”:“ui_gauge”,“z”:“3cbb48c8.f14478”,“name”:"",“group”:“beb05eeb.7a09b”,“order”:5,“width”:0,“height”:0,“gtype”:“gage”,“title”:“Z”,“label”:"",“format”:"{{value | number:2}}",“min”:"-1",“max”:“1”,“colors”:["#ff0011","#e6e600","#09ca00"],“seg1”:"",“seg2”:"",“x”:1089,“y”:378,“wires”:[]},{“id”:“1ab8a7.5187475a”,“type”:“switch”,“z”:“3cbb48c8.f14478”,“name”:“Switch”,“property”:“topic”,“propertyType”:“msg”,“rules”:[{“t”:“eq”,“v”:“x”,“vt”:“str”},{“t”:“eq”,“v”:“y”,“vt”:“str”},{“t”:“eq”,“v”:“z”,“vt”:“str”}],“checkall”:“true”,“repair”:false,“outputs”:3,“x”:910,“y”:340,“wires”:[[“af3553.4cca3ab”],[“ff87af81.ec2dc”],[“f73ef410.34e3a8”]]},{“id”:“865a0b1a.6ab0e8”,“type”:“ui_text”,“z”:“3cbb48c8.f14478”,“group”:“83eeae23.7a23”,“order”:1,“width”:0,“height”:0,“name”:“Texto”,“label”:“Medición de vibraciones en linea”,“format”:"{{msg.payload}}",“layout”:“row-left”,“x”:590,“y”:140,“wires”:[]},{“id”:“34f95de0.924982”,“type”:“mysql”,“z”:“3cbb48c8.f14478”,“mydb”:“f2996f09.3ef9d”,“name”:“mySQL”,“x”:1050,“y”:480,“wires”:[[]]},{“id”:“6c2abcdf.d9c8f4”,“type”:“change”,“z”:“3cbb48c8.f14478”,“name”:"",“rules”:[{“t”:“set”,“p”:“payload”,“pt”:“msg”,“to”:“data.received”,“tot”:“msg”}],“action”:"",“property”:"",“from”:"",“to”:"",“reg”:false,“x”:280,“y”:480,“wires”:[[“5a48d382.a4a77c”]]},{“id”:“1bd3c869.396248”,“type”:“debug”,“z”:“3cbb48c8.f14478”,“name”:“2”,“active”:true,“tosidebar”:true,“console”:false,“tostatus”:false,“complete”:“true”,“targetType”:“full”,“x”:1050,“y”:580,“wires”:[]},{“id”:“5a48d382.a4a77c”,“type”:“simpletime”,“z”:“3cbb48c8.f14478”,“name”:"",“x”:490,“y”:480,“wires”:[[“e7b4c962.305fe8”]]},{“id”:“26d1879b.c114b8”,“type”:“template”,“z”:“3cbb48c8.f14478”,“name”:“Format data”,“field”:“topic”,“fieldType”:“msg”,“format”:“handlebars”,“syntax”:“mustache”,“template”:“INSERT INTO datos (Fecha,x,y,z) VALUES ( utc_timestamp,’{{payload.x}}’,’{{payload.y}}’,’{{payload.z}}’)”,“output”:“str”,“x”:870,“y”:480,“wires”:[[“34f95de0.924982”,“1bd3c869.396248”]]},{“id”:“e7b4c962.305fe8”,“type”:“join”,“z”:“3cbb48c8.f14478”,“name”:"",“mode”:“custom”,“build”:“object”,“property”:“payload”,“propertyType”:“msg”,“key”:“topic”,“joiner”:"\n",“joinerType”:“str”,“accumulate”:false,“timeout”:"",“count”:"",“reduceRight”:false,“reduceExp”:"",“reduceInit”:"",“reduceInitType”:“num”,“reduceFixup”:"",“x”:710,“y”:480,“wires”:[[“26d1879b.c114b8”,“783b93f4.f58c8c”]]},{“id”:“66cecc21.1f66a4”,“type”:“template”,“z”:“3cbb48c8.f14478”,“name”:“Format data”,“field”:“topic”,“fieldType”:“msg”,“format”:“handlebars”,“syntax”:“mustache”,“template”:“INSERT INTO datos (Fecha,x,y,z) VALUES (’{{myyear}}-{{mymonthn}}-{{mydom}} {{mytimes}}’,’{{payload.x}}’,’{{payload.y}}’,’{{payload.z}}’)”,“output”:“str”,“x”:490,“y”:580,“wires”:[[]]},{“id”:“333bdc31.cb3d54”,“type”:“ncd-gateway-config”,“z”:"",“name”:“Serial_2”,“comm_type”:“serial”,“ip_address”:"",“tcp_port”:“2101”,“port”:“COM9”,“baudRate”:“115200”,“pan_id”:“7fff”,“rssi”:false},{“id”:“83eeae23.7a23”,“type”:“ui_group”,“z”:"",“name”:“Datos actuales”,“tab”:“b29efd05.0f84d”,“order”:1,“disp”:false,“width”:9,“collapse”:false},{“id”:“771cbb69.47bf04”,“type”:“ui_group”,“z”:"",“name”:“Estado”,“tab”:“b29efd05.0f84d”,“order”:3,“disp”:false,“width”:“4”,“collapse”:false},{“id”:“beb05eeb.7a09b”,“type”:“ui_group”,“z”:"",“name”:“Valores independientes”,“tab”:“b29efd05.0f84d”,“order”:2,“disp”:false,“width”:4,“collapse”:false},{“id”:“f2996f09.3ef9d”,“type”:“MySQLdatabase”,“z”:"",“name”:"",“host”:“localhost”,“port”:“3306”,“db”:“iot”,“tz”:""},{“id”:“b29efd05.0f84d”,“type”:“ui_tab”,“z”:"",“name”:“Monitor de activos”,“icon”:“dashboard”,“order”:1,“disabled”:false,“hidden”:false}]

Hmm, its possible that the modem is getting data it doesn’t understand and may be trying to treat it as a configuration packet. Can you set your “Serial Device for Config” setting on that wireless device to the Serial 2 Config Node and see if the problem continues or if this reveals more about the actual issue?

I do it, but error remains.
Don´t worry this fail is just went I make a full deploy, but is not serious, I can live with that.

Thanks