Pascal Vizeli
d7df423deb
Allow event stream over api proxy ( #285 )
...
* Allow event stream over api proxy
* fix lint
* fix lint
* cleanup code
* fix bug
* fix prepare
* Fix stream bug
* fix api request
2017-12-24 15:04:16 +01:00
Pascal Vizeli
c691f2a559
Auto mapping UART devices from host ( #276 )
...
* Add hardware to docker api
* set hardware to docker
* add loop to dns
* Use loop for dns
* Update const.py
* Update API.md
* Update validate.py
* Update addon.py
* Update addon.py
* fix lint
* style
* Update hardware.py
2017-12-12 20:01:02 +01:00
Pascal Vizeli
26d8dc0ec6
Add support for host dbus system ( #274 )
2017-12-12 09:10:39 +01:00
Pascal Vizeli
ece6c644cf
IPC ( #267 )
...
* Update API.md
* Update const.py
* Update addon.py
* Update validate.py
* Update addon.py
* Update addons.py
* fix lint
2017-12-10 23:29:51 +01:00
Pascal Vizeli
6a5bd5a014
Disable AppArmor/SecComp ( #266 )
...
Disable AppArmor
2017-12-10 23:10:25 +01:00
Pascal Vizeli
a95274f1b3
Use tini for home-assistant docker ( #255 )
2017-11-21 15:55:10 +01:00
Pascal Vizeli
70104a9280
Set api token for access requirements ( #238 )
...
* Set api token for access requirements
* fix uuid
* make robust
* fix names
2017-11-05 00:07:49 +01:00
Pascal Vizeli
efbc7b17a1
Use init system for add-ons ( #237 )
...
* Use init system for add-ons
* Update const.py
* Update validate.py
* Update addon.py
* Update addon.py
* remove options
* remove options p2
* remove options p3
* Update addon.py
2017-11-04 21:52:41 +01:00
Pascal Vizeli
cda3184a55
Add support for legacy mode ( #232 )
...
* Add support for legacy mode
* Update const.py
* add legacy mode
* Update addon.py
* Update addon.py
* Update addon.py
* Update addon.py
2017-10-24 17:23:33 +02:00
Pascal Vizeli
f3f6771534
Add a static entry for hassio api ( #230 )
2017-10-22 13:53:41 +02:00
Pascal Vizeli
66c93e7176
Minimize downtime to 1 sec ( #223 )
2017-10-17 22:25:29 +02:00
Pascal Vizeli
7a84972770
Better close/loop handling ( #221 )
...
* Better close/loop handling
* Update bootstrap.py
* Update __main__.py
* Update core.py
* Update __main__.py
* Update __main__.py
* Update supervisor.py
* Update supervisor.py
* Update const.py
* fix lint
2017-10-17 16:04:37 +02:00
Pascal Vizeli
bd1c8be1e1
Support new API for add-on STDIN support ( #207 )
...
* Add function to write data to add-on stdin with API
* Update API Doc
* Add to api
* Update addon.py
2017-10-03 16:44:48 +02:00
Pascal Vizeli
4baa80c3de
Map sysfs devices/platform/soc data
2017-09-30 11:04:27 +02:00
Pascal Vizeli
40324beb72
Add support for kernel gpio interface ( #202 )
...
* Add support for kernel gpio interface
* Update addon.py
* fix git python module change
* Update git.py
2017-09-29 21:42:33 +02:00
Pascal Vizeli
3c04c71401
Update build system to origin docker ( #191 )
...
* Update build system to origin docker
* Rename build env
* fix lint p1
* fix bug & add more log info for snapshot/restore
* fix exception
* Log build info
* revert last change
* fix regex
2017-09-19 18:06:34 +02:00
Pascal Vizeli
5a80be9fd4
Allow stop/start home-assistant & flow of startup ( #182 )
...
* Allow config boot
* Read boot settings
* Use internal boot time for detect reboot
* Check if Home-Assistant need to watch
* Make datetime string and parse_datetime
* Add api calls
* fix lint p1
* Use new datetime parser for sessions and make a real default boot time
* fix lint p2
* only start docker if they is running
* convert to int (timestamp)
* add boot flag
2017-09-11 14:14:26 +02:00
Pascal Vizeli
6ab3fe18d9
Allow to see log also if there some process ( #170 )
2017-08-24 22:23:24 +02:00
Pascal Vizeli
7969f3dfd7
Remove default bridge ( #168 )
...
* Remove default bridge
* rename bridge
2017-08-24 21:49:36 +02:00
Pascal Vizeli
3525f5a02f
Cleanup network mode & fix port mapping ( #166 )
...
* Cleanup network mode & fix port mapping
* Fix lint
2017-08-24 16:39:06 +02:00
Pascal Vizeli
04514a9f5c
WIP: Network docker hassio ( #159 )
...
* Create hassio network layer / allow linking
* rename docker
* fix lint
* fix lint p2
* Set network options
* First version of network code
* Finish network layer
* Remove old api_endpoint stuff
* Add DNS forwarding
* Fix DNS recorder
* Fix lint p1
* Fix lint p2
* Fix lint p3
* Fix spell
* Fix ipam struct
* Fix ip to str
* Fix ip to str v2
* Fix spell
* Fix hass on host
* Fix host attach to network
* Cleanup network code
* Fix lint & add debug
* fix link
* Remove log
* Fix network
* fix reattach of supervisor
* set options
* Fix containers
* Fix remapping & add a test
* Fix dict bug
* Fix prop
* Test with run container
* Fix problem
2017-08-24 14:57:13 +02:00
Pascal Vizeli
dfda7dc748
Better cleanup for local build add-ons ( #161 )
...
* Better cleanup for local build add-ons
* fix lint
2017-08-20 23:02:58 +02:00
Pascal Vizeli
fa9b3b939e
Use exit code to detect wrong configs ( #156 )
...
* Update homeassistant.py
* Update homeassistant.py
* Update util.py
* add support for yaml errors
2017-08-16 11:25:38 +02:00
Pascal Vizeli
7798e7cde2
Code cleanup & add config check to API ( #155 )
...
* Code cleanup & add config check to API
* Fix comments
* fix lint p1
* Fix lint p2
* fix coro
* fix parameter
* add log output
* fix command layout
* fix Pannel
* fix lint p4
* fix regex
* convert to ascii
* fix lint p5
* add temp logging
* fix output on non-zero exit
* remove temporary log
2017-08-16 02:10:38 +02:00
Pascal Vizeli
57f3178408
Change update flow to a higher level ( #150 )
2017-08-14 23:56:52 +02:00
Pascal Vizeli
27a079742d
Fix hostname / add device if it use audio ( #144 )
...
Add an optional extended description…
2017-08-10 11:06:55 +02:00
Pascal Vizeli
8d468328f3
Expose new function to add-ons ( #138 )
...
* Expose new function to add-ons
* Rename `hassio` to `hassio_api`
* fix lint
* done
2017-08-08 16:54:42 +02:00
Pascal Vizeli
f5b166a7f0
Use addon slug as hostname instead docker name ( #132 )
2017-08-04 16:32:17 +02:00
Pascal Vizeli
fa687e982e
Set hostname on homeassistant / addons ( #115 )
2017-07-27 22:17:48 +02:00
Pascal Vizeli
cd5a09938f
Add support for logo
2017-07-20 22:04:44 +02:00
Pascal Vizeli
421b380043
fix lint
2017-07-11 22:11:25 +02:00
pvizeli
02c8baef68
Add landingpage / cleanup homeassistant core handling
2017-07-11 12:26:58 +02:00
Pascal Vizeli
6c1456902e
Update util.py ( #92 )
...
Add an optional extended description…
2017-07-07 14:12:26 +02:00
Pascal Vizeli
7186f5a8c0
Add more addons functions. ( #91 )
...
* Add more addons functions.
* fix lint
* fix lint p2
* Allow more customable network settings
* fix lint
* change point of validate
* fix lint
* fix handling
* fix lint & validate data before write
2017-07-06 23:40:49 +02:00
Pascal Vizeli
0ac96c207e
Convert homeassistant into a dict (snapshot) ( #90 )
...
* Convert homeassistant into a dict
* fix lint
* fix bugs
* cleanup code
* fix cleanup
2017-07-06 01:29:09 +02:00
Pascal Vizeli
e2a29b7290
Add snapshot feature ( #88 )
...
* Add API layout for snapshot
* Update api
* Add support for export/import docker images
* Move restore into addon
* Add restore to addon
* Fix lint
* fix lint
* cleanup
* init object
* fix executor
* cleanup
* Change flow of init
* Revert "Change flow of init"
This reverts commit 6b3215e44c990d16f728f766df52b20c091de807.
* allow restore from none
* forward working
* add size
* add context for snapshot
* add init function to set meta data
* update local addon on load
* add more validate and optimaze code
* Optimaze code for restore data
* add validate layer
* Add more function to snapshot / cleanup others
* finish snapshot function
* Cleanup config / optimaze code
* Finish snapshot on core
* Some improvments first object for api
* finish
* fix lint p1
* fix lint p2
* fix lint p3
* fix async with
* fix lint p4
* fix lint p5
* fix p6
* make staticmethod
* fix schema
* fix parse system data
* fix bugs
* fix get function
* extend snapshot/restore
* add type
* fix lint
* move to gz / xz is to slow
* move to gz / xz is to slow p2
* Fix config folder
* small compresslevel for more speed
* fix lint
* fix load
* fix tar stream
* fix tar stream p2
* fix parse
* fix partial
* fix start hass
* fix rep
* fix set
* fix real
* fix generator
* Cleanup old image
* add log
* fix lint
* fix lint p2
* fix load from tar
2017-07-05 18:16:14 +02:00
Pascal Vizeli
3c4240a8a8
Update __init__.py
2017-06-29 21:10:42 +02:00
Pascal Vizeli
56a9f64730
Fix write options handling ( #84 )
...
* Fix write options handling
* Fix bug
2017-06-28 23:06:06 +02:00
Pascal Vizeli
d5eb66bc0d
Use tmp folder / fix log bug / add executor ( #83 )
...
* Use tmp folder / fix log bug / add executor
* Update __main__.py
* Update .travis.yml
* Add autoupdate on startup.
* Fix bug
* Move selfupdate code part into start
2017-06-28 16:22:44 +02:00
Pascal Vizeli
40343089b5
Fix error handing ( #82 )
...
Add an optional extended description…
2017-06-26 09:17:09 +02:00
Pascal Vizeli
1b887e38d6
Add new data Layer for addons ( #81 )
...
* Add new data Layer for addons
* draft v2
* part 3
* Cleanups for new addon layout
* cleanup part 5
* fix lint p1
* fix lint p2
* fix api bug
* Fix lint p3
* fix lint p4
* fix lint p5
* fix lint p6
* fix update
* fix lint
* Update repo add code part 1
* new repository load code
* reorder code
* Code cleanup p1
* Don't allow change options for not installed addons
* Cleanup error handling
* Fix addon restart config bug
* minimize timeout for bad addons
* set core timeout for docker to 15
* fix lint
* fix start bug
* Add startuptype
* change names / fix update bug
* fix update bug p2
* Cleanup arch
* Ignore built-in repositories
* fix lint
* fix bug
* fix bug p4
* fix arch handling / better bugfix for boot option
* fix lint
* fix arch
* fix options
* fix close is no coro
* update api description & fix lint
* Fix error
* fix api validate config
* cleanup api
* Fix repo loader
* cleanup slugs
* fix lint
2017-06-23 00:51:28 +02:00
Pascal Vizeli
6d23f3bd1c
Use our new base image
2017-06-14 16:55:03 +02:00
Pascal Vizeli
d854307acb
Remove container before delete images ( #78 )
2017-06-08 17:11:14 +02:00
Pascal Vizeli
99aa438817
Allow extend cap for addons ( #77 )
...
* Allow extend cap for addons
* cleanup
2017-06-05 12:46:45 +02:00
Pascal Vizeli
d15b6f0294
Allow map special device to homeassistant docker ( #75 )
...
* Allow map special device to homeassistant docker
* fix lint
* fix '/dev/'
2017-06-02 23:39:54 +02:00
Pascal Vizeli
8287330c67
cleanup
2017-05-31 23:44:05 +02:00
Pascal Vizeli
6b16da93cd
WIP: Refactory / Cleanup docker base ( #73 )
...
* Refactory / Cleanup docker base
* Check ID of running image
* Small bugs / lint
* Add log info
* Fix lint
* Add a real cleanup solution
* fix unused import
* Cleanup restart after updates
* Use restart callback
* rename callback
* Add info log for cleanup & fix lint
* Fix lint
* fix wrong id
* fix set addon as install
2017-05-31 23:41:04 +02:00
bestlibre
c1cd9bba45
Adding tmpfs to addon config ( #72 )
...
* Adding tmpfs to addon config
* Adding vol.Match and correcting syntax error
* Missing import and linting
* Update addon.py
* Revert "Update addon.py"
This reverts commit 82798c8f2dc4f1bd297ef437f96eb19c69ca5df0.
* optimaze code
2017-05-31 09:39:22 +02:00
Pascal Vizeli
6927c989d0
Timezone ( #69 )
...
* Add Timezone support
* finish PR
* fix lint
2017-05-22 22:56:44 +02:00
Pascal Vizeli
0cdef0d118
Allow add-on to run on host network ( #67 )
...
* Allow add-on to run on host network
* cleanup name
* fix lint
2017-05-22 21:52:37 +02:00