Table of Contents
Presence phone
Like the presence button but where we would call/send SMS to a phone number to know if the hackerspace is open or not. Could also handle intercom to the doorbell on the exterior portal as a second step.
Project information
- Owner: Lomanic
- Participants: you?
- Status: draft. Need to clearly define the scope of the project and how to achieve its goals
Hardware
- TTGO T-Call SIM800 v1.3 (ESP32 + 2G module, looks like the 2G network is here to stay in France for a while, but if not and to be more future-proof, the newer TTGO T-SIM7000G handles 4G but is not as cheap and I'm not sure about the software support of this 4G module)
- one cheap-ass 2€/month plan Free Mobile SIM card
- something to notify people in the Fuz that someone called (something that does some sound and can be heard from everywhere in the room, even when there is some music). Thought of reusing presence button or piedthon, but I have a huge preference for a vintage Socotel S63 phone. It would permit some really nice stuff (see below) and would be able to handle intercom to the exterior portal (we can't hear its doorbell when in the basement), should find one free or at least very cheap (La Rockette Père Lachaise?).
Software
- https://github.com/earlephilhower/ESP8266SAM for text-to-speech?
- https://github.com/vshymanskyy/TinyGSM (despite lack of documentation )
- https://www.developershome.com/sms/ (AT commands explained)
What would be said when calling the phone (test it online):
Leh hackerspace ay fairmay. The hackerspace is closed.
Leh hackerspace ayt oovayr. The hackerspace is open.
Another idea (second step) would be to set for how long the hackerspace is opened (pick up the phone, enter some menu − voice server-like interface would describe how to do it − with the rotary dial and set a delay or a closing hour, to be posted on Matrix or something).
See also this beautiful "rotary cellphone" featured on minimachines.net (in French). It uses an ATmega 2560V with an Adafruit Fona 3G board instead of the ESP32+SIM800L that we plan to use though, but it could be a nice inspiration.
Discussion
on peut pas faire qqchose avec du protocole SIP ?
Pourquoi pas, je n'ai pas regardé. Mon idée au Fuz est un peu de résoudre tous les problèmes avec des ESPs .
Tu proposes d'installer un serveur vocal directement sur le serveur sonic par exemple ? Et/ou faire du téléphone à cadran un téléphone IP (projet super sympa) pour qu'on puisse appeler (depuis) le Fuz ? Est-ce que le forfait Internet utilisé par le Fuz inclut un numéro de téléphone en fait ?
En réalité, le projet actuellement décrit est un peu ambitieux et confond différents besoins (intercom/sonnette avec la grille, serveur vocal/SMS pour savoir si le Fuz est ouvert et même une manière de spécifier dans combien de temps il ferme ???!), il faudrait réduire ses prétentions et prioriser selon les besoins déjà. Par exemple, l'intercom/sonnette est plus prioritaire et pourrait être séparé dans un nouveau projet.