First pass, using NodeMCU and sensor, powered via USB charger. Since a lot of the wireless technology is based on the ESP SOC this would be a good development platform to experiment with, so worth getting one to play with.
Start with a NodeMCU, a simple Temperature Sensor and one of the many USB power bricks lying around the house.
Solder (badly) the BME280 to a four core cable with a couple of two pin header connectors (GND, 3.3V) & (SCL, SDA) on the end. Connect to the pins on the NodeMCU (GND, 3.3V) & (D4, D5).
Install ESPEasy and configure it to have one BME280 device, connected using MQTT ultimately to OpenHAB. In the meantime tested connectivity by installing Mosquitto on my server. Named the ESP in the living room: “Lounge” and the BME280 sensor “Sensor”:
mosquitto_sub -v -t "/Lounge/Sensor/#"
Too easy, but pretty ugly, with a USB charger hanging out of the wall socket.
Build two more using D1 mini boards, soldering the wires direct to the through hole vias. Deploy one as ‘BigShed’ and the other as ‘TopRoom’.
Mixed fleet of sensors:
BME280 Based to get Humidity:
- Utility Room – Attached directly to Pi/Uno
- Main Bathroom – Attached to NodeMCU
- Ensuite – Attached to same NodeMCU as Bathroom
- Shed to get outside humidity & pressure
DS18B20 Based to just get Temperature, all attached to same NodeMCU (possibly split Bedroom 4 & Loft off to a separate Node):
- Bedroom 1
- Bedroom 2
- Bedroom 3
- Bedroom 4
- Bedroom 5
- Loft Room
Water Tank is monitored by a group of DS18B20 encapsulated sensors, attached directly to the Pi.
Downstairs experiment with ZigBee, this distribution would normally provide a good adhoc network, but not sure the sensors support this. So probably need a ZigBee router:
To Support this deployment need to get:
- 3 ZigBee Sensors
- 1 Zigbee Router
- 4 NodeMCUs (already got)
- 3 (SPI) BME280 Sensors (already got)
- 2 (I2C) BME280 Sensors
- 10 DS18B20 Sensors (already got 3 for water tank)