Node Bier: verschil tussen versies

Uit MakerSpace Leiden
Ga naar: navigatie, zoeken
k (MarkKlaauw heeft de pagina NodeBier hernoemd naar Node Bier zonder een doorverwijzing achter te laten)
 
(7 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 1: Regel 1:
[[Categorie:Project]][[Categorie:Docs]][[Categorie:PaymentSystem]][[Categorie:ACNode]]
+
[[Categorie:Docs]][[Categorie:PaymentSystem]][[Categorie:ACNode]]
 
+
[[Category:Nodes & network devices]][[Category:Food & drink]]
 
[[Bestand:Payment-7seg-samples.jpg|500px]]
 
[[Bestand:Payment-7seg-samples.jpg|500px]]
  
Node for paying beer
+
Node for paying beer. Onderdeel van het [[SpaceTegoed}Space tegoed payment system]].
  
 
= Location =
 
= Location =
Regel 57: Regel 57:
 
## <code>REG</code> Registering with the server
 
## <code>REG</code> Registering with the server
 
## <code>PAIR</code> requesting to pair; swipe an admin tag.
 
## <code>PAIR</code> requesting to pair; swipe an admin tag.
## <code>Er::PL</code> failed to get a pricelist - typically as it has not been associated with a station/pricelist in the CRM yet.
+
## <code>Er::PL</code> failed to get a pricelist - typically as it has not been associated with a station/pricelist in [https://mijn.makerspaceleiden.nl mijn.makerspaceleiden.nl] yet.
 
## <code>any error message</code> - scrolling error message.
 
## <code>any error message</code> - scrolling error message.
  
 
Code is at https://github.com/MakerspaceLeiden/makerspaceleiden-payment-node-7segments.
 
Code is at https://github.com/MakerspaceLeiden/makerspaceleiden-payment-node-7segments.

Huidige versie van 29 jul 2024 om 20:14

Payment-7seg-samples.jpg

Node for paying beer. Onderdeel van het [[SpaceTegoed}Space tegoed payment system]].

Location

Kitchen

What does it do?

The display normally displays a static price. The price is for one beer.

Swipe your door tag just once pay for one beer.

Hardware vervangen/repareren

See Payment Terminal with 4 seven segment displays

Display messages

  1. During startup
    1. F X-YY - version number firmware during booting.
    2. CONN - connecting to WiFi
    3. NTP - getting the time
    4. F CA - Fetching the Certificate Authority
    5. F PL - Fetching the price list
    6. FAIL - failed to connect to WiFi; will reboot.
    7. any error message - scrolling error message & after which either reboot or hang if it unrecoverable.
  2. At the end of startup (from this point onwards OTA is possible).
    1. ---- - fully started up; but have not yet gotten the pricelist
    2. no prices - price list could not be fetched. Will retry for a few minutes every 15 seconds; then reboot.
  3. In normal payment mode
    1. X.YY - price to pay when you swipe. There is no leading zero.
    2. [--] - in the process of paying
    3. FAIL - payment failed
    4. paid - you have paid
    5. MM:SS -- a minute and second countdown. Once at zero - the heating switches off. There is always a leading zero.
    6. any error message - scrolling error message.
      1. FAIL -1 - netwerk/wifi error. Powercyle de unit.
      2. FAIL -4 - netwerk/wifi error. Powercyle de unit.
      3. FAIL 40X Gebruik je een geldige tag ?
      4. FAIL 500 Error op de server; mail noc@.
  4. During Over the Air reprogramming.
    1. PROG - start of OTA update
    2. F XX - OTA; uploading new firmware; XX is the percentage fetched
    3. DONE - successful end of OTA. Unit will reboot.
    4. any error message - scrolling error message & after which the device will switch back to the old/current firmware
      1. FO:AF - OTA authentication failed
      2. FO:BF - OTA begin failed
      3. FO:CF - OTA connect failed
      4. FO:RF - OTA receive failed
      5. FO:EF - OTA end failed
      6. FO:OF - OTA 'other' failure
  5. During initial pairing / post an OTA
    1. REG Registering with the server
    2. PAIR requesting to pair; swipe an admin tag.
    3. Er::PL failed to get a pricelist - typically as it has not been associated with a station/pricelist in mijn.makerspaceleiden.nl yet.
    4. any error message - scrolling error message.

Code is at https://github.com/MakerspaceLeiden/makerspaceleiden-payment-node-7segments.