User Tools

Site Tools


projets:fuz:presence_button

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
projets:fuz:presence_button [2020-02-02 23:42] – remove duplicate legacy "Arduino sketch revisions" section ; update current status Lomanicprojets:fuz:presence_button [2020-02-02 23:49] – [Current status] Lomanic
Line 61: Line 61:
   - **DOING** Unfortunately, [[https://github.com/krzychb/EspSaveCrash|EspSaveCrash]] is not able to save crash information on flash, to be removed. Maybe a completely rework is needed as we may use too much RAM or something, where the ESP would only be pinging a remote server about its state and all the logic would be on this server (it would be the server that tells the ESP to turn on or off the rotating light). Maybe also remove @mentions handling as it's not used before a complete rework.   - **DOING** Unfortunately, [[https://github.com/krzychb/EspSaveCrash|EspSaveCrash]] is not able to save crash information on flash, to be removed. Maybe a completely rework is needed as we may use too much RAM or something, where the ESP would only be pinging a remote server about its state and all the logic would be on this server (it would be the server that tells the ESP to turn on or off the rotating light). Maybe also remove @mentions handling as it's not used before a complete rework.
   - ??   - ??
-  - **DOING**+  - **DOING**, when people push the button and the button doesn't crash after some time
  
 Today the button can notify on Matrix when it's pressed after initialization or after being notified on Matrix, and a server registers pings from the button to notify on Matrix that the Fuz is closed when it's not pinged anymore. Today the button can notify on Matrix when it's pressed after initialization or after being notified on Matrix, and a server registers pings from the button to notify on Matrix that the Fuz is closed when it's not pinged anymore.
Line 67: Line 67:
 Next steps: Next steps:
  
-  - handle multiple matrix channels configured (to listen to and to reply to) 
-  - resolve HTTPS locally instead of relying on an HTTP/HTTPS proxy 
   - huge refactoring of the code is needed, it's a huge pile of hacks, hard to work on, follow how it's done in [[https://github.com/biohazardxxx/ESP_WiFiSwitch|this similar project]] (separate files?), also fix button reset [[https://github.com/biohazardxxx/ESP_WiFiSwitch/blob/1c642fe2b00fbf83324e2228826ad341f687ce45/ESP_WiFiSwitch.ino#L136-L172|with a ticker like in this project]]   - huge refactoring of the code is needed, it's a huge pile of hacks, hard to work on, follow how it's done in [[https://github.com/biohazardxxx/ESP_WiFiSwitch|this similar project]] (separate files?), also fix button reset [[https://github.com/biohazardxxx/ESP_WiFiSwitch/blob/1c642fe2b00fbf83324e2228826ad341f687ce45/ESP_WiFiSwitch.ino#L136-L172|with a ticker like in this project]]
 +  - resolve HTTPS locally instead of relying on an HTTP/HTTPS proxy
  
 ===== Resources ===== ===== Resources =====
projets/fuz/presence_button.txt · Last modified: 2023-02-02 22:06 by 127.0.0.1