(self, force_cache=False)
Get all blink cameras and pulls their most recent status.
Get all blink cameras and pulls their most recent status.
Get all blink cameras and pulls their most recent status .
def refresh(self, force_cache=False):
        """Get all blink cameras and pulls their most recent status."""
        if not self.get_network_info():
            return
        self.check_new_videos()
        for camera_name in self.cameras.keys():
            camera_id = self.cameras[camera_name].camera_id
            camera_info = self.get_camera_info(
                camera_id,
                owl_info=self.get_owl_info(camera_name),
                lotus_info=self.get_lotus_info(camera_name),
            )
            self.cameras[camera_name].update(camera_info, force_cache=force_cache)
        self.available = True
def refresh ( self , force_cache = False ) : if not self . get_network_info ( ) : return self . check_new_videos ( ) for camera_name in self . cameras . keys ( ) : camera_id = self . cameras [ camera_name ] . camera_id camera_info = self . get_camera_info ( camera_id , owl_info = self . get_owl_info ( camera_name ) , lotus_info = self . get_lotus_info ( camera_name ) , ) self . cameras [ camera_name ] . update ( camera_info , force_cache = force_cache ) self . available = True