Tried installing by ignoring the virtual enviroment steps, got loads of PATH errors during startup, successfully installed up and running under virtual enviroment now
I followed heyu installation , and its successfuly working now under teminal (eg… heyu off A1)
I then added the x10 entries to yaml file and restarted HA, and can see the light controls now, but when I toggle the x10 device I get the following error come up…
“Command ‘[‘heyu’, ‘fon’, ‘a4’]’ returned non-zero exit status 1.”
Any ideas please?
PS detailed log error…
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/websocket_api/commands.py”, line 130, in handle_call_service
connection.context(msg),
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py”, line 1260, in async_call
task.result()
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py”, line 1295, in _execute_service
await handler.func(service_call)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py”, line 209, in handle_service
self._platforms.values(), func, call, required_features
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/service.py”, line 454, in entity_service_call
future.result() # pop exception if have
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py”, line 595, in async_request_call
await coro
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/service.py”, line 485, in _handle_entity_call
await result
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/light/init.py”, line 242, in async_handle_light_on_service
await light.async_turn_on(**params)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py”, line 621, in async_turn_on
await self.hass.async_add_executor_job(ft.partial(self.turn_on, **kwargs))
File “/usr/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/x10/light.py”, line 89, in turn_on
x10_command(f"fon {self._id}")
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/x10/light.py”, line 32, in x10_command
return check_output([“heyu”] + command.split(" "), stderr=STDOUT)
File “/usr/lib/python3.7/subprocess.py”, line 395, in check_output
**kwargs).stdout
File “/usr/lib/python3.7/subprocess.py”, line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command ‘[‘heyu’, ‘fon’, ‘a4’]’ returned non-zero exit status 1