Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.75k stars 1.64k forks source link

Error Domoticz Log file new Zigbee Device (Alarm) NAS-AB02B2/TS0601 #17895

Closed McGyver64 closed 1 year ago

McGyver64 commented 1 year ago

What happened?

Calling the function ON/OFF gives the error in LOG file Domoticz. The device does execute the option (play alarm sound)

Below is error report Domoticz:

2023-06-03 11:33:25.734 Status: User: admin (IP: 172.16.10.200) initiated a switch command (245/Alarm (alarm)/Off) 2023-06-03 11:33:26.059 Error: Zigbee2MQTT: Call to function 'onMessage' failed, exception details: 2023-06-03 11:33:26.062 Error: Zigbee2MQTT: Traceback (most recent call last): 2023-06-03 11:33:26.062 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices/switch/selector_switch.py", line 41, in get_string_value 2023-06-03 11:33:26.062 Error: Zigbee2MQTT: index = self.level_values.index(value) 2023-06-03 11:33:26.062 Error: Zigbee2MQTT: ValueError: 6 is not in list 2023-06-03 11:33:26.062 Error: Zigbee2MQTT: 2023-06-03 11:33:26.062 Error: Zigbee2MQTT: During handling of the above exception, another exception occurred: 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: Traceback (most recent call last): 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices/device.py", line 194, in handle_message 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: }, **self.get_device_args(value, device, message)) 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices/device.py", line 171, in get_device_args 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: 'nValue': self.get_numeric_value(value, device), 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices/switch/selector_switch.py", line 37, in get_numeric_value 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: return 1 if self.get_string_value(value, device) != '0' else 0 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices/switch/selector_switch.py", line 43, in get_string_value 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: domoticz.debug('Unable to find selector switch level for value "' + value + '", device: ' + device.Name) 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: TypeError: can only concatenate str (not "int") to str 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: During handling of the above exception, another exception occurred: 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: Traceback (most recent call last): 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 299, in onMessage 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: _plugin.onMessage(Connection, Data) 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 137, in onMessage 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: self.mqttClient.onMessage(Connection, Data) 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py", line 167, in onMessage 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: self.on_mqtt_message_cb(topic, message) 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 215, in onMQTTPublish 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: self.devices_manager.handle_mqtt_message(topic, message) 2023-06-03 11:33:26.063 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices_manager.py", line 61, in handle_mqtt_message 2023-06-03 11:33:26.064 Error: Zigbee2MQTT: adapter.handle_mqtt_message(zigbee_message) 2023-06-03 11:33:26.064 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/adapters/base_adapter.py", line 64, in handle_mqtt_message 2023-06-03 11:33:26.064 Error: Zigbee2MQTT: device.handle_message(device_data, converted_message) 2023-06-03 11:33:26.064 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices/device.py", line 196, in handle_message 2023-06-03 11:33:26.064 Error: Zigbee2MQTT: domoticz.error('Can\'t calculate the value for device ' + device.ID + ' from raw value "' + str(value) + '"') 2023-06-03 11:33:26.064 Error: Zigbee2MQTT: TypeError: can only concatenate str (not "int") to str 2023-06-03 11:35:09.460 Error: SQL Query("SELECT nValue, sValue FROM Preferences WHERE (Key='HideDisabledHardwareSensors')") : no more rows available

What did you expect to happen?

No error in LOG file

How to reproduce it (minimal and precise)

every time I execute the ON/OFF command, the error occurs

2023-06-03 12:05:39.590 Error: Zigbee2MQTT: During handling of the above exception, another exception occurred: 2023-06-03 12:05:39.590 Error: Zigbee2MQTT: 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: Traceback (most recent call last): 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices/device.py", line 194, in handle_message 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: }, **self.get_device_args(value, device, message)) 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices/device.py", line 171, in get_device_args 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: 'nValue': self.get_numeric_value(value, device), 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices/switch/selector_switch.py", line 37, in get_numeric_value 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: return 1 if self.get_string_value(value, device) != '0' else 0 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices/switch/selector_switch.py", line 43, in get_string_value 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: domoticz.debug('Unable to find selector switch level for value "' + value + '", device: ' + device.Name) 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: TypeError: can only concatenate str (not "int") to str 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: During handling of the above exception, another exception occurred: 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: Traceback (most recent call last): 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 299, in onMessage 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: _plugin.onMessage(Connection, Data) 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 137, in onMessage 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: self.mqttClient.onMessage(Connection, Data) 2023-06-03 12:05:39.591 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py", line 167, in onMessage 2023-06-03 12:05:39.592 Error: Zigbee2MQTT: self.on_mqtt_message_cb(topic, message) 2023-06-03 12:05:39.592 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 215, in onMQTTPublish 2023-06-03 12:05:39.592 Error: Zigbee2MQTT: self.devices_manager.handle_mqtt_message(topic, message) 2023-06-03 12:05:39.592 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices_manager.py", line 61, in handle_mqtt_message 2023-06-03 12:05:39.592 Error: Zigbee2MQTT: adapter.handle_mqtt_message(zigbee_message) 2023-06-03 12:05:39.592 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/adapters/base_adapter.py", line 64, in handle_mqtt_message 2023-06-03 12:05:39.592 Error: Zigbee2MQTT: device.handle_message(device_data, converted_message) 2023-06-03 12:05:39.592 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/devices/device.py", line 196, in handle_message 2023-06-03 12:05:39.592 Error: Zigbee2MQTT: domoticz.error('Can\'t calculate the value for device ' + device.ID + ' from raw value "' + str(value) + '"') 2023-06-03 12:05:39.592 Error: Zigbee2MQTT: TypeError: can only concatenate str (not "int") to str

