Private Add-on, Auto Install, Remote Update on R Pi

Hello All,

I am working on creating custom solution using Mozilla Web Things.

Here are the Futures I am trying to add using Private Add-on.

  • It reads data from sensors and send it to Custom Cloud AWS /Azure /IBM
  • Auto Update the Add-on to bug fixes or new features, May be via File api?
  • Custom Registration server to access gateway via internet.

I have few questions about doing this functionality.

  1. Can I create custom image to with custom domain along with private add-on? if yes, How?
  2. How it will affect private add-on in case of Mozilla Web Thing update?
  3. How can I remotely update the private add-on?

Thanks,
James

Hi James,

Thank you, Michael, for great insight and how to extends the functionality of Mozilla WebThings.

I have another question about what add-on can do.

  • Is it possible to create a Rest API via an add-on to get Health or Diagnosis data by reading text/log files and send it as JSON? I would like to pull this data remotely using Curl or Python/Java.

  • Also need to create an API to set API keys for AWS/Azure/Google IOT via curl or another application.

Can this functionality possible, can we create API which can be accessed via Registration server?

Thanks again for the previous answer.

Thanks,
James

The registration server is not intended for such things. Its entire purpose is to provide tunneling to your gateway.

If you want to run a server, that’s possible (see this add-on), but it’s not really advisable. While you’ll be able to access your API locally, we currently have no way to proxy that through the tunnel.

You’ll probably want to wait until we add support for extension and service add-ons (hopefully in the next couple months). Those add-on types should allow you to easily do what you’re asking.