http://dl.dropbox.com/u/11717494/FluksoViz.apk
This will install a Flukso Viz app.
This is an absolute work in progress, with plenty of bugs but I look for a volunteer to test it.
Should work with 3 phase Flukso setup. Will crash with 1 phase setup or lack of IP on the device (no wifi) Only tested on 480x800 resolution, and android 2.2 tablet. Month data is not displayed as I only own a flukso for 2 weeks and it didn't gather enough data to let me debug it.
Implemented features are:
-taping a realtime graph will change amount of the details displayed
-taping the large readout will enter the DeltaMode. Takes a total usage in the last second and subtracts it from. Useful for checking power of a particular light or device.
-The Today/Week table is self explanatory and the percentage sign on the end is a difference to the day/week before.
-For Today power consumed you might see a large number (that might change quickly) just past midnight as this is 24h power use extrapolated value based on the average power from midnight till now.
Screenshot. http://dl.dropbox.com/u/11717494/fluksoviz%20alpha.PNG
Sample installation video: http://www.youtube.com/watch?v=0FPnJHUa3QQ&feature=youtu.be
Source code released under GPLv3: https://dl.dropbox.com/u/11717494/FluksoViz.rar
I really would like to try this app, but do have a one phase setup. How can I help?
Hmm, you can still try it, just enable on flukso all 3 phases and the remaining 2 sensors will read 0W, in the Viz then you tap the main graph 2 times it will switch to the mode it only shows the total of 3 sensors with not single sensors lines as on the screen shot. let me know it that works or how it crashes :)
Hi Sherlock
Looks AWESOME, and we are working with a Flukso experiment at the moment. Would love to get involved and help you BUT: I cannot even open it. Crashes as soon as I try to open it (application Flukso Viz (process.com...) stopped unexpectedly). Running CyanogenMod 7.1 on rooted Desire S. Happy to help. I am in Sydney.
I plan to go OpenSource as soon as i clean up the code and write some comments.
Do you have any Java coding skills, you might thry to compile it for yourself, and check running on the pc in Android simulator.
As for the start crash:
do you have wifi range when you start it?
what resolution is you screen maybe I do not have a layout for this res?
have you checked in preferences to do run unsigned 3rd party apps?
I only have a single android tablet and have little opportunity to test it with other devices but will try to do it this week.
Hi,
I have flukso and android on HTC, but I have only solar system connected to flukso.
Is there a possibility to use the app for this?
Marc
marc, it should work if you just have only generation connected to fluxo, the same note as 3 posts above is required you need to have all 3 sensors enabled even if they show 0 all the time.
In future ToDo is to add an option to have one of the sensors to be negative(generation) and substract it from the remaining sensors that are power used from the network to show nett use.
So far we need to make it working on some other setup exept mine, email me at sherlock(at)vsat.pl and i'll be sending you the development, version to debug the crash other have
Hi Sherlock,
Kudos for building a native Android client!
Why don't you upload your code to a Github repository? It's ok to have bugs and some spaghetti code in a prototype. There's no other way. :-)
Cheers,
-Bart.
A new version has been uploaded that should not crash at startup if the IP of local flukso is not reachable, and thats 99% of You that happen not to have the flukso on 172.16.1.25 :) You then can change a Flukso ip to to yours in the preferences along with sensor codes and tokens.
It is pain the ass to retype 3 sensor codes and tokens but I see no other way of doing it.
http://dl.dropbox.com/u/11717494/LoopExample.apk
I'll upload the code as soon as I figure out how the Github works, some time during Christmas.
i see a black screen for a brief moment...
and then "the app flukso viz (process com.LoopExample) has stopped unexpectly. Try again
btw wifi is not turned on at the moment ...even when turned on and connected to some "open hotspot" it crashes
I am not at home so I can't access the wifi that would contain it
I believe it's a 192.168.1.x ip :-)
btw would you also read out the "optical" S0/S1 sensor?
which is my solar grc counter
I have a flukso v1 with 3 amps and 1 S0 active :-)
I'm using a Medion P4310(aldi) android 2.3.5 device
same here: black screen and then the error. I'm not even able to click on preferences to change the ip settings. I'm using a Samsung Galaxy tab 10.1
Flukso Viz crashes unfortunately on my Android 2.3 phone (HTC desire HD) (wi-fi on)
yet another version with more network checks is uploded under the link
http://dl.dropbox.com/u/11717494/LoopExample.apk
If it still crashes copy me the top line that outputs debug.
Your screen shot looks great :)
Cant wait for the PC (windows ) version ;)
Bazzle
Sorry, still same thing. Crashes immediately. And, sorry, no Java expertise.
Tried with WiFi on or off. Only get the crash screen as described above. Not sure how else I could help? You can pm me too on guenter at icn com au
I cannot copy the top line since the flukso viz screen is removed after 200ms and Android displays a popup instead saying that the application crashed.
Ive got something running.........but the Numbers are flowing oer the screen :(
Is there a way to make the display smaller size to my wildfire S 480 x 320 please?
Bazzle
Ok, what did you do to make it running?
Can you make a picture of the device screen with it running, I need to check if that looks exactly the same on the Android simulator here if I setup the screen to the 320x480? This should be easily fixable.
Maciej
OK
I ran the .apk Entered sensor numbers
on the screen I see:
Network is on . Flukso 192,%%%%%%%%% (mixed up numbers over numbers)
123
4 (in full screen numbers
Power W last minute 3 phase (along the bottom of screen)
I reset my sensor numbers trying to find Token numbers now Ive stuffed it.
After a few seconds it now says:
Sorry
The application Flukso Vis (process.com.loop example has stopped unexpectedly.
Cant make it work again
Bazzle
I guess that about what you see on such a low res. but I need a picture to fix it.
http://dl.dropbox.com/u/11717494/LoopExample.apk
Ok Here is the new release, I made another ugly hack to select the alternative layout if the screen width is 320px, lets see if it kicks in on your phone.
OK
Thats shows all the screen :)
It still closes (crashes again like above members trials :( )
Exactly where do you get the sensor data and IP addy from?
Im not sure where to get the token number or if Ive entered correct API key?
With single phase do I still need to put in numbers from not installed sensors?
So we do it right a guide would be useful.
Strange how my initial try didnt crash but showed no data (I assume even though I now realise I coudnt see the whole page)
I dont get enough time to enter any data now before it stops.
Thanks
Bazzle
Hi,
Ok for App to work you need all 3 phases enabled in the flukso device and device set to 1 phase sensors, so every phase is represnted separately. This is vital. You can then go to the My account / Sensors tab here on the flukso page and retype the sensors (in the app it is called sensor api key) and tokens. You should see all 3 pairs of sensor/token
here is the lates version with both networking threads disabled, as I suspect that is what crashes. http://dl.dropbox.com/u/11717494/test/LoopExample.apk
it SHOULD :) let you get to the preferences and not crash, but let me know.
If you setup everything, then you can install the previous non test version on a top of it. that one should not crash if the prefs are right and start a reltime display.
I'll try to debug it so the app everything proof but my java skills are still nonexisting after just 3 weeks of trial and error.
Heres a pic before I try again
http://i8.photobucket.com/albums/a19/bazzslk230/Flukso/Flukso038.jpg
OK tried new, added stuff, went back to prev,, :( Just get the screen with blank graphs.
I used the lan addy from the app when plugged into Flukso directly.
192.168.255.1
It kept saying network OK but Flukso not reachable. sorry.
Ive gone back to 1 phase and Input 2 as Solar input.
Bazzle
Hmm, the lower graph from the picture is actually my christmas lights power use :) so the network over internet is working from your phone. The default values in the prefs are my setup. The rest is just a config issue.
If that is not secret email me your sensor id/token combo and I will test that combination in my app,
Also let me understand your setup, you have 2 clamps, one is mains power and second is your solar input. Does your flukso reports them as one sensor summing up? or you get 2 separate graps? on the flukso.net web.
As for the upper graph that is fed directly from the device, are you sure entering the proper IP address? Is your flukso reporting over the Wifi or the wired Ethernet port? If it is reporting over Wifi it does receive an IP from the Wifi router and then it is not 192.168.255.1 but some diffrent ip that you have to read eiter from the router or flukso.
Network OK, is a debug saying that Android device is connected to any kind of Network, in case of my Wifi only pad it will show that there is a Wifi connection. Not sure what it means when you have 3g and Wifi. But it is not that important as the we see that networking works in general.
Then the app tries to ping a device at the IP you entered in the preferences, if it claims it is not reachable that is not good. Thats why I would check your IP setup again. Are you sure you can ping the flukso device from the phone? Do you have a flukso v2 that has an API interface at all?
Give me a day or 2, xmas eve evening here :)
Merry xmas
Bazzle
I tested both versions available :
http://dl.dropbox.com/u/11717494/LoopExample.apk crashes indicating 10.10.scrambled digits... wifi is on but ...
http://dl.dropbox.com/u/11717494/test/LoopExample.apk :
- 1 big constantly moving total + 3 smaller phase reading. The big "W" is dropping of the screen and looks more like a "V".
- last minute graph(local part)is OK
last day graph is empty.
- I have the impression something is missing below the "last day graph" : I see 3 bars + 3 bars and a piece of a red arrow.
I'll try to provide a pic soon.
HTC Desire, Android 2.2.2 Software 2.29.405.14
When the instant Watt reading needs more than 3 digits the value is wrapped and needs 2 lines moving the 2 graphs out of the screen focus. A smaller font would fix that.
BTW : the app looks great : I love the instant and last minute readings. It allowss me to see the impact of switching something on/off imediatly.
Please get me the pic, Android layouts are dificult, I do not use the pixel specific dimensions anywhere and still every device looks diffrent. HTC Desire is 480x800 px and I would expect it will look exactly like my tablet in the first post.
Here is what i get on Desire S, cyanogenmod 7.1. Can see Flukso ok via Web interface.
Says network on but Flukso not reachable. PM me and i send you screenshot. Don't know how to upload here.
http://dl.dropbox.com/u/11717494/test/LoopExample.apk
A new version, work in progres,
Implemented is only top realtime graph, but you can now disable sensor 2 and sensor 3 at will and use it to graph 1, 2 or 3 sensors.
Lot of checks for networking api keys and tokens errors are implemented. Should not crash at startup. Will test your tokens on the server api despite the fact it will not query server for last day plot. (this is in preparation for next release)
Also let me understand your setup, you have 2 clamps, one is mains power and second is your solar input. Does your flukso reports them as one sensor summing up? or you get 2 separate graps? on the flukso.net web.
1. 2 clamps. Shows as 2 seperate graph traces on Flukso site .
As for the upper graph that is fed directly from the device, are you sure entering the proper IP address? Is your flukso reporting over the Wifi or the wired Ethernet port? If it is reporting over Wifi it does receive an IP from the Wifi router and then it is not 192.168.255.1 but some diffrent ip that you have to read eiter from the router or flukso.
2. Flukso sending its info to Flukso site over the internet. Ie. wireless from sender in meter box to my wireless router I guess.
ip addy I found in the setup when I plugged in an ethernet cable from my laptop to sender in meter box.
Then the app tries to ping a device at the IP you entered in the preferences, if it claims it is not reachable that is not good. Thats why I would check your IP setup again. Are you sure you can ping the flukso device from the phone? Do you have a flukso v2 that has an API interface at all?
2. No Ping from local
Whats an API? (mine is latest V2)
Cheers Bazzle