Zigbee2MQTT version

plugin: v.3.2.0-beta, zigbee2mqtt: v.1.31.0 (zStack3x0 20221226)

Adapter firmware version

20221226

Adapter

slaesh cc2652rb

Debug log

Last login: Sat May 27 12:39:57 on ttys000 niek@Macbook-Pro ~ % ssh pi@172.16.10.203
ssh: connect to host 172.16.10.203 port 22: Connection refused niek@Macbook-Pro ~ % niek@Macbook-Pro ~ % niek@Macbook-Pro ~ % ping 172.16.10.100 PING 172.16.10.100 (172.16.10.100): 56 data bytes Request timeout for icmp_seq 0 ping: sendto: No route to host Request timeout for icmp_seq 1 ping: sendto: Host is down Request timeout for icmp_seq 2 ping: sendto: Host is down Request timeout for icmp_seq 3 ping: sendto: Host is down Request timeout for icmp_seq 4 ping: sendto: Host is down Request timeout for icmp_seq 5 ping: sendto: Host is down Request timeout for icmp_seq 6 ^C --- 172.16.10.100 ping statistics --- 8 packets transmitted, 0 packets received, 100.0% packet loss niek@Macbook-Pro ~ % ip a \zsh: command not found: ip niek@Macbook-Pro ~ % ping 172.16.10.100 PING 172.16.10.100 (172.16.10.100): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 ^C --- 172.16.10.100 ping statistics --- 3 packets transmitted, 0 packets received, 100.0% packet loss niek@Macbook-Pro ~ % ping 172.16.10.1
PING 172.16.10.1 (172.16.10.1): 56 data bytes Request timeout for icmp_seq 0 ^C --- 172.16.10.1 ping statistics --- 2 packets transmitted, 0 packets received, 100.0% packet loss niek@Macbook-Pro ~ % ping 172.16.10.2
PING 172.16.10.2 (172.16.10.2): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 ^C --- 172.16.10.2 ping statistics --- 3 packets transmitted, 0 packets received, 100.0% packet loss niek@Macbook-Pro ~ % ping 172.16.10.3 PING 172.16.10.3 (172.16.10.3): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 Request timeout for icmp_seq 3 ping: sendto: No route to host Request timeout for icmp_seq 4 ping: sendto: Host is down Request timeout for icmp_seq 5 ping: sendto: Host is down Request timeout for icmp_seq 6 ping: sendto: Host is down Request timeout for icmp_seq 7 ping: sendto: Host is down Request timeout for icmp_seq 8 ^C --- 172.16.10.3 ping statistics --- 10 packets transmitted, 0 packets received, 100.0% packet loss niek@Macbook-Pro ~ % ping 172.16.10.3 PING 172.16.10.3 (172.16.10.3): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 Request timeout for icmp_seq 3 ^C --- 172.16.10.3 ping statistics --- 5 packets transmitted, 0 packets received, 100.0% packet loss niek@Macbook-Pro ~ % ping 172.16.10.2 PING 172.16.10.2 (172.16.10.2): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 ping: sendto: No route to host Request timeout for icmp_seq 2 ^C --- 172.16.10.2 ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss niek@Macbook-Pro ~ % ping 172.16.10.1 PING 172.16.10.1 (172.16.10.1): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 ^C --- 172.16.10.1 ping statistics --- 3 packets transmitted, 0 packets received, 100.0% packet loss niek@Macbook-Pro ~ % niek@Macbook-Pro ~ % ping 172.16.10.100 PING 172.16.10.100 (172.16.10.100): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 ^C --- 172.16.10.100 ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss niek@Macbook-Pro ~ % ping 172.16.10.10 PING 172.16.10.10 (172.16.10.10): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down Request timeout for icmp_seq 0 ping: sendto: Host is down Request timeout for icmp_seq 1 ping: sendto: Host is down Request timeout for icmp_seq 2 ping: sendto: Host is down Request timeout for icmp_seq 3 ping: sendto: Host is down Request timeout for icmp_seq 4 ^C --- 172.16.10.10 ping statistics --- 6 packets transmitted, 0 packets received, 100.0% packet loss niek@Macbook-Pro ~ % ping 172.16.10.60 PING 172.16.10.60 (172.16.10.60): 56 data bytes Request timeout for icmp_seq 0 ^C --- 172.16.10.60 ping statistics --- 2 packets transmitted, 0 packets received, 100.0% packet loss niek@Macbook-Pro ~ % ping 172.16.10.123 PING 172.16.10.123 (172.16.10.123): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 ping: sendto: No route to host Request timeout for icmp_seq 3 ping: sendto: Host is down Request timeout for icmp_seq 4 ping: sendto: Host is down Request timeout for icmp_seq 5 ping: sendto: Host is down Request timeout for icmp_seq 6 ping: sendto: Host is down Request timeout for icmp_seq 7 ping: sendto: Host is down Request timeout for icmp_seq 8 ping: sendto: Host is down Request timeout for icmp_seq 9 Request timeout for icmp_seq 10 Request timeout for icmp_seq 11 Request timeout for icmp_seq 12 Request timeout for icmp_seq 13 ping: sendto: No route to host Request timeout for icmp_seq 14 ping: sendto: Host is down Request timeout for icmp_seq 15 ping: sendto: Host is down Request timeout for icmp_seq 16 ping: sendto: Host is down Request timeout for icmp_seq 17 ping: sendto: Host is down Request timeout for icmp_seq 18 ping: sendto: Host is down Request timeout for icmp_seq 19 ping: sendto: Host is down Request timeout for icmp_seq 20 ping: sendto: Host is down Request timeout for icmp_seq 21 ping: sendto: Host is down Request timeout for icmp_seq 22 ping: sendto: Host is down Request timeout for icmp_seq 23 ping: sendto: Host is down Request timeout for icmp_seq 24 ping: sendto: Host is down Request timeout for icmp_seq 25 ping: sendto: Host is down Request timeout for icmp_seq 26 ping: sendto: Host is down Request timeout for icmp_seq 27 Request timeout for icmp_seq 28 Request timeout for icmp_seq 29 Request timeout for icmp_seq 30 Request timeout for icmp_seq 31 Request timeout for icmp_seq 32 ping: sendto: No route to host Request timeout for icmp_seq 33 ping: sendto: Host is down Request timeout for icmp_seq 34 ping: sendto: Host is down Request timeout for icmp_seq 35 ping: sendto: Host is down Request timeout for icmp_seq 36 ping: sendto: Host is down Request timeout for icmp_seq 37 ping: sendto: Host is down Request timeout for icmp_seq 38 ping: sendto: Host is down Request timeout for icmp_seq 39 ping: sendto: Host is down Request timeout for icmp_seq 40 ping: sendto: Host is down Request timeout for icmp_seq 41 ping: sendto: Host is down Request timeout for icmp_seq 42 ping: sendto: Host is down Request timeout for icmp_seq 43 ping: sendto: Host is down Request timeout for icmp_seq 44 ping: sendto: Host is down Request timeout for icmp_seq 45 ping: sendto: Host is down Request timeout for icmp_seq 46 ping: sendto: Host is down Request timeout for icmp_seq 47 ping: sendto: Host is down Request timeout for icmp_seq 48 ping: sendto: Host is down Request timeout for icmp_seq 49 ping: sendto: Host is down Request timeout for icmp_seq 50 ping: sendto: Host is down Request timeout for icmp_seq 51 ping: sendto: Host is down Request timeout for icmp_seq 52 Request timeout for icmp_seq 53 Request timeout for icmp_seq 54 Request timeout for icmp_seq 55 Request timeout for icmp_seq 56 Request timeout for icmp_seq 57 Request timeout for icmp_seq 58 Request timeout for icmp_seq 59 Request timeout for icmp_seq 60 Request timeout for icmp_seq 61 Request timeout for icmp_seq 62 Request timeout for icmp_seq 63 Request timeout for icmp_seq 64 Request timeout for icmp_seq 65 Request timeout for icmp_seq 66 Request timeout for icmp_seq 67 Request timeout for icmp_seq 68 Request timeout for icmp_seq 69 Request timeout for icmp_seq 70 Request timeout for icmp_seq 71 Request timeout for icmp_seq 72 Request timeout for icmp_seq 73 Request timeout for icmp_seq 74 Request timeout for icmp_seq 75 Request timeout for icmp_seq 76 Request timeout for icmp_seq 77 Request timeout for icmp_seq 78 Request timeout for icmp_seq 79 Request timeout for icmp_seq 80 Request timeout for icmp_seq 81 Request timeout for icmp_seq 82 Request timeout for icmp_seq 83 Request timeout for icmp_seq 84 Request timeout for icmp_seq 85 Request timeout for icmp_seq 86 Request timeout for icmp_seq 87 Request timeout for icmp_seq 88 Request timeout for icmp_seq 89 Request timeout for icmp_seq 90 Request timeout for icmp_seq 91 Request timeout for icmp_seq 92 Request timeout for icmp_seq 93 Request timeout for icmp_seq 94 Request timeout for icmp_seq 95 Request timeout for icmp_seq 96 Request timeout for icmp_seq 97 Request timeout for icmp_seq 98 Request timeout for icmp_seq 99 Request timeout for icmp_seq 100 Request timeout for icmp_seq 101 Request timeout for icmp_seq 102 Request timeout for icmp_seq 103 Request timeout for icmp_seq 104 Request timeout for icmp_seq 105 Request timeout for icmp_seq 106 Request timeout for icmp_seq 107 Request timeout for icmp_seq 108 Request timeout for icmp_seq 109 Request timeout for icmp_seq 110 Request timeout for icmp_seq 111 Request timeout for icmp_seq 112 Request timeout for icmp_seq 113 Request timeout for icmp_seq 114 Request timeout for icmp_seq 115 Request timeout for icmp_seq 116 Request timeout for icmp_seq 117 64 bytes from 172.16.10.123: icmp_seq=118 ttl=64 time=1.388 ms 64 bytes from 172.16.10.123: icmp_seq=119 ttl=64 time=0.955 ms 64 bytes from 172.16.10.123: icmp_seq=120 ttl=64 time=0.760 ms 64 bytes from 172.16.10.123: icmp_seq=121 ttl=64 time=0.709 ms 64 bytes from 172.16.10.123: icmp_seq=122 ttl=64 time=0.912 ms 64 bytes from 172.16.10.123: icmp_seq=123 ttl=64 time=0.773 ms 64 bytes from 172.16.10.123: icmp_seq=124 ttl=64 time=1.057 ms 64 bytes from 172.16.10.123: icmp_seq=125 ttl=64 time=0.905 ms 64 bytes from 172.16.10.123: icmp_seq=126 ttl=64 time=0.926 ms 64 bytes from 172.16.10.123: icmp_seq=127 ttl=64 time=0.940 ms 64 bytes from 172.16.10.123: icmp_seq=128 ttl=64 time=0.750 ms 64 bytes from 172.16.10.123: icmp_seq=129 ttl=64 time=0.764 ms 64 bytes from 172.16.10.123: icmp_seq=130 ttl=64 time=1.148 ms 64 bytes from 172.16.10.123: icmp_seq=131 ttl=64 time=0.952 ms 64 bytes from 172.16.10.123: icmp_seq=132 ttl=64 time=0.823 ms 64 bytes from 172.16.10.123: icmp_seq=133 ttl=64 time=0.826 ms 64 bytes from 172.16.10.123: icmp_seq=134 ttl=64 time=0.984 ms 64 bytes from 172.16.10.123: icmp_seq=135 ttl=64 time=0.972 ms 64 bytes from 172.16.10.123: icmp_seq=136 ttl=64 time=1.260 ms 64 bytes from 172.16.10.123: icmp_seq=137 ttl=64 time=0.981 ms 64 bytes from 172.16.10.123: icmp_seq=138 ttl=64 time=1.012 ms 64 bytes from 172.16.10.123: icmp_seq=139 ttl=64 time=0.857 ms ^C --- 172.16.10.123 ping statistics --- 140 packets transmitted, 22 packets received, 84.3% packet loss round-trip min/avg/max/stddev = 0.709/0.939/1.388/0.163 ms niek@Macbook-Pro ~ % ping 172.16.10.115 PING 172.16.10.115 (172.16.10.115): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 Request timeout for icmp_seq 3 ping: sendto: No route to host Request timeout for icmp_seq 4 ping: sendto: Host is down Request timeout for icmp_seq 5 ^C --- 172.16.10.115 ping statistics --- 7 packets transmitted, 0 packets received, 100.0% packet loss niek@Macbook-Pro ~ % ping 172.16.10.118 PING 172.16.10.118 (172.16.10.118): 56 data bytes 64 bytes from 172.16.10.118: icmp_seq=0 ttl=64 time=146.650 ms 64 bytes from 172.16.10.118: icmp_seq=1 ttl=64 time=7.120 ms 64 bytes from 172.16.10.118: icmp_seq=2 ttl=64 time=2.963 ms ^C --- 172.16.10.118 ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 2.963/52.244/146.650/66.776 ms niek@Macbook-Pro ~ % ssh pi@172.16.10.245
pi@172.16.10.245's password: Linux Pi245 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon May 29 12:32:59 2023 from 172.16.10.200 pi@Pi245:~ $ sudo service domoticz restart pi@Pi245:~ $ sudo service domoticz restart pi@Pi245:~ $ sudo raspi-config pi@Pi245:~ $ sudo raspi-config

