Coder Social home page Coder Social logo

Comments (9)

maccoylton avatar maccoylton commented on August 30, 2024

Post a log and I can take a look

from homekit_wifi_thermostat.

xrust83 avatar xrust83 commented on August 30, 2024

esp.logs.txt
logs 0.6.0

from homekit_wifi_thermostat.

xrust83 avatar xrust83 commented on August 30, 2024

0.5.2.main.bin.logs.txt
0.5.2 logs

from homekit_wifi_thermostat.

xrust83 avatar xrust83 commented on August 30, 2024

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.

maccoylton avatar maccoylton commented on August 30, 2024

try 0.6.1 . 0.6.0 broke pairing although an already paired device was ok.

from homekit_wifi_thermostat.

xrust83 avatar xrust83 commented on August 30, 2024

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
New Homekit Logo

from homekit_wifi_thermostat.

maccoylton avatar maccoylton commented on August 30, 2024

Sorry I forgot to push the latest code, sorted now. Pull that and you should be good .

from homekit_wifi_thermostat.

xrust83 avatar xrust83 commented on August 30, 2024

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.

xrust83 avatar xrust83 commented on August 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.