Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

For running telldus in a docker container

NotificationsYou must be signed in to change notification settings

jatocode/telldusdocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • master is using Ubuntu 16.04 and has a simple MQTT and HTTP interface to access the tellstick with
  • debian-stretch branch will use a newer Ubuntu-version and "patch" telldus-core
  • xenial-branch uses Ubuntu 16.04 where telldus-core works without any special stuff

Build

docker-compose build

Run

docker-compose up -d

Execute tdtool inside the container from script or such

docker exec -it "containerid" tdtool --list

MQTT Interface

Edit config.json, enter a valid MQTT broker and topics to send/listen onThe toolname should be the name of the tool to call, most likely tdtool

The tellstick can be accessed in two ways via MQTT:

  1. post to in-topic with payload like {"cmd":"--on","id":"1234"} or {"cmd":"--list"}
  2. post to in-topic with path like /in/1234/on, /in/44/off or /in/list

HTTP interface

VERY crude and simple. Configure a port in config.json and toolnameThe tellstick can be accessed via:GEThttp://localhost:port/api/device/1234/on orhttp://localhost:port/api/device/56/off

List devices is not yet supported

About

For running telldus in a docker container

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp