Greeting all,
I have only discovered HA about a month ago. Super awesome system.
My setup is as follow:
RPI 4 1GB
16GB Class 10 Sandisk card
3A RPI Power adaptor
Hassio 0.98.5
Connected through Cat5e
Addons:
Configurator
duckdns
SSH
I am trying to connect 2 x 8 way relay boards to the GPIO pins. Problem I have is that as soon as I add more then 5 ports in the configurator.yaml file and restart, HA crash. The pi starts up and network light flickers but can not get any access to the pi. No access to the WebUI or through SSH.
I can add 5 ports and restart with no problems. Set them up in lovelace and they work. Only after trying to add more. Just one more, then restart and then it crashes.
I then have to reformat the card and start again.
It gets added as a basic gpio switch, nothing fancy.
You could be exceeding the pi’s gpio current rating. It has a combined current limit of something like 50mA total for all gpios. If you are drawing 10mA per relay port that would do it.
Hi tom_I,
The problem is that it happens before I have the relay boards connected. Just the setup gives problems.
I currently have a Pi Zero W running the 16 relays using PiRelay without any problem.
Okay. Seems to be a rpi4 issue.
First I downloaded the latest version of hassio 0.99, and with no extra configurations tried to setup the gpio pins. No luck.
Tried it with a different sd card. No luck.
Reformated the sd cards and tried it in a different pi4. No luck.
Downloaded the pi3 version and loaded it on a pi3. Works perfect.
Seems to be an issue with either the pi4 or the image.
No i’ll just use the pi3 for ha.
Thank you all for the help.