Closed Tomm206 closed 1 year ago
I think the port is probably changing.
I did not change the usb port. I originally installed on "hidraw0". My Terminal & SSH shows:
I am little bit confused. Any advise please? Jablotron intergration is key integration for me. Many automations rely on Jablotron integration. Thank you.
Your operating system may change the port.
Operation system may have changed it. Then I dont understand why it works half a day and then it doesnt. Terminal & SSH shows "hidraw0" and "hidraw1". So I dont know which one is correct. I can try to change it in integration. Could you please advise me how to change it? Thank you.
Today the integration worked till 12:30 pm (from night restart). Then again all unavailable. Any idea please?
Can I just try to change the port here? /config/custom_components/jablotron100/const.py
DEFAULT_SERIAL_PORT: Final = "/dev/hidraw0"
from hidraw0 to hidraw1?
Thank you.
Try to look here, i had the same problem. https://discord.com/channels/733015709931536396/733015709931536399/878285665236844624 changing udev rules in your system may solve your problems.
Try to look here, i had the same problem. https://discord.com/channels/733015709931536396/733015709931536399/878285665236844624 changing udev rules in your system may solve your problems.
How did you solve it? The link doesnt work. Thank you.
HI, same problem here, how do I change port name on OS layer? I am also not able change port in integration, I can fill port only when I install new integration.
Hello,
I have a problem with connection of my Jablotron100 integration (since 24-08-22). All sensors and devices are unavailable. It always happens once or twice a day. Restart of HA usually doesn’t help.
See the log below:
`This error originated from a custom integration.
Logger: homeassistant.config_entries Source: custom_components/jablotron100/jablotron.py:457 Integration: jablotron100 (documentation, issues) First occurred: 8:26:41 PM (1 occurrences) Last logged: 8:26:41 PM
Error setting up entry Jablotron for jablotron100 Traceback (most recent call last): File "/config/custom_components/jablotron100/jablotron.py", line 453, in _detect_central_unit self._central_unit = reader.result(STREAM_TIMEOUT) File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 439, in result return self.get_result() File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 391, in get_result raise self._exception File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/jablotron100/jablotron.py", line 402, in reader_thread stream = self._open_read_stream() File "/config/custom_components/jablotron100/jablotron.py", line 1097, in _open_read_stream return open(self._config[CONF_SERIAL_PORT], "rb", buffering=0) FileNotFoundError: [Errno 2] No such file or directory: '/dev/hidraw0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 357, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/jablotron100/init.py", line 22, in async_setup_entry await jablotron_instance.initialize() File "/config/custom_components/jablotron100/jablotron.py", line 271, in initialize self._detect_central_unit() File "/config/custom_components/jablotron100/jablotron.py", line 457, in _detect_central_unit raise ServiceUnavailable custom_components.jablotron100.errors.ServiceUnavailable
This error originated from a custom integration.
Logger: custom_components.jablotron100 Source: custom_components/jablotron100/jablotron.py:271 Integration: jablotron100 (documentation, issues) First occurred: 8:26:41 PM (1 occurrences) Last logged: 8:26:41 PM
[Errno 2] No such file or directory: '/dev/hidraw0'`