Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile interface, and system environment #94

Closed
Barbara1984 opened this issue Feb 9, 2018 · 19 comments
Closed

Mobile interface, and system environment #94

Barbara1984 opened this issue Feb 9, 2018 · 19 comments

Comments

@Barbara1984
Copy link

Hello, why are the system heating and cooling at the same time? That makes no sense or I understand something wrong :-)
unbenannt

And why is my phone always Invalid Date and s.PC everything fits, is the interface optimized phone?
screenshot_20180209-212447

Thx for your Help

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2018

Hmm, because of the invalid date message, I expect some javascript errors. Could you try to flush your browser cache on your phone?

Else it is a problem with locale settings and formatting. I have used some external code which I cannot fully test on all devices. In order to figure that out, I need to debug on a mobile device...

The interface is a existing design that should work on a mobile. So that is not an issue. In this case, there are some javascript problems...

My Jolla
screenshot_20180209_001
phone does in Dutch:

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2018

Also if you make changes, it can take about 1 minute before your browser will pick it up due to caching.

@Barbara1984
Copy link
Author

Ok thanks that helped with the cache on the phone, but why is the heating and cooling running at the same time?

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2018

euh, not clear what you mean. Because the image shows temperatures and no times. Both in sensor modus.

But this is something that has been setup in the environment page. Could you make a screenshot of the environment page at the heater and cooler settings. Looks like you have selected for both parts the same sensor

@Barbara1984
Copy link
Author

I have :-) At the top is a small picture :-)

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2018

No, that is dashboard. Need environment page.

@Barbara1984
Copy link
Author

Barbara1984 commented Feb 9, 2018

unbenannt

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2018

But this is all correct. You have selected for both settings the sensor modus with the same sensor.

So that will show the same values. So that is correct.

What are you expecting?

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2018

Ah, now I see.

@Barbara1984
Copy link
Author

But it should not happen that the heating and cooling are turned on at the same time, right? It would have to be so if the heating is on, the cooling must be off.

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2018

Both systems do not exclude each other. So at some point they are switched on, and will stay on when the temperature does not reach either the max or min value.

Your idea:

But it should not happen that the heating and cooling are turned on at the same time, right? It would have to be so if the heating is on, the cooling must be off.

Is implemented through the light system. That is my main heater base, and the heater and cooler are helpers. So the cooling and heating are both looking at the lights system.

But what I would expect in this setup is that both switches / devices are OFF. And when temperature drops below 21, the heater should go on. The cooler should stay off. Until 29 degrees. Then the heater should go out, and the cooler should go on till it is 21 degrees again. That is what I would expect. And that looks like both are excluding each other. But that is based on the sensor logic, not what we logical would expect with heating and cooling.

So, what you could try is to manually switch either the heater or cooler switch off. And see if the system does switch it on again. If so, then we have a bug. Else, if it stays off, it could be that there was some initial state issue. And if that does not repeat later in time, I see it as a glitch.

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2018

With switching off I mean that you go the to the power switch status page and click the big power icon to toggle the switch

@Barbara1984
Copy link
Author

Ok, if I click on the green switch icon it turns blue and then turns green again

theyosh added a commit that referenced this issue Feb 9, 2018
@theyosh
Copy link
Owner

theyosh commented Feb 9, 2018

Hmm, I did find a bug. But that is still not the final solution. Could you do a git pull and restart the software? That will load the latest version of the code.

then we need to look into the logging. In the folder log there is a terrariumpi.log file. Look for 'terrariumEnvironment' log messages.

The problem is that I cannot setup every environment that other people are using. So I cannot recreate your situation for testing

@Aapjes94
Copy link

Aapjes94 commented Feb 9, 2018

I had the same errors as Barbara1984 seems to be having after updating to 3.3.0. Switches being stuck and some error with the time stamps. Everything was resolved when resetting the pi and clearing the cache. Have you also reset the system from the screen session after updating?

@Barbara1984
Copy link
Author

Barbara1984 commented Feb 9, 2018

Ok I'll test it tomorrow but have to work tomorrow so I'm going to sleep now :-)

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2018

Yeah, software is under heavily development... :P So after each update restarts and cache clearing is needed..

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2018

But for now, I can't find anything in the code that could cause this. So a restart of the software could help, or a full pi reboot.

Else we have to see if we can find in the logging

@Barbara1984
Copy link
Author

Barbara1984 commented Feb 11, 2018

Hi, I just did the update. But I'll let you know if something is ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants