I want to read data from an rfxcom receiver, which is a multi-device 433 mhz wireless receiver (it can transmit too, but I want to start with receiving). I understand how I can make a serial port device and add a register variable (I do this already to read data from my utility meter). Now, before starting to receive data from this device, I need to initialize it by sending it some specific commands and checking for the ‚ready to receive‘ reply. My question is where I should do this. Is there a ‚on startup‘ event or something like this, or should I hack my way around it by setting a timer that goes off every 10 seconds or so, checks a boolean variable ‚is initialized‘, and if not, does the init? It’s easy to see that this is a hackish approach, which is why I’m asking if there’s a better way. Thanks.