I'm thinking of adding a opts.bypassCloud configuration parameter. When set, it will use the opts.host and opts.port parameters instead of retrieve it from the cloud endpoint. I'll write the PR, but I wanted to talk about it first.
The goal is to allow for devices that have a predictable enough IP address on the local network (due to MAC address reuse at the router) to not need the internet to get the local address. I'm thinking of this as a way to solve unreliable internet connections at conferences.
The opts.bypassCloud option isn't specifically necessary. The presence of opts.host and opts.port should be enough. I can see pros and cons to having the opts.bypassCloud option.
In addition, I'll probaby add an event to the IO class that tells us the host/port when it DOES get it from the cloud so that the user store it.
Thoughts?
I'm thinking of adding a
opts.bypassCloudconfiguration parameter. When set, it will use theopts.hostandopts.portparameters instead of retrieve it from the cloud endpoint. I'll write the PR, but I wanted to talk about it first.The goal is to allow for devices that have a predictable enough IP address on the local network (due to MAC address reuse at the router) to not need the internet to get the local address. I'm thinking of this as a way to solve unreliable internet connections at conferences.
The
opts.bypassCloudoption isn't specifically necessary. The presence ofopts.hostandopts.portshould be enough. I can see pros and cons to having theopts.bypassCloudoption.In addition, I'll probaby add an event to the IO class that tells us the host/port when it DOES get it from the cloud so that the user store it.
Thoughts?