Skip to content

Commit

Permalink
docs: Update repo
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Coval <[email protected]>
  • Loading branch information
rzr committed May 8, 2020
1 parent 8e2802b commit 54f4103
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ https://mastodon.social/@rzr/104052909544715058#LavalVirtual2020

## USAGE ##

From add-on menu:
From "Settings" add-on menu:

- Add and enable add-on
- Wait the time that dependencies are downloaded and setup
(ssh to look for "python3 -m pip install")
- Add "and enable add-on
- Then add "SenseHat" from the things dashboard.

## DEVELOP ##
Expand All @@ -43,13 +41,16 @@ sudo apt-get remove -y \
libblas3 libgfortran5 libimagequant0 liblapack3 liblcms2-2 librtimulib-utils \
librtimulib7 libwebpdemux2 \
python3-numpy python3-olefile python3-pil python3-rtimulib python3-sense-hat
git clone https://github.com/rzr/sense-hat-webthing sense-hat-adapter
cd sense-hat-adapter
./setup.sh
git clone --depth 1 https://github.com/rzr/sense-hat-webthing sense-hat-adapter
python3 main.py
sudo systemctl restart mozilla-iot-gateway
sudo journalctl -f -xu mozilla-iot-gateway.service
# From UI / Enable Addon
```

From "/things" webpage "SenseHat" can be added (+, Add, Done)

Note that instead of restarting gateway,
from Web UI, any addon can disabled and enabled again.

Expand All @@ -76,7 +77,9 @@ Thanks to Geof Cohler (@gcohler) for support.
## RESOURCES ##

- <https://mastodon.social/@rzr/104052909544715058#LavalVirtual2020>
- <https://github.com/mozilla-iot/addon-list/pull/822>
- <https://discourse.mozilla.org/t/is-there-an-add-on-for-pi-sense-hat/58024/5>
- <https://www.openhub.net/p/sense-hat-webthing>
- <https://github.com/rzr/mozilla-iot-generic-sensors-adapter/issues/13>
- <https://github.com/mozilla-iot/wiki/wiki#general-1>
- <https://github.com/mozilla-iot/gateway-addon-python>
Expand All @@ -87,5 +90,7 @@ Thanks to Geof Cohler (@gcohler) for support.
- <https://github.com/astro-pi/python-sense-hat>
- <https://pythonhosted.org/sense-hat/api/>
- <https://projects.raspberrypi.org/en/projects/getting-started-with-the-sense-hat>
- <https://iot.mozilla.org/schemas/>
- <https://github.com/mozilla-iot/webthing-python/>
- <https://github.com/mozilla-iot/tplink-adapter>
- <https://github.com/mozilla-iot/eufy-adapter>

0 comments on commit 54f4103

Please sign in to comment.