https://github.com/seeed-solution/rooftop_garden
https://github.com/seeed-solution/rooftop_garden
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/seeed-solution/rooftop_garden
- Owner: Seeed-Solution
- Created: 2022-10-14T02:04:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-14T02:21:06.000Z (over 3 years ago)
- Last Synced: 2025-01-24T11:44:48.260Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://rooftop-garden.seeedstudio.com/
- Size: 351 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rooftop_Garde
Turn Rooftop Garden into a digital twin with the smart device in your pocket.
## Add .env file
```
V__ACCESS_API_ID=API_ID
V__ACCESS_API_KEY=Access_API_keys
V__GROUP_UUID=Deivice Group Id
V__BASE_URL="https://sensecap.seeed.cc/openapi"
V__MP_MODEL_KEY= Your_Matterport_Project_ID
V__MP_SDK_KEY=YOUR_SDK_KEY_HERE
```
## Config `matterport/config.js`
```javascript
export const GROUP_UUID = "YOUR_DEVICE_GROUP_UUID";
// TagID & DeviceID Mapping
export const SID_EUI_MAPPING = {
"MATTERPORT_TAG_ID": "YOUR_DEVICE_ID",
};
export const DEVICE_UPDATE_GAP = 1000 * 10;
```
## Run project with Vite server
``` npm run dev```
- Matterport SDK
https://matterport.github.io/showcase-sdk/docs/reference/current/index.html
- SDK for Embeds
https://matterport.github.io/showcase-sdk/sdk_home.html