I’m attempting to write an External Component.
It is a cover and I have it working for a single instance.
It is based on on RF24 radio. A single radio can support an unlimited amount of covers. That radio should be a singleton. There is a 4 byte code for each “remote” and each remote can support 6 individual covers.
As far as YAML, I need a way to specify the name for any of those channels, but also define a radio and define multiple “Radios” (just the 4 byte code)
What would be the best way to accomplish this in both YAML and directory structure? Is there an example that I could look at?
Is there a way to define my radio and call it from another component?
Could I define a single radio and then a “remote” and then just define the covers to link to a “remote” which would then link to the radio? I need the radio to support queueing up commands and transmitting them at intervals - the radio has special things like initialization and settings that need to be done once after the initialization.
Any help would be greatly appreciated!