rrently is: ", res);
         },
         session.log);

         session.subscribe("io.crossbar.examples.yun.ambientlight.on_light_level_change", function (args) {
            console.log("Light level changed to: ", args[0]);
         });

         session.subscribe("io.crossbar.examples.yun.ambientlight.on_threshold_passed", function (args) {
            console.log("Light threshold passed: ", args[0]);
         });

      };

      // fired when connection was lost (or could not be established)
      //
