Geesara, Thanks a lot. There are very detail steps to create device type in your article.
I followed your guide and created my device type, and then change the category to “iot” in the device type config file. But after I deployed the device type to IoTS, it still showed up in the VIRTUAL device section. Do you know what’s the problem? ------ Zhanwen Zhou (Jason), +86 13922218435 zhanwen.z...@smartcloudex.com Guangzhou Smart Cloudex Technology Co., Ltd. Business: IOT, API Management On Sep 2, 2016, at 5:08 PM, Geesara Prathap <gees...@wso2.com> wrote: > Hi Jason, > > Sorry, you mean defining 3 sensors when creating new device plugin. Yes, that > feature is included after Alpha is released. If you need more than one sensor > you need to define like which is already there. Please follow section > three[1] in this article. It will help you to understand how to create your > own sensor type and deploy into the server in details. > > 1.https://medium.com/@GPrathap/maven-archetype-for-creating-a-device-plugin-for-wso2-iot-server-34f0d6309e18#.ieom887a5 > > Thanks, > Geesara > > > On Fri, Sep 2, 2016 at 2:24 PM, Geesara Prathap <gees...@wso2.com> wrote: > Hi Jason, > > But I can’t use the feature of defining 3 sensors at the same time with the > alpha version of maven archetype. > > Can you explain a little bit more. I didn't get you exactly what is to be > done. > > Thanks, > Geesara > > > On Fri, Sep 2, 2016 at 12:30 PM, 云展智创 <i...@smartcloudex.com> wrote: > Hi Geesara, > > Yes, it works again now. > > But I can’t use the feature of defining 3 sensors at the same time with the > alpha version of maven archetype. > > Thanks. > ------ > Zhanwen Zhou (Jason) > +86 13922218435 > zhanwen.z...@smartcloudex.com > Guangzhou Smart Cloudex Technology Co., Ltd. > Business: IOT, API Management > > On Sep 2, 2016, at 1:11 PM, Geesara Prathap <gees...@wso2.com> wrote: > >> Hi Jason, >> >> I think you are not using the correct version of carbon-device-mgt-maven >> plugin. Since you are working with IoTS Alpha pack, you need to clone and >> build carbon-device-mgt-maven plugin of Alpha branch. Please check the >> version of carbon.device.mgt.version in your sample device type parent >> pom.xml. It should be 1.1.0. If it is 1.1.1-SNAPSHOT then your not using the >> correct version of maven archetype. Then you have to rebuild your sample >> device plugin which is released for IoTS Alpha pack. To do that >> >> 1. Clone maven archetype for IoTS Alpha. >> git clone -b IoTS-1.0.0-ALPHA --single-branch >> https://github.com/wso2/carbon-device-mgt-maven-plugin.git >> 2. Navigate to the cloned folder via the console, and install the maven >> archetype into your local system. Once you executed below command it will >> overwrite whatever the version you have in your system into correct >> version(IoTS-1.0.0-ALPHA). >> mvn clean install >> >> Please follow above mentioned steps and let us know would you be able to >> resolve your problem. >> >> Thanks, >> Geesara, >> >> >> On Fri, Sep 2, 2016 at 9:48 AM, 云展智创 <i...@smartcloudex.com> wrote: >> Hi team, >> >> When I used the carbon-device-mgt-maven-plugin to create a new device type >> and deployed in IoTS alpha release, I got the following errors: >> >> It seems that the new maven-archetype-tools created device type need >> carbon.device.mgt.version to be 1.1.1 but alpha release only support 1.1.0? >> >> Could you help me how to solve this problem? Thanks. >> >> <PastedGraphic-3.png> >> ------ >> Zhanwen Zhou (Jason), >> +86 13922218435 >> zhanwen.z...@smartcloudex.com >> Guangzhou Smart Cloudex Technology Co., Ltd. >> Business: IOT, API Management >> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> >> >> >> -- >> Geesara Prathap Kulathunga >> Software Engineer >> WSO2 Inc; http://wso2.com >> Mobile : +940772684174 >> > > > > > -- > Geesara Prathap Kulathunga > Software Engineer > WSO2 Inc; http://wso2.com > Mobile : +940772684174 > > > > > -- > Geesara Prathap Kulathunga > Software Engineer > WSO2 Inc; http://wso2.com > Mobile : +940772684174 >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev