case R.id.btnPlus:
TemperatureController.getInstance().setTemperatureHigher(0.5);
break;
case R.id.btnMin:
TemperatureController.getInstance().setTemperatureLower(0.5);
break
Bron: https://github.com/Inversion-NL/Toon-Android/blob/master/app/src/main/java/com/toonapps/toon/view/MainActivity.java
This is also not going well, Toon will raise and lower the temperature by 0.1 not by 0.5, this is due to the resource file that must be loaded, otherwise our custom apps will not work.
So my app should change the temp by 0.1 and not 0.5?
Thanks, I'll change it.
case R.id.btnPlus:
TemperatureController.getInstance().setTemperatureHigher(0.5);
break;
case R.id.btnMin:
TemperatureController.getInstance().setTemperatureLower(0.5);
break
Bron: https://github.com/Inversion-NL/Toon-Android/blob/master/app/src/main/java/com/toonapps/toon/view/MainActivity.java
This is also not going well, Toon will raise and lower the temperature by 0.1 not by 0.5, this is due to the resource file that must be loaded, otherwise our custom apps will not work.
So my app should change the temp by 0.1 and not 0.5?
Thanks, I'll change it.
Indeed, otherwise you will get strange temperature differences.
case R.id.btnPlus:
TemperatureController.getInstance().setTemperatureHigher(0.5);
break;
case R.id.btnMin:
TemperatureController.getInstance().setTemperatureLower(0.5);
break
Bron: https://github.com/Inversion-NL/Toon-Android/blob/master/app/src/main/java/com/toonapps/toon/view/MainActivity.java
This is also not going well, Toon will raise and lower the temperature by 0.1 not by 0.5, this is due to the resource file that must be loaded, otherwise our custom apps will not work.
So my app should change the temp by 0.1 and not 0.5?
Thanks, I'll change it.
Indeed, otherwise you will get strange temperature differences.
Nice work. I forked the repo, will try to make some improvements myself and commit them. Let's keep testing and developing. When it's good enough, maybe we can publish it in the Play Store.
glsf91 wrote:When Away/sleep/home/comfort is selected it is almost not visible that it is selected. Maybe change color background or change color text on button, like on Toon.
WickedMaster wrote:Nice work. I forked the repo, will try to make some improvements myself and commit them. Let's keep testing and developing. When it's good enough, maybe we can publish it in the Play Store.
I see.
Since we don't run any analytics software in the app, and the app isn't in the Play store, we don't receive any crash reports, it is very hard to resolve the issue.
I see.
Since we don't run any analytics software in the app, and the app isn't in the Play store, we don't receive any crash reports, it is very hard to resolve the issue.
mAiden wrote:I work in IT, there is knowledge. Will make a logfile with ADB..
Nice, upload to pastbin (or something similar) and I'll try and figure it out.
You'd also could install Android Studio and run the app.
You can create an filter for it to only show messages created by this app.
That will troubleshoot a little easier for me.
mAiden wrote:I work in IT, there is knowledge. Will make a logfile with ADB..
Nice, upload to pastbin (or something similar) and I'll try and figure it out.
You'd also could install Android Studio and run the app.
You can create an filter for it to only show messages created by this app.
That will troubleshoot a little easier for me.
mAiden wrote:I work in IT, there is knowledge. Will make a logfile with ADB..
Nice, upload to pastbin (or something similar) and I'll try and figure it out.
You'd also could install Android Studio and run the app.
You can create an filter for it to only show messages created by this app.
That will troubleshoot a little easier for me.
glsf91 wrote:When touch refresh icon, it is not giving any feedback. So unsure if it is doing anything.
I could create an toast message (those messages at the bottom of the screen which dissapear after a few seconds), if that helps?
I didn't display an waiting screen because that just blocks further use of the app until the request to Toon is finished.
Now it'll queue up commands and execute them in order.
That will help indeed.
RoadXY wrote:
glsf91 wrote:I can solve the powerusage if I change this in mainactivity:
I'm not sure if I can follow you here.
What did you change and where?
I changed in that a few times aDevicesInfo.getElecUsageFlowHigh() for aDevicesInfo.getElecProdFlowHigh(). Same for the aDevicesInfo.getElecProdFlowLow().
RoadXY wrote:
glsf91 wrote:
In this part responseData will be always null when setschemestate or setsetpoint is used.
Which error do you mean?
This one: When changing something it is giving an error below which is disappearing too fast. Something about responsedata or responseheader is null.
RoadXY wrote:
glsf91 wrote:
In ThermostatInfo there is a mistake in nextSetPoint. This must be nextSetpoint.
So private int nextSetPoint; should be private int nextSetpoint;
And also in:
RoadXY wrote:
So my app should change the temp by 0.1 and not 0.5?
Thanks, I'll change it.
For me 0.5 is working fine. Increasing with 0.1 is not very meaningfull I think.
Also a lot of requests to Toon for increasing a few degrees. Toon is not very fast.
glsf91 wrote:For me 0.5 is working fine. Increasing with 0.1 is not very meaningfull I think.
Also a lot of requests to Toon for increasing a few degrees. Toon is not very fast.
In view of the measurement accuracy of toon in terms of room temperature, 0.5 is indeed good enough. Some people, however, prefer to be fooled with some fake accuracy .
This kind of operations does not require a lot of computational effort. For a toon2 it's probably less than nothing.