Current default time zone: 'Europe/Amsterdam' Local time is now: Mon May 29 20:06:05 CEST 2023. Universal Time is now: Mon May 29 18:06:05 UTC 2023.

pi@Pi245:~ $ date Mon 29 May 20:07:04 CEST 2023 pi@Pi245:~ $ sudo reboot Connection to 172.16.10.245 closed by remote host. Connection to 172.16.10.245 closed. niek@Macbook-Pro ~ % ssh pi@172.16.10.245 pi@172.16.10.245's password: Linux Pi245 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon May 29 19:35:18 2023 from 172.16.10.200 pi@Pi245:~ $ date Mon 29 May 20:16:14 CEST 2023 pi@Pi245:~ $ date Mon 29 May 20:22:27 CEST 2023 pi@Pi245:~ $ client_loop: send disconnect: Broken pipe niek@Macbook-Pro ~ % ssh pi@172.16.10.246 pi@172.16.10.246's password: Linux Pi-246 5.10.103+ #1529 Tue Mar 8 12:19:18 GMT 2022 armv6l

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed May 31 08:23:20 2023 from 172.16.10.40 pi@Pi-246:~ $ sudo service domoticz restart pi@Pi-246:~ $ client_loop: send disconnect: Broken pipe niek@Macbook-Pro ~ % niek@Macbook-Pro ~ % niek@Macbook-Pro ~ % ssh pi@172.16.10.123 pi@172.16.10.123's password: Permission denied, please try again. pi@172.16.10.123's password: Permission denied, please try again. pi@172.16.10.123's password:

