Skip to content
This repository was archived by the owner on Aug 8, 2024. It is now read-only.

Reduce weather refresh to every 5 minutes #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions companion/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { encode } from "cbor"
import { me } from "companion"
import { settingsStorage } from "settings";

// wake every 5 minutes and refresh weather
me.wakeInterval = 5 * 60 * 1000
// wake every 10 minutes and refresh weather
me.wakeInterval = 10 * 60 * 1000

console.log("Started companion!");

Expand Down