Difference between revisions of "Data Platform"

From Things Calderdale Wiki
Jump to: navigation, search
(Created page with "== MQTT == An MQTT broker is available at <code>mqtt.thingscalderdale.com</code>. === Subscribing === Anonymous R/O (subscribe) access is provided to topics with the prefix...")
 
(Topics)
Line 34: Line 34:
 
|public/environment/temperature
 
|public/environment/temperature
 
|FN sensor temperature
 
|FN sensor temperature
|Float
+
|JSON/Float
 
|Flood Network
 
|Flood Network
 
|AB Open
 
|AB Open
Line 41: Line 41:
 
|public/environment/waterlevel/calder
 
|public/environment/waterlevel/calder
 
|River Calder water level
 
|River Calder water level
|Float
+
|JSON/Float
 
|Flood Network
 
|Flood Network
 
|AB Open
 
|AB Open

Revision as of 13:08, 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.