# t6 - Connect real world Object & Devices to Digital Api
_t6_ is a "Data-first" IoT platform to connect physical Objects with time-series DB and perform Data Analysis.
Please referes to [CONTRIBUTING.md](https://github.com/mathcoll/t6/blob/master/CONTRIBUTING.md) in case you would like to help :-)





[](https://app.netlify.com/sites/t6iot/deploys)
[](https://www.codacy.com/gh/mathcoll/t6/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mathcoll/t6&utm_campaign=Badge_Grade)
[](https://bestpractices.coreinfrastructure.org/projects/5210)
[](https://github.com/phodal/awesome-iot)
[](https://github.com/HQarroum/awesome-iot)
[](https://github.com/topics/nodejs)
[](https://github.com/topics/things)
[](https://github.com/topics/api)
[](https://github.com/topics/flow)
[](https://github.com/topics/home%20automation)
[](https://github.com/topics/mqtt)
[](https://github.com/topics/iot)
[](https://github.com/topics/esp8266)
[](https://github.com/topics/middleware)
[](https://github.com/topics/sensor)
[](https://github.com/topics/internet%20of%20things)
[](https://github.com/topics/iot%20platform)
[](https://github.com/topics/sensors)
[](https://github.com/topics/iot%20framework)
[](https://github.com/topics/timeseries)
---
## IoT and Physical World
Physical World are composed by your sensors and actuators, real physical Objects/Devices.
In _t6_, physical Objects needs* a virtual _[Object](https://github.com/mathcoll/t6/wiki/Object)_ as a reference in _t6_ and then, they are able to add _Data_ to _[Flows](https://github.com/mathcoll/t6/wiki/Flow)_.
_*_ : remain optional
Sample nodeMCU and Arduino scripts are available in the [sensors repository](https://github.com/mathcoll/t6/tree/master/sensors) and on [t6iot Arduino library](https://github.com/mathcoll/t6iot).
## t6 API first: Live, eat, and breathe the API-first lifestyle of t6
Detailed [Api documentation](https://doc.internetcollaboratif.info) will help you to connect your sensors to _t6_.
Installing _t6_ on your own server is easy, follow the [installation guide](https://github.com/mathcoll/t6/wiki/Installing-t6) on Wiki page.
More detailed explanation on [](https://www.internetcollaboratif.info/features/) is also available.
## t6 schematic
```mermaid
sequenceDiagram;
Object->>t6 Sockets: basic auth
t6 Sockets-->>Object: welcome message
t6 Sockets-->>Object: claim request
Object->>t6 Sockets: claim Object
t6 Sockets-->>Object: claimed
loop As many as wished
Object->>t6 Sockets: channel subscribe
Object->>t6 Sockets: channel unsubscribe
t6 Sockets-->>Object: channels
end
User->>+Object: Http GET /index
Object-->>+User: html Ui and assets
User->>t6 Sockets: Http /unsubscribe
t6 Sockets-->>User: channels
loop Custom frequency
t6 Sockets->>Object: measureRequest
Object-->>t6 Rest Api: Http POST /api/v2.0.1/data
Object-->>t6 Sockets: remindMeToMeasure
end
```
## t6 Android Application
_t6_ is available on the [Android Google Play Store](https://play.google.com/store/apps/details?id=info.internetcollaboratif.api) for free.
This Application is using exactly the same code and Api from this repository.
Some additional [Application screenshots](https://github.com/mathcoll/t6/wiki/Application-Screenshots).
## Helping and contributing to t6
Please refers to [CONTRIBUTING.md](https://github.com/mathcoll/t6/blob/master/CONTRIBUTING.md) in case you would like to help & contribute :-)