Files
tellstick-addon/tellstick/config.json
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

38 lines
990 B
JSON

{
"name": "Tellstick",
"version": "0.1",
"slug": "tellstick",
"description": "Telldus Tellstick daemon and tools.",
"url": "https://home-assistant.io/addons/tellstick/",
"startup": "services",
"boot": "auto",
"devices": ["/dev/bus/usb:/dev/bus/usb:rwm"],
"options": {
"devices": [
{
"id": 1,
"name": "Example device",
"protocol": "everflourish",
"model": "selflearning-switch",
"house": "A",
"unit": "1"
}
]
},
"schema": {
"devices": [
{
"id": "int(1,)",
"name": "str",
"protocol": "match(arctech|brateck|everflourish|fuhaote|hasta|ikea|kangtai|risingsun|sartano|silvanchip|upm|waveman|x10|yidong)",
"model": "match(codeswitch|bell|selflearning-switch|selflearning-dimmer|selflearning|ecosavers|kp100)?",
"house": "str?",
"code": "str?",
"unit": "str?",
"fade": "str?"
}
]
},
"image": "homeassistant/{arch}-addon-tellstick"
}