Skip to content
firepick1 (pixel) edited this page Jul 17, 2014 · 23 revisions

Synopsis

fire/config myconfig.json

Description

To customize FireREST, you'll need to provide a custom version of config.json file. This documentation assumes that your current directory is FireREST:

  1. ssh pi@firepick
  2. cd FireREST

Create a custom configuration

Store custom configurations in a folder such as ~/.firerest:

  1. mdkir ~/.firerest
  2. Copy default configuration to start with:
  3. cp www/firerest/config.json ~/.firerest/myconfig.json
  4. Edit ~/.firerest/myconfig.json with your favorite editor
  5. For more configuration information see config.json

Update FireREST configuration

  1. fire/config ~/.firerest/myconfig.json
  2. Verify your changes
  3. node server/firerest.js

Example: Change camera image size to 400x400 pixels

  1. fire/config -e examples/400x400.json

See Also

Clone this wiki locally