Settings.cfg - caedm/wall-ink-server GitHub Wiki
Settings for the wall-ink-server website
buildTimeWebDirectory
The absolute file path of the web root, as seen when make is run
runTimeWebDirectory
The absolute file path of the web root, as seen by the web server at execution time
rrdDirectory
Directory for rrdtool files for monitoring battery voltage.
debugModeActive
Set to "true" for php errors to be displayed in a web browser for troubleshooting purposes. Set to "false" for normal operation for errors to not be displayed.
imageKey
This is the key used to generate the Message Authentication Code for the images. Max length is 19 characters.
timeZone
This will be a number corresponding with the UTC offset of your timezone. For example, if you're using Mountain Standard Time this value will be set to "-7".
autoRegister
If this is set to "true", new devices that check into the web server will be automatically registered to the devices database. If you leave it "true" for too long, someone could very easily inject stuff into your database. This should be used briefly and carefully to register large batches of devices, then set to "false" for normal production use.
Settings for the device database
deviceDatabaseServer
Hostname of machine where the device database is stored
deviceDatabaseUsername
Username used to access device database
deviceDatabasePassword
Password used to access device database
deviceDatabaseName
Name of the SQL database that contains the wall-ink-server device database
Settings for the example_plugin
exampleSchedulerActive
Setting this to "true" activates the example plugin. "False" disables the plugin.
exampleSchedulerDisplayUrl
Url displayed on the wall-ink displays so users know what website to go to to schedule resources.
See reference photo below with url highlighted in red. The idea here is that one wall-ink-server you can run booked clients, google clients, and other plugin clients and they could all have a different url for users to go to to reserve resources. There is no provision made for more than one url for multiple google calendar URLs, or multiple booked resource URLs. For that you would have to run more than one wall-ink-server.
exampleSchedulerQrCodeBaseUrlBeginning
Beginning of the URL linked to by the QR code (everything before the resource ID)
exampleSchedulerQrCodeBaseUrlEnd
End of the URL linked to by the QR code (everything before the resource ID)
Settings for the google calendar plugin
googleIntegrationActive
Setting this to "true" activates the google plugin. "False" disables the plugin.
googleCalendarDisplayUrl
Similar to example_pluginCalendarDisplayUrl above, but specifically for layouts used with google calendar.
googleCalendarQrCodeBaseUrlBeginning
Beginning of the URL linked to by the QR code (everything before the resource ID)
googleCalendarQrCodeBaseUrlEnd
End of the URL linked to by the QR code (everything before the resource ID)
Settings for the booked plugin
bookedIntegrationActive="false"
Setting this to "true" activates the booked plugin. "False" disables the plugin.
bookedDatabaseServer
Name or address of server that houses the booked database. The wall-ink-server plugin for booked does not use the booked API, but reads directly from the database.
bookedDatabaseUsername
Username used for read-only access to the booked database
bookedDatabasePassword
Password for the above user.
bookedDatabaseName
Name of the booked database that contains the booked resource schedules
bookedDisplayUrl
Similar to example_pluginCalendarDisplayUrl above, but specifically for layouts used with booked.
bookedQrCodeBaseUrlBeginning
Beginning of the URL linked to by the QR code (everything before the resource ID)
bookedQrCodeBaseUrlEnd
End of the URL linked to by the QR code (everything before the resource ID)
Settings for the Static plugin
staticImagesPluginActive
Setting this to "true" activates the static plugin. "False" disables the plugin.