Skip to content

MQTT subscription: return device_id and sensor_id #24

@cdupont

Description

@cdupont

Currently, MQTT subscriptions return just the value:

{"value": "3"}

However, you can subscribe to a variety or devices/sensors using wildcards:

mosquitto_sub -L "mqtt://api.waziup.io/devices/MyDevice/sensors/+/value"

So, it would be better to return also device_id and sensor_id.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions