Contact Electron from the internet

So I know we can use the electron to send data to the cloud.

Can I contact the electron from the internet and use the connection to:

  1. Request Data or run a function on the device to get data.
  2. Control the device or a device behind it that the electron is connected to.

The docs is a good place to start:


Thanks for the links to the right spots in the docs Ken.