So after testing and researching I found out that there's a problem with the gpio pins detecting false Inputs with momentary switch buttons which leads them into a state of floating and therefore not beeing able to correctly detect the input gut rather detect multiple ones. After changing the code in a way that it doesn't recognise these false inputs I manage to get it to work so that it only pours one at a time but now I got the problem that after some pours the system doesn't recognise any inputs anymore where could be the problem that something like that happens? I will add a link to the changed code.
The link to the Raspberry forum where I also stated my problem:
https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=214560&p=1320522#p1320522
So after testing and researching I found out that there's a problem with the gpio pins detecting false Inputs with momentary switch buttons which leads them into a state of floating and therefore not beeing able to correctly detect the input gut rather detect multiple ones. After changing the code in a way that it doesn't recognise these false inputs I manage to get it to work so that it only pours one at a time but now I got the problem that after some pours the system doesn't recognise any inputs anymore where could be the problem that something like that happens? I will add a link to the changed code.
The link to the Raspberry forum where I also stated my problem:
https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=214560&p=1320522#p1320522