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
Pascal Vizeli
57f3178408
Change update flow to a higher level ( #150 )
2017-08-14 23:56:52 +02:00
Pascal Vizeli
99cf44aacd
Cleanup config / new updater object / New audio ( #135 )
...
* Cleanup config / new updater object / New audio
* Cleanup beta_channel
* fix lint
* fix lint p3
* Fix lint p4
* Allow set audio options
* Fix errors
* add host options
2017-08-08 00:53:54 +02:00
Pascal Vizeli
8afde1e881
Return a error on update with own version ( #124 )
...
Return a error on update with own version
2017-08-02 16:59:38 +02:00
Pascal Vizeli
2bbe7e7dc1
cleanup after install
2017-07-12 00:09:03 +02:00
Pascal Vizeli
a0a1fd4875
fix coro
2017-07-11 23:29:38 +02:00
Pascal Vizeli
d978ec00aa
fix progress v2
2017-07-11 23:08:47 +02:00
Pascal Vizeli
e40963a686
fix calling
2017-07-11 23:02:20 +02:00
Pascal Vizeli
55ec1a84fa
expose running state of docker
2017-07-11 22:58:05 +02:00
Pascal Vizeli
ebf4daf4cc
fix lint
2017-07-11 22:38:07 +02:00
Pascal Vizeli
40e8f411ff
fix lint p2
2017-07-11 22:19:22 +02:00
pvizeli
5ebf2068b2
Update interface, allow update every time
2017-07-11 16:57:03 +02:00