Stokerforum
Tips og Tricks => Android Apps => Emne startet af: egon efter Okt 22, 2011, 14:18
-
Here I did a Android app that uses StokerKontrol 'http://<stokerkontrolhost>/android.txt' for data.
(http://s1.postimage.org/26605pwhw/stokermonitor.jpg) (http://postimage.org/image/26605pwhw/)
New version is out and should work with new versions of StokerKontrol and also with StokerCloud.
(http://s7.postimage.org/so2xk3ovb/stokermonitor2.jpg) (http://postimage.org/image/so2xk3ovb/)
Now you can get it from Android Market
https://market.android.com/details?id=appinventor.ai_egonipost.StokerMonitor (https://market.android.com/details?id=appinventor.ai_egonipost.StokerMonitor)
-
Wellcome Estonia
Øv, hvornår går min gamle Nokia ExpressMusic i stykker, så jeg kan retfærdiggøre anskaffelsen af en smart telefon(?)!
O0 O0 O0
-
Here I did a Android app that uses StokerKontrol 'http://<stokerkontrolhost>/android.txt' for data.
(http://s1.postimage.org/26605pwhw/stokermonitor.jpg) (http://postimage.org/image/26605pwhw/)
Hi Egon
That looks good 8)
If you want you should be able to get the data from http://pillefyr.nordjysk-bioenergi.dk/dev/android/getdrift.php?mac=USERNAME
Replace USERNAME with your username, ofcourse this requires an active account at the StokerCloud platform.
Ps. What is the resolution of the image?
Regards Jens
-
Hmmm...
Nu har jeg prøvet den og jeg får en fejl som siger:
Select list item: List index too large
Og så følger der en hel mengde kode...
Derefter : End Application
Denne fejl får jeg på mit eget domene såvel som på norjysk bioenergi.
Er det noget jeg gør fejl eller er der en lille bug?
Mvh.
Dennis
-
Hi Egon
That looks good 8)
If you want you should be able to get the data from http://pillefyr.nordjysk-bioenergi.dk/dev/android/getdrift.php?mac=USERNAME
Replace USERNAME with your username, ofcourse this requires an active account at the StokerCloud platform.
Ps. What is the resolution of the image?
Regards Jens
Thanks. The image is an image from your program: diagram.png 800x480.
The data from StokerCloud is different fom data of my StokerKontrol as you can see:
StokerCloud data:
{"boiler_temp":"52.2 °C","smoke_temp":"0.0 °C","output":"0.0 %","magazine_content":"N/A kg","power":"0.0 kw","drop_shaft_temp":"31.0 °C","hot_water_temp":"0.0 °C","light":"0.0 lux","date":"2011-10-23 16:33:35","flow":"0.0 l/t","error":"ok","state":"9","ignitions":"N/A","chip_ver":"6.50"}
StokerKontrol data:
{"boiler_temp":"52.2 °C","smoke_temp":"0 °C","output":"0 %","power":"0.0 kw","drop_shaft_temp":"31 °C","light":"0 lux","date":"23/10-2011 - 17:31:40","error":"ok","state":"9","ignitions":"-1","chip_ver":"4.15","controller_ver":"3.20 beta3"}
StokerCloud does not detect chip version correctly. I have ver.4.15 but StokerCloud reports ver.6.50!?
Date format and clock is also wrong!?
egon
-
Hmmm...
Nu har jeg prøvet den og jeg får en fejl som siger:
Select list item: List index too large
Og så følger der en hel mengde kode...
Derefter : End Application
Denne fejl får jeg på mit eget domene såvel som på norjysk bioenergi.
Er det noget jeg gør fejl eller er der en lille bug?
Mvh.
Dennis
I think it does not work because you have an newer version of StokerKontrol than mine and the android.txt file is different.
egon
-
StokerCloud does not detect chip version correctly. I have ver.4.15 but StokerCloud reports ver.6.50!?
Date format and clock is also wrong!?
Thanks, probably som synchronization with StokerKontrol vs. StokerCloud with the version, i look into that. The date is different yes, but i reformat it so you can parse it properly from both sources.
Regards Jens
-
New version is out and should work with new versions of StokerKontrol and also with StokerCloud.
See the first post.
-
New version is out and should work with new versions of StokerKontrol and also with StokerCloud.
See the first post.
Great - works like a charm here, with StokerCloud, Woody 10 and an LG Optimus 2x :-)
Good work O0
Regards Jens
-
Now you can get it from Android Market
https://market.android.com/details?id=appinventor.ai_egonipost.StokerMonitor (https://market.android.com/details?id=appinventor.ai_egonipost.StokerMonitor)
-
Hejsa,
Jeg har lidt problemer med at få min stokerkontrol app på min android telefon til at virke.
mit link på computeren er: http://pillefyr.nordjysk-bioenergi.dk/dev/dannidines.html og det har jeg forsøgt at sætte ind i link i app og prøvet både med brugernavn/kodeord tomme samt udfyldt.
Har enda prøvet at udskifte dannidines.html med android.txt uden held, nogen som kan hjælpe mig?!
-
Tænk-Google-tast-vuupti og det virker :-)
http://stokersoft.com/blog/android/pillefyr-pa-android-telefonen/