Replies: 8 comments 6 replies
|
I think I've broken something. I've been fighting all day with decks. it's meant to be a way to speed up page loading by pre rendering screens and storing them on the devices sd card (if present). But I'm in way over my head getting sd cards working across several different SKUs. 🙃 Also it has a lot of interplay with rotations so it could definitely impact things. (Sorry) I'll get it fixed by eod what you've posted is massively helpful but if you can share any logs that might help too. |
|
Found it, thanks to your logs; the serial log and the 02:43 line cracked it. It's not related to yesterday's deck work (your firmware v1.5.0 predates all of that). It's a day-one design gap that your exact usage exposes: pressing the button records a manual "hold this page" position, but the rotation engine only ever pushes when its clock crosses a step boundary, and with DCal2 holding most of the cycle there's no boundary for hours. So after paging away, nothing ever brought DCal2 back. Your setup was fine. Fixed in v0.189.0 (building now): once the manual hold expires, the scheduler pushes the rotation's current page back to that panel within a tick. One knob worth knowing: by default a button press holds until the rotation's daily anchor (rest of the day). If you want DCal2 back sooner after paging away, set Update, page away with the button, and DCal2 should return when the hold lapses. On Decks: hold off on those for the moment, the workflow for getting pages into a deck isn't where I want it yet, but an easy path for exactly your use case (a home page you occasionally page away from) is coming very soon. |
|
Hmm, it seems like there's been some misunderstanding I should clarify: The issue is that the data on the page itself isn't being updated. Like, whether the page being displayed was DCal2 or Air Traffic, the actual content of the screen never updated. The clock on the status bar remained the same minute that I initially pressed the page-right button; none of the aircraft moved; none of the scheduled events on the calendar dropped off, the day listed on the weather widget was yesterday until I manually pressed refresh. So, it does seem useful that the rotation might be able to bring back the default page after a certain amount of time; but my bigger issue is that I'd expect the data to be at most 1min stale as that's how often the firmware is waking up to check, but it's getting a 304 and going back to sleep/panic. Whereas if I press the refresh button it somehow does actually refresh. |
|
Sorry I'm scatterbrained right now. Let me take moment to look into this properly and not try to rush a fix! |
|
Okay, took a proper look this time. You had it exactly right: pages only re-render when something pushes them (step change, schedule, button). Your panel's 1min wake just downloads the frame that already exists, and nothing was re-rendering it, so 304 → back to sleep with stale data. The refresh button forces a render, which is why that worked. v0.190.0 adds the missing setting: "Content refresh (minutes)" on each rotation. Set it to 5 and whatever page is currently showing (including one you've paged to) gets re-rendered on that cadence. It's off by default since every refresh is a real render on the server. One aside: the serial output you pasted is a normal deep-sleep wake ( |
|
Back sooner than expected: v0.193.0 builds exactly what you described. Pages now own their refresh: on the Dashboards list each page has an "Updates" setting (only when pushed / every minute / 5 / 15 / hourly / daily). The server re-renders on that cadence and only sends to panels currently showing that page, so your setup becomes: clock page → "every minute", calendar → leave static, rotation → clock 15 min / calendar 15 min. The clock stays live during its window and costs nothing during the calendar's. Rotations are back to only deciding what's on screen. Thanks for the framing, it went into the code more or less verbatim. |
|
Just gave it (and the 2-bit grayscale) a try and it works! Thanks so much, this is great! |

Uh oh!
There was an error while loading. Please reload this page.
My display isn't updating on its own (it does refresh if I press the physical refresh button) and I can't figure out what I'm missing.
Display settings have interval at 1min:

Dashboards shows my current screen "Air Traffic" was "last pushed" 2 hours ago (the data on the screen is from like 2hr45min, but could be rounding)

Rotations is showing that the screen should be showing DCal2:

Rotation settings:

The only reason I have the rotation is because I wanted to be able to page through different screens, but I generally always want it to be on DCal2 unless I've paged away.
What should I look for to figure out why it's not updating? Did I misconfigure something? I just noticed "Decks" and maybe that's actually what I want instead since it'll just be a handful of screens, but that doesn't solve the no-updates issue.
All reactions