projets:fuz:presence_button
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
projets:fuz:presence_button [2019-10-16 20:12] – [Presence button] Lomanic | projets:fuz:presence_button [2019-11-03 17:41] – [Current status] Lomanic | ||
---|---|---|---|
Line 5: | Line 5: | ||
* Notifying that the Hackerspace is open/closed on different channels (Matrix, Fuz.re homepage), while respecting the privacy of attendants | * Notifying that the Hackerspace is open/closed on different channels (Matrix, Fuz.re homepage), while respecting the privacy of attendants | ||
</ | </ | ||
+ | |||
===== Hardware ===== | ===== Hardware ===== | ||
Line 15: | Line 16: | ||
Unplug the 3V3 VCC cable to be able to watch the serial monitor when the Sonoff is powered on through main **else you will fry the esp**. You can also flash Sonoff' | Unplug the 3V3 VCC cable to be able to watch the serial monitor when the Sonoff is powered on through main **else you will fry the esp**. You can also flash Sonoff' | ||
It also looks like when the program is of a given size, the USB/serial adapter (CH340G at least) is not able to give enough current for the esp to run properly (crashes in loop with stacktraces). An FTDI adapter looks more reliable.\\ | It also looks like when the program is of a given size, the USB/serial adapter (CH340G at least) is not able to give enough current for the esp to run properly (crashes in loop with stacktraces). An FTDI adapter looks more reliable.\\ | ||
- | You can also use '' | + | You can also use '' |
+ | |||
+ | Using a FTDI as below is more practical as it's able to properly power the Sonoff S20. **Don' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Software ===== | ||
+ | |||
+ | See [[https:// | ||
===== Roadmap ===== | ===== Roadmap ===== | ||
Line 46: | Line 55: | ||
- **TODO** | - **TODO** | ||
- **TODO** https:// | - **TODO** https:// | ||
- | - **DOING** making the S20 regularly ping a remote server. This remote server would then send a message on Matrix saying Fuz is closed if it's not ping-ed after some delay. Implementing the latter using MQTT ([[https:// | + | - **DOING** making the S20 regularly ping a remote server. This remote server would then send a message on Matrix saying Fuz is closed if it's not ping-ed after some delay. Implementing the latter using <del>MQTT</ |
- | | + | - **ALMOST DONE** check out [[https:// |
- ?? | - ?? | ||
- **TODO** | - **TODO** | ||
Line 56: | Line 65: | ||
- handle multiple matrix channels configured (to listen to and to reply to) | - handle multiple matrix channels configured (to listen to and to reply to) | ||
+ | - notify when the Fuz is closing | ||
- resolve HTTPS locally instead of relying on a HTTP/HTTPS proxy | - resolve HTTPS locally instead of relying on a HTTP/HTTPS proxy | ||
- | ===== Arduino sketch | + | ===== Arduino sketch |
In chronological order for a better comprehension compared to the note-taking style above | In chronological order for a better comprehension compared to the note-taking style above | ||
Line 68: | Line 78: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | Subsequent versions on [[https:// | ||
===== Resources ===== | ===== Resources ===== |
projets/fuz/presence_button.txt · Last modified: 2023-02-02 22:06 by 127.0.0.1