I finally added an intrusion log view controller to monitor all the events registered in my real time Firebase database. I’ve changed the design of the intrusion view controller as well.
I’ve also implemented two features in the arduino code:
- sending intrusion information to Firebase. What I learned : get time from a NTP server and get the date information using the epoch time (ref 1970 as Unix)
- sending notification to my iPhone via Firebase