preamble
Want a quick introduction to the world of the Internet of Things? If you are interested in the Internet of Things (IoT) or are planning to develop your own IoT project. You can try.IoTSharpNET, an open source platform based on .
Whether you're a beginner or an experienced bigwig, IoTSharp offers rich features and extensive protocol support. It makes IoT project development easy and intuitive. It is not only full-featured, but also flexible, so you can get started quickly and easily realize your IoT dream, come and try IoTSharp.
Projects
Why is there an IoTSharp?
Think about it, you want to create a smart home system, for example, so that the lights in your house can be switched on and off by cell phone control, or so that the air conditioner can automatically adjust the temperature according to your habits. But when starting to do these things, you may encounter a lot of difficulties, such as how to make the devices communicate with each other, how to deal with a large amount of data, how to ensure the security of the system and so on. These issues may give you a headache.
What can IoTSharp do?
IoTSharp was created to help solve these problems. It is an off-the-shelf platform that helps you easily connect different devices and can handle the huge amount of data generated by these devices. The best part is that it is open source, can be discussed with and has community support.
Highlights of IoTSharp
simple and easy to use: Even if you're new to the game, you can get started quickly.
cross-platform: It runs on either Windows or Linux or Mac.
Multiple device support: Supports common IoT communication protocols, allowing easy access to different devices.
safe and reliable: Built-in security measures ensure that your data is safe and secure.
IoTSharp is an open source IoT infrastructure platform, set device attribute data management, telemetry data monitoring, RPC multi-mode remote control, rule chain design engine and other powerful capabilities, based on the concept of digital twinning of visible and invisible physical devices to the digital world unified twinning, in the landing of the IoTSharp combined with the concept of asset management, product development, so that the platform application is more IoTSharp combines the concepts of asset management and productization development to make the platform application more suitable for complex application scenarios. In terms of protocol support, IoTSharp supports the access of various standard IoT protocols and the conversion of non-standard protocols, such as HTTP, MQTT and CoAp.
Project technology
1、programming language
Mainly use C# and .NET for back-end development.
2、System framework
The frontend uses Vue 3 and the backend is based on .NET 8.0 + WebAPI.
3、Database support
Multiple database types are supported, including:
relational database: PostgreSQL, MySQL, SQL Server, and so on.
Timing database: InfluxDB, IoTDB, TDengine, TimescaleDB, PinusDB, etc. to meet different types of data storage needs.
4、Message Queues and EventBus
Support for multiple message queues and EventBus systems, such as RabbitMQ, Kafka, ZeroMQ, NATS, Pulsar, Redis Streams, Amazon SQS, Azure Service Bus, etc., for building event-driven architectures and realizing efficient messaging.
5、EventBus Storage
Supports storing events in multiple datastores such as PostgreSql, MongoDB, InMemory, LiteDB, MySql, SqlServer, and more.
Project use
This presentation is about the IoTSharp deployment method for Windows OS. For other platforms, you can visit
For deployments in Windows environments, we use lightweight Sqlite as the data storage solution.
Here are the detailed deployment steps:
1、Download
First, download the latest version of the installer from Github or Gitee. The Windows installer is named.
Download to local.
2. Initiation
After unzipping the package, we can see that there is an IoTSharp Exe file inside, double-click it to run it to start.
You can see the console start up, and when it does, you can open it in your browser.http://localhost:2927
Come visit.
3. Registration services
IoTSharp already supports running as a Windows service, if there is a need to register as a Widnows service.
It needs to be understood first/zh-cn/windows-server/administration/windows-commands/sc-create
Use the sc command to create a Windows service, and then open thehttp://localhost:2927
Come visit.
Seeing the image below indicates a successful run
4、Initialize influxdb
browser accesshttp://localhost:8086/
Initialize influxdb
Org: `iotsharp` Bucket: `iotsharp-bucket`
5. Registration
Chrome Accesshttp://localhost:2927/
6. Running
home page (of a website)
equipment management
Product List
Project Address
- Gitee:/IoTSharp
- Github:/IoTSharp/IoTSharp
- Documentation:/
summarize
If you found this article helpful, why not support it with a like? Your support is what keeps me motivated to continue sharing my knowledge. If you have any questions or need further help, please feel free to leave a comment. You can also join the WeChat public number[DotNet Technician] community to share ideas and grow with other tech-loving peers!