Environmental Sensors: Difference between revisions

From Leeds Hackspace Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Projects|In_Progress|Infrastructure]]
[[Category:Infrastructure]]


Swwils is in the process of making a series of environmental sensors for the new space.


Currently feeds are available for the [https://thingspeak.com/channels/144263/ inside] and [https://thingspeak.com/channels/145528 outside] of the space.
[[File:Temp-sensor-veroboard.jpg|250px|thumb|right|Wemos D1 mini mounted on veroboard, with a DHT22 sensor.]]
 
There is a temperature and humidity sensor in the Main Space. A feed is available for the [https://thingspeak.com/channels/251910 inside] data. It is built around a Wemos D1 mini board and a DHT22 temperature/humidity sensor.
 
To configure the Wifi connection settings and the update interval you should boot the thermometer in configuration mode. Unplug the USB cable and plug it back in again while holding the "Config Boot" button in for a few seconds. Connect to the "TempSensorConfig" Wifi Access Point and open http://192.168.4.1 in your browser. The sensor will also boot into this configuration mode if it cannot connect to the configured Wifi access point.
 
== Slack Integration ==


If you are using Slack, you can query the current status by using the <code>/temperature</code> command.
If you are using Slack, you can query the current status by using the <code>/temperature</code> command.
This pulls data from a static JSON file which is generated every 15 minutes by a [https://gist.github.com/adnbr/80dc4cf0a52ba7c1f31c49e099af4335 python script].

Latest revision as of 14:18, 2 April 2017


Wemos D1 mini mounted on veroboard, with a DHT22 sensor.

There is a temperature and humidity sensor in the Main Space. A feed is available for the inside data. It is built around a Wemos D1 mini board and a DHT22 temperature/humidity sensor.

To configure the Wifi connection settings and the update interval you should boot the thermometer in configuration mode. Unplug the USB cable and plug it back in again while holding the "Config Boot" button in for a few seconds. Connect to the "TempSensorConfig" Wifi Access Point and open http://192.168.4.1 in your browser. The sensor will also boot into this configuration mode if it cannot connect to the configured Wifi access point.

Slack Integration

If you are using Slack, you can query the current status by using the /temperature command. This pulls data from a static JSON file which is generated every 15 minutes by a python script.