User Tools

Site Tools


topics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
topics [2016/05/09 12:44]
buben
topics [2016/06/06 07:23] (current)
buben [Service topics]
Line 8: Line 8:
 There are two data topics. There are two data topics.
   * ''<​location>/<​quantity>''​ - Main device sensor measurement.   * ''<​location>/<​quantity>''​ - Main device sensor measurement.
-  * ''<​location>/<​quantity>/​error''​ - Error code indicating sensor read failure.+  * ''<​location>/<​quantity>/​error''​ - Error code indicating sensor read failure. This is used to simplify parsing error codes at other sensors which subscribes to some topic.
  
 **Where:** **Where:**
Line 33: Line 33:
     * ''​esp8266''​ - ESP8266 chip.     * ''​esp8266''​ - ESP8266 chip.
   * ''​i/<​devname>/​link''​ - Link information.   * ''​i/<​devname>/​link''​ - Link information.
-    * ''​ethernet''​ - Ethernet ​LAN connection.+    * ''​ethernet''​ - Ethernet connection.
     * ''​wifi''​ - Wi-Fi connection.     * ''​wifi''​ - Wi-Fi connection.
     * ''​nrf24''​ - NRF24 wireless connection.     * ''​nrf24''​ - NRF24 wireless connection.
   * ''​i/<​devname>/​voltage''​ - Input voltage. For battery powered devices.   * ''​i/<​devname>/​voltage''​ - Input voltage. For battery powered devices.
   * ''​i/<​devname>/​ip''​ - Device IP address. Make network debugging easier.   * ''​i/<​devname>/​ip''​ - Device IP address. Make network debugging easier.
 +  * ''​i/<​devname>/​class''​ - Device class.
 +    * ''​sensor''​ - Sensor device.
 +    * ''​reactor''​ - Reactor device.
 +  * ''​i/<​devname>/​sensor''​ - Connected sensor. For ''​sensor''​ class devices only.
 +    * ''​dht22''​ - [[sensors:​dht22|DHT22]] sensor.
 +    * ''​dht11''​ - [[sensors:​dht11|DHT11]] sensor.
 +    * ''​bmp180''​ - [[sensors:​bmp180|BMP180]] sensor.
 +    * ''​bh1750fvi''​ - [[sensors:​bh1750fvi|BH1750FVI]] sensor.
 +    * ''​ds18b20''​ - [[sensors:​ds18b20|DS18B20]] sensor.
 +  * ''​i/<​devname>/​sync''​ - Sensor data transmition synchronization. For ''​sensor''​ class devices only.
 +    * ''​sync''​ - Synchronous sensor.
 +    * ''​async''​ - Asynchronous sensor.
 +  * ''​i/<​devname>/​reactor''​ - Reactor type. For ''​reactor''​ class devices only.
 +    * ''​pinstate''​
  
 **Where:** **Where:**
  
   * ''<​devname>''​ - Device name.   * ''<​devname>''​ - Device name.
topics.1462797840.txt.gz ยท Last modified: 2016/05/09 12:44 by buben