irrigation-system
| .idea | 6 days ago | ||
| code | 12 hours ago | ||
| config | 12 hours ago | ||
| CMakeLists.txt | 12 hours ago | ||
| Makefile | 12 hours ago | ||
| README.md | 12 hours ago | ||
| bluetooth-proxy.yaml | 2 days ago | ||
| docker-compose.yaml | 2 days ago | ||
| encryption key.txt | 6 days ago | ||
docker-compose exec esphome rm -rf /config/.esphome/build
docker-compose exec esphome rm -rf /config/.esphome/platformio
docker-compose exec esphome rm -rf /root/.platformio
docker-compose exec esphome esphome compile irrigation-system-controller.yaml
arduino is more beginner friendly, esp-idf offers more control.
The code between the frameworks are completely different. Here is an example
pinMode(5, OUTPUT); // Set GPIO5 as output digitalWrite(5, HIGH); // Set GPIO5 HIGH
gpio_set_direction(GPIO_NUM_5, GPIO_MODE_OUTPUT); gpio_set_level(GPIO_NUM_5, 1);