Please read first the description off all options you have, when you know what way you want to go we can help you.
Option for wireless modules?
OK, have you allways work with Arduino or ESP8266?
Have you programmed a ESP8266 over the Arduino interface?
OK, you need:
- Buy a ESP8266
- For the temperature it gives severall sensors, the cheapest is a DS18B20, or how @Stokstaart wrote an DHT11 or DHT22 (who can also send humity) buy what you mean.
- Install the Arduino interface and the ESP8266 Board see: Installation
- Install the Mosqiitto Server on your Raspi: Installation
- Install the MQTT-Plugin into Pimatic
- Wrote the Arduino scetch for the ESP8266 with yout temperature sensor and the MQTT plugin. And send the temperature to a topic to your mosqitto server on the Raspi
- In Pimatic you have to set a MQTT Device who subcribes the topic from the ESP8266
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!
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.
Integration in pimatic with a shell sensor.
curl --silent http://ip-address/cm?cmnd=Status%2010 | grep 'Temperature' | cut -d ':' -f7 | cut -d ',' -f1
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.
This post is deleted!