Closed pszafer closed 4 years ago
I can't achieve to start HA properly it continuously fails with :
2019-02-08 19:46:46 INFO (SyncWorker_9) [homeassistant.util.package] Attempting install of pytradfri[async]==6.0.1 2019-02-08 19:46:50 ERROR (SyncWorker_9) [homeassistant.util.package] Unable to install package pytradfri[async]==6.0.1: Command "c:\users\guest\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;file='C:\Users\guest\AppData\Local\Temp\pip-install-pcgzgo7a\DTLSSocket\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\guest\AppData\Local\Temp\pip-record-03ohx28q\install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in C:\Users\guest\AppData\Local\Temp\pip-install-pcgzgo7a\DTLSSocket\ You are using pip version 18.1, however version 19.0.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. 2019-02-08 19:46:50 ERROR (MainThread) [homeassistant.requirements] Not initializing <class 'homeassistant.components.tradfri.config_flow.FlowHandler'> because could not install requirement pytradfri[async]==6.0.1 2019-02-08 19:46:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "c:\users\guest\appdata\local\programs\python\python37\lib\site-packages\homeassistant\components\discovery.py", line 143, in new_service_found data=info File "c:\users\guest\appdata\local\programs\python\python37\lib\site-packages\homeassistant\data_entry_flow.py", line 57, in async_init handler, context=context, data=data) File "c:\users\guest\appdata\local\programs\python\python37\lib\site-packages\homeassistant\config_entries.py", line 506, in _async_create_flow self.hass, self._hass_config, handler, component) File "c:\users\guest\appdata\local\programs\python\python37\lib\site-packages\homeassistant\setup.py", line 248, in async_process_deps_reqs raise HomeAssistantError("Could not install all requirements.") homeassistant.exceptions.HomeAssistantError: Could not install all requirements.
originally I'm java developer and Python and git are completely new for me. I tried to install the erroneous library in my venv, but it fail as well.
It is not related to your code I guess; I will try by disconnecting my tradfri gateway
whatever I try, I never see the bosch integration
What do I need to do to see it ?
normally it should appear in integrations isn't it ?
De : Pawel notifications@github.com Envoyé : vendredi 8 février 2019 19:03 À : moustic999/bosch-thermostat-http-client-python Cc : Subscribed Objet : [moustic999/bosch-thermostat-http-client-python] [HA] Climate component (#13)
Updated my fork of HA and my fork/branch encryption_change. You can test it.
I want to create WIKI which will be our TODO list, so we can split some tasks between us.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmoustic999%2Fbosch-thermostat-http-client-python%2Fissues%2F13&data=02%7C01%7C%7Cd982bbb8fa1e433f755208d68defbeb3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636852458174702287&sdata=LAR2Oih5e3PLD3tbZJ3euLTqD1A1ZCipP5pb9iaWnIc%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJaNPyqO9jRykUbcBvxt8TlTOf0qGGejks5vLbv1gaJpZM4aw2nP&data=02%7C01%7C%7Cd982bbb8fa1e433f755208d68defbeb3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636852458174712292&sdata=TdwAwXAXR8jjifi%2B9ub96Rgz6agiLc4a0spA95J13hc%3D&reserved=0.
here is the error which seems to be the cause why I don't see the integration :
Error doing job: Exception in callback async_setup.
Traceback (most recent call last): File "c:\users\guest\appdata\local\programs\python\python37\lib\asyncio\events.py", line 88, in _run self._context.run(self._callback, *self._args) File "c:\users\guest\appdata\local\programs\python\python37\lib\site-packages\homeassistant\components\conversation__init__.py", line 139, in component_loaded register_utterances(event.data[ATTR_COMPONENT]) KeyError: 'component'
De : Pawel notifications@github.com Envoyé : vendredi 8 février 2019 19:03 À : moustic999/bosch-thermostat-http-client-python Cc : Subscribed Objet : [moustic999/bosch-thermostat-http-client-python] [HA] Climate component (#13)
Updated my fork of HA and my fork/branch encryption_change. You can test it.
I want to create WIKI which will be our TODO list, so we can split some tasks between us.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmoustic999%2Fbosch-thermostat-http-client-python%2Fissues%2F13&data=02%7C01%7C%7Cd982bbb8fa1e433f755208d68defbeb3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636852458174702287&sdata=LAR2Oih5e3PLD3tbZJ3euLTqD1A1ZCipP5pb9iaWnIc%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJaNPyqO9jRykUbcBvxt8TlTOf0qGGejks5vLbv1gaJpZM4aw2nP&data=02%7C01%7C%7Cd982bbb8fa1e433f755208d68defbeb3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636852458174712292&sdata=TdwAwXAXR8jjifi%2B9ub96Rgz6agiLc4a0spA95J13hc%3D&reserved=0.
Ok, first easiest answer - just run hass and without any config it should show as discovered device in integration.
Now instructions which work on linux
git clone -b bosch_thermostat --single-branch git@github.com:pszafer/home-assistant.git
cd home-assistant
python3.7 -m venv .
script/setup
ln -s pathtoboshthermostat_lib lib/python3.7/site-packages/bosch_thermostat_http
hass
I began from scratch... I understood better how to work with pip and locale lib at least my netdisco is still working :
2019-02-08 20:56:05 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: buderus {'host': '192.168.1.8', 'port': 80, 'hostname': 'V850.local.', 'properties': {'txtvers': '1', 'hwversion': 'iCom_Low_NSC_v1', 'swversion': '04.04.05', 'uuid': '659200286'}}
I fixed the tradfri error : I disconnected my tradfri gateway ;-)
De : Pawel notifications@github.com Envoyé : vendredi 8 février 2019 20:34 À : moustic999/bosch-thermostat-http-client-python Cc : moustic999; Comment Objet : Re: [moustic999/bosch-thermostat-http-client-python] [HA] Climate component (#13)
Ok, first easiest answer - just run hass and without any config it should show as discovered device in integration. [image]https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F690510%2F52501230-24b4ad00-2be0-11e9-9f12-01dc8633cdca.png&data=02%7C01%7C%7Cdfbf9ee380824b9fbfde08d68dfc6e35%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636852512650302814&sdata=GEBI8%2B1DrNv0PPsa1MzQS912dujE2zVa5XKr86XZk14%3D&reserved=0
Now instructions which work on linux
git clone -b bosch_thermostat --single-branch git@github.com:pszafer/home-assistant.git cd home-assistant python3.7 -m venv . script/setup ln -s pathtoboshthermostat_lib lib/python3.7/site-packages/bosch_thermostat_http hass
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmoustic999%2Fbosch-thermostat-http-client-python%2Fissues%2F13%23issuecomment-461919830&data=02%7C01%7C%7Cdfbf9ee380824b9fbfde08d68dfc6e35%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636852512650312813&sdata=ZA3jAA50dBMJFPZavngMDy6RLlum6vMJ57InEyS8Rcs%3D&reserved=0, or mute the threadhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJaNP3f-FGvhfkargm_Er1eGvKBvNtsvks5vLdE-gaJpZM4aw2nP&data=02%7C01%7C%7Cdfbf9ee380824b9fbfde08d68dfc6e35%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636852512650332835&sdata=BUBEbmrfWZK%2BpMlH8pQhbMrGn5PZBi57pmg0curXu9I%3D&reserved=0.
but still no luck
[cid:f1774521-7717-42f5-8eb9-c4682119191f]
How do you enable the auto discovery ? I think I'm missing something
De : Pawel notifications@github.com Envoyé : vendredi 8 février 2019 20:34 À : moustic999/bosch-thermostat-http-client-python Cc : moustic999; Comment Objet : Re: [moustic999/bosch-thermostat-http-client-python] [HA] Climate component (#13)
Ok, first easiest answer - just run hass and without any config it should show as discovered device in integration. [image]https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F690510%2F52501230-24b4ad00-2be0-11e9-9f12-01dc8633cdca.png&data=02%7C01%7C%7Cdfbf9ee380824b9fbfde08d68dfc6e35%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636852512650302814&sdata=GEBI8%2B1DrNv0PPsa1MzQS912dujE2zVa5XKr86XZk14%3D&reserved=0
Now instructions which work on linux
git clone -b bosch_thermostat --single-branch git@github.com:pszafer/home-assistant.git cd home-assistant python3.7 -m venv . script/setup ln -s pathtoboshthermostat_lib lib/python3.7/site-packages/bosch_thermostat_http hass
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmoustic999%2Fbosch-thermostat-http-client-python%2Fissues%2F13%23issuecomment-461919830&data=02%7C01%7C%7Cdfbf9ee380824b9fbfde08d68dfc6e35%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636852512650312813&sdata=ZA3jAA50dBMJFPZavngMDy6RLlum6vMJ57InEyS8Rcs%3D&reserved=0, or mute the threadhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJaNP3f-FGvhfkargm_Er1eGvKBvNtsvks5vLdE-gaJpZM4aw2nP&data=02%7C01%7C%7Cdfbf9ee380824b9fbfde08d68dfc6e35%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636852512650332835&sdata=BUBEbmrfWZK%2BpMlH8pQhbMrGn5PZBi57pmg0curXu9I%3D&reserved=0.
Updated my fork of HA and my fork/branch encryption_change. You can test it.
It looks like this:
I want to create WIKI which will be our TODO list, so we can split some tasks between us.