Giter Club home page Giter Club logo

telldusdocker's Introduction

Branches

  • 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 on The 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 toolname The tellstick can be accessed via: GET http://localhost:port/api/device/1234/on or http://localhost:port/api/device/56/off

List devices is not yet supported

telldusdocker's People

Contributors

jatocode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

dadataman

telldusdocker's Issues

RPi

Hei! Jeg ser du tar imot spørsmål på svensk, så da går det kanskje på norsk også? 😉 Jeg oppdaget denne tilfeldigvis i dag, og det kan kanskje hjelpe meg stort! Jeg har tre Pi-er som ennå er på Buster, fordi jeg ikke har fått til å kjøre Tellstick Duo på Bullseye. Buster gikk akkurat så vidt, med en del norrøn magi, noen besvergelser fra Harry Potter, alvemagi fra "Ringenes herre" og bønner til Tux. Samtidig funker mye annet dårlig i Buster nå, som nyere Hass. Derfor vil jeg veldig gjerne prøve å få dette til å funke på en RPi, men jeg ser at denne er laget for Ubuntu, så det blir vel ikke det samme. Vet du hva som må endres for å få det til på en Pi?

Connecting to HA

Nice work! Any way to connect to this container from a Home Assistant container to use the TellStick integration?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.