I need your opinion:
We need to create a system for multiple vacation homes so guests can receive a personal pin code when they book their stay. The pin code is only valid during the time of their stay to open the apartment and main entrance doors, but also to track access and know whether and when guest have arrived.
.
Ideally, we would want to enter apartment number, arrival and departure date in the Loxone app, and Loxone should associate and show a pin number for the stay. The activation, deactivation and validation of the pin code should be done automatically by Loxone. Unfortunately, there is no such calendar function in Loxone where you can enter events via the app.
What would be the best and simplest way to get this dynamic scheduling function to trigger actions in Loxone?
Some possible solutions:
- build a UI using Loxone standard building blocks, and save/get the information in a file via a PicoC script. The advantage would be that you don't need anything else, but the UI would not be easy to work with.
- use a Google Calendar and let a Google Script create and push the pin code and deactivation to Loxone
- we would prefer that Loxone asks the Google Calendar for the current valid pin code, but I think Loxone can not handle accessing the Google Apps Script API.
- create some tool with a webservice for Loxone to query. This requires a webserver, like a NAS or RPi.
Which way would you go, or any other ideas?