For a better connection of our entrance door to the Space-API, Jonas and L3D have installed a door switch and an ESP at the entrance door.
This should detect if the Toolbox door is unlocked or locked. And whenever it detects a change, it passes it on to the Space-API.
The appropriate code for the door is of course available on Github:
That's what it looks like. From the creation to the finished prototype.