Add-On folder location

Hi

I’ve planned to follow this article ( https://hacks.mozilla.org/2018/02/creating-an-add-on-for-the-project-things-gateway/ ) to write a simple adapter.

Instruction says:
You can download, copy and paste, or git clone one of them into:
/home/pi/mozilla-iot/gateway/build/addons/

My problem is that I cant find that directory.

you need to configure your gateway 1st and then log into it,
this folder should be there
~/.mozilla-iot/addons/thing-url-adapter/

make sure to have the . in prefix (it hides folders)

Then blog post should be fixed:
https://hacks.mozilla.org/2018/02/creating-an-add-on-for-the-project-things-gateway/

cc: @hobinjk @mrstegeman @benfrancis

Have this folder moved ??

A couple versions ago (0.4 IIRC) it moved to ~/.mozilla-iot/addons which on the Raspberry Pi is /home/pi/.mozilla-iot/addons (note the leading dot on .mozilla-iot)

ahhh… sorry my mistake… works fine.

1 Like