Hello, any ideas why do i have this error?
System 103KRY, HA:2021.12.10
Error:
Error setting up entry Jablotron for jablotron100
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/jablotron100/__init__.py", line 23, in async_setup_entry
await jablotron_instance.initialize()
File "/config/custom_components/jablotron100/jablotron.py", line 311, in initialize
self._detect_devices()
File "/config/custom_components/jablotron100/jablotron.py", line 678, in _detect_devices
devices_info_packets = reader.result(estimated_duration * 2)
File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 447, in result
raise TimeoutError()
concurrent.futures._base.TimeoutError
@FransO what connectivity did you use at the other end (control panel), Iām interested in connecting direct to the Jablotron bus, the JA82T and JA80T spec says the jack is an RJ4, but I canāt find a description of this anywhere else. Even if I could find a jack, can you tell me the pinout?
Neither of myself or @tahvane1 have a JA80T to test with, but I see you have. Can you confirm that your repo at https://github.com/fwpt/HASS-Jablotron80-T is working as https://github.com/phrachovina is having trouble with both our integration and yours. Would you consider taking issues on your repo, which seems to have them disabled?
Alternatively, might you consider moving over to @tahvane1 's repo and us merging the solution to support both cables?
The pinout of the JA82T can be determined by the wire colors of the cable:
Black - Ground
Red - Data B
Green - Data A
Yellow - 12V DC
I cut the 4wire cable that came with the JA-82T in half and connected a RJ45 plug at either end as I had to route the connection over about 15 meter of Cat5 cabling. That effectively left me with two cables with a RJ4 connector at one end and a RJ45 connector at the other end.
In my system the Esp8266 is connected to the Jablotron bus by means of a RS485 to TTL board. I used a very cheap board at first (see the photo in my earlier post), but could not get it stable. This board (still quite cheap) works quite good: Isolated TTL to RS485 Module RS485 TTL Signal Conversion Single chip Microcomputer UART Prevent lightning|ttl to rs485|ttl to rs485 modulettl signal - AliExpress
You can connect the RS485 - TTL board directly to the JA82K control unit Bus connectors:
A and B are the data lines, U+ gives you a 12V supply. In that case you do not need the 4pin modular RJ4 connector which is quite rare.
My current interface for the Jablotron system looks like this:
The two relays switch the data lines from my interface to the JA82T. The Jablotron bus is a real bus, but the OLink software monopolizes the bus in such a way that it cannot coexist with my interface.
Hey @mattsaxon, I can confirm that my repo is working as I have been using this in my Home Assistant for the past 1.5 year without any issues. What is the issue you run into? Do you get an error? My version is only tested against the JA-82K Control Panel so any other/newer system version might not work.
I think thereās a couple of ways to move this forward. Firstly would you be prepared to either test or come over to the new integration. The benefits would be that sensors are supported and it will be maintained by others. Alternatively if you want to stay on the old integration, would you mind helping out the person who raised the issue to solve their problem, you could contact them via the GitHub link https://github.com/tahvane1/jablotron80/issues/17
Thanks @mattsaxon and the updated version looks good. Does it work when operating the system in normal mode, or does it have to be in service mode? I can give it a try in my dev setup and confirm here if it works with the 80T interface.
I have made a few customizations to allow control of my garage door with the second pair of buttons that my Jablotron remote comes with so I would probably lose that functionality but happy to have a look and see if I can merge it with your repo, if that is a feature that you would be interested in too.
I was considering something similar myself, but at the moment am working with an off the shelf remote serial solution. A benefit of this approach is that you get the full functionality of the current integration, e.g. sensors support.
Iāve used a couple of devices from https://www.pusr.com/ . They do a range of Ethernet and Wifi devices that can support TTL, RS232 and RS485.
Hi,
i have a question on the opportunity to use the integration with HA to read the state of the sensors attached directly to the control panel when itās in normal mode.
By logging the traffict coming from the mainboard on rs485 i didnāt find the way.
maybe it could be possibile by interfacing the appliance with the main bus directly by using any of the 10 pinās connector but that would be beyond the scope of my project.
As an alternative, we could create a voltage divider between any device port and the COM and then use an analog port to read the voltage in order to get the state of each interested device.
Did you know for another way to get the state of the devices when the CP is in normal mode?
thank you for your kind reply.
regards, vi
The state of the devices are available via RS485 on the mainboard, either via the RJ4 jack or the A/B connectors, that is exactly how this component is working.
I actually had the same view some time back because I had mostly wireless devices that only report when in maintenance mode or when system is armed, but Iāve since realised that for wired devices this is not the case and the status is always available.
Well youāve come to the right place. Best to start with @tahvane1 repo referenced at the topic of this topic. What cable do you have ? And is your HA instance located close to your Control Panel?
For information
I run my HomeAssistant on an Odroid blue.
I have installed HACS.
I use NabuCasa to access my instance from my computer.
I have now
Connect the USB or Serial cable to Jablotron central unit
Restart the Home Assistant OS
Identified the port
ttyUSB0
/dev/serial/by-id/usb-Silicon_Labs_JABLOTRON_serial_interface_1-if00-port0
But then Iām lost.
I canāt find anything called Jablotron80 in Hacs.
I donāt know how to copy a folder from my computer and paste it into Custom Components.