Hi zenofmud
regarding deleting the mdashboard still after execution your command ,please see
(pi@pi:~ $ npm remove node-red-contrib-mdashboard
npm WARN saveError ENOENT: no such file or directory, open ‘/home/pi/package.json’
npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.
audited 1 package in 3.845s
found 0 vulnerabilities)
and for Q2 here is the code ([{“id”:“f05b3948.17cf88”,“type”:“ui_switch”,“z”:“20adda7b.e83046”,“name”:“SW1”,“label”:“SWITCH”,“group”:“ca2cbd6.93ad64”,“order”:0,“width”:“6”,“height”:“2”,“passthru”:true,“decouple”:“false”,“topic”:"",“style”:"",“onvalue”:“1”,“onvalueType”:“num”,“onicon”:"",“oncolor”:"",“offvalue”:“0”,“offvalueType”:“num”,“officon”:"",“offcolor”:"",“x”:140,“y”:200,“wires”:[[“af192f40.f1674”]]},{“id”:“af192f40.f1674”,“type”:“rpi-gpio out”,“z”:“20adda7b.e83046”,“name”:"",“pin”:“40”,“set”:"",“level”:“0”,“freq”:"",“out”:“out”,“x”:540,“y”:140,“wires”:[]},{“id”:“ca2cbd6.93ad64”,“type”:“ui_group”,“z”:"",“name”:“Test “,“tab”:“f257f57c.3a7e88”,“disp”:true,“width”:“6”,“collapse”:false},{“id”:“f257f57c.3a7e88”,“type”:“ui_tab”,“z”:””,“name”:“Home”,“icon”:“dashboard”}])
regarding your answer for Q3 I’m used to deal with labview and function blocks so if you mean to write the logic by a programming language it is too far from me all what can i do in this field is COPY/PASTE since I ve no background in such kind of commands
thank you for your support and waiting your feedback