Measuring Room Conditions (II)

Screenshot_2016-01-24-10-11-50

To get data from several measuring stations I implemented MQTT on DHT11/D1 mini-Module publishing temperature and humidity data to a MQTT broker.

To monitor these data I use myMQTT Android app on my Galaxy S5 and subscribed to the topic DHT11/+/# to see all messages send with the topic DHT11/<ESP-ID>/temperature, DHT11/<ESP-ID>/humidity and DHT11/<ESP-ID>/state.

The screenshot from that app shows temperature and humidity values sent by two sensor nodes with the ESP-ID ESP8266-1138645 and ESP8266-1138432.

As subscriber node I used a NodeMCU LoLin board which sends each minute the message “in operation” to the topic DHT11/<ESP-IS>/state. This messages is usefull to monitor the operation of such a subsriber node remotely. The screenshot shows this state sent by the node with the ESP-ID ESP8266-14695321.

These ESP-IDs are generated automatically from device ID.

The program samples dht_mqtt.lua and dht_subtemp.lua can be found at Sourceforge.

Measuring Room Conditions (II)

Witty Module arrived

Witty_edited

I got post from Aliexpress today. The WIFI Witty / Gizwits ESP-12F module arrived.

The ESP8266 module family grows and grows and prices come down. You can order such a module for 3 $ and less.

You get an ESP-12F module and a LDR, a RGB-LED and a switch on this board. Additionally there is a stackable programming board w/ a CH-341 USB chip. I flashed NodeMCU Firmware and now Lua is running on it. Two simple test programs (witty.lua & witty_pwm.lua) for this module showing the pin configuration for the existing peripherals (LDR, RGB-LED, Switch) are available on Sourceforge.

Witty Module arrived

Adafruit Feather HUZZAH with ESP8266 WiFi

HuzzahLiPoAt the Feather HUZZAH’s heart is an ESP-12 module. You can progam the microcontroller using the Arduino IDE for an easy-to-run Internet of Things core or using the NodeMCU firmware. Fast code download with 921600 and auto-reset before download are available.

To make it easy to use for portable projects, a connector for a 3.7V Lithium polymer batteries and built in battery charging are added. No battery is needed when powering over the micro USB connector. But, if you do have a battery, you can take it on the go as wearable for example, then plug in the USB to recharge.

Adafruit Feather HUZZAH with ESP8266 WiFi