Hi @Erko, You’ve come to this forum wanting assistance in getting some Blynk-based code together to run on your custom hardware. Your topic title talked about “how to connect a few codes”, which I took to mean that you had some existing code samples that you’d successfully tested with your devices and that you needed to integrate together and add some Blynk functionality.
Forum members aren’t going to write your code for you, but they will probably give you a few pointers, highlight the precautions you need to take when coding with Blynk, and probably chip-in a few ideas and snippets of code that you could incorporate.
I started by suggesting that the first steps should be to share some functional data about one of your devices, along with existing code and some indication about what you wanted the finished Blynk app to do as far as this device is concerned. Because the devices seemed suitable for interaction in a smart home environment I also asked for information about your overall plan for how they might be used together.
So far you’ve provided a somewhat ambiguous list of GPIO ports and connections, but no indication about what these devices (switches, relays, LEDs etc) are intended to do, and what sort of functionality you’re looking For. for example…
You have two physical switches. Are they monetary or latching?
I assume that if you press one switch you want it to toggle one of the relays, but this is just a guess.
Is the LED supposed to light when one or both of the relays are activated? If so, why is there only one of them?
What sort of functionality are you looking for from Blynk? Do you just want to mirror the physical switches and LED with switch/LED widgets? Are you wanting some sort of timed control of the relays etc. etc. etc.
You’ve not shared any code, or Blynk app prototypes.
In answer to my question about integration and direct device to device communication you’ve said Yes, but not explained further, then thrown in some additional curved ball information about LORA, but not elaborated on it.
My analysis of the conversation so far is that there are a number of forum members who would be willing to contribute in some way, but that you aren’t really interested in doing the Blynk coding yourself - your primary focus seems to be on circuit design and construction.
If I’m reading this wrong then apologies - but you need to step-up and provide more usable information, and show some interest in getting your hands dirty with C++ and Blynk if you want any further assistance from the regulars here.