-
Notifications
You must be signed in to change notification settings - Fork 80
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
WebThingsIO implementation not compatible with node-wot #393
Comments
Unfortunately Mozilla does not follow the W3C rec., see e.g. here: WebThingsIO/api#149 |
Also look here: https://github.com/WebThingsIO/wiki/wiki/Mozilla-W3C-Differences |
Thank you for your quick reply. So i guess comatibility in the near future is unlikely. Thats sad. It puts me into the dilema that i want to be able to use a wide range of languages and hardware (arduino) to create web things, which is possible with WebThingsIO but I cannot simply interface with them with a library as they only have the gateway. |
Hi Johannes, thanks for reporting the issue. As the others said we are well aware of the issue and I am glad to inform you that we have recently started working on a possible unification of the two models. I'm personally looking into the issue with the support of @sebastiankb and @benfrancis. So bear your Arduinos and ESP32s there's hope 😄 |
See also: WebThingsIO/gateway#2802 |
@benfrancis @relu91 I assume the efforts of aligning are still ongoing right? |
@danielpeintner Actually the implementation work has unfortunately been paused for the last few months due to a shortfall in funding. I'm waiting on news on potential future funding to resume the work. |
Yes, I confirm. However, when I stopped working on the integration I verified that the basic functionalities worked (read/write properties). I'll allocate some of my free time to report how much you can do with node-wot as a client of a web thing hosted in the WebThings gateway. |
I am closing the issue since it does not really concern this project. |
I tried to create a web thing with an arduino running an example code from webthing-arduino and connect with the node-wot client. When fetching the Thing Description node-wot complains:
Cannot consume TD because Property 'on' has no forms field
The TD as json looks like this:
it has a links field rather than forms.
Here is the schema WebThingsIO is using: https://github.com/WebThingsIO/schemas
Since both libraries implement the WOT Things Description they should work together.
It would be awesome if they could work together.
Here the issue i openend on webthing-arduino: WebThingsIO/webthing-arduino#134
The text was updated successfully, but these errors were encountered: