Closed leo-b closed 1 year ago
I’m sorry I don’t understand.
I’m sorry I don’t understand.
Sorry. I accidently submitted the issue while still typing the description. :-) I have now updated the text.
Do the sensors have battery or not?
No. They are old-style wired IR sensors with 12V power and NO/NC contacts. Power and signal lines are connected to this expansion card https://www.jablotron.com/underwood/download/pdf/en/JA-116H.pdf
/etc/homeassistant/.storage/core.device_registry
{
"config_entries": [
"86c9a4785a2314ad8eab82cae3ce14af"
],
"connections": [],
"identifiers": [
[
"jablotron100",
"device_24"
]
],
"manufacturer": "Jablotron",
"model": null,
"name": "Motion detector (device 24)",
"sw_version": null,
"hw_version": null,
"entry_type": null,
"id": "84a03e20b2ec77cbd0a134768eb5a2d2",
"via_device_id": "f560fe6f8f4abaa07077fef4e4e53daa",
"area_id": null,
"name_by_user": "Jablotron Bewegungsmelder Eingang (24)",
"disabled_by": null,
"configuration_url": null
},
{
"config_entries": [
"86c9a4785a2314ad8eab82cae3ce14af"
],
"connections": [],
"identifiers": [
[
"jablotron100",
"/dev/hidraw_jablotron"
]
],
"manufacturer": "Jablotron",
"model": "JA-107K (MD6112.05.3)",
"name": "Jablotron 100",
"sw_version": "MD12006",
"hw_version": null,
"entry_type": null,
"id": "f560fe6f8f4abaa07077fef4e4e53daa",
"via_device_id": null,
"area_id": "keller",
"name_by_user": "Jablotron Zentrale",
"disabled_by": null,
"configuration_url": null
},
/etc/homeassistant/.storage/jablotron100:
"device_24": {
"connection": "wired",
"signal_strength": null,
"battery": false,
"battery_level": null,
"section": 1
},
@leo-b Can you enable the debug and sabotage the device 24? You can try to open it or something similar. It should log packets that may help.
Should be resolved in https://github.com/kukulich/home-assistant-jablotron100/releases/tag/3.14.0
Should be resolved in https://github.com/kukulich/home-assistant-jablotron100/releases/tag/3.14.0
Confirmed. Thanks!
My (non-bus) motion sensors that are connected via JA-116H yield packets of type DEVICE_PACKET_TYPE_BATTERY when motion is detected:
2022-07-05 08:54:29 ERROR (ThreadPoolExecutor-2_0) [custom_components.jablotron100] Unknown state packet (device 26): 5508a4d28006d0d6a838 022-07-05 08:54:38 ERROR (ThreadPoolExecutor-2_0) [custom_components.jablotron100] Unknown state packet (device 24): 5508a4ca000660d72839 2022-07-05 08:54:40 ERROR (ThreadPoolExecutor-2_0) [custom_components.jablotron100] Unknown state packet (device 25): 5508a4cc400680d74839
However, the state change is correctly registered by home assistant:
Analyzing the packets shows that the error is thrown here because the packet type is
DEVICE_PACKET_TYPE_BATTERY
: