| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- let config = {
- address: "0.0.0.0",
- port: 8080,
- basePath: "/",
- ipWhitelist: [],
- language: "de",
- locale: "de-DE",
- logLevel: ["INFO", "LOG", "WARN", "ERROR"],
- timeFormat: 24,
- units: "metric",
- modules: [
- {
- module: "alert",
- },
- {
- module: "updatenotification",
- position: "top_bar"
- },
- {
- module: "MMM-BurnIn",
- position: "bottom_bar",
- config: {
- updateInterval: 15,
- invertDuration: 5
- }
- },
- {
- module: "MMM-Carousel",
- position: "bottom_bar",
- config: {
- transitionInterval: 20000,
- ignoreModules: ["alert", "updatenotification", "MMM-BurnIn"],
- mode: "slides",
- showPageIndicators: true,
- showPageControls: true,
- slides: {
- main: [
- { name: "clock", position: "top_left", carouselId: "1" },
- { name: "weather", position: "top_right", carouselId: "1" },
- { name: 'MMM-DWD-WarnWeather', position: "top_right", carouselId: "1" },
- { name: "compliments", position: "middle_center", carouselId: "1" }
- ],
- "Birgit": [
- { name: "clock", position: "top_left", carouselId: "1" }
- ],
- "Jonathan": [
- { name: "clock", position: "top_left", carouselId: "1" }
- ]
- },
- }
- },
- {
- module: "clock",
- position: "top_left",
- config: {
- carouselId: "1",
- timeFormat: 24,
- }
- },
- {
- module: "weather",
- position: "top_right",
- config: {
- carouselId: "1",
- weatherProvider: "openweathermap",
- type: "current",
- location: "Worms",
- locationID: "2806142",
- apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
- }
- },
- {
- module: "weather",
- position: "top_right",
- header: "Wettervorhersage",
- config: {
- carouselId: "1",
- weatherProvider: "openweathermap",
- type: "forecast",
- location: "Worms",
- locationID: "2806142",
- apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
- }
- },
- {
- module: 'MMM-DWD-WarnWeather',
- position: 'top_right',
- config: {
- carouselId: "1",
- region: 'Stadt Worms',
- changeColor: true,
- minutes: false,
- displayRegionName: false,
- displayInnerHeader: false,
- interval: 10 * 60 * 1000,
- loadingText: 'Warnungen werden geladen...',
- noWarningText: 'Keine Warnungen',
- severityThreshold: 2
- }
- },
- {
- module: "compliments",
- position: "middle_center",
- config: {
- carouselId: "1",
- updateInterval: 20000,
- fadeSpeed: 3000,
- morningStartTime: 5,
- morningEndTime: 12,
- afternoonStartTime: 12,
- afternoonEndTime: 20,
- remoteFile: "https://gist.githubusercontent.com/Psycho0verload/af47b09bacebfc887a5a4f7fef44fd39/raw/compliments.json"
- }
- }
- ]
- }
|