PIR Sensor output to firebase

ardly:
Maybe you have not understood the assignment properly?

Fair chance it's just another case of an instructor not really understanding what they're asking for.