Skip to content

Adding a "bypassCloud" parameter? #67

@BrianGenisio

Description

@BrianGenisio

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions