Skip to content

Commit

Permalink
Rename to webthing-arduino
Browse files Browse the repository at this point in the history
  • Loading branch information
hobinjk committed Jun 20, 2018
1 parent 5306ab1 commit 2192069
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions README.md
@@ -1,12 +1,12 @@
webthing
========
webthing-arduino
================

A simple server for the ESP8266, the ESP32, or any WiFi101-compatible board
that implements Mozilla's proposed Web of Things API. The [LED
example](https://github.com/mozilla-iot/webthing-esp8266/blob/master/examples/LED)
example](https://github.com/mozilla-iot/webthing-arduino/blob/master/examples/LED)
exposes an onOffSwitch named "Built-in LED" which controls the board's built-in
LED. The [LED Lamp
example](https://github.com/mozilla-iot/webthing-esp8266/blob/master/examples/LEDLamp)
example](https://github.com/mozilla-iot/webthing-arduino/blob/master/examples/LEDLamp)
ups the ante by introducing a `level` property to expose a dimmableLight.

## Arduino
Expand All @@ -28,11 +28,11 @@ Install the WiFi101 library from the Arduino library manager.
Make sure to install the ArduinoJson library if you don't have it
installed already.

![ArduinoJson install process](https://github.com/mozilla-iot/webthing-esp8266/raw/master/docs/arduinojson.png)
![ArduinoJson install process](https://github.com/mozilla-iot/webthing-arduino/raw/master/docs/arduinojson.png)

Next, download this library from the same library manager by searching for `webthing`.

![add zip library and LED example](https://github.com/mozilla-iot/webthing-esp8266/raw/master/docs/add-library-open-example.png)
![add zip library and LED example](https://github.com/mozilla-iot/webthing-arduino/raw/master/docs/add-library-open-example.png)

You should be able to upload the example sketch onto your board and use it as a
simple Web Thing. This Web Thing can be talked to using the WoT API or added to
Expand All @@ -46,7 +46,7 @@ your board using our proposed API.

## PlatformIO

Add the `webthing-esp8266` library through PlatformIO's package management
Add the `webthing-arduino` library through PlatformIO's package management
interface. You may also need to manually add the ArduinoJson and other
libraries to your project.

Expand Down
2 changes: 1 addition & 1 deletion examples/PlatformIO/BME280/platformio.ini
Expand Up @@ -18,7 +18,7 @@ env_default = samw25
; https://platformio.org/lib/show/299/WiFi101
; https://platformio.org/lib/show/2848/ArduinoMDNS
lib_deps =
https://github.com/mozilla-iot/webthing-esp8266.git
https://github.com/mozilla-iot/webthing-arduino.git
ArduinoJson
WiFi101
ArduinoMDNS
Expand Down
2 changes: 1 addition & 1 deletion examples/PlatformIO/LED/platformio.ini
Expand Up @@ -16,7 +16,7 @@

[global]
lib_deps =
https://github.com/mozilla-iot/webthing-esp8266.git
https://github.com/mozilla-iot/webthing-arduino.git
ArduinoJson

[env:nodemcuv2]
Expand Down
2 changes: 1 addition & 1 deletion examples/PlatformIO/TextDisplay/platformio.ini
Expand Up @@ -16,7 +16,7 @@

[global]
lib_deps =
https://github.com/mozilla-iot/webthing-esp8266.git
https://github.com/mozilla-iot/webthing-arduino.git
ArduinoJson
Adafruit GFX Library
Adafruit SSD1306
Expand Down
10 changes: 5 additions & 5 deletions library.properties
@@ -1,8 +1,8 @@
name=webthing-esp8266
version=0.2.0
name=webthing-arduino
version=0.3.0
author=Mozilla IoT <iot@mozilla.com>
maintainer=James Hobin <hobinjk@gmail.com>
sentence=A library for creating ESP8266-based Web Things using the Web of Things API
paragraph=Compatible with the Mozilla IoT Gateway
sentence=A library for creating Web Things using the Web of Things API
paragraph=Runs on ESP8266, ESP32, and WiFi101 boards. Compatible with the Mozilla IoT Gateway.
category=Communication
url=https://github.com/mozilla-iot/webthing-esp8266
url=https://github.com/mozilla-iot/webthing-arduino

0 comments on commit 2192069

Please sign in to comment.