Code Monkey home page Code Monkey logo

arduino-homekit-esp's People

Contributors

mixiaoxiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

arduino-homekit-esp's Issues

Different types of smart devices?

Will other examples be added to understand the basic principles of adding different types of smart devices?
In this example, I cannot find void for digitalWrite to send a signal to the relay, for example...

bignum.c error

.pio/libdeps/pico32/Arduino-HomeKit-ESP/src/port/bignum.c:49:46: error: 'DPORT_RSA_PD' undeclared (first use in this 
function)
     DPORT_REG_CLR_BIT(DPORT_RSA_PD_CTRL_REG, DPORT_RSA_PD);
                       ^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/pico32/Arduino-HomeKit-ESP/src/port/bignum.c:58:23: error: 'DPORT_RSA_PD_CTRL_REG' undeclared (first use in this function)
     DPORT_REG_SET_BIT(DPORT_RSA_PD_CTRL_REG, DPORT_RSA_PD);
                       ^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/pico32/Arduino-HomeKit-ESP/src/port/bignum.c:58:46: error: 'DPORT_RSA_PD' undeclared (first use in this 
function)
     DPORT_REG_SET_BIT(DPORT_RSA_PD_CTRL_REG, DPORT_RSA_PD);
                                              ^~~~~~~~~~~~

from?
Arduino as an ESP-IDF component

no headers files (.h) found in Arduino-HomeKit-ESP

Placed the downloaded library in the Arduino libraries folder but got the next error in Arduino IDE - no headers files (.h) found in Arduino-HomeKit-ESP
What can be the reason?

Thanks for help in advance.

Errno=23

Hi again!

Thank you for your port. Looking at your sources, I realise that you probably aware of this problem, so this issue I opened, is just to clarify have you found a solution or not.
In brief: i’ve made a simple program with hap switch and a WebServer. WebServer serves the site with the content located on the littlefs partition with streamFile call. It opens requested file, streams it to the client, then closes it.
When used with esp hap, it leads to the errno 23 after a few minutes of inactivity. I mean, external inactivity, like, no http queries, hap is working in the background. Then, after 15-30 minutes, each lwip accept call in the WebServer fails with errno 23. Hap is still working for a while, but also fails then, when i try to reconnect the client (like, rebooting iphone and relaunching its home.app)
My question is: are you really aware of that? I see a piece of “workaround” code in your sources, where you’re trying to close control connections. Looks like it doesn’t fix it completely, I suppose it just postphones the problem, and webserver usage just makes it visible quicker.
the same code without hap works fine for hours of course, which makes me think that there’s some “sockets leak” inside espressif hap. Do you have any ideas?
Thank you!

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.