pi@172.16.10.123: Permission denied (publickey,password). niek@Macbook-Pro ~ % niek@Macbook-Pro ~ % niek@Macbook-Pro ~ % ssh pihole@172.16.10.123 pihole@172.16.10.123's password: Permission denied, please try again. pihole@172.16.10.123's password: Linux PiHole 4.19.0-24-686-pae #1 SMP Debian 4.19.282-1 (2023-04-29) i686

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. Last login: Mon May 29 17:54:36 2023 pihole@PiHole:~$ sudo reboot [sudo] password for pihole: pihole@PiHole:~$ Connection to 172.16.10.123 closed by remote host. Connection to 172.16.10.123 closed. niek@Macbook-Pro ~ % ssh pihole@172.16.10.123 pihole@172.16.10.123's password: Permission denied, please try again. pihole@172.16.10.123's password: Linux PiHole 4.19.0-24-686-pae #1 SMP Debian 4.19.282-1 (2023-04-29) i686

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. Last login: Fri Jun 2 08:09:04 2023 from 172.16.10.200 pihole@PiHole:~$ sudo pihole -up [sudo] password for pihole: Sorry, try again. [sudo] password for pihole: [✓] Update local cache of available packages [i] Existing PHP installation detected : PHP version 7.3.31-1~deb10u3 [✓] Checking for git [✓] Checking for iproute2 [✓] Checking for dialog [✓] Checking for ca-certificates

