Loading...
「ツール」は右上に移動しました。
利用したサーバー: watawata7
72いいね 7235回再生

How to build custom CADIO info file (ESP8266 - ESP32) | CADIO Home Automation

CADIO Website:
egycad.com/cadio/

CADIO Downloads Center:
egycad.com/cadio/downloads/

CADIO Developers Docs:
egycad.com/cadio/docs/discover-cadio/

CADIO Firmware For ESP8266:
egycad.com/cadio/docs/firmware/esp8266-firmware/

CADIO Firmware For ESP32:
egycad.com/cadio/docs/firmware/esp32-firmware/

---------------------------------------------------------------

After installing CADIO firmware on the ESP , the ESP will create a WIFI network, for receiving the info file and configurations.

We can open CADIO app and go to the configuration section, and connect the phone to the ESP WIFI network. In seconds, the connection will establish and the info file page will appear.

Info file page will create the info file based on our preferences, and all codes will be internally created with the power of AI.

The Info file is created only once, and cannot be edited unless the firmware is erased and re-installed.

In this video, we will explain the info file creation interface, so we can make our custom info files for our projects.

The first option in the info file is the config access point name, and here we can set the ESP configuration WIFI network SSID, so the configuration network SSID can be anything instead of CADIO.

In switches mode we can select if the switches are normal switches, or press switches like pushbuttons, or 3-way switches.

From switches handling we can set the priority of handling switches signals, if we select interrupts, the maximum priority is given, but if you are dealing with massive AC noises, you may need to try pooling method.

we can select the switches wiring, there are two types: pullup, which means that the switch is between the GPIO and GND, and a pullup resistor is between the GPIO and VCC, the other type is pulldown, which means that the switch is between the GPIO and VCC, and a pulldown resistor is between the GPIO and GND.

from relays mode we can set the output ON level, HIGH or LOW.
software serial is used to connect another MCU to the ESP, using CADIO serial Arduino library.

and 433 megahertz feature allows controlling the devices using RF remote, and adding the support of wireless sensors.

In protection, we can set the max safe temperature for the unit, and use a NTC sensor to manage the protection.

The config button is a simple pushbutton, all units must have a config button, holding the config button for 3 seconds will activate the configuration mode, while holding it for 10 seconds will perform a factory reset, and a click on it will fire a fast restart.

The indicator LEDs tell us about the unit status, active mode, and connection status, they are vey important, please use them, they will help you someday!

in devices table, we can add up to 21 device for any unit, we can select the device type, and select it's GPIOs, for example, I will add an on off device, and select GPIO 4 for it, and GPIO 5 for it's switch, another device is a sensor on GPIO 12, and a DHT on GPIO 13 for example, that is how we can set our unit devices.

after setting our unit info, the info file will be created and all codes will be internally generated with AI, after info file saved, the configuration page will appear, here we enter our home router WIFI network details, and the unit will connect it, and connect to the internet, and now our unit is ready to use.

In all next videos, I will share a screenshot of the info file settings for the unit I use in the video, so you can clone my unit settings and try it yourself.
a lot of projects will be filmed soon, if you are interested, subscribe to our channel, and feel free to try CADIO, and feel free to contact us.

コメント