NSPanel_HA_Blueprint
NSPanel_HA_Blueprint copied to clipboard
Add wifi ip address
Hi there. I am not able to communicate to the standard device_name.local logic in my setup, I have to give esphome the IP address that the device actually has. That is what the parameter use_address is for ( https://esphome.io/components/wifi.html#configuration-variables )
I have added that parameter and a default to your solution.
I have added a default to avoid warnings during compilation if none is defined. -> but I am unsure if that is the correct default. I tried nothing ( "" ), I tried "auto".. all those a problematic, so I think this device_name.local works.
Eventually, now it is possible to use this parameter like this in the yaml:
substitutions:
###### CHANGE ME START ######
device_name: "egnspanel"
wifi_ssid: "IoT_wifi"
wifi_password: "pizugipüghhüu"
wifi_ipaddress: 172.16.21.29
nextion_update_url: "http://10.0.1.2:8123/local/nspanel_eu.tft" # URL to local tft File
# nextion_update_url: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/nspanel.tft" # URL to Github
##### CHANGE ME END #####
greetings, PhiL