my iPhone 6S (iOS 10.0.2) will lockup when trying to connect with https://emoncms.org. But all works A-OK with a local emonPi. I am using emoncms app version 1.0 (5).
EDIT: also the Save button (upper right) never appears when trying to connect with https://emoncms.org
EDIT2: if I don’t use the Scan QR Code and hand type the emoncms URL and API read key, all works A-OK.
found another not to nice behaviour in a apps graph (finally found how to reproduce it)
when you use the usual zoom option via pinching etc the graph zooms in but stays visible. But you can also double tap on the graph and it zooms in … but out of the screen. Even when you zoom out it doesn’t refit inside the visible frame, you need to scroll up and down
Hope the video attached is accepted and clear
Another thing @glyn.hudson - can you make sure that your iPhone is set to send crash reports please? You can do it from Settings → Privacy → Diagnostics & Usage, and then make sure the “Share with app developers” is turned on. That way I get the crash reports. I see you have some crashes, but I can’t access them, which I assume is because you have that turned off.
It was because the numbers used to represent the timestamps going into the emoncms API for the feed data endpoint was too big to fit into a 32-bit Int. And that only reared it’s ugly head on the iPhone 5C because that’s 32-bit. On 64-bit architectures, a normal Int is 64-bit.
See, this is why it’s great you got the iPhone 5C Glyn! I wouldn’t have found that!
Thing is that Apple is now pushing hard to get the apps native 64bit only and drop the 32 bit … why hell did they allow these older devices being 32 bit to up to ios10 then ?
Think I miss the logic here .
But nice you figured it out.
Upped to ß7 and will fool around with it tomorrow.
Trying also to imagine what to do with the widget ? Not sure to what point you can program it but maybe somehow make it configurable so we can get some set of values in there ? Maybe depending on available size allow the 2 numbers from each app choosen to show there ? And link it direct to that specific app in the application ?
2 cents
edit with extra idea
maybe also make it so that once in an app (graphs, not the one of the feed) make it possible to swipe to the next/previous graph of the next app … less going back and forth …and if possible use pre fetch of the apps next/previous to make it fluent ? We’re not always under 4g coverage …
edit 2 (long term idea)
again I … in settings used logout … there is no confirmation and out you are. No big deal as the qs scan is quick and easy but … yor apps configrations are gone … maybe set
a confirmation box metioning the apps will be lost
option to ‘export’ apps settings (icloud ?) in case so when you relog you can reload the apps config ?
One other thing I’d like to see is to be able to log into two different servers. My local emonpi on my local network (via http) AND the emoncms.org server (via https).
if you want to send a feedback it uses the default mail app but I use another one (not to mention airmail)
In my case I can’t use the build in feedback as there are no accounts setup in Mail. Does the api allow to call a third party mail application ?
edit request
in vertical mode the graphs from app is +/- 12 hours which is fine, possible to set in horizontal mode +/- 24 h view ?
maybe use the setting that the iPhone doesn’t go to sleep when using the app, some might like to use it as a monitor. Now it fades out and iPhones locks after the period set.
What are your thoughts on the colour scheme? Did you choose a white background since this is standard for iOS apps? Do Apple have guidelines on this (similar to Google Material design guidelines)
As you have probably seen the background for Emoncms MyElectric and the Android app is black / grey. Do you think a black / grey background would look out of place as the background for the iOS app? If not could I vote for grey to be used? I’m not an iOS developer and have no experience of user Apple products, therefore, I’m probably not the best to judge, however, IMHO it would be nice to have a relatively consistent colour scheme between Emoncms-web, Android and iOS apps.