-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
47 lines (44 loc) · 2.44 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[common]
monitor_filters = esp32_exception_decoder, colorize, time, printable, debug
build_flags =
'-DWIFI_SSID="WIFI_SSID"' ; Change to your wifi ssid
'-DWIFI_PASS="WIFI_PASSWORD"' ; Change to your wifi password
'-DHOSTNAME="HOSTNAME"' ; Should match the below upload_port
'-DOTA_PORT=3232' ; Should match the below upload_flags -> --port
'-DPID="matrixvoice"' ; PID is part of the MQTT topic
'-DOTA_PASS_HASH="PASS_HASH"' ; Hashed with MD5 https://www.md5hashgenerator.com. An unhashed value should be passed to upload_flags -> --auth
'-DMQTT_IP=IPAddress(192, 168, 0, 100)' ; Change to the IP of your MQTT broker
'-DMQTT_PORT=1883' ; Change to the port of your MQTT broker
'-DMQTT_USER="MQTT_USER"' ; Change to your MQTT username
'-DMQTT_PASS="MQTT_PASSWORD"' ; Change to your MQTT password
'-DWS_HOST="WS_HOST"' ; Change to the IP of your WS server
'-DWS_PORT=WS_PORT' ; Change to the port of your WS server
'-DWS_RECONNECT_INTERVAL=5000' ; Change to the reconnect interval of your WS server
'-Llib/esp_sr' ; ESP-SR libraries required for WakeWord engine
'-lnn_model_alexa_wn3'
'-lwakenet'
'-ldl_lib'
'-lc_speech_features'
[env:esp32dev]
monitor_speed = 115200
; Don't change it, as Matrix Voice doesn't support > 1.9.0 versions yet.
platform = [email protected]
upload_protocol = espota
board = esp32dev
framework = arduino
board_build.partitions = ./ota/partitions_two_ota.csv
; MatrixVoice IP, should match HOSTNAME in build_flags
upload_port = '192.168.0.100'
build_flags = ${common.build_flags}
; MatrixVoice OTA password (auth), should match hashed password (OTA_PASS_HASH) in build_flags
upload_flags =
--port=3232
--auth=UNHASHED_PASS
--f=.pio/build/esp32dev/firmware.bin
lib_deps =
https://github.com/matrix-io/matrixio_hal_esp32.git
https://github.com/matrix-io/esp32-arduino-ota.git
https://github.com/bblanchon/ArduinoJson.git
https://github.com/marvinroger/async-mqtt-client.git
https://github.com/me-no-dev/AsyncTCP.git
https://github.com/Locoduino/RingBuffer.git