User Tools

Site Tools


project:brmdoor:start

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
project:brmdoor:start [2018/06/07 21:11] – [BrmDoor Firmware] Fix github link abyssalproject:brmdoor:start [2018/07/24 19:25] – Support for uploading status to VPS in SpaceAPI.net format, mapping publicly available on brmlab.cz abyssal
Line 82: Line 82:
 </code> </code>
  
-===== OPEN/CLOSED switch with update of topic on IRC =====+===== OPEN/CLOSED switch with update of topic on IRC and SpaceAPI format on VPS =====
  
 In ''brmdoor_nfc.config'', look at the section ''[open_switch]''. IRC must be enabled in ''[irc]'' section for status In ''brmdoor_nfc.config'', look at the section ''[open_switch]''. IRC must be enabled in ''[irc]'' section for status
Line 121: Line 121:
 Any IRC user in ''#brmlab'' channel can change the topic by using the ''/topic'' command. This value will stay Any IRC user in ''#brmlab'' channel can change the topic by using the ''/topic'' command. This value will stay
 until the physical switch changes the value. until the physical switch changes the value.
 +
 +==== Reporting/uploading status in SpaceAPI format ====
 +
 +Currently since v 0.2 brmdoor can upload the status and information in [[http://spaceapi.net/ | SpaceAPI.net format]].
 +
 +The status JSON is mapped currently is mapped to [[https://brmlab.cz/spaceapi/status.json]]. The interesting non-static part
 +of json is in under "state" key - "open" (boolean) and "lastchange" (Unix timestamp). 
  
 ===== PIN assignments ===== ===== PIN assignments =====
project/brmdoor/start.txt · Last modified: 2023/09/17 20:35 by abyssal