Skip to main content
Skip table of contents

getimage

/JSON?request=getimage&path=PATH_TO_IMAGE

Returns a base64 encoded image at the given path. The path is relative to the HomeSeer HTML directory.

Example request:

http://IP_or_domain/json?request=getimage&path=images\HomeSeer\status\on.gif

Example return:

{

  • "Response":"ok",
  • "FileBase64":"base64 encoded image"

}

If the file is not found and error is returned:

{

  • "Response":"Error, file not found"

}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.