Difference between revisions of "Data Platform"

From Things Calderdale Wiki
Jump to: navigation, search
(Topics)
(MQTT)
Line 35: Line 35:
 
|FN sensor temperature
 
|FN sensor temperature
 
|JSON/Float
 
|JSON/Float
|Flood Network
+
|[[Flood Network]]
 
|AB Open
 
|AB Open
 
|CC BY-SA 4.0
 
|CC BY-SA 4.0
Line 42: Line 42:
 
|River Calder water level
 
|River Calder water level
 
|JSON/Float
 
|JSON/Float
|Flood Network
+
|[[Flood Network]]
 
|AB Open
 
|AB Open
 
|CC BY-SA 4.0
 
|CC BY-SA 4.0

Revision as of 13:12, 7 November 2017

MQTT

An MQTT broker is available at mqtt.thingscalderdale.com.

Subscribing

Anonymous R/O (subscribe) access is provided to topics with the prefix public/.

SSL example

$ mosquitto_sub -h mqtt.thingscalderdale.com -p 8883 --capath /etc/ssl/certs/ -t public/environment/waterlevel/calder

Plain text example

$ mosquitto_sub -h mqtt.thingscalderdale.com -t public/environment/waterlevel/calder

Publishing

Details TBC.

Topics

MQTT Topics
Topic Description Data type Source Owner Licence Notes
public/environment/temperature FN sensor temperature JSON/Float Flood Network AB Open CC BY-SA 4.0
public/environment/waterlevel/calder River Calder water level JSON/Float Flood Network AB Open CC BY-SA 4.0

Data store

Details TBC.