Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.48 KB

Configuring.node-red.flow.md

File metadata and controls

33 lines (26 loc) · 1.48 KB

Configuring Node-RED flow

All is merged into a single flow. If needed you can copy flow if you need multiple printers etc. Notice that multiple printers were not tested and probably web ui components need changes to avoid field overwrites.

Details

  • make sure to have installed extra nodes (see Configuring Host)

  • make sure esp32 camera and 3D printer API access works

Detailed howto

  • go to Node-RED editor http://127.0.0.1:1880/

  • import flows/prusa_v2.json to Node-RED.

  • if you have duplicated elements then replace them (especially for web-ui)

  • edit node general config in top left corner, in the tab On Start, edit save_path_root if you have different printers to avoid file save overwrites (and overall mess) for example /data/prusa/my-printer-1; set printer endpoint and access key (printer_api_address and printer_api_key); set esp32 camera address endpoint (esp32_camera_address); double check ports used! ensure to configure mqtt topic to the same values as defined in esp32 device

  • deploy flows

  • check Node-RED web ui for status http://127.0.0.1:1880/ui

  • check if pressing button attached to esp32 triggers sending message to MQTT

  • check if the flow in Node-RED is triggered from mqtt message topic - that's why LEDs are useful because you should get back green led light if flow was triggered, notice that image capture is not triggered if printer is not printing.