Node Chips: verschil tussen versies
(→Network details) |
(→Network details) |
||
Regel 32: | Regel 32: | ||
<pre> | <pre> | ||
ac/log/4x7-1-08-d06a08 Crispy Crisps, Crokante Chips | ac/log/4x7-1-08-d06a08 Crispy Crisps, Crokante Chips | ||
− | |||
{ | { | ||
"rfid_scans": 0, | "rfid_scans": 0, | ||
Regel 48: | Regel 47: | ||
"loopRate": 20.0 | "loopRate": 20.0 | ||
} | } | ||
+ | </pre> | ||
− | + | The low loop rate is as we're currently not using the IRQ wire; but rely on synchronous polling. | |
= Display messages = | = Display messages = |
Versie van 20 jan 2024 om 21:19
Node for paying Crisps (Chips). Onderdeel van het Space tegoed betalings systeem.
Inhoud
Location
Physical: Kitchen. And telnet://192.168.6.49/ on the Internet.
What does it do?
The display normally displays a static price. The price is for one packet of crips.
Swipe your door tag just once pay for packet.
Hardware vervangen/repareren
See Payment Terminal with 4 seven segment displays. Current incarnation:
- Wifi-Mac address: 3C:71:BF:D0:6A:08
- Software version 1.08
- Uses Green PCB that has been butchered a fair bit.
- Normal 220v AC/DC 5 volt power supply (0.2 Watt)
- Top dot of the 7-segment display has been painted black
- Boards are floating a bit / rattling in the box.
Network details
Telnet to 192.168.6.49 for details. MQTT logging:
ac/log/4x7-1-08-d06a08 Crispy Crisps, Crokante Chips { "rfid_scans": 0, "rfid_misses": 0, "ota": true, "state": 3, "IP_address": "192.168.6.49", "Mac_address": "3C:71:BF:D0:6A:08", "Paid": 0.00, "PaidSeconds": 0, "Version": "F1-08", "Firmware": "4x7-1-08-d06a08", "heap": 187000, "coreTemp": 53.3, "loopRate": 20.0 }
The low loop rate is as we're currently not using the IRQ wire; but rely on synchronous polling.
Display messages
- During startup
F X-YY
- version number firmware during booting.CONN
- connecting to WiFiNTP
- getting the timeF CA
- Fetching the Certificate AuthorityF PL
- Fetching the price listFAIL
- failed to connect to WiFi; will reboot.any error message
- scrolling error message & after which either reboot or hang if it unrecoverable.
- At the end of startup (from this point onwards OTA is possible).
----
- fully started up; but have not yet gotten the pricelistno prices
- price list could not be fetched. Will retry for a few minutes every 15 seconds; then reboot.
- In normal payment mode
X.YY
- price to pay when you swipe. There is no leading zero.[--]
- in the process of payingFAIL
- payment failedpaid
- you have paidMM:SS
-- a minute and second countdown. Once at zero - the heating switches off. There is always a leading zero.any error message
- scrolling error message.FAIL -1
- netwerk/wifi error. Powercyle de unit.FAIL -4
- netwerk/wifi error. Powercyle de unit.FAIL 40X
Gebruik je een geldige tag ?FAIL 500
Error op de server; mail noc@.
- During Over the Air reprogramming.
PROG
- start of OTA updateF XX
- OTA; uploading new firmware; XX is the percentage fetchedDONE
- successful end of OTA. Unit will reboot.any error message
- scrolling error message & after which the device will switch back to the old/current firmwareFO:AF
- OTA authentication failedFO:BF
- OTA begin failedFO:CF
- OTA connect failedFO:RF
- OTA receive failedFO:EF
- OTA end failedFO:OF
- OTA 'other' failure
- During initial pairing / post an OTA
REG
Registering with the serverPAIR
requesting to pair; swipe an admin tag.Er::PL
failed to get a pricelist - typically as it has not been associated with a station/pricelist in the CRM yet.any error message
- scrolling error message.
Code is at https://github.com/MakerspaceLeiden/makerspaceleiden-payment-node-7segments.