# Mobile app - QR Code

**URL:** <https://community.openenergymonitor.org/t/mobile-app-qr-code/149>\
**Category:** Mobile\
**Created:** [3 May 2016 20:40 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149 "2016-05-03T20:40:17Z")\
**Posts on this page:** 17\
**Page:** 2

<div class="post-metadata">

**Author:** ![JumpMaster](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/jumpmaster/32/185_2.png) [@JumpMaster](https://community.openenergymonitor.org/u/JumpMaster)\
**Post date:** [7 May 2016 09:38 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/23 "2016-05-07T09:38:50Z")

</div>

I din’t believe there is a way make a request and limit it to two or more feeds. I think it costs less to receive all feed values rather than make multiple http requests.

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [7 May 2016 09:46 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/24 "2016-05-07T09:46:02Z")

</div>

OK, my understanding of ‘full feed list’ might be different. I was thinking you were requesting a list of all the available feeds each time.

---

<div class="post-metadata">

**Author:** ![JumpMaster](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/jumpmaster/32/185_2.png) [@JumpMaster](https://community.openenergymonitor.org/u/JumpMaster)\
**Post date:** [7 May 2016 09:53 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/25 "2016-05-07T09:53:53Z")

</div>

You’re right. I have found an alternative. I’m also looking at how to automatically select the feeds as per MyElectric (which looks for feed names use ans use\_kwh).

Old update request.  
[https://emoncms.org/feed/list.json](https://emoncms.org/feed/list.json)

Potential new request only selecting two feed values.  
[https://emoncms.org/feed/fetch.json?ids=2,3](https://emoncms.org/feed/fetch.json?ids=2,3)

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [7 May 2016 19:56 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/26 "2016-05-07T19:56:05Z")

</div>

> [@JumpMaster](#):
>
> I’m also looking at how to automatically select the feeds as per MyElectric (which looks for feed names use ans use\_kwh).

Just do not assume everyone is using the MyElectric module 😉

---

<div class="post-metadata">

**Author:** ![JumpMaster](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/jumpmaster/32/185_2.png) [@JumpMaster](https://community.openenergymonitor.org/u/JumpMaster)\
**Post date:** [8 May 2016 18:11 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/27 "2016-05-08T18:11:33Z")

</div>

> [@borpin](#):
>
> assume everyon

Automatic configuration only assume that the required feeds are called use and use\_kwh. No requirement to use MyElectric.

---

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [9 May 2016 15:08 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/28 "2016-05-09T15:08:58Z")

</div>

Wow, great work.

I’ve just tested the beta app. The QR code would not scan at first using my Motorola MotoX so I tried my friends S3 Mini and it worked right away. Then I tried again with my phone and it scanned but said ‘invalid QR’, finaly third time lucky my phone managed to scan the code.

This could be an issue with my phone/camera but the inbuilt scanner seems to work every time.

Anyway great progress 👍 . Let me know if I can provide some more tested report feedback / help.

---

<div class="post-metadata">

**Author:** ![Andy\_Taylor](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/andy_taylor/32/6960_2.png) [@Andy\_Taylor](https://community.openenergymonitor.org/u/Andy_Taylor)\
**Post date:** [9 May 2016 16:14 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/29 "2016-05-09T16:14:16Z")

</div>

@glyn.hudson the issues scanning the QR code are possibly down to the size of the image vs the amount of data held within the QR code (the more data you cram in there the smaller the squares become) - its at the point where I am thinking we should make it a little bigger, but I don’t want it taking over the page 🙂

Suggest we wait for some more reviews and bump the size later if required, in the mean time you can test the same effect by zooming the page and then trying to scan it with your MotoX.

---

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [9 May 2016 16:33 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/30 "2016-05-09T16:33:30Z")

</div>

Ah I was testing on my work PC with a old large TFT monitor. Testing on my laptop (Chromebook Pixel) that has a much denser better LCD DPI the QR scans every time using my motoX 😄.

No harm in marking the QR code larger, I’m sure @Andy_Taylor can do this. There is plenty of space on the account page. Are there are recommended sizes for QR codes? Would be good to allow for low resolution LCD’s.

@Gwil could you test the QR code on the old Acer Chromebook at work that has a very low DPI?

The QR could could be made larger to bring it in line with the API Key length.

---

<div class="post-metadata">

**Author:** ![JumpMaster](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/jumpmaster/32/185_2.png) [@JumpMaster](https://community.openenergymonitor.org/u/JumpMaster)\
**Post date:** [9 May 2016 17:23 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/31 "2016-05-09T17:23:24Z")

</div>

That looks good to me. Filling out the left column will look better and also perform better.

The scanning can be a bit random. Sometimes as soon as the barcode gets into view of the camera it scans and other times it takes a lot of moving the phone closer/farther to/from the screen before it scans. It usually works every time though.

Is there an official recommendation to call the feeds use and use\_kwh? I would personally prefer usage but that’s just me being picky 😊

---

<div class="post-metadata">

**Author:** ![Andy\_Taylor](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/andy_taylor/32/6960_2.png) [@Andy\_Taylor](https://community.openenergymonitor.org/u/Andy_Taylor)\
**Post date:** [9 May 2016 17:38 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/32 "2016-05-09T17:38:44Z")

</div>

@glyn.hudson Pull #519 created.

This enlarges the QR code for better reading, it still doesn’t fill the left column, but its certainly larger.

---

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [9 May 2016 17:48 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/33 "2016-05-09T17:48:00Z")

</div>

> [@JumpMaster](#):
>
> Is there an official recommendation to call the feeds use and use\_kwh?

They are the keywords Trystan has chosen for the apps module, they are used in the MyElectric, MySolar(AKA MySolarPV) and MySolar & Wind (AKA MyEnergy) along with “solar”, “solar\_kwh” and “import\_kwh”

it would be nice to maintain some consistency as the resent change to these keywords meant many of us had to rename our feeds from,the previous “house\_power” and “solar\_power” etc for the new apps to work, those changes also involved changing some feed types that had the knock on effect of breaking the android app config.

The alternative is to maintain duplicate feeds or avoid using the “auto” config, neither is ideal.

---

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [9 May 2016 17:55 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/34 "2016-05-09T17:55:03Z")

</div>

Is there any way the qr code(s) or the data from them could be retained and a “use saved QR code” function added to allow easy switching between accounts as a interim solution to a multi-instance app?

---

<div class="post-metadata">

**Author:** ![Andy\_Taylor](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/andy_taylor/32/6960_2.png) [@Andy\_Taylor](https://community.openenergymonitor.org/u/Andy_Taylor)\
**Post date:** [9 May 2016 17:59 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/35 "2016-05-09T17:59:42Z")

</div>

@pb66 I have to ask the potentially dumb question - why do you need to have more than one app / more than one set of settings? I may be totally wrong here, but I _think_ that you can export the feeds from more than one emonpi into one [emoncms.org](http://emoncms.org) account. - There is every chance that I completely made that up, but no doubt someone will correct me shortly if that isn’t the case.

---

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [9 May 2016 19:24 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/36 "2016-05-09T19:24:40Z")

</div>

You can indeed have several emonbases reporting to any one emoncms instance on any server, emonhub will also send your data from any one emonbase to multiple target emoncms servers.

A multi-instance app would be of great interest to many users, for many different reasons.

As a developer I have many emoncms accounts of interest across multiple servers, either test accounts of my own or accounts I have setup/maintain for other users.

I also have clients, and then some of those are also in the business of providing energy saving technologies, LED lighting and efficient heating etc they too need on demand access to multiple accounts for their clients/projects.

There are also other ways the app can be used for example as an end user that has PV they wish to use the MyElectric app to monitor solar and solar\_kwh rather than use and use\_kwh for a simple way of tracking how much they are earning from the PV as opposed to the MySolar way of presenting data.

When we previously discussed this there were users that showed an interest to monitor specific items eg an electric vehicle or a heated pool etc. The MyElectric and the android apps are power and energy displays that could have many other uses. eg I would like to see my off-peak use separate to my peak use, if it was easily done that is, it’s not important to me but it would be nice there is no reason it cannot be done beyond the app(s) only able to show a single power and energy pair of feeds.

Take a look at the [original Android app thread](https://openenergymonitor.org/emon/node/11260) the discussion on multi instance is[about halfway through](https://openenergymonitor.org/emon/node/11260#comment-37018) and mentions side swiping or “carouseling” though mutliple screens/feeds/accounts,

---

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [12 May 2016 11:22 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/37 "2016-05-12T11:22:46Z")

</div>

Thanks a lot to everyone who’s helped.

QR code setup is now live on Google play Emoncms app V1.2.2 and Emoncms stable release V9.6 😀.

Just done a blog to highlight. I’ve asked @TrystanLea to merge changes into [Emoncms.org](http://Emoncms.org).

> **[Emoncms android App QR Code Scanner Setup](https://blog.openenergymonitor.org/2016/05/emoncms-qr/)**

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [12 May 2016 17:51 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/38 "2016-05-12T17:51:32Z")

</div>

> [@pb66](#):
>
> A multi-instance app would be of great interest to many users, for many different reasons.

> [@pb66](#):
>
> When we previously discussed this there were users that showed an interest to monitor specific items eg an electric vehicle or a heated pool etc.

I’ll add a me too to this. I started a thread [here](https://community.openenergymonitor.org/t/tabbed-interface-for-multiple-feed-views/223) as well.

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [12 May 2016 17:55 UTC](https://community.openenergymonitor.org/t/mobile-app-qr-code/149/39 "2016-05-12T17:55:49Z")

</div>

Can I suggest that the text in the App under the QR section points out the minimum Emoncms version required? Might confuse someone who has not followed this thread.

[Previous page](https://community.openenergymonitor.org/t/mobile-app-qr-code/149.md?page=1)
