chore(branding): point firmware at wevisto.com
Flip APP_BASE_URL and the on-screen "go to <domain>/setup/..." text in the rendered setup_bg images from pictureframe.edholm.me to wevisto.com. Per the dual-domain migration plan (Option C — server keeps both alive indefinitely), this only affects newly-flashed units; field devices on the old URL keep working against the same backend. Regenerated both panels' setup_bg.bin via gen_screens*.py so the embedded URL in the on-screen QR overlay text matches the firmware's runtime poll URL. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
@@ -18,7 +18,7 @@ import os, sys
|
|||||||
|
|
||||||
# URL for the user manual QR baked into Step 1/2. Static on purpose —
|
# URL for the user manual QR baked into Step 1/2. Static on purpose —
|
||||||
# changing it requires regenerating the bg images + uploadfs.
|
# changing it requires regenerating the bg images + uploadfs.
|
||||||
MANUAL_URL = "https://pictureframe.edholm.me/help"
|
MANUAL_URL = "https://wevisto.com/help"
|
||||||
|
|
||||||
# ── Display ──────────────────────────────────────────────────────────────────
|
# ── Display ──────────────────────────────────────────────────────────────────
|
||||||
W, H = 800, 480
|
W, H = 800, 480
|
||||||
@@ -386,7 +386,7 @@ def gen_setup():
|
|||||||
url_y = BODY_Y + 278
|
url_y = BODY_Y + 278
|
||||||
draw.rectangle([28, url_y, 284, url_y+32], fill=BK)
|
draw.rectangle([28, url_y, 284, url_y+32], fill=BK)
|
||||||
draw.text((38, url_y+4), "URL", font=F_TINY, fill=GR)
|
draw.text((38, url_y+4), "URL", font=F_TINY, fill=GR)
|
||||||
draw.text((38, url_y+16), "pictureframe.edholm.me/setup/...", font=ttf("DejaVuSans.ttf", 10), fill=WH)
|
draw.text((38, url_y+16), "wevisto.com/setup/...", font=ttf("DejaVuSans.ttf", 10), fill=WH)
|
||||||
|
|
||||||
# Progress track
|
# Progress track
|
||||||
prog_y = BODY_Y + 328
|
prog_y = BODY_Y + 328
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ from PIL import Image, ImageDraw, ImageFont
|
|||||||
import qrcode
|
import qrcode
|
||||||
import os, sys
|
import os, sys
|
||||||
|
|
||||||
MANUAL_URL = "https://pictureframe.edholm.me/help"
|
MANUAL_URL = "https://wevisto.com/help"
|
||||||
|
|
||||||
W, H = 1200, 1600
|
W, H = 1200, 1600
|
||||||
|
|
||||||
@@ -388,7 +388,7 @@ def gen_setup():
|
|||||||
underline_x + text_w, underline_y + 6], fill=GR)
|
underline_x + text_w, underline_y + 6], fill=GR)
|
||||||
|
|
||||||
text_center(draw, W // 2, BODY_Y + 170, "Scan the QR to link this frame", F_STEP_B, BK)
|
text_center(draw, W // 2, BODY_Y + 170, "Scan the QR to link this frame", F_STEP_B, BK)
|
||||||
text_center(draw, W // 2, BODY_Y + 210, "to your pictureframe.edholm.me account.", F_STEP, BK)
|
text_center(draw, W // 2, BODY_Y + 210, "to your wevisto.com account.", F_STEP, BK)
|
||||||
|
|
||||||
# Setup QR with decorative border + green/black double frame
|
# Setup QR with decorative border + green/black double frame
|
||||||
draw_qr_frame(draw, SETUP_QR_X, SETUP_QR_Y, SETUP_QR_PX, GR)
|
draw_qr_frame(draw, SETUP_QR_X, SETUP_QR_Y, SETUP_QR_PX, GR)
|
||||||
|
|||||||
+1
-1
@@ -126,7 +126,7 @@
|
|||||||
#define BORDER_THICKNESS_PX 4
|
#define BORDER_THICKNESS_PX 4
|
||||||
|
|
||||||
// ── Network ──────────────────────────────────────────────────────────────
|
// ── Network ──────────────────────────────────────────────────────────────
|
||||||
#define APP_BASE_URL "https://pictureframe.edholm.me"
|
#define APP_BASE_URL "https://wevisto.com"
|
||||||
#define AP_IP "192.168.4.1"
|
#define AP_IP "192.168.4.1"
|
||||||
// AP security — WPA2-PSK with a fixed password baked into both the
|
// AP security — WPA2-PSK with a fixed password baked into both the
|
||||||
// firmware and the WIFI: QR. Open networks have flakier iOS captive-
|
// firmware and the WIFI: QR. Open networks have flakier iOS captive-
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
// Mirror of src/config.h for use in native unit tests.
|
// Mirror of src/config.h for use in native unit tests.
|
||||||
// Values must match src/config.h so test assertions stay consistent.
|
// Values must match src/config.h so test assertions stay consistent.
|
||||||
#define APP_BASE_URL "https://pictureframe.edholm.me"
|
#define APP_BASE_URL "https://wevisto.com"
|
||||||
#define NVS_NAMESPACE "pf"
|
#define NVS_NAMESPACE "pf"
|
||||||
#define NVS_KEY_SSID "ssid"
|
#define NVS_KEY_SSID "ssid"
|
||||||
#define NVS_KEY_PASS "pass"
|
#define NVS_KEY_PASS "pass"
|
||||||
|
|||||||
Reference in New Issue
Block a user