pipenv install --dev
- Copy
sonoff/user_config_override_sample.h
->sonoff/user_config_override.h
- Add custom config
- enter pipenv shell:
pipenv shell
- keep button pressed while plugging usb
- get port path:
pio device list
- upload:
pio run -t upload --upload-port <port>
platformio.ini: upload_speed
- Ping:
esptool.py --port <port> chip_id
- Monitor:
pio device monitor --port <port>
- Ip: when in monitor type
ipaddress
+<enter>
- Ip: when in monitor type
Arduino.RESET <-> Arduino.Ground
Arduino.TX <-> ESP8266.TX # try TX->RX if not working
Arduino.RX <-> ESP8266.RX # try RX->TX if not working
Arduino.Ground <-> ESP8266.Ground
Arduino.3_3V <-> ESP8266.3_3V
Youtube: