Hey,
Is there any option to use wireless modules, meaning that my Pi is located in the 2nd floor, but I want to have a temperature sensor in the 1st floor (for example) and still want to read the information?
Thanks in advance!
Option for wireless modules?
Hey,
Is there any option to use wireless modules, meaning that my Pi is located in the 2nd floor, but I want to have a temperature sensor in the 1st floor (for example) and still want to read the information?
Thanks in advance!
Take a look at mysensors if you want to build it yourself.
https://forum.pimatic.org/category/28/mysensors
Or you can use ESPEASY.
This works with an ESP8266 Wifi Module.
Or you can take an ESP8266 with the temperature sensor and send the Data via MQTT there is a bibliothek avaible for the Arduino coding interface.
On your raspi you then have to install MOSQUITTO and in Pimatic the MQTT-Plugin.
I like MQTT it is so easy to handle.
ESPEASY for sure, get your hands on a NodeMCU mini ($2-3 when ordered from China and easier to program!) and an DHT11 (or other compatible sensor).
Easy to set up, runs brilliantly on 6 devices in my home in combination with MQTT.
@V1per Thanks. I’m still relatively new to the Pi, so could you explain me the more detailed steps to achieve this?
Please read first the description off all options you have, when you know what way you want to go we can help you.
@V1per I think I’m gonna use to ESP8266 with the mqtt-plugin for pimatic, as I think it would suit me the best.
OK, have you allways work with Arduino or ESP8266?
Have you programmed a ESP8266 over the Arduino interface?
@V1per None of both unfortunately…
OK, you need:
This is all very theoretic so when you have some troubles please ask here.
@v1per I found the NodeMCU a LOT easier to flash when compared to an ESP. NodeMCU has an built in serial converter so no need for additional converter (not mentioned) or wiring the ESP up to an Arduino in the first place (not mentioned).
For flashing the NodeMCU you just connect it to you PC/Laptop via an mirco usb cable and start the ESPEasy flasher program (needs to be downloaded). As far as i know Adruino IDE doesn’t even have to be installed! (please correct me if i am wrong though!)
MQTT server and plugin still needs to be installed but hardwarewise i would definitely go for a NodeMCU!
Example NodeMCU here
ESPEasy Firmware, flasher and lots of info here
@Stokstaart
Sounds easy for me, I don’t have work with ESPeasy maybee it is the easiest way.
So @TheOnlyNexus try it how Stokstaart wrote you have also the MQTT-Protokoll but you must by a NodeMCU not an ESP8266.
I think both ways are good but ESPeasy is for you a lot easyer to make because you don’t need to programming a scetch in Arduino.
I first have worked with MySensors, also a great projekt but for each sensor you have your own protocol then I have seen how easy the MQTT Protokol works and so all my new sensors worked with MQTT.
Take a sonoff TH10 or TH 16 with external Temp/Humidity sensor AM2301.
Flash with ESPEasy or sonoff Tasmota.
Example:
Integration in pimatic with a shell sensor.
Command:
curl --silent http://ip-address/cm?cmnd=Status%2010 | grep 'Temperature' | cut -d ':' -f7 | cut -d ',' -f1
Output:
or use ESPimatic
https://forum.pimatic.org/category/25/espimatic
https://github.com/koffienl/ESPimatic
another approach would be to use homeduino (or ESPimaticRF in combination with homeduino) to have 433MHz RF. Then you can use sensors from weather stations e.g.
just my two cents.
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !