GlennNZ wrote: ↑Sat Dec 14, 2024 3:24 pm
I thought defaulted to 23:00 Off, and 06:00 On….
Yes that was the default (and it was dimming) I emptied the fields and now it loads at default dim.
Ok - well I confused then as should not DIM at 15:00 hours if those defaults settings were in play.
Have checked code and no timezone issues at play and seems internally consistent…. Can’t replicate - and dimming appropriately here for a while at 23:00…
Weird. Don't have time now, but I'll play around with the settings a bit later and see if I can find anything.
Is there a preferred way to reload changed settings other than the nuclear option? I was messing with secret keys (trying to break things to help Norm) and putting in a nonsense key still loaded the page from when the key was good.
I came here to drink milk and kick ass....and I've just finished my milk.
DaveL17 wrote:Weird. Don't have time now, but I'll play around with the settings a bit later and see if I can find anything.
Is there a preferred way to reload changed settings other than the nuclear option? I was messing with secret keys (trying to break things to help Norm) and putting in a nonsense key still loaded the page from when the key was good.
Force closed would be the most reliable. We do check for a host of settings changes and reloads if changed - but wasn’t keeping up with the number of Settings I was adding. So moved to a full dict comparison in 1.8 - so will reload and update if any settings have changed.
Was worried there was some timezone setting I missed - but thankfully not the case - is based on ipad set time. But code seems good..
Dave...are you saying that you had it working with an API key and then switched to secret keys and even nonsense secret keys worked? Or are you saying that you had a working secret key and then changed away to a nonsense secret key and it still worked?
DaveL17 wrote: ↑Sat Dec 14, 2024 4:17 pm
Weird. Don't have time now, but I'll play around with the settings a bit later and see if I can find anything.
Is there a preferred way to reload changed settings other than the nuclear option? I was messing with secret keys (trying to break things to help Norm) and putting in a nonsense key still loaded the page from when the key was good.
norcoscia wrote:Dave...are you saying that you had it working with an API key and then switched to secret keys and even nonsense secret keys worked? Or are you saying that you had a working secret key and then changed away to a nonsense secret key and it still worked?
DaveL17 wrote: ↑Sat Dec 14, 2024 4:17 pm
Weird. Don't have time now, but I'll play around with the settings a bit later and see if I can find anything.
Is there a preferred way to reload changed settings other than the nuclear option? I was messing with secret keys (trying to break things to help Norm) and putting in a nonsense key still loaded the page from when the key was good.
I believe Dave is referring to the Dim discussion we were having.
Local-Secrets - should work the same as API-Key which is working fine across a few installs and continents now... So your issue seems to be a local secret file issue I would be guessing…
Could test in any browser using ?api_key={withlocalsecrethere} at the end of the control page call. As per the local secrets documentation:
I had a functioning secret key and then I added an extra character to the key to try to break things, but the control page still loaded. I force-closed the app, reopened it and the control page still loaded -- so I don't think the key was being checked every time. Will update to the 1.8 version when it's available here.
I came here to drink milk and kick ass....and I've just finished my milk.
I had a functioning secret key and then I added an extra character to the key to try to break things, but the control page still loaded. I force-closed the app, reopened it and the control page still loaded -- so I don't think the key was being checked every time. Will update to the 1.8 version when it's available here.
Hi Dave,
Api Key is being passed every-time in URL. Any caching is likely happening at the Indigo end, have noticed it a few times when trying to get to it to fail..
GlennNZ wrote: ↑Sat Dec 14, 2024 7:26 pmApi Key is being passed every-time in URL. Any caching is likely happening at the Indigo end, have noticed it a few times when trying to get to it to fail..
Roger that. Trying to break things in every conceivable way is something that never seems to catch those things that happen outside our code.
I came here to drink milk and kick ass....and I've just finished my milk.
jay (support) wrote: ↑Sat Dec 14, 2024 8:07 pm
You have to restart when you change the secrets file. We cache it on startup.
If that was directed to me, I was talking about changing the secret key value in the kiosk app (not the secrets.json file) to something invalid in an attempt to generate an error.
I came here to drink milk and kick ass....and I've just finished my milk.
No issue from me … although don’t use local secrets. Was the Indigo file error above - which presumably means something is wrong with the XML file I would be guessing…
Out of interest, is the any particular reason why this app has a minimum of iPadOS 15? The reason I ask is that I’m so impressed with this I’m considering adding a few more around my house (like it’s 2012!) and I happen to have a couple of old iPad Air 1st Gen’s around, but of course they don’t support iPad OS 15.
Hmm. Might be able to drop to 14.0 although that also removes 4 years of code update availability… Nothing lower than that - so probably still won’t get to your 12 year machine…which seems to be iOS 12
New Changelog for 1.8, still pending store release….
1.8
Change Screen Scaling to a menu - may need to be reselected if not Default- Default, useAlternative, and FitPageWidth. Changes handling of background aspects. useAlternative will rescale background - but extra height screens still work. FitPageWidth will be most like Control Page Editor.
Stop screen from moving sideways if pulled, remove bounce - fix screen as much as possible
Add Disable Zoom Setting for all scaling screenings.
Add FitPageWidth mode - fixes screen x dimension, allows bigger screen in the Vertical dimension to scroll down to.
Adds a timer to check every 120 seconds after screen touch, will reset Zoom of screen (incase manually zoomed) and screen position, resetting to 0,0 - 120 seconds after last touch. Fix for useAlternative Scaling not using. Update to also use for Pinch to Zoom.
Skips authentication pop up if for Indigo Server IP address (occasionally would appear if VPN turn on ) (Should not appear if API Key or Local Secret entered correctly)
Changes to default Dim Screen Time control disabled.
Adds version number to Splash Screen
Drops required iOS version to 14.0. (May increase in future as limits code to 4 years old...)