Skip to content

Commit 28f3c42

Browse files
author
linomp
committed
update webthings readme
1 parent ad02d4f commit 28f3c42

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

img/detected.PNG

17 KB
Loading

img/empty.PNG

13.4 KB
Loading

img/logs_tab.PNG

34.6 KB
Loading

webthings_version/README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ This version of the arduino code exposes the functionality as a "Web Thing" usin
44

55
## How to test:
66

7-
See: [Docker image instructions](https://hub.docker.com/r/webthingsio/gateway)
7+
1. Install the open-source WebThings [Gateway Software](https://webthings.io/gateway/) on a Raspberry Pi (also available for Docker & Linux Desktop)
88

9-
```
10-
docker run -d -p 8080:8080 -p 4443:4443 -e TZ=America/Los_Angeles -v /path/to/shared/data:/home/node/.webthings --log-opt max-size=1m --log-opt max-file=10 --name webthings-gateway webthingsio/gateway:latest
11-
```
9+
2. Flash and run the arduino code, then wait for the Gateway to detect it or manually type the device url that is shown in the Arduino IDE Serial Monitor
10+
11+
![](../img/empty.PNG)
12+
![](../img/detected.PNG)
13+
14+
3. Open the Logs section of the Webthings dashboard and add plots for the property values that you want to inspect (e.g. 'stationary', 'walking', etc.). Change the view to 'Minutes' for near real-time visualization.
15+
16+
![](../img/logs_tab.PNG)

0 commit comments

Comments
 (0)