https://github.com/mrquincle/crownstone-web-bluetooth
Control Crownstones through Web Bluetooth
https://github.com/mrquincle/crownstone-web-bluetooth
Last synced: 7 months ago
JSON representation
Control Crownstones through Web Bluetooth
- Host: GitHub
- URL: https://github.com/mrquincle/crownstone-web-bluetooth
- Owner: mrquincle
- Created: 2020-12-02T11:49:02.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-02T12:09:25.000Z (almost 5 years ago)
- Last Synced: 2025-01-22T09:42:53.436Z (9 months ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Control Crownstones over Web Bluetooth
Two folders:
1. api, a server
2. clientActually, the server is only used for providing a private key to the front-end. It is to show that everything can
run locally. Alternatively, the client code could obtain this from .# Prerequisites
Install the node modules through `npm` in each subdirectory.
## Run server
The server requires a local key. Currently it expects an environmental variable set before. The local key can be obtained through the cloud server for your sphere.
```
export CROWNSTONE_GUEST_KEY=XXXX
npm start
```## Run client
Then run the client just with:
```
npm start
```The state of this software is **proof of concept**. Do not use in production code.