eclipse-thingweb / eclipse-thingweb/node-wot
MQTT implementation inconsistent with the MQTT Binding Template.
- Dominant language
- TypeScript
- Stars
- 192
- Forks
- 100
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 6
Description
The current [WoT MQTT Binding Template](https://w3c.github.io/wot-binding-templates/bindings/protocols/mqtt/index.html#mqtt-vocabulary) defines the expected vocabulary for MQTT forms as follows:
Example event form:
```json
{
"href": "mqtt://broker.com:1883",
"op": [
"subscribeevent",
"unsubscribeevent"
],
"mqv:filter": "thing1/events/overheating"
}
```
Example action form:
```json
{
"href": "mqtt://broker.com:1883",
"op": [
"invokeaction"
],
"mqv:topic": "application/devices/thing1/program/commands/reset"
}
```
However, the current implementation, expects the HREF field to contain the broker url + topic path, with the specific mqtt vocabulary not being supported afaik.
Contributor guide
Assessment
This issue has not been assessed yet.