Commit Graph

7 Commits

Author SHA1 Message Date
Franck Nijhof
81a49a8ec2 tellstick: Refactor of add-on (#596)
* tellstick: Code formatting

* tellstick: Rewrite add-on onto Bashio

* tellstick: Adds README to add-on repository

* tellstick: Bump version to 2.0, added README
2019-06-02 14:44:30 +02:00
Pascal Vizeli
4fc4ab5706 Update New CLI (#500)
* Update New CLI

* Fix shell

* ssh: Include hassio bash completion (#501)
2019-01-09 13:59:44 +01:00
Pascal Vizeli
dd2d571992 Remove bluetooth add-on & fix lint (#400) 2018-09-06 00:05:50 +02:00
endor-force
4b45abc7ed Stdin does not work with quoting on $input (#208)
* Update config.json

* Update run.sh

* Single quotes.. ?

* Nope..  single quotes did not work

* Splitting on space and putting it back together

Spaced..

* Gosh

* Update run.sh

* Cropping msg

Since we wish to output the results from tdtool in either way (error or regular response) i cropped the catching of output.

* Keep it simple.

* ...

* hmm

* Update run.sh

* Update run.sh

* Update run.sh
2017-12-07 13:20:37 +01:00
endor-force
d5263e9b6e Fix bash variable input (#207)
* Fix bash variable input

This will cause error in validation.
i have tried with 
if ! msg="$(tdtool --"$input")"; then
if ! msg="$(tdtool --"${input}")"; then
if ! msg="$(tdtool --${input})"; then
without success.
The only one i got working in real life is the one in this PR.

* Trying variable with curlies

Changed frm only output errors to output all output from tdtool. 
Enables listing of devices and sensors with output to add-on log.

* Update config.json

* fix not used exec

* fix lint

* update output
2017-12-06 11:35:30 +01:00
endor-force
e2e2a76a61 TellStick - Added stdin, clarified desc. and config (#206)
* Added event listener

* Updated version

* Add TellStick Logo

* Update run.sh

* Update config.json

* Update config.json

* Update config.json

* Update config.json

* Variable handling..

* Update run.sh
2017-12-04 22:16:46 +01:00
endor-force
aa02ebf3b9 Telldus core (#201)
* Added telldus-core daemon module

Proof of concept to compile and install telldus-core as an addon. Needs more fixes to be able to communicate with python script in hassio docker.

* Revert "Added telldus-core daemon module"

This reverts commit 79c8e35b8379bed41bcf5e47923b2946525d2a2a.

* Added telldus-core add-on, proof of concept

Add-on will compile and install telldus-core as an add-on.

Tested to work with hardware.
Need more fixes in order for communication with homeassistant container to work.

* Updated with tellstick.conf check after installation

Secure that we have at least a basic tellstick.conf file. This will also allow user to migrate existing tellstick.conf file in to config without risking to have it overwritten.

* Altered exec to use --nodaemon

Using --nodaemon keeps the docker, daemon and add-on active, running just telldusd ends the docker unexpectedly.

* Updated build method to match the one in hass.io docker

Now using bjornes fork of telldus homeassistant-alpine as the source and thus sharing the same source as being used in the homeassistant docker.

* Update Dockerfile

* Compile telldus master branch rather than fork

Instead of using forked static code, apply small fixes to enable compilation on alpine.

* Removed search - replace of userid in tellstick.conf

Moved in to dockerfile

* Update run.sh

* Update Dockerfile

* Update config.json

* Update Dockerfile

* Rename telldus_core/Dockerfile to tellstick/Dockerfile

* Rename telldus_core/run.sh to tellstick/run.sh

* Rename telldus_core/config.json to tellstick/config.json

* Update config.json

* Update Dockerfile

* Update Dockerfile

* Update config.json

* Update run.sh

* Update run.sh

* Update config.json

* Update run.sh

* fix lint

* Update run.sh

* Update run.sh

* Update config.json

* Update Dockerfile

* Update Dockerfile

* fix lint

* Update Dockerfile

* Update run.sh

Altered some details for successful parsing of options into tellstick.conf.

* Update run.sh

* Update config.json

* Update config.json

Added example device to support the users getting started with configuration..
2017-11-24 21:58:28 +01:00