Comments (9)
Post a log and I can take a look
from homekit_wifi_thermostat.
esp.logs.txt
logs 0.6.0
from homekit_wifi_thermostat.
0.5.2.main.bin.logs.txt
0.5.2 logs
from homekit_wifi_thermostat.
rtos assert
/Volumes/case-sensitive/esp-open-rtos/FreeRTOS/Source/timers.c 357
[21:54:15]abort() invoked at 0x40204ce3.
[21:54:15]
[21:54:15]Stack: SP=0x3fff7a00
[21:54:15]0x3fff7a00: 3fff2dc4 3fff9128 00000000 40204ce6
[21:54:15]0x3fff7a10: 4024bd65 3fff305c 3fff2cf4 40204934
[21:54:15]0x3fff7a20: 00000000 40202350 4023e2bc 402173e4
[21:54:15]0x3fff7a30: 3fff7a00 00000002 00000000 00000000
[21:54:15]0x3fff7a40: 00000000 00000000 3fff2dc4 40202459
[21:54:15]0x3fff7a50: 00000002 3ffe89c8 00000000 00000000
[21:54:15]0x3fff7a60: 3fff271c 3ffe89c8 00000000 40216535
[21:54:15]0x3fff7a70: 3fff271c 3ffe89c8 00000000 40216928
[21:54:15]
[21:54:15]Free Heap: 28136
[21:54:15]_heap_start 0x3fff2ed8 brk 0x3fff9378 supervisor sp 0x40000000
sp-brk 27784 bytes
[21:54:15]arena (total_size) 25760 fordblks (free_size) 352 uordblocks
(used_size) 25408
from homekit_wifi_thermostat.
try 0.6.1 . 0.6.0 broke pairing although an already paired device was ok.
from homekit_wifi_thermostat.
Yes Thank you, the issue has been resolved. Now everything works as it should, as I understand it, the problem is not in the code, but in compilation. something is wrong with the timers.c library, should it be replaced during compilation?.
P.S. You do not accept my Pull, you do not like the icon design, I want to remake the logo to a newer one
from homekit_wifi_thermostat.
Sorry I forgot to push the latest code, sorted now. Pull that and you should be good .
from homekit_wifi_thermostat.
Hello. 0.6.1 fixed the problem with adding, fixed the problem with removing the thermostat from the app and re-pairing. Previously, when the thermostat was deleted from the Home application, it was no longer needed to be reflashed and reconnected, today I tried to specifically delete it, the thermostat, when deleted, displayed a QR code on the screen and pairing commands went in the logs.
In the process of experiments, I found a few more bugs, in the code I see that the thermostat writes the state to memory and after reboot reads recover_from_reset, save_characteristics, load_settings_from_flash. And this is the failure I found, if the power to the thermostat was lost and it was able to HEAT Target temperature 30, after powering up again, the thermostat shows the same HEAT state, reads the temperature that, for example, had time to cool down to 27 and when I continue to heat after a reboot, it is warm and 31 and 32 and 33 does not go into the OFF state, you need to manually change the thermostat mode to another OFF, AUTO or COOL and return to the HEAT mode, after which everything continues to work automatically. I think this is a problem because you need to correct the thermostat every time after a power outage.
Perhaps this problem is only for me, I managed to replace the DSN22 sensor with DS18V20 and it works, if itβs not difficult for you to look at my branch, this is my first experience and I looked for code examples in so many repositories, but I tried to fix it for your code style, this took me about a week.
https://github.com/xrust83/homekit_wifi_thermostat
The second problem is the display of the current temperature in the home application, in the logs and on the indicator screen it changes very quickly, but in the home application it can change extremely up to 5-10 minutes, such a delay in the Home and EVE, I use the HAA-manager application and when I go to the device page and then the updates are also instant, I have an assumption that some applications are waiting for the thermostat to send the temperature and the HAA-manager makes the request himself
from homekit_wifi_thermostat.
I figured out the preserve_state function, everything works fine, I also figured out the temperature polling, and there was a problem with the sensor polling code for me and updating the data now everything works more dynamically.
from homekit_wifi_thermostat.
Related Issues (13)
- restarts problem HOT 41
- A few issues HOT 11
- build firmware HOT 1
- support upgrade from the local web server? HOT 3
- Where is .bin firmware release? HOT 1
- nodemcu where connect sensor, display and button? HOT 4
- use a Rotary Encoder KY-040 for up/down temperature HOT 4
- DHT11 HOT 1
- Version and name HOT 11
- ds18b20 HOT 2
- Temperature pooling time HOT 3
- Humidity sensor HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homekit_wifi_thermostat.