Pascal Vizeli
67f562a846
Init ingress session boarder / lookup ( #995 )
...
* Init ingress session boarder / lookup
* Add session to API
* Add cokkie validate
* Do it without event bus
* Add logger
* Fix validation
* Add tests
* Update tests
* Mock json storage
2019-04-05 17:36:07 +02:00
Pascal Vizeli
1edec61133
Add Ingress support ( #991 )
...
* Add Ingress support to supervisor
* Update security
* cleanup add-on extraction
* update description
* fix header part
* fix
* Fix header check
* fix tox
* Migrate docker interface typing
* Update home assistant to new docker
* Migrate supervisor
* Fix host add-on problem
* Update hassos
* Update API
* Expose data to API
* Check on API ingress support
* Add ingress URL
* Some cleanups
* debug
* disable uvloop
* Fix issue
* test
* Fix bug
* Fix flow
* Fix interface
* Fix network
* Fix metadata
* cleanups
* Fix exception
* Migrate to token system
* Fix webui
* Fix update
* Fix relaod
* Update log messages
* Attach ingress url only if enabled
* Cleanup ingress url handling
* Ingress update
* Support check version
* Fix raise error
* Migrate default port
* Fix junks
* search error
* Fix content filter
* Add debug
* Update log
* Update flags
* Update documentation
* Cleanup debugs
* Fix lint
* change default port to 8099
* Fix lint
* fix lint
2019-04-05 12:13:44 +02:00
Pascal Vizeli
b52f90187b
Make homeassistant container constant ( #808 )
...
* Make homeassistant container constant
* Update homeassistant.py
* Update homeassistant.py
* Update interface.py
* Update homeassistant.py
* Fix handling
* add start function
* Add typing
* Fix lint
* Add API call
* Update logs
* Fix some issue with watchdog
* Fix lint
2019-03-27 17:20:05 +01:00
Pascal Vizeli
7f074142bf
Replace pycrpytodome with cryptocraphy ( #923 )
...
* Replace pycrpytodome with cryptocraphy
* Fix typing
* fix typing
* Fix lints
* Fix build
* Add musl libc
* Fix lint
* fix lint
* Fix algo
* Add more typing fix crypto imports v2
* Fix padding
2019-02-20 10:30:22 +01:00
Pascal Vizeli
7867eded50
Increase wait time for home assistant startup
2019-02-18 09:51:21 +01:00
Pascal Vizeli
35aae69f23
Support armv7 and allow support of multible arch types per CPU ( #892 )
...
* Support armv7 and first abstraction
* Change layout
* Add more type hints
* Fix imports
* Update
* move forward
* add tests
* fix type
* fix lint & tests
* fix tests
* Fix unittests
* Fix create folder
* cleanup
* Fix import order
* cleanup loop parameter
* cleanup init function
* Allow changeable image name
* fix setup
* Fix load of arch
* Fix lint
* Add typing
* fix init
* fix hassos cli problem & stick on supervisor arch
* address comments
* cleanup
* Fix image selfheal
* Add comment
* update uvloop
* remove uvloop
* fix tagging
* Fix install name
* Fix validate build config
* Abstract image_name from system cache
2019-01-31 18:47:44 +01:00
Pascal Vizeli
a0b5d0b67e
Fix error on first run because the landing page already run ( #886 )
...
* Fix error on first run because the landing page already run
* Update homeassistant.py
2019-01-14 21:25:17 +01:00
Pascal Vizeli
254d6aee32
Small code cleanups ( #822 )
...
* Small code cleanups
* Update homeassistant.py
2018-11-19 16:44:21 +01:00
Ville Skyttä
cecad526a2
Grammar and spelling fixes ( #772 )
2018-10-24 14:01:28 +02:00
Pascal Vizeli
8443da0b9f
Add-on SSO support with Home Assistant auth system ( #752 )
...
* Create auth.py
* Finish auth cache
* Add documentation
* Add valid schema
* Update auth.py
* Update auth.py
* Update security.py
* Create auth.py
* Update coresys.py
* Update bootstrap.py
* Update const.py
* Update validate.py
* Update const.py
* Update addon.py
* Update auth.py
* Update __init__.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update const.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update validate.py
* Update coresys.py
* Update auth.py
* Update auth.py
* more security
* Update API.md
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update homeassistant.py
* Update homeassistant.py
2018-10-12 12:21:48 +02:00
Pascal Vizeli
23f28b38e9
small code cleanups ( #740 )
...
* small code cleanups
* Update __init__.py
* Update homeassistant.py
* Update __init__.py
* Update homeassistant.py
* Update homeassistant.py
* Update __init__.py
* fix list
* Fix api call
2018-10-07 23:50:18 +02:00
Pascal Vizeli
e5451973bd
Overwork Services/Discovery ( #725 )
...
* Update homeassistant.py
* Update validate.py
* Update exceptions.py
* Update services.py
* Update discovery.py
* fix gitignore
* Fix handling for discovery
* use object in ref
* lock down discovery API
* fix api
* Design
* Fix API
* fix lint
* fix
* Fix security layer
* add provide layer
* fix access
* change rating
* fix rights
* Fix API error handling
* raise error
* fix rights
* api
* fix handling
* fix
* debug
* debug json
* Fix validator
* fix error
* new url
* fix schema
2018-09-29 19:49:08 +02:00
Fabian Affolter
c2299ef8da
Fix typos ( #704 )
2018-09-18 18:17:20 +02:00
Pascal Vizeli
cecefd6972
Change access to API ( #686 )
...
* Update API.md
* Update API.md
* Update API.md
* Update addons.py
* Update addons.py
* Update addons.py
* Update addons.py
* Update __init__.py
* Update security.py
* Update security.py
* Update const.py
* Update validate.py
* Update __init__.py
* Update validate.py
* Update homeassistant.py
* Update homeassistant.py
* Update homeassistant.py
* Update addon.py
* Update addon.py
* Update homeassistant.py
* Fix lint
* Fix lint
* Backward combatibility
* Make token more robust
* Fix bug
* Logic error
* Fix access
* fix valid
2018-09-07 22:59:31 +02:00
Pascal Vizeli
051b63c7cc
Fix access token property ( #673 )
...
* Fix access token property
* revert
2018-08-28 17:04:39 +02:00
Paulus Schoutsen
1a208a20b6
Handle access token expiration ( #671 )
2018-08-28 12:14:40 +02:00
Pascal Vizeli
0b85209eae
Detect running record migration ( #659 )
...
* Detect running record migration
* Fix order
* Change order second one
2018-08-19 21:58:19 +02:00
Pascal Vizeli
00e7d96472
Fix new auth system ( #633 )
...
* Fix new auth system
* Update exceptions.py
* Update exceptions.py
* Update homeassistant.py
* Update homeassistant.py
* Update homeassistant.py
* Fix some API Errors
* fix lint
2018-08-09 00:05:08 +02:00
Pascal Vizeli
e777bbd024
Fix bug with proxy ( #599 )
2018-07-24 22:00:46 +02:00
Pascal Vizeli
200c68f67f
Fix proxy data passthrougth ( #592 )
...
* Fix proxy data passthrougth
* Update homeassistant.py
2018-07-23 12:53:32 +02:00
Pascal Vizeli
fa9e20385e
Bugfix passwrod ( #584 )
2018-07-21 19:07:22 +02:00
Paulus Schoutsen
4df42e054d
Leverage access and refresh tokens if available ( #575 )
...
* Leverage access and refresh tokens if available
* Update homeassistant.py
* Update homeassistant.py
* Update proxy.py
* Migrate HomeAssistant to new exception layout
* Fix build for 3.7
* Cleanups
* Fix style
* fix log strings
* Fix new style
* Fix travis build
* python 3.7
* next try
* fix
* fix lint
* Fix lint p2
* Add logging
* Fix logging
* fix access
* Fix spell
* fix return
* Fix runtime
* Add to hass config
2018-07-20 16:55:48 +02:00
Pascal Vizeli
a71ebba940
Bugfix rollback if the hass instant is complete corrupt ( #558 )
2018-07-06 13:08:57 +02:00
Pascal Vizeli
70dd6593e4
Rollback homeassistant on failover ( #549 )
...
* Rollback homeassistant on failover
* Check running system
2018-07-03 22:41:50 +02:00
Pascal Vizeli
5fe9d63c79
Add HassOS OTA support on Hass.io ( #536 )
...
* Add HassOS OTA support on Hass.io
* Update dt.py
* Update updater.py
* add rauc dbus / initial dbus signal handling
* Update gdbus.py
* Update hassos.py
* Update const.py
* Update hassos.py
* Update exceptions.py
* Update hassos.py
* Update rauc.py
* Update rauc.py
* Update rauc.py
* Update hassos.py
* Update hassos.py
* Update hassos.py
* Update hassos.py
* Update hassos.py
* Update hassos.py
* Update hassos.py
* Update __init__.py
* Update hassos.py
* Update hassos.py
* Update updater.py
* Update updater.py
* Update exceptions.py
* Update exceptions.py
* Update hassos.py
* Update dt.py
* fix lint
* Fix update
* fix property
* tmp disabled
* fix path
* fix rauc
* info
* More details
* cleanup signal hadnling
* fix
* Fix lint
2018-06-30 01:48:58 +02:00
Pascal Vizeli
28f295a1e2
Cleanup
2018-04-21 22:33:06 +02:00
Pascal Vizeli
55c2127baa
Cleanup Loop handling
2018-04-21 16:30:31 +02:00
Pascal Vizeli
41fed656c1
Use now attr
2018-04-14 00:19:29 +02:00
Pascal Vizeli
743a218219
fix bug
2018-04-13 23:45:03 +02:00
Pascal Vizeli
a2789ac540
Extend Audio support
2018-04-11 23:53:30 +02:00
Pascal Vizeli
f062f31ca2
Fix logic
2018-04-09 23:10:12 +02:00
Pascal Vizeli
92d5b14cf5
Abstract restart logic
2018-04-09 22:13:16 +02:00
Pascal Vizeli
563e0c1e0e
fix wrong startup blocking
2018-03-14 19:08:03 +01:00
Pascal Vizeli
c2918d4519
Use lock on homeassistant level
2018-03-13 23:09:53 +01:00
Pascal Vizeli
587047f9d6
Add support for encrypted snapshot files ( #354 )
...
* Add support for encrypted files
* Update tar.py
* Update tar.py
* Update tar.py
* Update addon.py
* Update API.md
* Update API.md
* Update tar.py
* cleanup snapshot
* Update API.md
* Update const.py
* Update const.py
* Update validate.py
* Update homeassistant.py
* Update homeassistant.py
* Update validate.py
* Update validate.py
* Update snapshot.py
* Update utils.py
* Update snapshot.py
* Update utils.py
* Update snapshot.py
* Update validate.py
* Update snapshot.py
* Update validate.py
* Update const.py
* fix lint
* Update snapshot.py
* Update __init__.py
* Update snapshot.py
* Update __init__.py
* Update __init__.py
* Finish snapshot object
* Fix struct
* cleanup snapshot flow
* fix some points
* Add API upload
* fix lint
* Update voluptuous
* fix docker
* Update snapshots.py
* fix versions
* fix schema
* fix schema
* fix api
* fix path
* Handle import better
* fix routing
* fix bugs
* fix bug
* cleanup gz
* fix some bugs
* fix stage
* Fix
* fix
* protect None password
* fix API
* handle exception better
* fix
* fix remove of addons
* fix bug
* clenaup code
* fix none tasks
* Encrypt Home-Assistant
* fix decrypt
* fix binary
2018-02-17 15:52:33 +01:00
Pascal Vizeli
23c35d4c80
Bugfix Check Config for Home-Assistant ( #350 )
...
* add logger
* Bugfix config check
2018-02-10 00:10:30 +01:00
Pascal Vizeli
dec04386bf
Add support for home-assistant bootup ( #349 )
...
* Add support for home-assistant bootup
* fix bug
* fix
* fix ip bug
* bugfix
2018-02-09 01:27:45 +01:00
Pascal Vizeli
b50756785e
Add support to expose internal services ( #339 )
...
* Init services discovery
* extend it
* Add mqtt provider
* Service support
* More protocol stuff
* Update validate.py
* Update validate.py
* Update API.md
* Update API.md
* update api
* add API for services
* fix lint
* add security middleware
* Add discovery layout
* update
* Finish discovery
* improve discovery
* fix
* Update API
* Update api
* fix
* Fix lint
* Update API.md
* Update __init__.py
* Update API.md
* Update interface.py
* Update mqtt.py
* Update discovery.py
* Update const.py
* Update validate.py
* Update validate.py
* Update mqtt.py
* Update mqtt.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update interface.py
* Update mqtt.py
* Update mqtt.py
* Update services.py
* Update discovery.py
* Update discovery.py
* Update mqtt.py
* Update discovery.py
* Update services.py
* Update discovery.py
* Update discovery.py
* Update mqtt.py
* Update discovery.py
* fix aiohttp
* test
* Update const.py
* Update addon.py
* Update homeassistant.py
* Update const.py
* Update addon.py
* Update homeassistant.py
* Update addon.py
* Update security.py
* Update const.py
* Update validate.py
* Update const.py
* Update addon.py
* Update API.md
* Update addons.py
* Update addon.py
* Update validate.py
* Update security.py
* Update security.py
* Update const.py
* Update services.py
* Update discovery.py
* Update API.md
* Update services.py
* Update API.md
* Update services.py
* Update discovery.py
* Update discovery.py
* Update mqtt.py
* Update discovery.py
* Update discovery.py
* Update __init__.py
* Update mqtt.py
* Update security.py
* fix lint
* Update core.py
* Update API.md
* Update services.py
2018-02-08 17:19:47 +01:00
Pascal Vizeli
6f2cf2ef85
Robust json file handling with default reset on runtime ( #321 )
...
* Update json.py
* Update validate.py
* Update validate.py
* Update snapshots.py
* Update validate.py
* Update homeassistant.py
* Update validate.py
* Update snapshot.py
* Update snapshot.py
* Update snapshot.py
* Update json.py
* Update json.py
* Update json.py
* Update validate.py
* Update snapshots.py
* Update validate.py
* Update validate.py
* improve config updates
* fix lint
* update build
* fix schema
* fix validate
* fix lint
* fix some styles
* fix
* fix snapshot
* fix errors
* Update API
2018-01-18 23:33:05 +01:00
Pascal Vizeli
15a4541595
HomeAssistant API token ( #303 )
...
* Add a uuid to home-assistant
* Add API_TOKEN to homeassistant
* Update homeassistant.py
* Update addon.py
2018-01-10 18:14:32 +01:00
Pascal Vizeli
eebe90bd14
Add support for stats & code cleanup ( #297 )
...
* Add support for stats & code cleanup
* Add more stats
* Move code into own object
* Add to API
* Update API
* Add error handling
* fix lint
* fix block io
2018-01-07 15:53:54 +01:00
Pascal Vizeli
78ec0d1314
Remove home-assistant devices options ( #293 )
...
* Remove home-assistant devices options
* fix version mix/max snapshot
* fix wrong path
* fix import
* fix restore
* fix
* make exists call robust
* Update addon.py
* remove old custom function
* Update homeassistant.py
* Update homeassistant.py
* Update homeassistant.py
* Update snapshot.py
* Update validate.py
* Update snapshot.py
* Update homeassistant.py
* fix lint 1
* fix lint
* fix lint
* Update snapshot.py
* Update homeassistant.py
* Update homeassistant.py
* Update homeassistant.py
2018-01-04 12:52:17 +01:00
Pascal Vizeli
1c49351e66
Refactory code / object handling ( #289 )
...
* Refactory code / object handling
* Next step
* fix lint
* Step 2
* Cleanup API code
* cleanup addons code
* cleanup data handling
* Cleanup addons data handling
* Cleanup docker api
* clean docker api p2
* next cleanup round
* cleanup start on snapshots
* update format strings
* fix setup
* fix lint
* fix lint
* fix lint
* fix tox
* Fix wrong import of datetime module
* Fix bug with attributes
* fix extraction
* Update core
* Update logs
* Expand scheduler
* add support for time interval objects
* next updates on tasks
* Fix some things
* Cleanup code / supervisor
* fix lint
* Fix some code styles
* rename stuff
* cleanup api call reload
* fix lock replacment
* fix lint
* fix lint
* fix bug
* fix wrong config links
* fix bugs
* fix bug
* Update version on startup
* Fix some bugs
* fix bug
* Fix snapshot
* Add wait boot options
* fix lint
* fix default config
* fix snapshot
* fix snapshot
* load snapshots on startup
* add log message at the end
* Some cleanups
* fix bug
* add logger
* add logger for supervisor update
* Add more logger
2018-01-02 21:21:29 +01:00
Pascal Vizeli
68566ee9e1
Update homeassistant.py ( #215 )
2017-10-09 13:21:21 +02:00
Pascal Vizeli
f38e28a4d9
Add interface and home-assistant api proxy ( #205 )
...
* Add initial for hass interface
* For better compatibility, remove extra options for cleanup old stuff
* Add new functions to api
* Add api proxy to home-assistant
* use const
* fix lint
* fix lint
* Add check_api_state function
* Add api watchdog
* Fix lint
* update output
* fix url
* Fix API call
* fix API documentation
* remove password
* fix api call to hass api only
* fix problem with config missmatch
* test
* Detect wrong ssl settings
* disable watchdog & add options
* Update API
2017-10-03 00:31:14 +02:00
Pascal Vizeli
f39006be01
Change flow and start landingpage faster ( #189 )
...
* Change flow and start landingpage faster
* run homeassistant after install
* Update homeassistant.py
2017-09-16 14:45:36 +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
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
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