[i] Checking for updates... [i] Pi-hole Core: update available [i] Web Interface: update available [i] FTL: update available

[i] Pi-hole core files out of date, updating local repo. [✓] Check for existing repository in /etc/.pihole [i] Update repo in /etc/.pihole...HEAD is now at 6a45c6a8 v5.17.1 (#5295) [✓] Update repo in /etc/.pihole

[i] If you had made any changes in '/etc/.pihole/', they have been stashed using 'git stash'

[i] Pi-hole Web Admin files out of date, updating local repo. [✓] Check for existing repository in /var/www/html/admin [i] Update repo in /var/www/html/admin...HEAD is now at 3a11976e 5.20.1 (#2598) [✓] Update repo in /var/www/html/admin

[i] If you had made any changes in '/var/www/html/admin/', they have been stashed using 'git stash'

[i] FTL out of date, it will be updated by the installer.

[✓] Root user check

    .;;,.
    .ccccc:,.
     :cccclll:.      ..,,
      :ccccclll.   ;ooodc
       'ccll:;ll .oooodc
         .;cll.;;looo:.
             .. ','.
            .',,,,,,'.
          .',,,,,,,,,,.
        .',,,,,,,,,,,,....
      ....''',,,,,,,'.......
    .........  ....  .........
    ..........      ..........
    ..........      ..........
    .........  ....  .........
      ........,,,,,,,'......
        ....',,,,,,,,,,,,.
           .',,,,,,,,,'.
            .',,,,,,'.
              ..'''.

[i] SELinux not detected [✓] Update local cache of available packages [i] Existing PHP installation detected : PHP version 7.3.31-1~deb10u3

[✓] Checking apt-get for upgraded packages... 6 updates available [i] It is recommended to update your OS after installing the Pi-hole!

[i] Checking for / installing Required dependencies for OS Check... [✓] Checking for grep [✓] Checking for dnsutils

[✓] Supported OS detected [i] Checking for / installing Required dependencies for this install script... [✓] Checking for git [✓] Checking for iproute2 [✓] Checking for dialog [✓] Checking for ca-certificates

[i] Performing unattended setup, no dialogs will be displayed [i] Performing reconfiguration, skipping download of local repos [✓] Resetting repository within /etc/.pihole... [✓] Resetting repository within /var/www/html/admin... [i] Checking for / installing Required dependencies for Pi-hole software... [✓] Checking for cron [✓] Checking for curl [✓] Checking for iputils-ping [✓] Checking for psmisc [✓] Checking for sudo [✓] Checking for unzip [✓] Checking for idn2 [✓] Checking for libcap2-bin [✓] Checking for dns-root-data [✓] Checking for libcap2 [✓] Checking for netcat-openbsd [✓] Checking for procps [✓] Checking for jq [✓] Checking for lighttpd [✓] Checking for php7.3-common [✓] Checking for php7.3-cgi [✓] Checking for php7.3-sqlite3 [✓] Checking for php7.3-xml [✓] Checking for php7.3-intl [✓] Checking for php7.3-json

[✓] Enabling lighttpd service to start on reboot... [✓] Checking for user 'pihole'

[i] FTL Checks...

[✓] Detected 32bit (i686) processor [i] Checking for existing FTL binary... [✓] Downloading and Installing FTL [✓] Installing scripts from /etc/.pihole

[i] Installing configs from /etc/.pihole... [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone! [✓] Installed /etc/dnsmasq.d/01-pihole.conf [✓] Installed /etc/dnsmasq.d/06-rfc6761.conf

[✓] Installing sudoer file

[✓] Installing latest Cron script

[i] Installing latest logrotate script... [i] Existing logrotate file found. No changes made. [i] Backing up /etc/dnsmasq.conf to /etc/dnsmasq.conf.old [✓] man pages installed and database updated [i] Testing if systemd-resolved is enabled [i] Systemd-resolved is not enabled [✓] Restarting lighttpd service... [✓] Enabling lighttpd service to start on reboot... [i] Restarting services... [✓] Enabling pihole-FTL service to start on reboot... [✓] Restarting pihole-FTL service... [✓] Deleting existing list cache [✗] DNS resolution is currently unavailable [✓] DNS resolution is now available

[i] Neutrino emissions detected... [✓] Pulling blocklist source list into range

[✓] Preparing new gravity database [✓] Creating new gravity databases [i] Using libz compression

[i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts [✓] Status: Retrieval successful [✓] Parsed 186360 exact domains and 0 ABP-style domains (ignored 1 non-domain entries) Sample of non-domain entries:

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue May 30 21:43:43 2023 from 172.16.10.210 pi@Pi245:~ $ sudo systemctl stop zigbee2mqtt pi@Pi245:~ $ cd /opt/zigbee2mqtt pi@Pi245:/opt/zigbee2mqtt $ cp -R data data-backup pi@Pi245:/opt/zigbee2mqtt $ git pull hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. remote: Enumerating objects: 25243, done. remote: Counting objects: 100% (25243/25243), done. remote: Compressing objects: 100% (6186/6186), done. remote: Total 25124 (delta 19048), reused 24816 (delta 18806), pack-reused 0 Receiving objects: 100% (25124/25124), 101.92 MiB | 4.73 MiB/s, done. Resolving deltas: 100% (19048/19048), completed with 104 local objects. From https://github.com/Koenkk/zigbee2mqtt 0cbbf400..f440c860 master -> origin/master

added 795 packages, and audited 796 packages in 2m

82 packages are looking for funding run npm fund for details

found 0 vulnerabilities pi@Pi245:/opt/zigbee2mqtt $ sudo apt update Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB] Hit:2 http://packages.azlux.fr/debian bullseye InRelease
Get:3 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Hit:4 https://deb.nodesource.com/node_18.x bullseye InRelease
Get:5 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [316 kB] Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB] Fetched 13.6 MB in 18s (769 kB/s)
Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. pi@Pi245:/opt/zigbee2mqtt $ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. pi@Pi245:/opt/zigbee2mqtt $ sudo systemctl start zigbee2mqtt pi@Pi245:/opt/zigbee2mqtt $ sudo reboot Connection to 172.16.10.245 closed by remote host. Connection to 172.16.10.245 closed. niek@Macbook-Pro ~ % ssh pi@172.16.10.245 pi@172.16.10.245's password: Linux Pi245 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Jun 2 18:56:22 2023 from 172.16.10.200 pi@Pi245:~ $ sudo service domoticz restart pi@Pi245:~ $ pi@Pi245:~ $ sudo reboot Connection to 172.16.10.245 closed by remote host. Connection to 172.16.10.245 closed. niek@Macbook-Pro ~ % ssh pi@172.16.10.245 pi@172.16.10.245's password: Linux Pi245 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat Jun 3 10:36:36 2023 from 172.16.10.200 pi@Pi245:~ $ ls -l /dev/serial/by-id total 0 lrwxrwxrwx 1 root root 13 Jun 3 11:27 usb-Silicon_Labs_slae.sh_cc2652rbstick-_slaesh_s_iot_stuff_00_12_4B_00_25_9B_C1_DA-if00-port0 -> ../../ttyUSB0 pi@Pi245:~ $ cd domoticz/plugins/zigbee2mqtt/ -bash: cd: domoticz/plugins/zigbee2mqtt/: Permission denied pi@Pi245:~ $ cd domoticz/plugins pi@Pi245:~/domoticz/plugins $ cd zigbee2mqtt -bash: cd: zigbee2mqtt: Permission denied pi@Pi245:~/domoticz/plugins $ sudo chown -R pi:pi /home/pi/domoticz/plugins/zigbee2mqtt pi@Pi245:~/domoticz/plugins $ cd zigbee2mqtt pi@Pi245:~/domoticz/plugins/zigbee2mqtt $ ls adapter.py configuration.py frontend README.md adapters devices groups_manager.py SUPPORTED_DEVICES.md api devices_manager.py LICENSE zigbee_message.py blacklist.py domoticz.py mqtt.py bridge.py features plugin.py CHANGELOG.md feature_utils.py pycache pi@Pi245:~/domoticz/plugins/zigbee2mqtt $ sudo nano plugin.py pi@Pi245:~/domoticz/plugins/zigbee2mqtt $ ls adapter.py configuration.py frontend README.md adapters devices groups_manager.py SUPPORTED_DEVICES.md api devices_manager.py LICENSE zigbee_message.py blacklist.py domoticz.py mqtt.py bridge.py features plugin.py CHANGELOG.md feature_utils.py pycache pi@Pi245:~/domoticz/plugins/zigbee2mqtt $ cd.. -bash: cd..: command not found pi@Pi245:~/domoticz/plugins/zigbee2mqtt $ cd .. pi@Pi245:~/domoticz/plugins $ ls AwoxSMP Domoticz-Zigbee examples plugins-manager zigbee2mqtt pi@Pi245:~/domoticz/plugins $ cd .. pi@Pi245:~/domoticz $ ls Config domoticz.db domoticz.sh License.txt server_cert.pem www domocookie.txt domoticz.db-shm dzVents plugins updatebeta domoticz domoticz.db-wal History.txt scripts updaterelease pi@Pi245:~/domoticz $ sudo nano /opt/zigbee2mqtt/data/configuration.yaml pi@Pi245:~/domoticz $ sudo nano /opt/zigbee2mqtt/data/configuration.yaml pi@Pi245:~/domoticz $ sudo reboot Connection to 172.16.10.245 closed by remote host. Connection to 172.16.10.245 closed. niek@Macbook-Pro ~ % ssh pi@172.16.10.245 pi@172.16.10.245's password: Linux Pi245 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat Jun 3 11:31:21 2023 from 172.16.10.200 pi@Pi245:~ $ cd domoticz pi@Pi245:~/domoticz $ ls Config domoticz.db domoticz.sh License.txt server_cert.pem www domocookie.txt domoticz.db-shm dzVents plugins updatebeta domoticz domoticz.db-wal History.txt scripts updaterelease pi@Pi245:~/domoticz $ cd domoticz -bash: cd: domoticz: Not a directory pi@Pi245:~/domoticz $ cd domoticz -bash: cd: domoticz: Not a directory pi@Pi245:~/domoticz $ ls Config domoticz.db domoticz.sh License.txt server_cert.pem www domocookie.txt domoticz.db-shm dzVents plugins updatebeta domoticz domoticz.db-wal History.txt scripts updaterelease pi@Pi245:~/domoticz $ cd plugins pi@Pi245:~/domoticz/plugins $ ls AwoxSMP Domoticz-Zigbee examples plugins-manager zigbee2mqtt pi@Pi245:~/domoticz/plugins $ cd / pi@Pi245:/ $ cd data -bash: cd: data: No such file or directory pi@Pi245:/ $ ls bin dev home lost+found mnt proc run srv tmp var boot etc lib media opt root sbin sys usr pi@Pi245:/ $ cd home/pi pi@Pi245:~ $ cd data -bash: cd: data: No such file or directory pi@Pi245:~ $ ls domoticz log2ram.tar.gz pi@Pi245:~ $ cd domoticz pi@Pi245:~/domoticz $ ls Config domoticz.db domoticz.sh License.txt server_cert.pem www domocookie.txt domoticz.db-shm dzVents plugins updatebeta domoticz domoticz.db-wal History.txt scripts updaterelease pi@Pi245:~/domoticz $ cd .. pi@Pi245:~ $ cd /opt pi@Pi245:/opt $ ls zigbee2mqtt pi@Pi245:/opt $ cd zigbee2mqtt pi@Pi245:/opt/zigbee2mqtt $ ls babel.config.js data-backup LICENSE scripts CHANGELOG.md dist node_modules test cli.js docker package.json tsconfig.json CODE_OF_CONDUCT.md images package-lock.json update.sh CONTRIBUTING.md index.js README.md data lib release-please-config.json pi@Pi245:/opt/zigbee2mqtt $ cd data pi@Pi245:/opt/zigbee2mqtt/data $ ls configuration.yaml coordinator_backup.json database.db log state.json pi@Pi245:/opt/zigbee2mqtt/data $ cd log pi@Pi245:/opt/zigbee2mqtt/data/log $ ls 2023-05-28.12-50-16 2023-05-29.12-06-30 2023-06-03.11-28-28 2023-05-28.22-51-30 2023-05-29.20-08-19 2023-06-03.11-56-54 2023-05-29.11-02-36 2023-06-02.19-12-36 2023-05-29.11-29-16 2023-06-02.19-33-18 pi@Pi245:/opt/zigbee2mqtt/data/log $ cd 2023-06-03.11-56-54 pi@Pi245:/opt/zigbee2mqtt/data/log/2023-06-03.11-56-54 $ ls log.txt pi@Pi245:/opt/zigbee2mqtt/data/log/2023-06-03.11-56-54 $ sudo nano log.txt

GNU nano 5.4 log.txt
info 2023-06-03 12:08:43: MQTT publish: topic 'zigbee2mqtt/0xa4c13847c1cd2deb', payload '{"child_lock":"UNLOCK","current":0.22,"device":{"applicationVersion":192,"dateCode":"","friendlyName":"0xa4c13847c1cd2deb","hardwareV> debug 2023-06-03 12:08:44: Received Zigbee message from '0xa4c13847c1cd2deb', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":31}' from endpoint 1 with groupID 0 info 2023-06-03 12:08:44: MQTT publish: topic 'zigbee2mqtt/0xa4c13847c1cd2deb', payload '{"child_lock":"UNLOCK","current":0.22,"device":{"applicationVersion":192,"dateCode":"","friendlyName":"0xa4c13847c1cd2deb","hardwareV> debug 2023-06-03 12:08:46: Received Zigbee message from '0xa4c138bcfb6c42bb', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":34}' from endpoint 1 with groupID 0 info 2023-06-03 12:08:46: MQTT publish: topic 'zigbee2mqtt/0xa4c138bcfb6c42bb', payload '{"child_lock":"UNLOCK","current":0.11,"device":{"applicationVersion":192,"dateCode":"","friendlyName":"0xa4c138bcfb6c42bb","hardwareV> debug 2023-06-03 12:08:47: Received Zigbee message from '0xa4c138bcfb6c42bb', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":280}' from endpoint 1 with groupID 0 info 2023-06-03 12:08:47: MQTT publish: topic 'zigbee2mqtt/0xa4c138bcfb6c42bb', payload '{"child_lock":"UNLOCK","current":0.28,"device":{"applicationVersion":192,"dateCode":"","friendlyName":"0xa4c138bcfb6c42bb","hardwareV> debug 2023-06-03 12:08:48: Received Zigbee message from '0xa4c13847c1cd2deb', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":287}' from endpoint 1 with groupID 0 info 2023-06-03 12:08:48: MQTT publish: topic 'zigbee2mqtt/0xa4c13847c1cd2deb', payload '{"child_lock":"UNLOCK","current":0.29,"device":{"applicationVersion":192,"dateCode":"","friendlyName":"0xa4c13847c1cd2deb","hardwareV> debug 2023-06-03 12:08:52: Received Zigbee message from '0xa4c13847c1cd2deb', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":44}' from endpoint 1 with groupID 0 info 2023-06-03 12:08:52: MQTT publish: topic 'zigbee2mqtt/0xa4c13847c1cd2deb', payload '{"child_lock":"UNLOCK","current":0.29,"device":{"applicationVersion":192,"dateCode":"","friendlyName":"0xa4c13847c1cd2deb","hardwareV> debug 2023-06-03 12:08:55: Received Zigbee message from '0xa4c13847c1cd2deb', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":349}' from endpoint 1 with groupID 0 info 2023-06-03 12:08:55: MQTT publish: topic 'zigbee2mqtt/0xa4c13847c1cd2deb', payload '{"child_lock":"UNLOCK","current":0.35,"device":{"applicationVersion":192,"dateCode":"","friendlyName":"0xa4c13847c1cd2deb","hardwareV> debug 2023-06-03 12:08:59: Received Zigbee message from '0x00158d0003884149', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsVoltage":244}' from endpoint 1 with groupID 0 info 2023-06-03 12:08:59: MQTT publish: topic 'zigbee2mqtt/0x00158d0003884149', payload '{"current":0,"device":{"applicationVersion":1,"dateCode":"20171027-100","friendlyName":"0x00158d0003884149","hardwareVersion":1,"ieee> debug 2023-06-03 12:09:01: Received Zigbee message from '0xa4c13847c1cd2deb', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":276}' from endpoint 1 with groupID 0 info 2023-06-03 12:09:01: MQTT publish: topic 'zigbee2mqtt/0xa4c13847c1cd2deb', payload '{"child_lock":"UNLOCK","current":0.28,"device":{"applicationVersion":192,"dateCode":"","friendlyName":"0xa4c13847c1cd2deb","hardwareV> debug 2023-06-03 12:09:07: Received Zigbee message from '0xa4c13847c1cd2deb', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":32}' from endpoint 1 with groupID 0 info 2023-06-03 12:09:07: MQTT publish: topic 'zigbee2mqtt/0xa4c13847c1cd2deb', payload '{"child_lock":"UNLOCK","current":0.28,"device":{"applicationVersion":192,"dateCode":"","friendlyName":"0xa4c13847c1cd2deb","hardwareV>

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days