void function ( ) { String loc0 = getSettingsJson ( ) ; if ( loc0 != null && loc0 . contains ( "srini_string" ) ) { logger . info ( "srini_string" ) ; Thread loc1 = new Thread ( new BridgePairingProcessor ( ) ) ; loc1 . start ( ) ; } }
checks if the secret is already registered in the hue bridge . if not it pings the bridge for an initial connect . this pinging will take place for 100 seconds . in this time the connect button on the hue bridge has to be pressed to enable the pairing . concode_field_sep String ip concode_elem_sep Logger logger concode_elem_sep Client client concode_elem_sep String secret concode_field_sep String getUrl concode_elem_sep String getSecret concode_elem_sep HueSettings getSettings concode_elem_sep String getSettingsJson concode_elem_sep void pingForPairing concode_elem_sep void run