I’ve been running Pi3 with about 10 Reed sensors that were connected straight to Gpio pins without any issues. When I recently migrated to Pi4 i noticed that only some pins are actually turned on:
I came to this conclusion after enabling or Gpio pins from the HA config file. With nothing hooked up to them only the ones above showed up as “on” (if they are open they should show up as on/active). When you go to Dev tools -> system > hardware info it actually shows other pins active as well but they don’t actually do anything.
This happens with both Raspbian Lite and HassOS so it must be HassIO that’s at fault here.
What makes the matter worse is that today I found out that if I hard reboot pi it won’t boot, the red light will stay on and no usb devices will power up, you won’t even get shell. If i disconnect the sensors it will boot fine, and I can hook them back up and they will work without any issues.
UPDATE on above: don’t use pin 0 (gpio0) as its reserved for flashing, so it will work but when you reboot your PI it will hang during boot up. Only use pins marked in green on the official PI schematic
Any insight on this would be great, or maybe someone else can turn on their pins to see if they show up as on
- platform: rpi_gpio ports: 22: pin22test
Anyone know any cause for this?