Hi all,
I’ve put together a simple heat sensor with ESPhome but I need to set it up for two different networks (mine and my parents) setting the SSID and password is no problem but how do I get the multiple static IP to work?
if I go through the documentation I see it is possible
" manual_ip (Optional ): Manually configure the static IP of the node when using this network. Note that when using different static IP addresses on each network, it is required to set use_address
, as ESPHome cannot infer to which network the node is connected." (taken from the documentation).
I’m having trouble understanding how to use it though…
I’ve tried
manual_ip:
use_address:
- static_ip: 192.168.1.49
gateway: 192.168.1.1
subnet: 255.255.255.0
dns1: 192.168.1.1
dns2: 192.168.1.1
- static_ip: 192.168.0.49
gateway: 192.168.0.1
subnet: 255.255.255.0
dns1: 192.168.0.1
dns2: 192.168.0.1
and
use_address:
- static_ip: 192.168.1.49
gateway: 192.168.1.1
subnet: 255.255.255.0
dns1: 192.168.1.1
dns2: 192.168.1.1
- static_ip: 192.168.0.49
gateway: 192.168.0.1
subnet: 255.255.255.0
dns1: 192.168.0.1
dns2: 192.168.0.1
with no joy, can anyone help me please?
Thank you in advance
Robin