# IoTSharp **Repository Path**: sanwuyao/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**: 870 - **Created**: 2022-12-09 - **Last Updated**: 2022-12-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

IoTSharp logo

[![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 build](https://github.com/IoTSharp/IoTSharp/actions/workflows/dotnet-build.yml/badge.svg)](https://github.com/IoTSharp/IoTSharp/actions/workflows/dotnet-build.yml) [![pages-build-deployment](https://github.com/IoTSharp/IoTSharp/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/IoTSharp/IoTSharp/actions/workflows/pages/pages-build-deployment) [![Building and Packaging](https://github.com/IoTSharp/IoTSharp/actions/workflows/dotnet-publish.yml/badge.svg)](https://github.com/IoTSharp/IoTSharp/actions/workflows/dotnet-publish.yml) ![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/maikebing/iotsharp?style=flat-square) ![Docker Pulls](https://img.shields.io/docker/pulls/maikebing/iotsharp) ![GitHub all releases](https://img.shields.io/github/downloads/iotsharp/iotsharp/total) [![Total alerts](https://img.shields.io/lgtm/alerts/g/IoTSharp/IoTSharp.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/IoTSharp/IoTSharp/alerts/) [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/IoTSharp/IoTSharp.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/IoTSharp/IoTSharp/context:javascript) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FIoTSharp%2FIoTSharp.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FIoTSharp%2FIoTSharp?ref=badge_shield) [![star](https://gitee.com/IoTSharp/IoTSharp/badge/star.svg?theme=gvp)](https://gitee.com/IoTSharp/IoTSharp/stargazers) [![fork](https://gitee.com/IoTSharp/IoTSharp/badge/fork.svg?theme=gvp)](https://gitee.com/IoTSharp/IoTSharp/members) IoTSharp 是一个 基于.Net Core 开源的物联网基础平台, 支持 HTTP、MQTT 、CoAp 协议, 属性数据和遥测数据协议简单类型丰富,简单设置即可将数据存储在PostgreSql、MySql、Oracle、SQLServer、Sqlite,是一个用于数据收集、处理、可视化与设备管理的 IoT 平台. * ## 愿项目用户: * 愿您行善,不作恶。 * 愿您原谅自己,原谅别人。 * 愿您自由分享,永远不要拿走超过您给予的。 ## 支持的数据库: * [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 on CentOS ,支持分表. 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) 支持分表 * [Cassandra](IoTSharp/appsettings.Cassandra.json) ## 支持的时序数据库: * InfluxDB * IoTDB * TDengine * TimescaleDB * PinusDB * 同时也支持关系型数据库,并且可以单表或者分表. ## 支持的消息中间件: * RabbitMQ * Kafka * InMemory * ZeroMQ * NATS * Pulsar * RedisStreams * AmazonSQS * AzureServiceBus ## 支持的事件消息存储方式: * PostgreSql, * MongoDB, * InMemory, * LiteDB, * MySql, * SqlServer ## IoTSharp 演示 - [使用Angular实现的IoTSharp前端](http://139.9.232.10:2927) - [使用Vue3实现的IoTSharp前端](http://demo.iotsharp.net) ## IoTSharp 云服务 https://cloud.iotsharp.net/ ## 在线文档 https://docs.iotsharp.net/ ## 如何部署? - [使用Docker部署](https://docs.iotsharp.net/docs/tutorial-basics/deploy_by_docker) - [部署到Linux服务器或者树莓派](https://docs.iotsharp.net/docs/tutorial-basics/deploy_linux) - [部署到Windows](https://docs.iotsharp.net/docs/tutorial-basics/deploy_win) ## 如何配置? - [应用基本配置](https://docs.iotsharp.net/docs/tutorial-basics/appsettings) ## IoTSharp.SDKs - 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/) ## IoTSharp-C-Client-Sdk IoTSharp-C-client-Sdk 是mqtt客户端, c语言编写的例子。 [https://github.com/IoTSharp/IoTSharp.Sdks.MQTT-C](https://github.com/IoTSharp/IoTSharp.Sdks.MQTT-C) ## paho.mqtt.c 的例子 这个跟 IoTSharp-C-Client-Sdk 一样, 但是使用了 paho.mqtt.c https://github.com/IoTSharp/IoTSharp.Edge.paho.mqtt.c ## IoTSharp 的 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 的RT-Thread 开发包 https://github.com/IoTSharp/iotsharp-rtthread-package ## 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/) - IoTSharp.EntityFrameworkCore.Taos [![IoTSharp.EntityFrameworkCore.Taos](https://img.shields.io/nuget/v/IoTSharp.EntityFrameworkCore.Taos.svg)](https://www.nuget.org/packages/IoTSharp.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) 如果你有兴趣贡献代码,可以创建[Pull Request](https://github.com/IoTSharp/IoTSharp/pulls), 或者[Bug Report](https://github.com/IoTSharp/IoTSharp/issues/new). ### 贡献者 这个项目的存在得益于所有的贡献者, 感谢他们。 ## 捐赠 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) - 微信![二维码](docs/static/img/maikebing_wxpay.png) We will put the detailed donation records on the below! | | 姓名 | Stars | 捐赠 | 留言 | | ------------------------------------------------------------ | ------------------ | -------- | -------- | -------- | | [![@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) | ¥1024 =120+100+292+512(码云共计四次) | | | [![@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(公众号) | | | [![@davidzhu001](https://avatars.githubusercontent.com/u/9436230?s=80&v=4)](https://github.com/davidzhu001) | 农民也很疯狂 | ![GitHub User's stars](https://img.shields.io/github/stars/davidzhu001?affiliations=OWNER%2CCOLLABORATOR%2CORGANIZATION_MEMBER&style=for-the-badge)| ¥400=200+200 微信转账 | | | [![@280780363](https://avatars.githubusercontent.com/u/20083278?s=80&v=4)](https://github.com/280780363) | 谷草 | ![GitHub User's stars](https://img.shields.io/github/stars/280780363?affiliations=OWNER%2CCOLLABORATOR%2CORGANIZATION_MEMBER&style=for-the-badge)| ¥88 微信转账 | | | [![@Jackson-918](https://avatars.githubusercontent.com/u/44353254?s=80&v=4)](https://github.com/Jackson-918) | Jackson-918 | ![GitHub User's stars](https://img.shields.io/github/stars/Jackson-918?affiliations=OWNER%2CCOLLABORATOR%2CORGANIZATION_MEMBER&style=for-the-badge)| ¥60 微信转账 | | | [![@OweQian](https://avatars.githubusercontent.com/u/25632596?s=80&v=4)](https://github.com/OweQian) | OweQian | ![GitHub User's stars](https://img.shields.io/github/stars/OweQian?affiliations=OWNER%2CCOLLABORATOR%2CORGANIZATION_MEMBER&style=for-the-badge)| ¥100 微信转账 | | | [![@uncle-stone](https://foruda.gitee.com/avatar/1670051844286871132/2372506_iotsharp_1670051843.png!avatar100)](https://gitee.com/uncle-stone) | 石头叔叔 | | ¥99 微信转账 | | | | 匿名公司 | | ¥1000=1000(微信转账) | | | | *阵 | | ¥50(微信转账) | | | | *守 | | ¥10(微信转账) | 加油iotsharp! | ## 社区支持 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) | ![企业微信群](docs/static/img/qyqun.jpg) | ## dotNET China [![DotNetChina](https://images.gitee.com/uploads/images/2021/0309/134044_9c191d7b_974299.png)](https://gitee.com/dotnetchina)