# IoTSharp **Repository Path**: dimwalker/IoTSharp ## Basic Information - **Project Name**: IoTSharp - **Description**: IoTSharp 是一个 基于.Net Core 开源的物联网基础平台, 支持 HTTP、MQTT 、CoAp 协议, 属性数据和遥测数据协议简单类型丰富,是一个用于数据收集、处理、可视化与设备管理的 IoT 平台 QQ群:63631741 - **Primary Language**: C# - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://iotsharp.net - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 861 - **Created**: 2022-05-25 - **Last Updated**: 2022-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![IOTSharp LOGO](docs/static/img/350x100.png) [![Build status](https://ci.appveyor.com/api/projects/status/5o23f5vss89ct2lw/branch/master?svg=true)](https://ci.appveyor.com/project/MaiKeBing/iotsharp/branch/master) ![GitHub](https://img.shields.io/github/license/iotsharp/iotsharp.svg) ![.NET Core](https://github.com/IoTSharp/IoTSharp/workflows/.NET%20Core/badge.svg?branch=master) IoTSharp 是一个 基于.Net Core 开源的物联网基础平台, 支持 HTTP、MQTT 、CoAp 协议, 属性数据和遥测数据协议简单类型丰富,简单设置即可将数据存储在PostgreSql、MySql、Oracle、SQLServer、Sqlite,是一个用于数据收集、处理、可视化与设备管理的 IoT 平台. ## 如何使用docker-compose 安装IoTSharp ? * [ZPT](https://github.com/IoTSharp/IoTSharp/tree/master/Deployments/zeromq_taos) 使用ZeroMQ 作为 EventBus, PostgreSQL 作为消息存储, 遥测数据使用 TDengine * [ZPS](https://github.com/IoTSharp/IoTSharp/tree/master/Deployments/zeromq_sharding) 默认开发配置, IoTSharp 和 PostgreSql, 遥测数据可以通过单表或者分表。 * [RMI](https://github.com/IoTSharp/IoTSharp/tree/master/Deployments/rabbit_mongo_influx) 使用Rabbitmq 作为 EventBus, Mongodb 作为消息存储, 遥测数据使用Influx 2.0 ,这个方案中遥测数据也可以使用TDengine 更多的 [部署方案请点这里访问](https://github.com/IoTSharp/IoTSharp/tree/master/Deployments) ## 支持哪些数据库? * [PostgreSql](IoTSharp/appsettings.PostgreSql.json) 测试环境是 PostgreSQL 11.3,支持分表. * [MySql](IoTSharp/appsettings.MySql.json) 测试环境是MySQL 8.0.17,支持分表. * [Oracle](IoTSharp/appsettings.Oracle.json) 测试环境是 Oracle Standard Edition 12c Release 2, 支持分表.请参见: https://github.com/MaksymBilenko/docker-oracle-12c * [SQLServer](IoTSharp/appsettings.SQLServer.json) 测试环境是 Microsoft SQL Server 2016 (RTM-GDR) (KB4019088) - 13.0.1742.0 (X64),支持分表 * [Sqlite](IoTSharp/appsettings.Sqlite.json) 支持分表。 ## 演示: http://139.9.232.10:2927 ## 文档: https://docs.iotsharp.net/ ## 如何使用 docker 安装IoTSharp? - docker pull maikebing/iotsharp ## 如何使用Linux 安装? - 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 ## IoTSharp.SDKs IoTSharp.SDKs 包括了 IoTSharp.Sdk.MQTT IoTSharp.Sdk.Http ## IoTSharp-C-Client-Sdk IoTSharp-C-client-Sdk 是mqtt客户端, c语言编写的例子。 https://github.com/IoTSharp/IoTSharp-C-Client-Sdk ## paho.mqtt.c 的例子 这个跟 IoTSharp-C-Client-Sdk 一样, 但是使用了 paho.mqtt.c https://github.com/IoTSharp/IoTSharp.Edge.paho.mqtt.c ## IoTSharp.Edge.nanoFramework IoTSharp.Edge.nanoFramework 是一个 nanoFramework's mqtt 客户端, 它允许在STM32 ! https://github.com/IoTSharp/IoTSharp.Edge.nanoFramework 更多信息请读这里 https://www.cnblogs.com/MysticBoy/p/13159648.html 官方网站为: https://www.nanoframework.net/ ## IoTSharp.Edge.RT-Thread IoTSharp.Edge.RT-Thread (STM32L4 + Wi-Fi, sensor, lcd, audio etc) 是一个国产实时操作系统RT-Thread的示例, 同时我们提供了两个图片, 供你参考。 项目链接如下 https://github.com/IoTSharp/IoTSharp.Edge.RT-Thread | | | | ------------------------------------------------------------ | ------------------------------------------------------------ | | 20190615010003.jpg | 20190615010115.jpg | IoTSharp 的软件生态 - 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/) - 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/) - Silkier.EFCore [![Silkier.EFCore](https://img.shields.io/nuget/v/Silkier.EFCore.svg)](https://www.nuget.org/packages/Silkier.EFCore/) - 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/) - Maikebing.EntityFrameworkCore.Taos [![Maikebing.EntityFrameworkCore.Taos](https://img.shields.io/nuget/v/Maikebing.EntityFrameworkCore.Taos.svg)](https://www.nuget.org/packages/Maikebing.EntityFrameworkCore.Taos/) - 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/) ## 贡献 [![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). ### 贡献者 This project exists thanks to all the people who contribute. ## 捐赠 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(公众号) | | ## 社区支持 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) | 公众号 | [QQ群63631741](https://jq.qq.com/?_wv=1027&k=HJ7h3gbO) | | ------ | ---- | | ![](docs/static/img/qrcode.jpg) | ![](docs/static/img/IoTSharpQQGruop.png) | ## dotNET China [![DotNetChina](https://images.gitee.com/uploads/images/2021/0309/134044_9c191d7b_974299.png)](https://gitee.com/dotnetchina/IoTSharp)