My MQTT and NodeRed experience are best summarized as copy and paste - and herein lies my current problem.
I am trying to setup MQTT signals from gSender (my CNC) into NodeRed with aspirations of achieving something along the lines of what @WolfwithSword created for BambuLabs.
I have toyed with this a couple of times and can basically can get some matrixed data into NodeRed.
How would I get this information to spit out into Sensors?
Example:
["grblHAL",{"status":{"activeState":"Jog","mpos":{"x":"67.063","y":"1.325","z":"-1.690","a":"9.997"},"wpos":{"x":"68.063","y":"0.000","z":"62.420","a":"9.997"},"ov":[100,100,100],"alarmCode":3,"subState":0,"probeActive":false,"pinState":{},"buf":{"planner":128,"rx":1023},"feedrate":0,"spindle":0,"wco":{"x":"-1.000","y":"1.325","z":"-64.110","a":"0.000"},"accessoryState":"S"},"parserstate":{"modal":{"motion":"G1","wcs":"G54","plane":"G17","units":"G21","distance":"G90","feedrate":"G94","cycle":"G98","spindle":"M5","coolant":"M9","tool":"0"},"tool":"0","feedrate":"3200","spindle":"19000."},"axes":{"count":4,"axes":["X","Y","Z","A"]}}]



















