applehomekitadk-esp32's People
applehomekitadk-esp32's Issues
how to compile
Hi Asteliks,
I am new in that topic and want to give the esp32 a try to run as homekit device. I already get inspired with the MiaxoiMiaxou IDE example which was easy to understand. Now, since idf i get a little bit lost and have everytime issues how to use it correctly and that ends in errors before i am able to create a bin. The test build is ok and works but all homekit related git versions i tried are messed up with an error.
my worksteps are as following
- I have download the git
- go into the folder and run this git submodule update recursive command
- then i am unsure - i tried idf.py build -end up with issue CMAKE error in components:224
- cmake error at Cmakelist:2(project) - project command is not scriptable
Callstack
component_get requirements.cmake:96(include)
component_get requirements.cmake:114(--component_get_requirements)
Edit: i tried on Windows (failed) - i tried on Raspberry (no success but ifd was running ok i guess) on MacOS (error mentioned above)
i am a little bit lost and will be thankfully if you can help here
best regards from Berlin,
v0r73x
Why gpio set in HandleLightBulbOnRead?
Hello,
I'm trying to understand your sample.
I wonder, why do you set gpio level in HandleLightBulbOnRead
?
I thought it was only used to read characteristic state...
Thanks
switch(i)
{
case 2:
gpio_pad_select_gpio(26);
gpio_set_direction(26, GPIO_MODE_OUTPUT);
gpio_set_level(26, !accessoryConfiguration.state.lightBulbOn[2]);
break;
case 3:
gpio_pad_select_gpio(27);
gpio_set_direction(27, GPIO_MODE_OUTPUT);
gpio_set_level(27, !accessoryConfiguration.state.lightBulbOn[3]);
break;
}
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.