Android App for fluksometer

There is an android app published for fluksometer.
App can show realtime usage as well as usage for last 24 hours week and a last month if they are reported to flukso.net
For the moment only paid version is available http://goo.gl/peu9n
Ads supported one would be out if I have some time after new year holidays.
Any suggestions on new features are welcome.

sem's picture

Hi Halsey
It is possible in the app already
if you go to settings menu you can switch each electricity clamp to direction generation or consumption and you would see desired behavior
Regards

vjkdigital's picture

Is this project still active?

I have a few bugs. Have emailed but no reply as yet.

sem's picture

yes it is
I'm out of the country for few weeks
I saw your mail about widget issues.
In general deviations of 2watts is difficult to show on widget. But I would look into it when I'm back
Regards

vjkdigital's picture

Ok. no problem. graph issue is in the app.
However the issue with the widget is the text showing 0w instead of 3w. Not with the graph in the widget.

Ill see what happens when the sun comes up later.

ndupont's picture

Hi Sem,

I'm quite happy with the app, and just discovered the widget.
Would it be possible to change (or allow to change) the colors of the widget graphs ? Blue on grey is not readable enough IMHO, white or green like to top-right measurement would be great !

sem's picture

Good idea
I need to look into this
First need to deal with Google , they change the policy again . Make it more and more difficult to upload apps for small developers
I'll keep you posted

ndupont's picture

As you are in the code, I've also identified a strange behavior when the app has been opened by cliking on a widget graph.

If I open it with the water widget, then choose electricity, and rotate the screen, it will switch back to water (same effect if I open with electricity, choose water and rotate ..). This doesn't happen when opened with the proper app icon.

sem's picture

It's been reported already
still could not reliably reproduce it and understand why is it

netweaver's picture

The new/alpha version crashed while starting up. Also after a reboot. I've sent the error reports back using the in-build Google feedback option and I went back to the previous version. All fine now again. I'm happy to try a newer/fixed version. Keep the updates coming.

Small improvement request, is it possible to allow changing the colours/scheme and transparency for the widget? The current widget colour design probably doesn't really blend in well with lots of backgrounds, due to it's solid opaque black block as a background.

ndupont's picture

As I have no google+ account and no plan on getting one, it seems I'm not eligible to test the app.

Any chance to get the APK directly, so I can test it on a VM ?

sem's picture

Hi NETWEAVER
I was actually busy with color change when I had some issues with new android 6
I'll figure it out and add it to . it's on my list for long time
Thanks for crash report. I would try to find out what is going on and publish update

sem's picture

NDUPONT
for alpha google+ is the only option
for Beta it would be more open
regards

sem's picture

Hi NETWEAVER
I think I isolated the problem you have
new alpha is on play store
but would be visible for everyone in 2-3 hours
would really appreciate if you could try it out again in few hours
thanks a lot

netweaver's picture

Again crashing at startup. I just downloaded the latest version.
I've sent the crash logs again. Good luck debugging. :)

sem's picture

Hi Netweaver
I (hope) finally found the issue you have. Looks like google changed some libraries again :)
It should work now for your version of android too
Sorry for inconvenience
New alpha should be available now as we speak

netweaver's picture

Retried yesterday, indeed all fine again. Pity I don't have a Google wear watch, so I can't help test for that. Have fun developing!

netweaver's picture

Hi Sem,
I have some more ideas (aka new features) for improving your app. Someone shouting scope creep? ;)

- for a gas meter: allow switching to m3 as a unit (default conversion constant is good enough). maybe as an additional switchable setting. Shouldn't be too hard.

- include a 'night' view as well, as is possible directly on the Flukso site. Totally new. but could be provided same way as the last 24h/month/year views, by swiping left/right.

- active alerting: allow to add a (at least one) warning threshold (in a selectable category, in a selectable time period) per widget : eg. last day 'night' value for water meter > 0 -> put alert notification on the phone.

- allow entering a starting value/meter reading so the app can calculate remotely what the physical meter reading would/should be. This would help me a lot as I'm not every day in that house and sometimes I specially need to come back from abroad to the home, to get a meter reading at a certain transfer date, eg. to switch suppliers. With the data from Flukso and an accurately timed start value it should be possible to provide. I can also kind of get it by combining the data from energyid and Flukso site but it could be more efficient and potentially more correct by combining it straight in the app.

All my suggestions are 'real life' itches, I hope you can make some happen.

Cheers.

sem's picture

Thanks for feedback
- for gas I could do m3. I already show it in the aggregate . I tried it in graphs too but with typical consumption is just ugly. You never consume 1m3 a minute or so. So I don't see added value

- I didn't know about the night view. Need to check . What is a use of it ? is it configurable ? What is a night ? I could pull it probably. Just need to understand how it works. Will need to check.

- This I found not that useful . App is only active when it's open . I don't want to make background services for users to collect data. It would kill the battery very fast. What is a usecase?

- I played with it too . Flukso doesn't provide reliable metering to estimate meter reading. In the week or so I was so off it so I dropped it way ago. It's a bit better with pvoutput. but i don't want app to depend on 2 services at once

netweaver's picture

Hi Sem, a bit more meat to the (feature request) bone now.

- my bad, I of course meant kWh as the alternate measure for gas. Conversion factor can be fixed to 11.19 kWh/m3. Of course price shown will change accordingly.

