Hello crunch,
My name is Mohamed I am a software engineer with 4 years of experience in a multimedia company.
I read your offer and I think I am definitely the man for this job. The solution based on firepyre is a good one. However, we can also use a Nodejs client to get Data from Firebase DB and use pi-gpio module to control gpio outputs.
To start our program automatically, we can implement a service that will be launched on startup. I am very proficient with bash scripts so it won't be an issue.
If you are interested in my offer, I suggest to have a chat and discuss your project in details.
Best regards,