JmCloudFi Sub Vendo firmware (ESP8266) changelog v1.0.17-lan (2026-11-16) - LAN build only: 5-min server watchdog is fed only by HTTP 200 (not 401) - After 3 consecutive 401 key rejections, drops the local key and re-announces (vendoId and coin ledger kept) - Reboots after 5 min with no Main 200, even when unbound (not during a coin session or OTA) - Public bin: jmcloud-esp8266-subvendo-lan-beta-v1.0.17.bin - SHA-256: 34b5112fecd9601b70442008b8c33f49b4d7eb7b4caee7f20cea07aabb045d34 - Wireless build unchanged at v1.0.13 v1.0.15-lan (2026-10-29) - LAN build only: fast announce every 3 s; heartbeat every 15 s - /status JSON for portal / online checks - Auto LAN badge — LAN firmware shows LAN mode only (no Wireless/LAN picker) - JuanFi-compatible W5500 pinout (same as v1.0.14) - Public bin: jmcloud-esp8266-subvendo-lan-v1.0.15.bin - SHA-256: ec0f40f7edc446499bf4971300e5f5716da13ee13c69001b4d6fa413c295a566 v1.0.14-lan (2026-10-29) - LAN build only: JuanFi-compatible W5500 pinout; announce over Ethernet - Public bin: jmcloud-esp8266-subvendo-lan-v1.0.14.bin - SHA-256: 9c482749faa44f8e29841a56fd7507cb639fa91aaac53708f2d26cdbe80b54a7 - Wiring: /downloads/esp8266-lan-juanfi-pinmap.png · /downloads/esp8266-lan-pinmap.png - Wireless build unchanged at v1.0.13 v1.0.14-lan (2026-10-29) - LAN build only: JuanFi-compatible W5500 pinout; announce over Ethernet - Public bin: jmcloud-esp8266-subvendo-lan-v1.0.14.bin - SHA-256: 9c482749faa44f8e29841a56fd7507cb639fa91aaac53708f2d26cdbe80b54a7 - Wiring: /downloads/esp8266-lan-juanfi-pinmap.png · /downloads/esp8266-lan-pinmap.png - Wireless build unchanged at v1.0.13 v1.0.13 (2026-10-25) - Fix: coins on the coin pin (D6 wireless / D4 LAN) were not counted. New coin detection: FALLING interrupt with 30 ms debounce plus a 1 ms hardware-timer sampler that counts pulses even if the interrupt never fires - Blue LED now visibly flashes on every coin pulse (it was hidden by the solid insert-coin LED) - /status shows raw_edges, isr_pulses, isr_rejected, sampler_pulses for wiring checks v1.0.12 (2026-10-25) - Fix: boot loop right after approval (watchdog reset). The heartbeat code used too much stack and corrupted memory; buffers moved off the stack - Keeps all v1.0.11 recovery and v1.0.10 SET protections v1.0.11 (2026-10-25) - Failed heartbeat is retried after 4 s (was 10 s); 3 failures in a row -> WiFi disconnect + reconnect - Main not reached for 60 s -> restart; each restart in a row doubles the wait (RTC), max 5 min, cleared on the first heartbeat OK - Intentional restarts (remote/settings/recovery) no longer count as acceptor (SET) faults - Keeps all v1.0.10 SET protections v1.0.10 (2026-10-25) - Coin acceptor (SET) switches on only after the first successful heartbeat + 3 s, so the vendo shows online first - SET fault guard: if the board resets while the acceptor powers up, it counts it; after 2 such resets SET stays off and the vendo stays online with "acceptor power fault" (power-cycle to retry) - Coin input uses a CHANGE interrupt: a pulse counts only after the line was HIGH >= 3 ms (no double count from release bounce) - Noise guard threshold 300 edges/s (CHANGE counts both edges) v1.0.9 (2026-10-25) - Fixes the reboot loop right after approval: the coin acceptor (SET) now switches on 3 s after approval, only on change - Pulses in the first 1.5 s after SET goes on (acceptor power-up glitch) are ignored, so no phantom coins - Coin-line noise guard: more than 150 edges/s turns the coin interrupt off for 10 s instead of starving WiFi/watchdog - Restart cause moved out of the RTC area used by the bootloader/OTA; reset info sent to the Main in announce/heartbeat and shown on /status - 2 s HTTP timeouts, watchdog fed between time sync and heartbeat; "blocked" retries every 2 min instead of 1 h - Restarts only after long sustained failures (Main unreachable 15 min, WiFi down 10 min, loop hung 30 s); never on 401/403/409 v1.0.2 (2026-10-25) - WiFi modem sleep disabled (WIFI_NONE_SLEEP) so the vendo never "sleeps" and Insert Coin always answers - Reconnect state machine with backoff (5 s to 60 s); restart if WiFi is down 10 min - LAN (W5500/ENC28J60): link check; restart/re-init if no link or IP for 3 min - Hardware watchdog + loop-stall watchdog (restart if the main loop hangs 30 s) - Heartbeat to the Main every 10 s; reconnect after 3 failures; restart if the Main is unreachable for 15 min (setup page, 0 = never) - Optional static IP / gateway / mask / DNS in the setup page - Coin ledger lines carry a CRC so a power cut can never record a wrong amount; safer flash writes - Low-heap guard, 3 s network timeouts, no long blocking delays - New GET /status (JSON) for the Main/portal to check if the vendo is online; HTML status moved to /status.html - Same pinouts as before (JuanFi default, KiTifi, Custom); coins, approval and settings are kept on upgrade (OTA or USB) v1.0.1 - First public release