is it possible to use a homey variable in a device setting? what is the syntax?
e.g. i have some devices that have an IP address as input, however (once in a while) those IP addresses changes, so i have. a small homeyscript that gets the IP address that corresponds to a certain MAC address and store this in a (text) variable.
Are those local IP addresses (on your local network)? If so, an alternative option is to set a reserved IP in your DHCP server on your router, so that it never changes.
I don’t think you can tie device settings to a variable.
Not aware of any way to use logic variables or HomeyScript to change a device’s settings. The sandbox approach of Homey prevents things like this, in my opinion for good reason (security).
First thing I do is use my own router/modem then you can easily switch isp without having to rebuild your network and you have full control over your network