README.md 8.4 KB
Newer Older
麦壳饼's avatar
麦壳饼 已提交
1
![IOTSharp LOGO](docs/static/img/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

32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
## What EventBus Message Queue  are supported?

 *  RabbitMQ
 *  Kafka 
 *	InMemory 
 *	ZeroMQ 
 *	NATS 
 *	Pulsar 
 *	RedisStreams 
 *	AmazonSQS 
 *	AzureServiceBus 

## What EventBus Store are supported?
* PostgreSql,
* MongoDB,
* InMemory,
* LiteDB,
* MySql,
* SqlServer


麦壳饼's avatar
麦壳饼 已提交
53 54
##  IoTSharp online  
  https://cloud.iotsharp.net/
麦壳饼's avatar
麦壳饼 已提交
55

D
dd 已提交
56 57
## doc
  https://docs.iotsharp.net/
麦壳饼's avatar
麦壳饼 已提交
58 59

## How to install IoTSharp using docker ?
60

麦壳饼's avatar
麦壳饼 已提交
61
  -  docker pull iotsharp/iotsharp
62 63


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

66 67 68 69 70 71 72
 -  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 
73

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

麦壳饼's avatar
麦壳饼 已提交
75 76 77

##  IoTSharp.SDKs

麦壳饼's avatar
麦壳饼 已提交
78 79 80
- 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
麦壳饼 已提交
81
 
麦壳饼's avatar
麦壳饼 已提交
82 83 84

## IoTSharp-C-Client-Sdk

麦壳饼's avatar
麦壳饼 已提交
85
IoTSharp-C-client-Sdk is mqttt client, write by   c;
麦壳饼's avatar
麦壳饼 已提交
86 87 88

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

89 90 91 92 93 94 95 96 97 98 99 100 101
## 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
麦壳饼 已提交
102

麦壳饼's avatar
麦壳饼 已提交
103 104 105 106 107
##  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
麦壳饼 已提交
108

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

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

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

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

116
IoTSharp's ecosystem
117

麦壳饼's avatar
麦壳饼 已提交
118 119 120
- 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
麦壳饼 已提交
121 122
- IoTSharp.X509Extensions  [![IoTSharp.X509Extensions](https://img.shields.io/nuget/v/IoTSharp.X509Extensions.svg)](https://www.nuget.org/packages/IoTSharp.X509Extensions/)
- Silkier    [![Silkier](https://img.shields.io/nuget/v/Silkier.svg)](https://www.nuget.org/packages/Silkier/) 
麦壳饼's avatar
麦壳饼 已提交
123
- Silkier.EFCore   [![Silkier.EFCore](https://img.shields.io/nuget/v/Silkier.EFCore.svg)](https://www.nuget.org/packages/Silkier.EFCore/)
麦壳饼's avatar
麦壳饼 已提交
124 125
- 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/)
126
- 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
麦壳饼 已提交
127 128
- 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/)
129

130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160


## 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
麦壳饼 已提交
161
|  | 匿名公司 |  | ¥1000=1000(微信转账) |  |
162 163 164 165 166 167 168 169



## 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)
170

麦壳饼's avatar
麦壳饼 已提交
171
| 公众号 |    [QQ群63631741](https://jq.qq.com/?_wv=1027&k=HJ7h3gbO)  |
172
| ------ | ---- |
麦壳饼's avatar
麦壳饼 已提交
173
| ![](docs/static/img/qrcode.jpg) | ![](docs/static/img/IoTSharpQQGruop.png) |
174

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

百小僧 已提交
176

麦壳饼's avatar
麦壳饼 已提交
177 178


179 180 181
## dotNET China

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