Skip to content

Commit a67b217

Browse files
authored
Merge pull request #9 from techman83/shorten_error_message
Long Message in UI
2 parents 28ad5df + 8e2b855 commit a67b217

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ or manually using this URL:
2424

2525
Once you have wired up the HX711, it must be calibrated. This is a pretty straightforward process, and all you will need is an object of known weight. Attach the load cell to your printer with the printed bracket, then follow the instructions on the plugin's settings page.
2626

27+
## Troubleshooting
28+
29+
`NaN` may be occasionally displayed in the interface when the weight can't be read correctly. The cheap boards vary in quality and are a little sensitive to vibration/power stability. Ensure the cabling is secure, you have a sufficiently sized load cell, and a good power supply.
30+
2731
## Development
2832

2933
Python 3 + Python 3 Virtualenv recommended

filament_scale_enhanced/static/js/filament_scale.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $(function() {
5353

5454
self.last_raw_weight = parseInt(message)
5555
if (parseInt(message) == 8388608 || parseInt(message) == 8388607){
56-
self.printerState.filamentRemainingString("Sensor Not Connected")
56+
self.printerState.filamentRemainingString("NaN")
5757
self.settings.settings.plugins.filament_scale.lastknownweight("Error")
5858
} else {
5959
weight = self.getWeight(message)

0 commit comments

Comments
 (0)