Skip to content

Commit

Permalink
feat: build instructions and new api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kribor committed Nov 17, 2024
1 parent b902f2a commit 1960685
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
FROM node:16
# docker build -t kribor/sunrise-timer-ha:20241116 .
# docker push -t kribor/sunrise-timer-ha:20241116
# docker build -t kribor/sunrise-timer-ha:latest .
# docker push -t kribor/sunrise-timer-ha:latest

FROM node:18

RUN apt-get update && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN npm install -g nodemon
Expand Down
2 changes: 1 addition & 1 deletion src/controller/telldus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const token = {
secret: process.env['TELLDUS_ACCESS_TOKEN_SECRET']
} as Token;

const baseUrl = 'https://api.telldus.com/json'
const baseUrl = 'https://pa-api.telldus.com/json'

const telldusGot = getGot({
logStart: true,
Expand Down

0 comments on commit 1960685

Please sign in to comment.