# Webthings which OS is used?

**URL:** <https://discourse.mozilla.org/t/webthings-which-os-is-used/43894>\
**Category:** WebThings\
**Tags:** learning\
**Created:** [August 14, 2019, 5:15pm UTC](https://discourse.mozilla.org/t/webthings-which-os-is-used/43894 "2019-08-14T17:15:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dr-No](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/dr-no/32/29051_2.png) [@Dr-No](https://discourse.mozilla.org/u/Dr-No)\
**Post date:** [August 14, 2019, 5:15pm UTC](https://discourse.mozilla.org/t/webthings-which-os-is-used/43894/1 "2019-08-14T17:15:27Z")

</div>

Hi all,  
I am completely new here. I do not use Webthings yet. Currently I use Domoticz with raspbian for domotic purposes and for my wired alarm which is interfaced to Domoticz by python scripts.

I am very interested in Webthings and I have several questions about this solution:

- I suppose than the download include the OS ?
- Which OS is it ?
- Is there an installable version from raspbian ?
- Is it possible to exchange informations with Python ?
- json ?

Thank you for your lights

---

<div class="post-metadata">

**Author:** ![mstegeman](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mstegeman](https://discourse.mozilla.org/u/mstegeman)\
**Post date:** [August 14, 2019, 7:14pm UTC](https://discourse.mozilla.org/t/webthings-which-os-is-used/43894/2 "2019-08-14T19:14:18Z")

</div>

Our primary download is a full Raspbian image with our software installed. It’s based on Raspbian Lite.

We do not provide a standalone package. However, we do provide the following:

- [Docker image](https://hub.docker.com/r/mozillaiot/gateway), if you want something pre-packaged
- [Build instructions](https://hub.docker.com/r/mozillaiot/gateway), if you want to build the gateway yourself

As for interfacing with the gateway, it really depends on what you want to do.

- If you want to build an add-on which can talk to hardware, you can do so. We currently have add-ons written in Javascript (Node.js) and Python, but you could theoretically build one in any language.
- If you want to create standalone devices which the gateway can interact with, you can use the [Things Framework](https://iot.mozilla.org/framework/).
- If you just want to interact with the gateway to do other things, you can use the [REST API](https://iot.mozilla.org/wot/).

---

<div class="post-metadata">

**Author:** ![Dr-No](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/dr-no/32/29051_2.png) [@Dr-No](https://discourse.mozilla.org/u/Dr-No)\
**Post date:** [August 15, 2019, 8:24am UTC](https://discourse.mozilla.org/t/webthings-which-os-is-used/43894/3 "2019-08-15T08:24:58Z")

</div>

@ mstegeman  
Thank you for your quick reply. I thought the OS should be Raspbian lite but I wanted to be sure.

Currently my needs are:

- Switches in Webthings able to launch Python scripts
- Changing Webthings switches state by Python scripts
- Transmit and read sensor informations of Webthings devices
- Manage GPIOs

I think I can do all with Webthings. I am going to test this in the next days. I will definitely need your help so, see you soon on the forum
