Hey guys,
I'm recently up and running on RaspberryPints, and this is really great! I have one piece I'm struggling with, regarding the solenoid activation. I find that no matter what settings I use, the Keg icon in the webUI always shows with a "Red X" in the corner of it.
I did some investigating (trying to do my due diligence):
- In the admin panel, the taps are configured with sane pin numbers (not using 18)
- tap flow sensors are wired up and working correctly, reporting vol to the webUI
- pin 18 on RPi is wired to my Arduino Nano reset pin, and I see the resets happening when i tail -f the rpints log and save a change to the tap config in the webUI
- I inspected the element of the keg icon via browser, and see it is set to div class "keg-disabled"
- Searched index.php and found the reference to this:
Code:
if($config[ConfigNames::UseTapValves]){ if ($tap->get_valveOn() > 0 )
$kegOn = "keg-enabled";
else
$kegOn = "keg-disabled";
}
}
- For testing I changed both states to "keg-enabled" class, refreshed webUI, and now i see a green checkmark icon instead
- Checked the /includes/configNames.php and config.php, all is well there
- Checked that useTapValves = 1 in the config table in MySQL
Although at this time I do not physically have my tap solenoids wired in to my Arduino, I suspect I am missing something basic. I've been searching this thread and cant find any guidance on wiring, is there something i can reference?
thanks for all you guys have done, this is an awesome project! As a side note, I originally found the old version of RPints, and had made a laundry list of things I needed to modify: webSockets based auto refresh of the keg/pour volumes, webAdmin based flow rate settings for the sensors, and so on... so I was THRILLED!!!! when I found this has already been done by you hard working guys!! Happy to contribute anything I can in coding and testing, just hit me up.