- the 'night' view can be seen on the Flukso site, in your dashboard. It shows the daily consumption between ONLY 2AM and 5AM, over a month period. These are times when there is normally no human activity, apart from sleeping or other bed activities. Very useful to find resources seeping away (eg.: lamps on without knowing, high standby power consumption, water leak somewhere, tap dripping, toilet running, etc...). This is a standard view (with non-changeable timeframe) provided by the Flukso dash, so I guess (hope) there is also an API to get that data for you too.

- I don't talk about the main app, I was thinking about the widget, as it's is updated more often. I don't want additional services, just a small (extra) check whenever you update the widget. That should not take many resources at all, if you can call the Flukso API with the right parameters (you query the data anyway to update the widget)
The Usecase is to alert the Flukso owner that there is an unusual high consumption happening. Eg. electricity 'night' consumption (from 2AM to 5AM: 3hr) is over the 'normal' 300 Wh. And that 'normal' threshold value is of course entered by the end user. He/she calculated this as a base load (in this example case 100W) during the 3 'night' hours). If it's more, then there was an issue last night and should be tackled. Or for water consumption: 'night' consumption is more than 0 -> means a leak somewhere. Again to be tackled.
This doesn't have to be updated straight away, it's ok whenever the widget updates, to do the check and put a notification on. So in the morning, whenever the screen (and the widgets) update, then the notification will be generated. And the user knows he/she has some DIY or fault finding to do. Or in case indeed there was expected human activity : shower at 4AM after coming home from a club or very late working to finish an assignment, or whatever, then just clear the notification and all is ok.

- I do think that the Flukso data are detailed enough. I did the verification (as shown below) last Sunday and it worked out ok. I don't need the figures behind the comma to be all correct, as meter readings for changing supplier only have to be given BEFORE the comma. But to be able to make the meter reading sum ( starting value + flukso based consumption as from that specified starting value/timestamp) one needs a well defined base meter reading/date+timestamp. I agree there could still be intraday variances but as long as the base meter reading is done on a 'quiet'/low utilization day, then there will be v little variance.

Proof: I have since early Feb 2016 (install of Flukso) 63,511L of gas used (as per cumulative reading in Flukso dash), adding that to the meter reading I've entered for that day in energieid.be, it turned out less then 0.2 m3 difference with the real meter reading. So that's good enough for me to trust the Flukso readings.

Thanks for looking into it.

ndupont's picture

Just a little note about the "FAC" conversion factor that allows to convert m³ to kWh : As the value can be anywhere between 9 and 13 depening where you live, it would be better to have a specific setting in the app, that the user could fill manually, and update after each invoice received from the energy supplier as it changes over time.

netweaver's picture

@NDUPONT,
agreed, caloric value can/will differ. So an extra input value in the app shouldn't break the bank, to make things more flexible and correct ...

What about my other suggestions? Can you see any use in them too?

ndupont's picture

I don't really see the point of the "night" view on the app, as it's something I wouldn't really want to check with my phone

Regarding the idea of setting some kind of alerts, I really see the point, but don't know how to make it useful nor how to set relevant thersholds. Great idea to make it work in the widget, which by the way uses a serious quantity of mobile data already.

About metering, I'm well served with EnergieID, that retreives my Flukso data once a day.

netweaver's picture

The 'night' view is just an addition to the already existing views. The usage of a mobile device is (amongst others) to reduce the need to log into the full website on a computer and it could allow me more on 'dead' moments to have a look on my house/energy parameters. Including 'night' consumption, which is normally all 'wasted' resources. I guess different people would have different requirements on views they like to see on-the-move.
The night view is a filtered/aggregated and time limited time series. For one meter it's 31 values. That's not too bad I think, to request via the API, for a time graph.

on the alerting: the alerting would happen only on current calendar day (aka last night's 'night' consumption). If the API allows to request ONLY the current calender day 'night' consumption, then the data requested would be minimal, one value per meter/widget. I'm sure the data requirements and processing for this single are then v feasible. Practical would be, when instantiating the widget, to create an extra checkbox eg. 'Alerts'. If that box is ticked, then another input field ('Min. alert value' becomes active and mandatory. That value will then be checked, when updating, together with the one 'Night' API return value and will raise the notification. Doesn't seem to difficult to implement. And this would be most wanted.

On metering, I also have energieid but how can you get absolute (calculated) meter readings by day out of it? I can only see meter reading I've entered manually. Since I have Flukso there's no need for manual meter readings any more as the consumption is retrieved from Flukso directly. So how would you get directly the day 'estimate'?
I agree I could calculate it myself if need be, but I would love to make the app the one-stop-shop for info on-the-go and the Flukso website for detailed analysis.
In terms of priority, this can be nice to have.

my 5 cents :)

ndupont's picture

EnergieID doesn't show you the current Index (altough we could ask kindly for them to add it...)
But, on the reporting pages, you can see what volume has been metered for each month, even the current month.

sem's picture

Guys
Thanks a lot for feedback
I have something to think about now ;)
Will keep you posted

jaimepenag's picture

Hello, is this app still working? I just bougth it and it gives me this error at login:
value undefined at port of type java.lang.string cannot converted to int.

sem's picture

JAIMEPENAG
Could you please share a bit more details about the problem ?
Is it druing login ? directly after login ?
What devices do you try to use ? What version of android ? What version of flukso
I'll make sure issue is fixed
regards

bazzle's picture

Hi SEM

Can the app also show consumption?

Thanks Bazzle