With MIP SDK (driver framework), can we develop driver for IOT device (sensors) using MQTT protocol?
Yes, it is possible.
Making a driver you can make inputs (on/off) or metadata stream (other information). Please explore the sample - https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/demodriver/readme.html&tree=tree_1.html Please also see - https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_driverframework.html&tree=tree_4.html
There are other options.
We are not sure what kind of device you want to use, but Sensor Monitor might give you an inspiration. This sample involves configuration in the XProtect Management Client, loading in the event server, and display and navigation in the Smart Client’s Map and Smart Map view item. You can turn on/off controllers and sensors on the map with the sample: this behavior may be a similar functionality as IOT devices.
Please explore the sample - https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/sensormonitor/readme.html&tree=tree_1.html
I wonder if this also might be interesting for you to watch: Milestone Developer Conference 2021 - Using XProtect with Non-Video IoT devices utilizing Node-RED - https://youtu.be/QTacm8FxcbQ
Thanks for these info Rie. Yes, we are exploring all these different methods and has looked into node-red way. glad to know driver framework sdk can work as well :)