Closed wsw70 closed 1 year ago
--gateway
is the IP address of the device at any point in time.
During pairing the IP will be typically 10.10.10.1 and does correspond to the gateway IP that you see when connecting to the WIFI access point the device broadcasts. Later the IP corresponds to the IP the device is given by your network, and in theory the tool could be used to change the MQTT data of an already configured device.
I do understand your confusion, perhaps better documentation is required.
I have updated referenced to --gateway
with --ip
in the rewrite i'm doing
https://github.com/bytespider/Meross/blob/be2a70ba759278e4956478b95419df3de219c625/bin/meross-setup.js#L40-L44
the -a
(for address) may not be a short hand for --ip
. I'm undecided at the moment.
From the README:
I recently paired a device and was confused by
--gateway
(it's been a long time since I paired something). The README mentions that this parameter is its IP address.Which IP address, exactly?