Getting ZWave to work on fresh install (Windows) errors

Hi guys,

am trying to configure a Z-wave stick on 0.88.2 (On Windows), but when I try to enable the integration, the following error is thrown:

Unable to install package homeassistant-pyozw==0.1.2: Command “python setup.py egg_info” failed with error code 1
Not initializing <class ‘homeassistant.components.zwave.config_flow.ZwaveFlowHandler’> because could not install requirement homeassistant-pyozw==0.1.2

It seems I need to install homeassistant-pyozw==0.1.2 but I don’t find a way to install it manually. Is anyone able to point me in the right direction?

Thanks!

Sorry Warstomper, I can’t help. I have the same issue, maybe it is your issue as well.

I did find an error “WINDOWSDKVERSION” trying to install it manually. I assume it is the C++ version it is complaining about, but I am at a loss to find out what is needed. The files referred seem to be removed after the failed install.

Anybody any ideas?
I am running Windows 10 Home edition and Python 3.7.
Thanks,
Glenn.

Managed to capture the text from the remote machine:

C:\Users\Glenn\homeassistant\Scripts>pip3.7 install homeassistant-pyozw==0.1.2
Collecting homeassistant-pyozw==0.1.2
Using cached https://files.pythonhosted.org/packages/f8/f0/e45cbb4f4e834520dca221d6ed667235f239c96827d87c4bc140e423a533/homeassistant_pyozw-0.1.2.zip
Complete output from command python setup.py egg_info:
sysargv [’-c’, ‘egg_info’, ‘–egg-base’, ‘pip-egg-info’]
Found SETUP_DIR : C:\Users\Glenn\AppData\Local\Temp\pip-install-xgb5zkie\homeassistant-pyozw
<pyozw_setup.EmbedTemplate object at 0x059B6790>
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\Glenn\AppData\Local\Temp\pip-install-xgb5zkie\homeassistant-pyozw\setup.py”, line 42, in
print(current_template.ctx)
File “C:\Users\Glenn\AppData\Local\Temp\pip-install-xgb5zkie\homeassistant-pyozw\pyozw_setup.py”, line 225, in ctx
self._ctx = self.get_context()
File “C:\Users\Glenn\AppData\Local\Temp\pip-install-xgb5zkie\homeassistant-pyozw\pyozw_setup.py”, line 804, in get_context
ctx = self.system_context(ctx, static=True)
File “C:\Users\Glenn\AppData\Local\Temp\pip-install-xgb5zkie\homeassistant-pyozw\pyozw_setup.py”, line 144, in system_context
get_system_context(ctx, self.os_options, openzwave=os.path.abspath(self.openzwave), static=static)
File “C:\Users\Glenn\AppData\Local\Temp\pip-install-xgb5zkie\homeassistant-pyozw\pyozw_win.py”, line 615, in get_system_context
) = setup_build_environment(openzwave, options[‘build_type’])
File “C:\Users\Glenn\AppData\Local\Temp\pip-install-xgb5zkie\homeassistant-pyozw\pyozw_win.py”, line 241, in setup_build_environment
target_platform = os.environ[‘WINDOWSSDKVERSION’].replace(’\’, ‘’)
File “C:\Program Files (x86)\Python37-32\lib\os.py”, line 678, in getitem
raise KeyError(key) from None
KeyError: ‘WINDOWSSDKVERSION’

----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in C:\Users\Glenn\AppData\Local\Temp\pip-install-xgb5zkie\homeassistant-pyozw\

I can confirm the exact same issue/error as you are seeing. I have installed the latest beta, but the error remains the same there as well.

Regards,

Warstomper

I found something on Github Z-wave not installing on Windows #18552.

https://github.com/home-assistant/home-assistant/issues/18552

Not sure I can do what he suggests, but further down it suggests there is a fix that should have been integrated.

Out of interest, my Windows 10 Home is on a NUC and must be Windows to run iSpy security camera software. I tried a VM running Ubuntu with Docker and Hassio, which started ok, but as soon as I made a config change and clicked reboot, Ubuntu rebooted not Hassio and the Docker machines didn’t come back. Tried twice, clean installs both times.

Any updates on this issue?