@Dave’s code just expanded on what I wrote to hook up a variable so you can read the IP address of your core from another computer on the internet. This is a good thing.
I had experimented with this earlier and discovered that the cloud API requires HTTPS and so one core cannot (easily) use the API to discover another core. So if you are building say a multisensor network and want the cores to talk to each other, you would need to either (1) use another protocol such as the way cores announce themselves over UDP multicast on powerup or (2) use a full host on your network to act as the “master” to communicate addresses between the cores so they can start talking to each other.
@Dave, maybe that is a longer term feature request: provide a way for a core to query another core variable through the cloud, using the firmware crypto to avoid HTTPS. What do you think?
[EDIT] I see this is very similar to the posting here, so perhaps that is a better way.