-
Notifications
You must be signed in to change notification settings - Fork 39
Help
Old help page
If the "Warning! Can't get stats from DisplayLayerProgress. Is it installed?" error message is displayed despite the DLP plugin is installed and working, it can be an indicator of a Javascript error on the page. In that case, open the javascript console in your browser and see: The Dashboard fails to load with the "dashboardViewModel error message.
Command Widgets allows you to run shell commands, scripts and applications and display the results in the dashboard. This is a versatile method to extend the dashboard. You can configure multiple Command Widgets for different purposes. Each Widget has a selectable icon and a displayname. The stdout output from the configured command will be displayed as the widget value. The commands will be executed by the OctoPrint server every 60 seconds with the privileges of the OctoPrint system user. Make sure to use full paths to each command that is not built into the system shell.
Echo Hello World #This will return "Hello World" and display that in the widget
/opt/vc/bin/vcgencmd measure_volts | tr -d "volt=" #This will return the RPi core voltage
snmpwalk -v 1 -One -c public 192.168.0.13 .1.3.6.1.4.1.8072.1.3.2.3.1.2.10.117.112.115.46.115.116.97.116.117.115 | awk -F'"' '{print $2}'
Note! Make sure that the command returns a text string that fits in the value field. Also make sure that the command actually returns within a reasonable time.
It is possible to switch between multiple webcam streams if the dashboard multicam option is enabled. Each camera is then represented by an icon in the top right corner of the camera feed. There is also an icon in the top right corner of the Dashboard to toggle the camera feed(s) on/off in order to save bandwidth.
You will see this error message in the browser console if you have disabled the Gcode Visualizer in the OctoPrint Settings. The Dashboard depends on this tab to be available in order to function. The solution is to enable the tab again.
Temperature Sensors can be used with dashboard through the Enclosure Plugin. Make sure to enable the Temp Sensor Info from Enclosure Plugin
option.
Dashboard automatically uses colors from Themeify as of 1.15.0
"fas fa-tachometer-alt" is a suitable icon for Custom Tab-icons if enabled in Themify.
Custom style selectors:
It is possible to let the Dashboard tab fill the entire browser window via the URL Parameter "dashboard=full". Example: http://octopi.local/?dashboard=full
. This is useful when using a browser in "Kiosk" mode to monitor prints. If you would the webcam was always disabled for this device but still active for others, you can create a new octoprint user without webcam access and log into it for your kiosk device.
The Dashboard depends on another plugin called DisplayLayerProgress to be installed and working in order to get these metrics. The Dashboard will display the following warning message at the bottom if DisplayLayerProgress can't be accessed:
Warning: Can't get stats from DisplayLayerProgress. Is it installed, enabled and on the latest version?
When starting a print. It can take some time for the metrics to be calculated and displayed. The Average Layer Time is only displayed after the first five layers has been printed.
The Average Layer Time comes from the DisplayLayerProgress plugin and is by default formatted as "0h:00m:00s". This looks a bit strange compared to the other times that are formatted as "hh:mm:ss". This can however be addressed by a setting in DisplayLayerProgress. Go to OctoPrint Settings/Plugins/DisplayLayerProgress. In the Display Tab, locate the Average layer duration Format field and change it to "{H:02}:{M:02}:{S:02}"
The DisplaylayerProgress plugin adds a toolbar, sidebar and desktop printer display message by default. If you want to disable these and still use the Dashboard, you can simply Change the following settings in the DisplaylayerProgress plugin settings:
- Show printer display on Desktop
- Show current height in Statusbar
- Show layer information in Statusbar
- Navigationbar Message
Some slicers start at layer zero (like CURA) and some starts at layer one. You can add an offset to the reported Layer height in the Layer tab of the DisplaylayerProgress plugin settings to suit your slicer.
Octoprint defaults to showing "fuzzy print time estimates" and these are displayed by the dashboard (example: Estimated print time: 1 hour). If you prefer the hh:mm:ss format used elsewhere, go to Settings/Appearance and untick "Show fuzzy print time estimates".
The GCode Viewer tab is completely disabled in TouchUI when using 'touchscreen mode'; this is to make performance better. The Dashboard depends on the GCode Viewer tab to be able to report layer progress.