Zigbee4domoticz - pairing cheap smoke sensor

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigbee4domoticz - pairing cheap smoke sensor

Post by pipiche »

Could you enable the debug parameters

Tuya
Tuya0601
Pairing

and redo the pairing and provides me the logs (if you can attached the logs that would be better )

Can you also confirmed what is the plugin version displayed on the footer of the WebUI ?

As this smoke should work.


For the following error in your log
You need to enable in Domoticz - Settings : Allow Basic-Auth authentication over plain HTTP (API only). ( Settings > Security )
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pfloryann
Posts: 178
Joined: Wednesday 09 January 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.1
Contact:

Re: Zigbee4domoticz - pairing cheap smoke sensor

Post by pfloryann »

after changed to develop....i have errors at this command sudo python3 -m pip install -r requirements.txt --upgrade

:~/domoticz/plugins/Domoticz-Zigate $ sudo python3 -m pip install -r requirements.txt --upgrade
ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 173, in _main
status = self.run(options, args)
File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper
return func(self, options, args)
File "/usr/local/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 266, in run
session = self.get_default_session(options)
File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 74, in get_default_session
self._session = self.enter_context(self._build_session(options))
File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 88, in _build_session
session = PipSession(
File "/usr/local/lib/python3.10/site-packages/pip/_internal/network/session.py", line 289, in __init__
self.headers["User-Agent"] = user_agent()
File "/usr/local/lib/python3.10/site-packages/pip/_internal/network/session.py", line 132, in user_agent
linux_distribution = distro.linux_distribution() # type: ignore
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/distro.py", line 125, in linux_distribution
return _distro.linux_distribution(full_distribution_name)
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/distro.py", line 681, in linux_distribution
self.version(),
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/distro.py", line 741, in version
self.lsb_release_attr('release'),
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/distro.py", line 903, in lsb_release_attr
return self._lsb_release_info.get(attribute, '')
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/distro.py", line 556, in __get__
ret = obj.__dict__[self._fname] = self._f(obj)
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/distro.py", line 1014, in _lsb_release_info
stdout = subprocess.check_output(cmd, stderr=devnull)
File "/usr/local/lib/python3.10/subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/local/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.10/site-packages/pip/__main__.py", line 31, in <module>
sys.exit(_main())
File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/main.py", line 70, in main
return command.main(cmd_args)
File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 98, in main
return self._main(args)
File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 214, in _main
self.handle_pip_version_check(options)
File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 143, in handle_pip_version_check
session = self._build_session(
File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 88, in _build_session
session = PipSession(
File "/usr/local/lib/python3.10/site-packages/pip/_internal/network/session.py", line 289, in __init__
self.headers["User-Agent"] = user_agent()
File "/usr/local/lib/python3.10/site-packages/pip/_internal/network/session.py", line 132, in user_agent
linux_distribution = distro.linux_distribution() # type: ignore
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/distro.py", line 125, in linux_distribution
return _distro.linux_distribution(full_distribution_name)
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/distro.py", line 681, in linux_distribution
self.version(),
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/distro.py", line 741, in version
self.lsb_release_attr('release'),
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/distro.py", line 903, in lsb_release_attr
return self._lsb_release_info.get(attribute, '')
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/distro.py", line 556, in __get__
ret = obj.__dict__[self._fname] = self._f(obj)
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/distro.py", line 1014, in _lsb_release_info
stdout = subprocess.check_output(cmd, stderr=devnull)
File "/usr/local/lib/python3.10/subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/local/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.


and plugin doesn t work... :(
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
pfloryann
Posts: 178
Joined: Wednesday 09 January 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.1
Contact:

Re: Zigbee4domoticz - pairing cheap smoke sensor

Post by pfloryann »

I tried with fresh install and Sonoff dongle plus, domotics bullseye, plugin 6.3 develop branch:

2023-05-04 22:08:43.113 Status: Zigbee4Domoticz: [6] NEW OBJECT: e300 Model Name: TS0601
2023-05-04 22:08:43.115 Status: Zigbee4Domoticz: [6] NEW OBJECT: e300 Manufacturer Name: _TZE200_uebojraa
2023-05-04 22:08:43.109 Error: Zigbee4Domoticz: [6] NEW OBJECT: e300 Not able to get all needed attributes on time
2023-05-04 22:08:43.109 Error: Zigbee4Domoticz: processNotinDB - not able to find response from e300 stop process at 0043
2023-05-04 22:08:43.110 Error: Zigbee4Domoticz: processNotinDB - Collected Infos are : {'Version': '3', 'ZDeviceName': '', 'Status': 'UNKNOW', 'SQN': 'dd', 'Ep': {'01': {'0000': {'0004': '_TZE200_uebojraa', '0000': '3', '0001': '72', '0005': 'TS0601', '0007': '3', 'fffe': '0', 'ffe2': '56', 'ffe4': '0', 'ffdf': '+f+\x12'}}}, 'Heartbeat': '1', 'RIA': '6', 'LQI': 69, 'Battery': {}, 'Model': 'TS0601', 'ForceAckCommands': [], 'MacCapa': '80', 'IEEE': 'a4c138bbe3fd4777', 'Type': {}, 'ProfileID': {}, 'ZDeviceID': {}, 'App Version': '72', 'Attributes List': {}, 'DeviceType': 'RFD', 'HW Version': '', 'Last Cmds': [], 'LogicalType': 'End Device', 'Manufacturer': '', 'Manufacturer Name': '_TZE200_uebojraa', 'NbEp': '1', 'PowerSource': '', 'ReadAttributes': {'Ep': {'01': {'0000': {'TimeStamp': 1683227297, 'iSQN': {'0004': '00', '0000': '00', '0001': '00', '0005': '00', '0007': '00', 'fffe': '00'}, 'Attributes': {'0004': '00', '0000': '00', '0001': '00', '0005': '00', '0007': '00', 'fffe': '00', 'ffe2': '00', 'ffe4': '00', 'ffdf': '00'}, 'ZigateRequest': {}}}}}, 'ReceiveOnIdle': '', 'Stack Version': '', 'Stamp': {'time': 1683227301.8712015, 'Time': '2023-05-04 22:08:21', 'MsgType': '8011', 'LastSeen': 1683227301}, 'ZCL Version': '3', 'Health': 'Live', 'Capability': ['Reduced-Function Device', 'Standard security', 'NwkAddr should be allocated'], 'ZCLSQN': '00', 'ZDPSQN': '01', 'RollingLQI': [65, 65, 61, 61, 61, 61, 61, 61, 69, 69, 69], 'WriteAttributes': {'Ep': {'01': {'0000': {'TimeStamp': 0, 'iSQN': {}, 'Attributes': {}, 'ZigateRequest': {}}}}}, 'Epv2': {'01': {'ClusterIn': {}, 'ClusterOut': {}, 'ProfileID': {}, 'ZDeviceID': {}}}, 'PairingInProgress': True, 'ZCL-IN-SQN': {'ef00': 'dd', '0000': 'da', '000a': 'db'}, 'SQN_000a': 'db', 'ConsistencyCheck': 'Bad Pairing'}

Second attempt

2023-05-04 22:11:48.309 Status: Zigbee4Domoticz: Request Disabling Accepting new Hardware
2023-05-04 22:11:48.402 Status: Zigbee4Domoticz: Accepting new Hardware: Disable (Off)
2023-05-04 22:13:25.608 Status: Zigbee4Domoticz: Request Accepting new Hardware for 240 seconds
2023-05-04 22:13:25.735 Status: Zigbee4Domoticz: Accepting new Hardware: Enable (On)
2023-05-04 22:13:43.600 Status: Zigbee4Domoticz: (e300/a4c138bbe3fd4777) sent a Leave indication and will be outside of the network. LQI: 0
2023-05-04 22:13:43.601 Status: Zigbee4Domoticz: (e300/a4c138bbe3fd4777) cleanup key plugin data informations
2023-05-04 22:13:43.604 Status: Zigbee4Domoticz: (e300/a4c138bbe3fd4777) sent a Leave indication and will be outside of the network. LQI: 0
2023-05-04 22:13:43.605 Status: Zigbee4Domoticz: (e300/a4c138bbe3fd4777) cleanup key plugin data informations
2023-05-04 22:13:49.016 Status: Zigbee4Domoticz: NetworkID: 7e5e is replacing e300 for object: a4c138bbe3fd4777
2023-05-04 22:13:56.872 Status: Zigbee4Domoticz: NetworkID: b6bd is replacing 7e5e for object: a4c138bbe3fd4777
2023-05-04 22:14:04.419 Status: Zigbee4Domoticz: NetworkID: 1f7b is replacing b6bd for object: a4c138bbe3fd4777
2023-05-04 22:14:10.503 Error: Zigbee4Domoticz: Decode 8041 - Receive an IEEE: 842e14fffea784b4 with a NwkId: ee3f, seems not known by the plugin
2023-05-04 22:14:11.525 Status: Zigbee4Domoticz: Device Annoucement: NwkId: 1f7b Ieee: a4c138bbe3fd4777 MacCap: 80
2023-05-04 22:14:12.731 Error: Zigbee4Domoticz: Decode 8041 - Receive an IEEE: 842e14fffea784b4 with a NwkId: ee3f, seems not known by the plugin
Attachments
export(2).txt
(1.58 KiB) Downloaded 15 times
_PluginZigbee_02.log
(18.4 KiB) Downloaded 12 times
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
pfloryann
Posts: 178
Joined: Wednesday 09 January 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.1
Contact:

Re: Zigbee4domoticz - pairing cheap smoke sensor

Post by pfloryann »

Finally works pairing


2023-05-04 22:29:15.378 Status: Zigbee4Domoticz: [None] NEW OBJECT: 1f7b None
2023-05-04 22:29:19.075 Status: Zigbee4Domoticz: [0] NEW OBJECT: 1f7b Model Name: TS0601-smoke_4
2023-05-04 22:29:19.082 Status: Zigbee4Domoticz: [0] NEW OBJECT: 1f7b Manufacturer Name: _TZE200_uebojraa
2023-05-04 22:29:19.088 Status: Zigbee4Domoticz: [None] NEW OBJECT: 1f7b Request Node Descriptor
2023-05-04 22:29:55.286 Zigbee4Domoticz: UpdateDevice - (Zigbee4Domoticz - TS0601-smoke_4_Smoke-a4c138bbe3fd4777-01) 0:Off
2023-05-04 22:29:56.375 Zigbee4Domoticz: UpdateDevice - (Zigbee4Domoticz - TS0601-smoke_4_Smoke-a4c138bbe3fd4777-01) 1:On

Missing battery level!

Thank you!
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest