Hi, currently I did a very very very simple merging of both scripts and it has been working great for the last month or so (I use only the IR part of the 1technophile gateway, but I assume the rest works as well).
I am a complete noob with arduino IDE and programming an ESP, so I basically created a function like the ZgatewayIR.ino or ZgatewayRF.ino that it called ZgatewayBRUH.ino, then added the good functions in the main loop and voilà. However, the code is not elegant at all, I want to make sure I understand everything in order to make it a bit more cleaner before sharing it in full.
Currently, the multisensor I have is:
ESP8266 powered by micro USB, and small breadboards in order to connect everything to ground and 3v3 or Vin
- PIR sensor
- Light Sensor
- RGB Led
- IR receiver
- 2 IR emitter (and a transistor to boost the current trough them)