Foscam Universal Internal Device Type (HD\Non-HD with Alarm\LED\PTZ Control)

peter, i think the putImageInS3 is the one deprecated and not the storeTemporaryImage
putImageInS3 was something which is using getS3Object which is deprecated

def putImageInS3(map) {

def s3ObjectContent

try {
	def imageBytes = getS3Object(map.bucket, map.key + ".jpg")

	if(imageBytes)
	{
		s3ObjectContent = imageBytes.getObjectContent()
		def bytes = new ByteArrayInputStream(s3ObjectContent.bytes)
		storeImage(getPictureName(), bytes)
	}
}
catch(Exception e) {
	log.error e
}
finally {
	//Explicitly close the stream
	if (s3ObjectContent) { s3ObjectContent.close() }
}

}

i made some progress now something shows up on the app its just all black so have to see what image its picking up … earlier it was all white… so i guess i made some progress… :slight_smile: