i have to use openHAB for a school project, but im a bit confused. I have 2 esp8266 which im using for this:
1.ESP: RFID Reader which ist wired on the ESP and programmed with the Arduino IDE
2.ESP: Laserdiod with a photoresistor as a light barrier. this is also programmed with the Arduino IDE
So basically if the rfid reader regocnize an valid rfid tag it will open a dog door and close it, but only if 2.ESP dont send a signal which indicates someone is under the door. This should happen all with mqtt and openhab.
My question know:
If i install openhab on my esp, will i loose the code for the rfid reader ? will it overwrite it ? do I have to write the code in openhab ? im rly confused with openhab