Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STATUS change only on ground #309

Open
1 task
msmthng opened this issue Feb 13, 2023 · 1 comment
Open
1 task

STATUS change only on ground #309

msmthng opened this issue Feb 13, 2023 · 1 comment

Comments

@msmthng
Copy link

msmthng commented Feb 13, 2023

Action description
sending messages when gpio connected to 3.3v

Previous attempts
if i connect ground to the gpio pin i get mqtt messges with on and off paylod.
but if i connect 3.3v (like the sensor iam using is doing it) i don't get a change.

Error messages and traceback

Paste any error messages and Python traceback if applicable.

Config

mqtt:
  host: *********
  port: 1883
  topic_prefix: octoPrint
gpio_modules:
  - name: raspberrypi
    module: raspberrypi
    cleanup: no
digital_inputs:
  - name: filament_l
    module: raspberrypi
    pin: 14
    on_payload: "ON"
    off_payload: "OFF"
    pullup: yes
    pulldown: no
  - name: filament_r
    module: raspberrypi
    pin: 27
    on_payload: "ON"
    off_payload: "OFF"
    pullup: yes
    pulldown: no

Hardware

  • Platform: Raspberry Pi
  • Connected hardware: bigtreetech filament sensor

System:

  • OS: raspian with octoprint
  • Python version: 3.7.3
  • User you're running as: pi
  • Using a virtualenv?: no

Additional context
Add any other context about the problem here.

@msmthng
Copy link
Author

msmthng commented Feb 13, 2023

obsolete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant