README.md 8.3 KB
Newer Older
麦壳饼's avatar
麦壳饼 已提交
1
![IOTSharp LOGO](docs/images/350x100.png)  
麦壳饼's avatar
麦壳饼 已提交
2

麦壳饼's avatar
麦壳饼 已提交
3
[![Build status](https://ci.appveyor.com/api/projects/status/5o23f5vss89ct2lw/branch/master?svg=true)](https://ci.appveyor.com/project/MaiKeBing/iotsharp/branch/master)
麦壳饼's avatar
麦壳饼 已提交
4
![GitHub](https://img.shields.io/github/license/iotsharp/iotsharp.svg)
麦壳饼's avatar
麦壳饼 已提交
5
![.NET Core](https://github.com/IoTSharp/IoTSharp/workflows/.NET%20Core/badge.svg?branch=master)
麦壳饼's avatar
麦壳饼 已提交
6

麦壳饼's avatar
麦壳饼 已提交
7
IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management.
麦壳饼's avatar
麦壳饼 已提交
8

麦壳饼's avatar
麦壳饼 已提交
9 10 11 12
## Here is a blessing for all users of this project
 * May you do good and not evil.
 * May you find forgiveness for yourself and forgive others.
 * May you share freely, never taking more than you give.
13

麦壳饼's avatar
麦壳饼 已提交
14
## How to  install  IoTSharp using docker-compose  ?
15

16
 * [ZPT](Deployments/zeromq_taos) Using ZeroMQ as EventBus, PostgreSQL as message storage, telemetry data stored through TDengine  
17

18
 * [ZPS](Deployments/zeromq_sharding) The default deployment configuration, IoTSharp and PostgreSql, telemetry data is stored through a single table or shading. 
麦壳饼's avatar
麦壳饼 已提交
19

20
 * [RMI](Deployments/rabbit_mongo_influx) Using Rabbitmq as EventBus, mongodb as message storage, telemetry data stored through influx  
21

麦壳饼's avatar
麦壳饼 已提交
22
 more [Deployments](https://github.com/IoTSharp/IoTSharp/tree/master/Deployments)
23

24
## What databases are supported?
麦壳饼's avatar
麦壳饼 已提交
25

26 27 28 29 30
 *  [PostgreSql](IoTSharp/appsettings.PostgreSql.json) The test environment is  PostgreSQL 11.3,Support for  sharding.
 *  [MySql](IoTSharp/appsettings.MySql.json) The test environment is MySQL 8.0.17,Support for  sharding.
 *  [Oracle](IoTSharp/appsettings.Oracle.json)  The test environment is  Oracle Standard Edition 12c Release 2 on CentOS , Support for  sharding.  See also: https://github.com/MaksymBilenko/docker-oracle-12c
 *  [SQLServer](IoTSharp/appsettings.SQLServer.json)  Microsoft SQL Server 2016 (RTM-GDR) (KB4019088) - 13.0.1742.0 (X64)   ,Support for  sharding
 *  [Sqlite](IoTSharp/appsettings.Sqlite.json) Support for  sharding
麦壳饼's avatar
麦壳饼 已提交
31

麦壳饼's avatar
麦壳饼 已提交
32 33
##  IoTSharp online  
  https://cloud.iotsharp.net/
麦壳饼's avatar
麦壳饼 已提交
34

D
dd 已提交
35 36
## doc
  https://docs.iotsharp.net/
麦壳饼's avatar
麦壳饼 已提交
37 38

## How to install IoTSharp using docker ?
39

麦壳饼's avatar
麦壳饼 已提交
40
  -  docker pull iotsharp/iotsharp
41 42


麦壳饼's avatar
麦壳饼 已提交
43
## How to install  using Linux daemon ?
麦壳饼's avatar
麦壳饼 已提交
44

45 46 47 48 49 50 51
 -  mkdir  /var/lib/iotsharp/
 -	cp ./*  /var/lib/iotsharp/
 -	chmod 777 /var/lib/iotsharp/IoTSharp
 -	cp  iotsharp.service   /etc/systemd/system/iotsharp.service
 -	sudo systemctl enable  /etc/systemd/system/iotsharp.service 
 -	sudo systemctl start  iotsharp.service 
 -	sudo journalctl -fu  iotsharp.service 
52

麦壳饼's avatar
麦壳饼 已提交
53

麦壳饼's avatar
麦壳饼 已提交
54 55 56

##  IoTSharp.SDKs

麦壳饼's avatar
麦壳饼 已提交
57 58 59
- IoTSharp.Sdk.Http   [![IoTSharp.Sdk.Http](https://img.shields.io/nuget/v/IoTSharp.Sdk.Http.svg)](https://www.nuget.org/packages/IoTSharp.Sdk.Http/)
- IoTSharp.Sdk.MQTT   [![IoTSharp.Sdk.MQTT](https://img.shields.io/nuget/v/IoTSharp.Sdk.MQTT.svg)](https://www.nuget.org/packages/IoTSharp.Sdk.MQTT/)

麦壳饼's avatar
麦壳饼 已提交
60
 
麦壳饼's avatar
麦壳饼 已提交
61 62 63

## IoTSharp-C-Client-Sdk

麦壳饼's avatar
麦壳饼 已提交
64
IoTSharp-C-client-Sdk is mqttt client, write by   c;
麦壳饼's avatar
麦壳饼 已提交
65 66 67

 https://github.com/IoTSharp/IoTSharp-C-Client-Sdk

68 69 70 71 72 73 74 75 76 77 78 79 80
## paho.mqtt.c's demo 

It' like IoTSharp-C-Client-Sdk, but is use paho.mqtt.c
 https://github.com/IoTSharp/IoTSharp.Edge.paho.mqtt.c

## IoTSharp.Edge.nanoFramework

IoTSharp.Edge.nanoFramework is a nanoFramework's mqtt client , it run on STM32 !

  https://github.com/IoTSharp/IoTSharp.Edge.nanoFramework

more info read https://www.cnblogs.com/MysticBoy/p/13159648.html
or click  https://www.nanoframework.net/
麦壳饼's avatar
麦壳饼 已提交
81

麦壳饼's avatar
麦壳饼 已提交
82 83 84 85 86
##  IoTSharp.Edge.RT-Thread

IoTSharp.Edge.RT-Thread (STM32L4 + Wi-Fi, sensor, lcd, audio etc)

https://github.com/IoTSharp/IoTSharp.Edge.RT-Thread
麦壳饼's avatar
麦壳饼 已提交
87

麦壳饼's avatar
麦壳饼 已提交
88 89

 <img src="docs/images/20190615010003.jpg" alt="20190615010003.jpg" style="zoom: 70%;" /> 
麦壳饼's avatar
麦壳饼 已提交
90

91
 <img src="docs/images/InfluxDB2.PNG" alt="InfluxDB2.PNG" style="zoom: 59%;" />
麦壳饼's avatar
麦壳饼 已提交
92

93
 <img src="docs/images/20190615010115.jpg" alt="20190615010115.jpg" style="zoom: 96%;" />
麦壳饼's avatar
麦壳饼 已提交
94

95
IoTSharp's ecosystem
96

麦壳饼's avatar
麦壳饼 已提交
97 98 99
- MaiKeBing.CAP.ZeroMQ [![MaiKeBing.CAP.ZeroMQ](https://img.shields.io/nuget/v/MaiKeBing.CAP.ZeroMQ.svg)](https://www.nuget.org/packages/MaiKeBing.CAP.ZeroMQ/)
- MaiKeBing.CAP.LiteDB  [![MaiKeBing.CAP.LiteDB](https://img.shields.io/nuget/v/MaiKeBing.CAP.LiteDB.svg)](https://www.nuget.org/packages/MaiKeBing.CAP.LiteDB/)
- MaiKeBing.HostedService.ZeroMQ  [![MaiKeBing.HostedService.ZeroMQ](https://img.shields.io/nuget/v/MaiKeBing.HostedService.ZeroMQ.svg)](https://www.nuget.org/packages/MaiKeBing.HostedService.ZeroMQ/)
麦壳饼's avatar
麦壳饼 已提交
100 101 102
- IoTSharp.X509Extensions  [![IoTSharp.X509Extensions](https://img.shields.io/nuget/v/IoTSharp.X509Extensions.svg)](https://www.nuget.org/packages/IoTSharp.X509Extensions/)
- MQTTnet.AspNetCoreEx  [![MQTTnet.AspNetCoreEx](https://img.shields.io/nuget/v/MQTTnet.AspNetCoreEx.svg)](https://www.nuget.org/packages/MQTTnet.AspNetCoreEx/)
- Silkier    [![Silkier](https://img.shields.io/nuget/v/Silkier.svg)](https://www.nuget.org/packages/Silkier/) 
麦壳饼's avatar
麦壳饼 已提交
103
- Silkier.EFCore   [![Silkier.EFCore](https://img.shields.io/nuget/v/Silkier.EFCore.svg)](https://www.nuget.org/packages/Silkier.EFCore/)
麦壳饼's avatar
麦壳饼 已提交
104 105
- Silkier.AspNetCore  [![Silkier.AspNetCore](https://img.shields.io/nuget/v/Silkier.AspNetCore.svg)](https://www.nuget.org/packages/Silkier.AspNetCore/)
- SilkierQuartz   [![SilkierQuartz](https://img.shields.io/nuget/v/SilkierQuartz.svg)](https://www.nuget.org/packages/SilkierQuartz/)
106
- IoTSharp.EntityFrameworkCore.Taos   [![IoTSharp.EntityFrameworkCore.Taos](https://img.shields.io/nuget/v/IoTSharp.EntityFrameworkCore.Taos.svg)](https://www.nuget.org/packages/IoTSharp.EntityFrameworkCore.Taos/)
麦壳饼's avatar
麦壳饼 已提交
107 108
- IoTSharp.Sdk.Http   [![IoTSharp.Sdk.Http](https://img.shields.io/nuget/v/IoTSharp.Sdk.Http.svg)](https://www.nuget.org/packages/IoTSharp.Sdk.Http/)
- IoTSharp.Sdk.MQTT   [![IoTSharp.Sdk.MQTT](https://img.shields.io/nuget/v/IoTSharp.Sdk.MQTT.svg)](https://www.nuget.org/packages/IoTSharp.Sdk.MQTT/)
109

110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140


## Contributing

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/IoTSharp/IoTSharp/pulls)

If you would like to contribute, feel free to create a [Pull Request](https://github.com/IoTSharp/IoTSharp/pulls), or give us [Bug Report](https://github.com/IoTSharp/IoTSharp/issues/new).

### Contributors

This project exists thanks to all the people who contribute.

<a href="https://github.com/IoTSharp/IoTSharp/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=IoTSharp/IoTSharp" />
</a>

## Donation

This project is an  Apache 2.0 licensed open source project. In order to achieve better and sustainable development of the project, we expect to gain more backers. We will use the proceeds for community operations and promotion. You can support us in any of the following ways:

- [OpenCollective](https://opencollective.com/IoTSharp)

We will put the detailed donation records on the below!



|                                                        | Name                                  | Stars | Donations | Message |
| ------------------------------------------------------------ | ------------------ | -------- | -------- | -------- |
| [![@iioter](https://avatars.githubusercontent.com/u/29589505?s=80&v=4)](https://github.com/iioter) | whd | ![GitHub User's stars](https://img.shields.io/github/stars/iioter?affiliations=OWNER%2CCOLLABORATOR%2CORGANIZATION_MEMBER&style=for-the-badge) | ¥512 =120+100+292(码云共计三次) |  |
| [![@nnhy](https://avatars.githubusercontent.com/u/506367?s=80&v=4)](https://github.com/nnhy) | 大石头 | ![GitHub User's stars](https://img.shields.io/github/stars/nnhy?affiliations=OWNER%2CCOLLABORATOR%2CORGANIZATION_MEMBER&style=for-the-badge) |     ¥672=666+5(码云+公众号)     |            |
|  | 无敌飞行家 | ![GitHub User's stars](https://img.shields.io/github/stars/hehaoyu_2014?affiliations=OWNER%2CCOLLABORATOR%2CORGANIZATION_MEMBER&style=for-the-badge) | ¥5=5(公众号) |  |
麦壳饼's avatar
麦壳饼 已提交
141
|  | 匿名公司 |  | ¥1000=1000(微信转账) |  |
142 143 144 145 146 147 148 149



## Community Support

If you encounter any problems in the process, feel free to ask for help via following channels. We also encourage experienced users to help newcomers.

- [![Discord Server](https://img.shields.io/discord/895689311612178442?color=%237289DA&label=IoTSharp&logo=discord&logoColor=white&style=flat-square)](https://discord.gg/My6PaTmUvu)
150

麦壳饼's avatar
麦壳饼 已提交
151
| 公众号 |    [QQ群63631741](https://jq.qq.com/?_wv=1027&k=HJ7h3gbO)  |
152 153 154
| ------ | ---- |
| ![](docs/images/qrcode.jpg) | ![](docs/images/IoTSharpQQGruop.png) |

麦壳饼's avatar
麦壳饼 已提交
155

百小僧 已提交
156

麦壳饼's avatar
麦壳饼 已提交
157 158


159 160 161
## dotNET China

[![DotNetChina](https://images.gitee.com/uploads/images/2021/0309/134044_9c191d7b_974299.png)](https://gitee.com/dotnetchina/IoTSharp)
麦壳饼's avatar
麦壳饼 已提交
162