Thanx for the link,
now i’ve build some shellcommand in the configuration.yaml
shell_command:
bs_roll_down: 'echo "TXP:0,0,10,10920,91,42,0,57,18,4,8,8,4,4,8,8,4,8,4,8,4,8,4,8,4,4,8,4,8,4,8,4,8,8,4,8,4,8,4,8,4,4,8,4,8,8,4,8,4,4,8,8,4,4,8,8,4,8,4,8,4,8,4,8,4,4,8,4,8,8,4,4,8,4,8,4,8,8,4,8,4,4,8,4,8,8,4,8,120,0;" | nc -u 192.168.1.129 49880'
bs_roll_up: 'echo "TXP:0,0,10,10920,91,42,0,57,18,4,8,8,4,8,4,8,4,4,8,4,8,8,4,4,8,4,8,4,8,8,4,4,8,8,4,4,8,8,4,8,4,8,4,4,8,4,8,4,8,8,4,8,4,8,4,4,8,4,8,4,8,4,8,4,8,8,4,8,4,8,4,8,4,4,8,4,8,8,4,8,4,4,8,4,8,8,4,8,120,0;" | nc -u 192.168.1.129 49880'
bs_roll_stop: 'echo "TXP:0,0,10,10920,91,42,0,57,18,4,8,8,4,8,4,8,4,4,8,4,8,8,4,4,8,4,8,4,8,8,4,4,8,8,4,4,8,8,4,8,4,8,4,4,8,4,8,4,8,8,4,8,4,8,4,4,8,4,8,4,8,4,8,4,8,8,4,8,4,8,4,8,4,4,8,8,4,4,8,8,4,4,8,8,4,4,8,8,120,0;" | nc -u 192.168.1.129 49880'
'
2 hours later …
no more ideas, the bs_roll_down works, the bs_roll_up throws this error
2022-01-16 10:33:29 ERROR (MainThread) [homeassistant.components.shell_command] Timed out running command: `echo "TXP:0,0,10,10920,91,42,0,57,18,4,8,8,4,8,4,8,4,4,8,4,8,8,4,4,8,4,8,4,8,8,4,4,8,8,4,4,8,8,4,8,4,8,4,4,8,4,8,4,8,8,4,8,4,8,4,4,8,4,8,4,8,4,8,4,8,8,4,8,4,8,4,8,4,4,8,4,8,8,4,8,4,4,8,4,8,8,4,8,120,0;" | nc -u 192.168.1.129 49880`, after: 60s
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/streams.py", line 517, in _wait_for_data
await self._waiter
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/subprocess.py", line 196, in communicate
stdin, stdout, stderr = await tasks.gather(stdin, stdout, stderr,
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/shell_command/__init__.py", line 83, in async_service_handler
stdout_data, stderr_data = await asyncio.wait_for(
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError4,8,4,8,4,4,8,4,8,8,4,8,4,4,8,4,8,8,4,8,120,0;" | nc -u 192.1.... (See /config/configuration.yaml, line 35).