<%include file="/pageheader.html"/> <%! from kaithem.src import config,sound,persist,directories,geolocation,alerts,settings, settings_overrides import yaml,os notificationsfn = os.path.join( directories.vardir, "core.settings", "pushnotifications.toml") pushsettings = persist.getStateFile(notificationsfn) location = geolocation.getLocation('default') %>

Options

Options
Flush Logs

Push Notifications

This allows you to get Kaithem notifications via any AppRise supported target. Only important notifications and errors are supported for now. Failed notifications can be retried later when internet returns.

The simplest way to get started is to set the target to "ntfy://your_secret_topic_name", and use ntfy.sh via the web or the Android app, to subscribe to the topic. No account setup is needed. "dbus://"" will give linux desktop notifications.

Apprise Target

New Config Keys

These are set through entries in modules

%for i in settings_overrides.list_keys():
${i|h}
${settings_overrides.get_val(i)|h}
%endfor

Alternate Homepage

This lets you make the root go to a different page. Use /index to access the normal homepage.
URL to redirect / to

Screen Rotate

Server Location

This is mostly used for astronomical calculations. All are optional. Get Location uses ip-api.com
Country Code
Region
Timezone
City
Lattitude
Longitude

Alerts

Use the sound device __disable__ to turn off alert sounds.

Sound

Beep interval(Warnings)
Sound file(Warnings)
Beep interval(Errors)
Sound file(Errors)
Beep interval(Critical)
Sound file(Critical)
Sound Device(All)

Current Configuration Settings

Because some of these settings could cause instabilty if set incorrectly, they can currently only be changed by actually changing the configuration file and resetting the server.
Open
        ${yaml.dump(config.config,width=120,indent=4,default_flow_style=False)|h}
        
<%include file="/pagefooter.html"/>