diff --git a/settings/settings-UI.html b/settings/settings-UI.html index 411ddcd..4d6ce39 100644 --- a/settings/settings-UI.html +++ b/settings/settings-UI.html @@ -35,7 +35,7 @@ body{ -
+
@@ -78,7 +78,6 @@ body{
-
@@ -273,7 +272,7 @@ body{
-
+
@@ -282,11 +281,52 @@ body{
+
+ + +
+ +
+
@@ -305,13 +345,14 @@ body{

Instructions
-Insert your peesonal details and preferences and click on 'Generate'. Copy the downloaded file to the Raspberry Pi and place it in: '/home/pi/Inky-Calendar/settings/' (inside the settings folder within the Inky-Calendar folder. Lastly, reboot the Raspberry Pi to apply the changes. You can also manually run the software with: +Insert your personal details and preferences and click on 'Generate'. Copy the downloaded file to the Raspberry Pi and place it in: '/home/pi/Inky-Calendar/settings/' (inside the settings folder within the Inky-Calendar folder. Lastly, reboot the Raspberry Pi to apply the changes. You can also manually run the software with: python3 /home/pi/Inky-Calendar/modules/inkycal.py.


- + +

Developed by Toby Chui for Inky-Calendar Project, modified by aceisace. Licensed under MIT
@@ -333,9 +374,32 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
diff --git a/settings/settings.jsonc b/settings/settings.jsonc new file mode 100644 index 0000000..7277439 --- /dev/null +++ b/settings/settings.jsonc @@ -0,0 +1,91 @@ +{ + "language" : "en", // "en", "de", "fr", "jp" etc. + "units" : "metric", // "metric", "imperial" + "hours" : 24, // 24, 12 + "model" : "epd_7_in_5_v2_colour", // For supported E-paper models, see below + "update_interval" : 60, // 10, 15, 20, 30, 60 + "calibration_hours" : [0,12,18], // Do not change unlesss you know what you are doing + + //For now three panels can be defined for three unique locations: 'top', 'middle' and 'bottom' + "panels" : [ + { + "location" : "top", + "type" : "inkycal_weather", + "config" : { + "api_key" : "", //Your openweathermap API-KEY -> "api-key" + "location" : "Stuttgart, DE" //"City name, Country code" + } + }, + { + "location" : "middle", + "type" : "inkycal_calendar", // "inkycal_calendar" and "inkycal_agenda" have the same parameters, but are displayed differently + "config" : { + "week_starts_on" : "Monday", //"Sunday", "Monday"... + "ical_urls" : [ + "https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics", + "https://www.calendarlabs.com/ical-calendar/ics/101/Netherlands_Holidays.ics" + ] + } + }, + { + "location" : "bottom", + "type" : "inkycal_rss", + "config" : { + "rss_feeds" : [ + "http://feeds.bbci.co.uk/news/world/rss.xml#", + "https://github.com/aceisace/Inky-Calendar/releases.atom" + ] + } + }, + { + "location" : "middle", + "type" : "inkycal_image", + "config" : { + /* + The url or file path to obtain the image from. + The following parameters within accolades ({}) will be substituted: + - model + - width + - height + + Samples + The inkycal logo: + inkycal_image_path = 'https://github.com/aceisace/Inky-Calendar/raw/master/Gallery/Inky-Calendar-logo.png' + + A dynamic image with a demo-calendar + inkycal_image_path = 'https://inkycal.robertsirre.nl/panel/test/{model}/image?width={width}&height={height}' + + Dynamic image with configurable calendars (see https://inkycal.robertsirre.nl/ and parameter inkycal_image_path_body) + inkycal_image_path = 'https://inkycal.robertsirre.nl/panel/calendar/{model}?width={width}&height={height}' + + inkycal_image_path ='/home/pi/Inky-Calendar/images/canvas.png' + */ + "image_path" : "https://github.com/aceisace/Inky-Calendar/raw/master/Gallery/Inky-Calendar-logo.png", + + /* + Optional: inkycal_image_path_body + Allows obtaining complexer configure images. + When `inkycal_image_path` starts with `http` and `inkycal_image_path_body` is specified, the image is obtained using POST instead of GET. + NOTE: structure of the body depends on the web-based image service + */ + + // inkycal_image_path_body = [ + // 'https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics', + // 'https://www.calendarlabs.com/ical-calendar/ics/101/Netherlands_Holidays.ics' + // ] + } + } + ] +} + +/* +Supported E-Paper models""" +epd_7_in_5_v2_colour # 7.5" high-res black-white-red/yellow +epd_7_in_5_v2 # 7.5" high-res black-white +epd_7_in_5_colour # 7.5" black-white-red/yellow +epd_7_in_5 # 7.5" black-white +epd_5_in_83_colour # 5.83" black-white-red/yellow +epd_5_in_83 # 5.83" black-white +epd_4_in_2_colour # 4.2" black-white-red/yellow +epd_4_in_2 # 4.2" black-white +*/ \ No newline at end of file