Tools for understanding Homekit development with ESP8266
Posted: Wed Jan 06, 2021 2:54 pm
Hello everyone,
this is my first post. I recently discovered Apple Homekit and I'm totally hooked.
I started out with an ESP8266 and the Arduino IDE.
And I also got some projects up and running like a temperature and humidity sensor and a door sensor.
Now I want to control a 12V LED light with a MOSFET. (The circuit works already, I just need the code.)
But when I try and use the example code from here here for example then I'm stuck.
I don't understand how I can tell Siri to tell the lamp it shall be dimmed to X%.
Anyone to point me in the right direction?
However, I also want to understand everything from the bottom up. How can I achieve this? Here are some questions for the pros:
1. Is the Arduino IDE a good tool or are there better ones?
2. What skills do I need?
3. What resources do you know that are helpful?
4. How can I understand a library like this one?
Shall I go through every file and try to understand what they are doing and how they are connected?
Or is there any underlying principle like a homekit blueprint that I'm missing for knowing how the things work together?
5. I suppose I need a very good knowledge of C. Correct? Which concepts in particular? Or simply everything the language has to offer?
6. Any other things I forgot?
this is my first post. I recently discovered Apple Homekit and I'm totally hooked.
I started out with an ESP8266 and the Arduino IDE.
And I also got some projects up and running like a temperature and humidity sensor and a door sensor.
Now I want to control a 12V LED light with a MOSFET. (The circuit works already, I just need the code.)
But when I try and use the example code from here here for example then I'm stuck.
I don't understand how I can tell Siri to tell the lamp it shall be dimmed to X%.
Anyone to point me in the right direction?
However, I also want to understand everything from the bottom up. How can I achieve this? Here are some questions for the pros:
1. Is the Arduino IDE a good tool or are there better ones?
2. What skills do I need?
3. What resources do you know that are helpful?
4. How can I understand a library like this one?
Shall I go through every file and try to understand what they are doing and how they are connected?
Or is there any underlying principle like a homekit blueprint that I'm missing for knowing how the things work together?
5. I suppose I need a very good knowledge of C. Correct? Which concepts in particular? Or simply everything the language has to offer?
6. Any other things I forgot?