Dieploegskaar
Active Member
- Joined
- Mar 4, 2020
- Messages
- 72
- Reaction score
- 48
So i hooked up an ESP32 through EspHome in HASS. (running in VM on Windows PC)
As a test created a switch component on GPIO2 pin, which is connected to the onboard led. Works schweet man! The tiny blue led bilks on or off at my command and I'm enraged with the essence or IoT power! I'm now the IoT god if my dominion!
But I'm quite new to the smart home scene so bare with me if this seems blindingly obvious, here's my question:
How, (it seems this should be possible ? but the method eludes me), do I create an additional component on another GPIO pin on the same ESP32 host? Surely it can't be that you can only utilize 1 of the +-30 GPIO pins at a time on one ESP32 to contol just 1 device!?
How does one code it in YMAL then ?
As a test created a switch component on GPIO2 pin, which is connected to the onboard led. Works schweet man! The tiny blue led bilks on or off at my command and I'm enraged with the essence or IoT power! I'm now the IoT god if my dominion!
But I'm quite new to the smart home scene so bare with me if this seems blindingly obvious, here's my question:
How, (it seems this should be possible ? but the method eludes me), do I create an additional component on another GPIO pin on the same ESP32 host? Surely it can't be that you can only utilize 1 of the +-30 GPIO pins at a time on one ESP32 to contol just 1 device!?
How does one code it in YMAL then ?