Hey everyone. It’s been a long time since we did an update to the iOS app, but I decided to take a look at it when iOS 14 was rolling out because I wanted a widget to put on the home screen to show feeds.
I’m pleased to say that after a bunch of work, I’ve got something I want to share with folks before doing a submission to Apple for a full release.
The main new features are:
iOS 14 widgets. These are a really nice way to have feed data always accessible. The previous version of the app had a Today widget, which is still available, but these new home screen widgets are much better.
Dark mode support. It’ll switch with the system setting. Nice addition for folks who use dark mode (like me!).
There’s also a bunch of little fixes and tweaks which I think make the app a little smoother.
If you’re interested in testing this out before a full release to the App Store then you can sign up by clicking here: TestFlight - Apple . You’ll get the new build as soon as Apple have approved it for testing.
I just clicked on the link on my iPhone but it says “This beta isn’t accepting any new testers right now”. I’ll try again tomorrow to see if the status changes.
FWIW, I already had Test Flight installed for a different app.
The TestFlight link should be up soon - Apple are taking ages to approve for testing for some reason. Maybe because there hasn’t been an update for a while.
Well Apple still haven’t reviewed it, but I pushed another update onto their queue tonight with some small bug fixes from testing I did today.
The widgets are pretty nice I think! I want to try to do a MyElectric / MySolar / MySolarDivert widget. It’s not trivial though sadly. But I might be able to get it done sometime.
Finally it was approved for beta testing! Please if anyone can spare some time - go and use the beta and let me know if you run into any issues.
I’ve been tweaking the style of the widgets a little bit since I posted about this update. I’d be interested in anyone has feedback on how they look and their usefulness.
I’ve just installed the new version (on top of my exiting OEM app), and it seemed to go well, and my existing data (Inputs, Feeds, Apps etc) came across in to the new version.
I have set up one Widget, and it displays well. The only thing that slightly confuses me is that when selecting which Feeds are going to be displayed all of them show up under “EmonPi”, and the EmonTx names that the Feeds originate from don’t appear. Is this right? Makes selecting the Feeds harder than it might otherwise be.
Also, all of the Feed names are duplicated - not sure whether that is me or the app!
Will play some more tomorrow, but initial impressions are very good!
Great stuff! That’s good to know that the upgrade path worked for you. I of course test that, but it’s always a scary bit that it’s good to get positive signal on during beta testing.
The duplicates might be because you are logged in twice in the app? Go to Settings > Switch Account to see if there’s multiple.
I’m not sure I 100% follow on the issue of the names in the list. Are you saying that it would be good to know the node that the feed comes from in the list as well? That does make sense and to even sort by that as well. I’ll whip that up. Is that what you meant?
I am only logged in once (called “EmonPi / http://192.168.2.50”), so that may be where it picked up what I had thought was the node names previously as I also have a Node called EmonPi - and now I understand it. That said, within the app / Feeds, none of the Feeds are duplicated there so I am still not quite sure why they are in the Widgets selection page.
As above, I had thought that the Widget Feeds selection page was showing all coming from my EmonPi, but I now realise that they were coming from the name of my Account, so that was a red herring - sorry.
However, when I first woke my phone (iPhone X, iOS 14.1 installed over night) this morning, the 3 sections of the Widget showed an error, with no connection; but when I then went in to re-apply the Feeds it had already re-populated the fields. Don’t waste any time on this, but I will see if I can re-create the issue later today / tomorrow morning.
ACTUALLY - it has just happened again, with the phone having been asleep for a few minutes. But this time I couldn’t seem to re-connect them. I then went in to the app and started to Settings > Configure Today Widget; by the time I then looked at my Home Screen the original widget was populated. See attached, including times taken. NB: The rest of my emonCMS system & app is working & updating fine.
@mattjgalloway; I have just upgraded to a new iPhones and transferred everything across, including Test Flight. But when I tap on the widget which asks me to “Error loading data / Select a Feed”, it takes me across to my list of Feeds, but when I tap on one all it does is “open” that Feed to show a graph. But it doesn’t add it to the widget.
Is it something I have done, or something in the app?
Hmm weird that it didn’t pull across properly to your new phone. I’ll have a think why.
You need to “edit” the widget. Long press on it and select “edit widget”. That’s the standard for widgets sadly and I can’t make it so that if there’s no feed selected a tap goes to the edit screen.
Can you please use the “Send Feedback” option from within the app please? Create an app, then try loading it, make sure it errors, and then Send Feedback and it’ll email me the logs. It would help debug.
I assume you’re selecting the right kinds of feeds for your app you want? I.e you need an instantaneous power feed and an cumulative kWh power feed for MyElectric.
already solved. i had the feedreader service not running.
i have no is this error " 13508 ExecStart=/usr/bin/php /opt/emoncms/modules/demandshaper/demandshaper_run.php (code=exited, status=217/USER)
@mattjgalloway Not sure if this has been mentioned elsewhere, but I now get an “Emoncms Beta Has Expired” message whenever I try to open the app & I can’t proceed. The widget looks to be updating though. (iPhone 12 Pro, iOS 14.4).