/ZakuCore

Control your ESP32 microcontroller enabled Gundam Kit

Primary LanguageTypeScript

Zaku Core

About

This is code is used for controlling led on my Gundam models using automation's in HomeAssistant. First I wanted to use ESPHome for that but I wanted to have power on effects and different animations for ex. GN Drives.

Requirements

  • platformio
  • python 3
  • HomeAssistant
  • MQTT
  • WeMos D1 R2 - ESP8266
  • ESP32 board

Setup mode

Search for WiFi network starting with name ZakuCore and connect to it, password is archangel. After connection visit http://192.168.4.1

Add new board

You can define each new board in platformio.ini. Each platform should run yarn release before and script that generates pin layout. Pin layout is defined in config/pinouts/*.json files and is used by webui light editor.

Release

You can use docker to build releases:

docker-compose --file docker-compose.build.yaml --project-name zaku-core-release build
docker-compose --file docker-compose.build.yaml  --project-name zaku-core-release up

Or just by using platformio tool:

platformio run -e release:zaku-core:rev1
platformio run -e release:d1_mini

Mosquitto development passwords

admin: admin1234
client: client1234

References