Hi, everyone! I hope You can help me out with my issue. I’m have to make a mini smart home for my school project using OpenHab. I currently use raspbery pi that im using as a PC where I run OH server and work in Arduino IDE.
Im using DHT22, PIR, MQ2 and IR flame sensor that are connected to Arduino. I want to use arduino to make an alarm system that can be activated/deactivated with a keypad. I also plan to add a gsm module that is going to send messages in case of emergency. I have experience in working with Arduino and that I don’t have problems with that.
The issue is that I don’t understand how to recieve sensor values from Arduino, and I dont how to send values (like a PIN code for alarm deactivation) to Arduino. I thought of connecting Arduino to Raspberry via USB and then trying to “catch” those values from serial monitor somehow. Or maybe connect a ESP01 to my Arduino Mega and send everything to MQTT server which I also don’t know how to use.
I don’t expect anyone to do that for me, it’s not grateful. I would be happy if somone would help point me in a direction where I could learn what I need to do.
If there’s anything unsaid, I will try to explain the best I can.
I would like to send temperature, humidity, states of PIR, mq2 and flame sensor to openhab, and I would like to send 4-digit code from openhab to arduino for alarm deactivation.
I will go with Serial binding because I have everything I need. I want to start my project as soon as I can, so I don’t have the time to wait for another board with wifi implemented. I appreciate everything, and thank you!