Hi everybody,
I just flashed ESPHome
onto a testing ESP32
; I flashed via dev/ttyUSB0
, which worked just fine. It also gave me the option to flash over the air (nodemcu32main.local)
.
I know that nodemcu32main.local
) will not be the devices address; it is in a different network than my computer, as I have a VLAN for IOT devices. Also, my router blocks the .local
by default.
So I looked at the docs and tried esphome nodemcu_main.yaml run --host-port <ip>
; also tried prepending sudo
, but it does not make a difference. I get
usage: esphome [-h] [-v] [-q]
[configuration [configuration ...]] {config,compile,upload,logs,run,clean-mqtt,wizard,mqtt-fingerprint,version,clean,dashboard,vscode,update-all} ...
esphome: error: unrecognized arguments: --host-port <ip>
I tried putting the parameter elsewhere, for example esphome --host-port (...)
or esphome nodemcu_main.yaml --host-port (...)
etc. etc., even though I was pretty sure that it didn’t matter. Just wanted to see if I could do anything to get this to work.
I ran sudo pip-review --auto
, which I have as an alias to upgrade pip; also tried sudo pip install esphome
to see whether there was an update. I did not forget pip3
(as stated in the docs) as I am using a distribution that defaults to pip3
; so just to be extra sure I tried pip3
instead of pip
, without any success…
How can I flash OTA without resorting to the .local
? I want my ESPHome
s spred around the house, so flashing via USB is not an option. Unfortunately I could not figure this out on my own.
Thank you for your ideas