Uploading software to your new creation

Once you created the Candle controller, you will now have access to the Candle manager. It allows you to easily upload software to the new Candle devices you may put together.

1. Open the Candle Manager

Visit the WebThings Gateway in your usual way by entering gateway.local in your browser, find the Candle Manager thing, and click on its link icon.

‌ 

Pic
(Set the encryption password)
If you haven't already

You will only need to do this once, and then all the devices you create will use it. You can find this in the WebThings gateway under 'Settings' -> Add-ons -> candle Manager -> Settings. Don't forget to click 'save'.

Pic
1. Open the Candle Manager
Grab your laptop or tablet!

Visit the WebThings Gateway in your usual way (e.g. visit gateway.local in your browser), find the Candle Manager thing, and click on its link icon.

Or click here to jump there now.

Pic
2. Plug in your creation
Which device are you working on?

Plug in your device when requested. You will then be asked which type of device you just plugged in. Click on the desired type.

Pic
3. Personalise settings
Some devices have options

Read the description, and change the settings to your liking. Once done, click "next". This will create the actual programming code, which will include your preferences. It will also automatically include your encryption password.

Pic
4. Wait patiently
This can take a minute or two.

The code is now being uploaded to your new creation. Once the upload is complete, you will automatically be taken to the next step.

Pic
5. Check the output of your new device
If all goes well you should see "hello", followed by more details.

O‌nce the upload is complete you will be given a glimpse into what the device is thinking and doing. It will take a few seconds for messages to appear. If if finds an issue it will tell you about it.

Click next if it looks like the device is working ok.

Pic
6. Done
C‌ongratulations? 

If you encountered an issue you can try to fix it and restart the process.

Done!

You can now go back to the Mozilla Gateway, open the 'things' overview page, and add the device there.