====== Presence phone ====== Like the [[:projets:fuz: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 ===== * [[https://github.com/Xinyuan-LilyGO/TTGO-T-Call|TTGO T-Call SIM800 v1.3]] (ESP32 + 2G module, looks like the 2G network is [[https://archives.arcep.fr/?id=7183|here to stay in France for a while]], but if not and to be more future-proof, the newer [[https://github.com/Xinyuan-LilyGO/LilyGO-T-SIM7000G|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 [[:projets:fuz:presence button]] or [[:projets:fuz: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 ([[http://www.lapetiterockette.org/infos_pratiques/|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://circuitdigest.com/microcontroller-projects/automatic-call-answering-machine-using-arduino * https://www.developershome.com/sms/ (AT commands explained) What would be said when calling the phone ([[https://simulationcorner.net/index.php?page=sam|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 [[http://justine-haupt.com/rotarycellphone/|"rotary cellphone"]] featured on [[https://www.minimachines.net/actu/rotary-cellphone-86864|minimachines.net (in French)]]. It uses an ATmega 2560V with an [[https://learn.adafruit.com/adafruit-fona-3g-cellular-gps-breakout|Adafruit Fona 3G board]] instead of the ESP32+SIM800L that we plan to use though, but it could be a nice inspiration. ~~DISCUSSION~~