-
Notifications
You must be signed in to change notification settings - Fork 25
01 GENERAL
This ESP-ECU consists of an ESP module and a zigbee module (see hardware). The modules are via a serial port connected. The device has 2 radio's, one for wifi (the Esp) and one for zigbee (the cc25xx).
The ESP_ECU is capable of communicating wireless (via Zigbee) with your APS inverters YC600, QS1 and DS3. Via this Zigbee channel it can collect values as to the working and yield of the inverter. These values are displayed in a webinterface and are broadcasted via Mosquitto. Therefore the device should be connected to your home network (wifi).
The Zigbee network has several components, one is the 'coordinator' which is running on the zigbee module. The coordinator communicates
- via serial (wired) with the ESP
- and wireless with the inverters.
At boot this coordinator is initialized with a series of zigbee commands, and should be running.
The Coordinator sends with a frequency of 5 minutes a data request to the inverter(s). The Inverter should answer with the data. This data is decrypted and recalculated by the system and displayed on the webpage.
You can connect an external led to the ESP, this has the same behaviour as the blue on-board LED.
When the LED:
- is continuously on: An accespoint has been opened.
- flashes 3 times at boot: Wifi connected.
- flashes once: Polling is done
- flashes serveral times: zigbee is initializing
- goes on when pushing the button: reboot when button released.
- goes on and off when pusshing the button: Drop wifi and start AP
You can connect an external tactile switch to the ESP, this has the same behaviour as the on-board flash button.
An eventual external led does the same as the blue onboard led.
The led flashes 3 times at boot, meaning that a connection to wifi is made. When it lights up continuously, the accesspoint is opened.
When the coordinator is started, the led flashes at every send command, and at a poll once.
-
Reboot: Keep the button pressed, the LED goes on after a few moments. If you release it now, the ESP-ECU will reboot.
-
Reset WIFI: Keep the button pressed. The LED goes on and after a few seconds off again. If you release the button now, the ESP-ECU will drop the wifi credentials and reboots into the accesspoint.
get started || hardware || inverters || testing /debugging || zigbee module