Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W3C WoT compliant Thing Descriptions #154

Open
ameerhazo opened this issue Jul 7, 2022 · 8 comments
Open

W3C WoT compliant Thing Descriptions #154

ameerhazo opened this issue Jul 7, 2022 · 8 comments

Comments

@ameerhazo
Copy link

ameerhazo commented Jul 7, 2022

Hello everyone, I'd like to make this library W3C WoT compliant by changing some parts of the code so that the Thing Descriptions that is created and served by the adapter conforms to the current W3C WoT TD specifications. Would this be beneficial for this project as the gateway is currently being developed to consume W3C WoT TDs?

Regards,
Ameer Haziq Bin Osman
Faculty of Information Technology
University of Applied Sciences Dortmund
Germany

@relu91
Copy link

relu91 commented Jul 7, 2022

I would second this direction! there already some preliminary work done in #139 and #140. You may start from there

@benfrancis
Copy link
Member

@ameerhazo That would be very welcome, thank you.

May I suggest you file issues for each change you intend to make and make each change in a separate PR? That will help us to make sure we're being consistent between WebThings libraries (and the gateway), and save wasted work like happened in #140

Thank you!

@ameerhazo
Copy link
Author

ameerhazo commented Jul 8, 2022

Hey @benfrancis, @relu91 cool, I'll take a look at the code. By the way, I work as a research assistant at my faculty and we have our own implementation of W3C WoT using Eclipse Kura as our Gateway solution that consumes W3C compliant TDs for our smart devices. I look forward to see how we can improve our implementation and be able to use this library to expose and teach our students about the WoT 👍

@Citrullin
Copy link

Citrullin commented Jul 11, 2022

Hey @benfrancis, @relu91 cool, I'll take a look at the code. By the way, I work as a research assistant at my faculty and we have our own implementation of W3C WoT using Eclipse Kura as our Gateway solution that consumes W3C compliant TDs for our smart devices. I look forward to see how we can improve our implementation and be able to use this library to expose and teach our students about the WoT 👍

Is it open source? We also work on the implementation in RIOT OS from time to time. Don't know if that is something interesting to you. Already works, there is just some weird undefined behavirour on the ESP32. (branch wot_gcoap)
There is a bare how to from a plugfest we had. But mostly it's undcoumented yet.
For the forked Arduino library there are some tutorials about it and a video.
Happy to change them accordingly, if you get the changes merged into WebThingsIO.
If you need some help, I am available on several channels. Such as Signal, Telegram and discord.

@ameerhazo
Copy link
Author

ameerhazo commented Jul 12, 2022

Hello @Citrullin, our implementation is unfortunately not open source. We currently have our implementation of the Thing Description Directory working though. Our Gateway is also able to communicate via CoAP (using Eclipse Californium) and consume a TD of a CoAP (libcoap) based device I coded on the ESP32.

I've also tested the library and the work that you've done on the library and I think you've done a great job conforming to the WoT specs. I think we can also discuss further with @relu91 and @benfrancis on what the library still needs so that the WebThingsIO WoT Adapter on the gateway can consume the TDs later.

Regards,
Ameer Haziq Bin Osman
Faculty of Information Technology
University of Applied Sciences Dortmund
Germany

@relu91
Copy link

relu91 commented Jul 13, 2022

By the way, I work as a research assistant at my faculty and we have our own implementation of W3C WoT using Eclipse Kura as our Gateway solution that consumes W3C compliant TDs for our smart devices. I look forward to see how we can improve our implementation and be able to use this library to expose and teach our students about the WoT

That's cool, we are trying to collect WoT implementers under WoT Community Group feel free to join if you want to be part of this community. Moreover, if you have some spare time it would be nice to fill out this questionnaire and insert your implementation in the dedicated question.

I think we can also discuss further with @relu91 and @benfrancis on what the library still needs so that the WebThingsIO WoT Adapter on the gateway can consume the TDs later.

Sure, there were some minor contentious changes left. Mostly regarding the content of the "@context" field. You can find the details in the PR linked above.

@ameerhazo
Copy link
Author

Hi @Citrullin, I'd like to add you on Discord. Could you please PM me your Discord tag?

Regards,
Ameer

@Citrullin
Copy link

Hi @Citrullin, I'd like to add you on Discord. Could you please PM me your Discord tag?

Regards, Ameer

397501022077190144 (citrullin#7736)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants