grinco / jq300_esphome

JQ300 ESPHome Configuration and flashing instructions
Apache License 2.0
3 stars 0 forks source link

jq300_esphome

JQ300 ESPHome Configuration and flashing instructions

  1. Order an SPI flasher with a clip tool like the one that I ordered, and wait...
  2. Dump the original firmware using flashrom tool flashrom -p ch341a_spi -r ./jq300-orig.bin
  3. Create the device in esphome and download the firmware to your local machine using this template:
    
    esphome:
    name: jq300
    friendly_name: jq300
    on_boot:
    - uart.write: "device_request_all_data\n"

esp8266: board: esp01_1m

wifi: ssid: !secret wifi_ssid password: !secret wifi_password

Enable logging

logger: baud_rate: 115200 hardware_uart: uart1

Enable Home Assistant API

api: encryption: key: !secret encryption_password

ota: password: !secret api_password

external_components:

uart: id: uart_bus tx_pin: GPIO1 rx_pin: GPIO3 baud_rate: 115200 debug: direction: BOTH dummy_receiver: false after: timeout: 1s delimiter: "\n" sequence:

stream_server: uart_id: uart_bus port: 10000

switch:

sensor: