Skip to content

Plugin not getting a reading from the sensor #11

@abrenoch

Description

@abrenoch

Hey there, I followed the guide here, substituting the pins of course, but I am not able to get this plugin to read anything from the sensor. I tried the example code in that link, and that appears to function as expected.

When octoprint starts it simply says 'loading', and when trying to tare/calibrate it will go to 0g but I never get an actual reading from it. Can confirm I am using the correct pins as well.

Does anyone have any advice for me before I start trying to dig into the plugin code? Thanks!

Running the latest octoprint (1.4.2) on a raspberry pi 3 b+

In the logs I am seeing:

2020-08-22 14:48:36,620 - octoprint.plugin - ERROR - Error while calling plugin filament_scale
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_filament_scale/__init__.py", line 58, in on_startup
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_filament_scale/hx711.py", line 18, in __init__

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions