Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ancubic i3 Mega with MQTT and Dashboard
[{"id":"d342ce12.10a86","type":"tab","label":"Anycubic","disabled":false,"info":""},{"id":"3dfc13c1.f4ceec","type":"function","z":"d342ce12.10a86","name":"","func":"msg.payload = msg.payload.actual\nreturn msg;\n","outputs":1,"noerr":0,"x":670,"y":280,"wires":[["f8a5d3f2.74807","8e3407ca.94e06"]]},{"id":"f8a5d3f2.74807","type":"debug","z":"d342ce12.10a86","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":850,"y":280,"wires":[]},{"id":"ea246b95.69218","type":"mqtt in","z":"d342ce12.10a86","name":"Tisch Temperatur","topic":"octoprint/temperature/bed","qos":"2","broker":"b73e5ba8.6c53e","x":200,"y":280,"wires":[["7b50d338.96e4fc"]]},{"id":"7b50d338.96e4fc","type":"json","z":"d342ce12.10a86","name":"","property":"payload","action":"","pretty":false,"x":470,"y":280,"wires":[["3dfc13c1.f4ceec"]]},{"id":"4a7536a9.c421b8","type":"json","z":"d342ce12.10a86","name":"","property":"payload","action":"","pretty":false,"x":470,"y":380,"wires":[["e8ac512c.27e97"]]},{"id":"c9119878.0d60b8","type":"mqtt in","z":"d342ce12.10a86","name":"Kopf Temperatur","topic":"octoprint/temperature/tool0","qos":"2","broker":"b73e5ba8.6c53e","x":200,"y":380,"wires":[["4a7536a9.c421b8"]]},{"id":"e8ac512c.27e97","type":"function","z":"d342ce12.10a86","name":"","func":"msg.payload = msg.payload.actual\nreturn msg;\n","outputs":1,"noerr":0,"x":670,"y":380,"wires":[["53669601.5235f8","6d5dbba5.fa0904"]]},{"id":"53669601.5235f8","type":"debug","z":"d342ce12.10a86","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":850,"y":380,"wires":[]},{"id":"8ff7ca4b.9af3","type":"json","z":"d342ce12.10a86","name":"","property":"payload","action":"","pretty":false,"x":470,"y":480,"wires":[["5a1fec5a.59caac"]]},{"id":"126f0037.85e7f8","type":"mqtt in","z":"d342ce12.10a86","name":"","topic":"octoprint/progress/printing","qos":"2","broker":"b73e5ba8.6c53e","x":230,"y":480,"wires":[["8ff7ca4b.9af3"]]},{"id":"5a1fec5a.59caac","type":"function","z":"d342ce12.10a86","name":"","func":"msg.payload = msg.payload.progress\nreturn msg;\n","outputs":1,"noerr":0,"x":670,"y":480,"wires":[["7ab5f2c3.c5ef94","c7d117be.515b"]]},{"id":"7ab5f2c3.c5ef94","type":"debug","z":"d342ce12.10a86","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":850,"y":480,"wires":[]},{"id":"8e3407ca.94e06","type":"ui_gauge","z":"d342ce12.10a86","name":"","group":"3c08400a.f8a4d","order":2,"width":0,"height":0,"gtype":"gage","title":"Tisch","label":"Temperatur °C","format":"{{value}}","min":0,"max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"65","seg2":"70","x":860,"y":200,"wires":[]},{"id":"6d5dbba5.fa0904","type":"ui_gauge","z":"d342ce12.10a86","name":"","group":"3c08400a.f8a4d","order":3,"width":0,"height":0,"gtype":"gage","title":"Hotend","label":"Temperatur °C","format":"{{value}}","min":0,"max":"240","colors":["#00b500","#e6e600","#ca3838"],"seg1":"210","seg2":"220","x":870,"y":340,"wires":[]},{"id":"c7d117be.515b","type":"ui_gauge","z":"d342ce12.10a86","name":"","group":"3c08400a.f8a4d","order":4,"width":0,"height":0,"gtype":"gage","title":"Fortschritt","label":"Gedruckt in % ","format":"{{value}}","min":0,"max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":880,"y":440,"wires":[]},{"id":"5f89730f.92a21c","type":"ui_template","z":"d342ce12.10a86","group":"3c08400a.f8a4d","name":"WebCam","order":1,"width":"6","height":"4","format":"<div ng-bind-html=\"msg.payload\"></div>\n<img src=\"https://webcam.dnsfor.me/mjpg/video.mjpg\">","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":860,"y":140,"wires":[[]]},{"id":"ad815aa6.6ae558","type":"mqtt in","z":"d342ce12.10a86","name":"","topic":"octoprint/event/PrintDone","qos":"2","broker":"b73e5ba8.6c53e","x":250,"y":580,"wires":[["838e4d05.382fd8"]]},{"id":"838e4d05.382fd8","type":"json","z":"d342ce12.10a86","name":"","property":"payload","action":"","pretty":false,"x":470,"y":580,"wires":[["c0e27536.344748"]]},{"id":"c0e27536.344748","type":"debug","z":"d342ce12.10a86","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":650,"y":580,"wires":[]},{"id":"b73e5ba8.6c53e","type":"mqtt-broker","z":"","broker":"mqtt.unixweb.de","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"3c08400a.f8a4d","type":"ui_group","z":"","name":"Anycubic i3 Mega","tab":"489c14e1.210ebc","disp":true,"width":"6","collapse":false},{"id":"489c14e1.210ebc","type":"ui_tab","z":"","name":"3D-Printer","icon":"dashboard","order":4}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment