Comments (7)
Sum up
Device Model:
Device id with uuid generate default by firestore.
Access key generate by package https://www.npmjs.com/package/shortid.
from gateway.
Sum up
Device Model:
Device id with uuid generate default by firestore.
Access key generate by package https://www.npmjs.com/package/shortid.
Okiee @Kaigagi you take note and add those library in package log and make those to our backend dependency.
from gateway.
Mobile app able to find the self-host backend. (Links, QR)
from gateway.
Mobile app able to find the self-host backend. (Links, QR)
Nice with those diagram we could solve those (correct me if i wrong)
Requirements
- Mobile app able to find the self-host backend. (Links, QR)
- Backend are able to located the Mobile app wanted to connect to it.
- Backend provide device access key (device-id) for mobile app.
- (One device-id per mobile app)
- Open-source(web, backend) in the picture down bellow are able to be provision in their gcp account. via terraform
from gateway.
@DangCao1999 @Zeroska @Kaigagi
Checkout this solution we're having guys, we are solving 2 dot on top, and these dot bellow still not clear
- Backend provide device access key (device-id) for mobile app.
- (One device-id per mobile app)
I have a write down in #12, in there it has a section say "How device claim work" I think it could be resolve those dot.
from gateway.
I suggest using a node package called keygenerator ( here is the reference: https://www.npmjs.com/package/keygenerator ) to generate a key. Then we can check whether or not it is unique later by using some comparison.
Or we just use numbers to organize it ? - It easier to compare.
from gateway.
I suggest using a node package called keygenerator ( here is the reference: https://www.npmjs.com/package/keygenerator ) to generate a key. Then we can check whether or not it is unique later by using some comparison.
Or we just use numbers to organize it ? - It easier to compare.
"some comparison" you mean like we has to query the db for it right. Yes we could use that package for generate key and do comparison. Recommend this lib over your https://www.npmjs.com/package/shortid. Or we could use auto-generated id by database
from gateway.
Related Issues (20)
- Device are able to"POST" their sensor data
- [Backend] Organization able to view device data log + device detail.
- Organization able to view statistic over device data log
- [Docs] Organization able to monitor device status (online ,offline) HOT 1
- Endpoint for create device, response with the device-id, device-access-key and blank information
- [Backend] Research MQTT does the protocol could implement feature the device to connection status. (online, or offline) HOT 1
- [DOCS] [Backend] User able to create their organization
- [App] Mobile BLE (Scanning, Connect), REST API TO HOT 2
- [App] Device identity configure, and re-configure when startup
- [Backend] Implement tion MQTT device connection into Firesotre #19 , #17 HOT 1
- [Docs] Web dashboard application user-interface
- [Web] Create Organization Page HOT 1
- [Web] Device Management Page HOT 1
- [Web] User sign in, register & angular project structure
- [App] Common Tensorflow services
- [App] W4 UI defect
- [Backend] Defect ORGANIZATION GET API
- [App] Get ORG preview detail before confirmation.
- [App] Gateway check BLE integration
- [App] Motion not present in area toggle turn off running services.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gateway.