Interesting project! Thanks for sharing…
I don’t know about Raspberry, but Arduino based there is GrowDuino as a ready-to-deploy product…