What I have done for Vera to discover "Sensors" defined in the GW is this:
Add this to your GW sketch just after the port definition.
// How many clients should be able to connect to this gateway (default 1) #define MY_GATEWAY_MAX_CLIENTS 2
Then when you have everything back up and running with Vera again you can connect another controller simultaneously called MYSController from a Windows computer.
When you are also connected from MYSController start the inclusion mode from Vera and then press the "Discover" button in MYSController.