Jey-Cee / ioBroker.enocean

Connect and control your EnOcean devices with ioBroker.
Other
24 stars 12 forks source link

[Bug]: USB 300 #151

Closed ZnarfMe closed 1 year ago

ZnarfMe commented 1 year ago

Contact Details

No response

What happened?

Hey,

I have a Enocean USB300 Stick.

Dev: /dev/serial/by-id/usb-EnOcean_GmbH_EnOcean_USB_300_DD_FT6X94HE-if00-port0

I wanted to teach in the DIMPLEX device and getting timeouts. Any idea how to troubleshoot this issue?

Timeout for response: Get base ID

Thank

Fresh Installation: on Rasbian

Adapter Version

v0.8.3

JS-Controller Version

4.0.23

Node JS Version

v14.20.1

NPM Version

6.14.17

Operating System

Ubuntu

Relevant log output

enocean.0
2022-10-12 16:33:23.979 info    {"AppVersion":"2.15.0.0","ApiVersion":"2.6.9.0","ChipID":"051ebf02","ChipVersion":"454f0103","AppDescription":"GATEWAYCTRL"}

enocean.0
2022-10-12 16:33:23.977 error   Timeout for response: Read learnd devices

enocean.0
2022-10-12 16:33:22.477 debug   Sent data: 5500010006790612

enocean.0
2022-10-12 16:33:22.474 error   Timeout for response: Get base ID

enocean.0
2022-10-12 16:33:20.972 debug   Sent data: 5500010005700838

enocean.0
2022-10-12 16:33:20.971 error   Timeout for response: Get frequency

enocean.0
2022-10-12 16:33:19.471 debug   Sent data: 55000100057025fb

enocean.0
2022-10-12 16:33:19.469 error   Timeout for response: Get repeater mode and level

enocean.0
2022-10-12 16:33:17.969 debug   Sent data: 5500010005700a36

enocean.0
2022-10-12 16:33:17.966 info    55002100022600020f000002060900051ebf02454f0103474154455741594354524c0000000000

enocean.0
2022-10-12 16:33:17.952 debug   Sent data: 5500010005700309

enocean.0
2022-10-12 16:33:17.618 info    starting. Version 0.8.3 (non-npm: Jey-Cee/ioBroker.enocean#d6175b467ddc0af090b061b01d359416a2f76a6c) in /opt/iobroker/node_modules/iobroker.enocean, node: v14.20.1, js-controller: 4.0.23

Anything else?

No response

Jey-Cee commented 1 year ago

There is no Bug, thats just warning messages. Its a bit weird as the request are answered. Your log is incomplete or you dont started a teachin process.

Thats all i can say with to your delivered information.

ZnarfMe commented 1 year ago

Hey @Jey-Cee,

thank you. Today I received another USB 300 Stick and there is a different result. I am getting some strange behavior.

# /dev/serial/by-id/usb-EnOcean_GmbH_EnOcean_USB_300_DD_FT6X94HE-if00-port0 
enocean.1
2022-10-17 16:49:43.101 silly   States user redis pmessage enocean.1.gateway.*/enocean.1.gateway.teachin:{"val":false,"ack":true,"ts":1666018183098,"q":0,"from":"system.adapter.enocean.1","user":"system.user.admin","lc":1666018183098}

enocean.1
2022-10-17 16:48:43.104 silly   States user redis pmessage enocean.1.gateway.*/enocean.1.gateway.teachin:{"val":true,"ack":true,"ts":1666018123103,"q":0,"from":"system.adapter.enocean.1","user":"system.user.admin","lc":1666018123103}

enocean.1
2022-10-17 16:48:43.095 silly   sendTo "autodetect" to system.adapter.admin.0 from system.adapter.enocean.1

enocean.1
2022-10-17 16:48:43.093 silly   States system redis pmessage io.messagebox.system.adapter.enocean.1/io.messagebox.system.adapter.enocean.1:{"command":"autodetect","message":{"teachin_method":"UTE","device":"DL 50 WE2","mfr":"DIMPLEX"},"from":"system.adapter.admin.0","callback":{"message":{"teachin_method":"UTE","device":"DL 50 WE2","mfr":"DIMPLEX"},"id":103,"ack":false,"time":1666018123091},"_id":95833688}

enocean.1
2022-10-17 16:48:33.352 silly   sendTo "getEEPList" to system.adapter.admin.0 from system.adapter.enocean.1

enocean.1
2022-10-17 16:48:33.351 silly   States system redis pmessage io.messagebox.system.adapter.enocean.1/io.messagebox.system.adapter.enocean.1:{"command":"getEEPList","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":102,"ack":false,"time":1666018113337},"_id":95833687}

enocean.1
2022-10-17 16:48:33.346 silly   sendTo "getDevices" to system.adapter.admin.0 from system.adapter.enocean.1

enocean.1
2022-10-17 16:48:33.345 silly   States system redis pmessage io.messagebox.system.adapter.enocean.1/io.messagebox.system.adapter.enocean.1:{"command":"getDevices","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":101,"ack":false,"time":1666018113332},"_id":95833686}

enocean.1
2022-10-17 16:48:33.341 silly   sendTo "listSerial" to system.adapter.admin.0 from system.adapter.enocean.1

enocean.1
2022-10-17 16:48:33.339 info    ["/dev/ttyAMA0","/dev/ttyUSB0","/dev/ttyUSB1","/dev/serial/by-id/usb-EnOcean_GmbH_EnOcean_USB_300_DD_FT6X94HE-if00-port0","/dev/serial/by-id/usb-EnOcean_GmbH_USB_300_DE_EO76FMDX-if00-port0"]

enocean.1
2022-10-17 16:48:33.333 silly   States system redis pmessage io.messagebox.system.adapter.enocean.1/io.messagebox.system.adapter.enocean.1:{"command":"listSerial","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":100,"ack":false,"time":1666018113331},"_id":95833685}

enocean.1
2022-10-17 16:48:24.177 info    {"BaseID":"ffe39400","Frequency":"868.3 Mhz","Protocol":"ERP1","AppVersion":"2.15.0.0","ApiVersion":"2.6.9.0","ChipID":"0520c728","ChipVersion":"454f0103","AppDescription":"GATEWAYCTRL"}

enocean.1
2022-10-17 16:48:24.176 info    55000100026500

enocean.1
2022-10-17 16:48:24.163 debug   Sent data: 5500010006790612

enocean.1
2022-10-17 16:48:24.160 info    5500050102db00ffe394000a

enocean.1
2022-10-17 16:48:24.147 debug   Sent data: 5500010005700838

enocean.1
2022-10-17 16:48:24.145 info    5500030002b3000100

enocean.1
2022-10-17 16:48:24.144 info    55000100026500

enocean.1
2022-10-17 16:48:24.126 debug   Sent data: 55000100057025fb

enocean.1
2022-10-17 16:48:24.125 debug   Sent data: 5500030005a60900003a

enocean.1
2022-10-17 16:48:24.081 silly   States user redis pmessage enocean.1.gateway.*/enocean.1.gateway.repeater.mode:{"val":0,"ack":true,"ts":1666018104078,"q":0,"from":"system.adapter.enocean.1","user":"system.user.admin","lc":1666017666174}

enocean.1
2022-10-17 16:48:24.077 debug   Sent data: 5500030005a60900003a

enocean.1
2022-10-17 16:48:24.070 silly   States user redis pmessage enocean.1.gateway.*/enocean.1.gateway.repeater.level:{"val":0,"ack":true,"ts":1666018104068,"q":0,"from":"system.adapter.enocean.1","user":"system.user.admin","lc":1666017666157}

enocean.1
2022-10-17 16:48:24.064 info    5500030002b3000000

enocean.1
2022-10-17 16:48:24.052 debug   Sent data: 5500010005700a36

enocean.1
2022-10-17 16:48:24.049 info    55002100022600020f0000020609000520c728454f0103474154455741594354524c0000000000

enocean.1
2022-10-17 16:48:24.034 debug   Sent data: 5500010005700309

enocean.1
2022-10-17 16:48:23.783 silly   States user redis pmessage enocean.1.gateway.*/enocean.1.gateway.teachin:{"val":false,"ack":true,"ts":1666018103778,"q":0,"from":"system.adapter.enocean.1","user":"system.user.admin","lc":1666017803413}

enocean.1
2022-10-17 16:48:23.748 silly   States system redis pmessage system.adapter.enocean.1.logLevel/system.adapter.enocean.1.logLevel:{"val":"silly","ack":true,"ts":1666018103734,"q":0,"from":"system.adapter.enocean.1","lc":1666017675340}

enocean.1
2022-10-17 16:48:23.694 info    starting. Version 0.8.3 (non-npm: Jey-Cee/ioBroker.enocean#d6175b467ddc0af090b061b01d359416a2f76a6c) in /opt/iobroker/node_modules/iobroker.enocean, node: v14.20.1, js-controller: 4.0.23

The old "one" with the TCM310 chip.

# /dev/serial/by-id/usb-EnOcean_GmbH_USB_300_DE_EO76FMDX-if00-port0 TCM310
enocean.0
2022-10-17 16:47:16.196 silly   States user redis pmessage enocean.0.gateway.*/enocean.0.gateway.teachin:{"val":false,"ack":true,"ts":1666018036194,"q":0,"from":"system.adapter.enocean.0","user":"system.user.admin","lc":1666018036194}

enocean.0
2022-10-17 16:46:16.248 silly   States user redis pmessage enocean.0.gateway.*/enocean.0.gateway.teachin:{"val":true,"ack":true,"ts":1666017976245,"q":0,"from":"system.adapter.enocean.0","user":"system.user.admin","lc":1666017976245}

enocean.0
2022-10-17 16:46:16.192 silly   sendTo "autodetect" to system.adapter.admin.0 from system.adapter.enocean.0

enocean.0
2022-10-17 16:46:16.188 silly   States system redis pmessage io.messagebox.system.adapter.enocean.0/io.messagebox.system.adapter.enocean.0:{"command":"autodetect","message":{"teachin_method":"UTE","device":"DL 50 WE2","mfr":"DIMPLEX"},"from":"system.adapter.admin.0","callback":{"message":{"teachin_method":"UTE","device":"DL 50 WE2","mfr":"DIMPLEX"},"id":98,"ack":false,"time":1666017976184},"_id":95833683}

enocean.0
2022-10-17 16:46:05.506 silly   sendTo "getEEPList" to system.adapter.admin.0 from system.adapter.enocean.0

enocean.0
2022-10-17 16:46:05.505 silly   States system redis pmessage io.messagebox.system.adapter.enocean.0/io.messagebox.system.adapter.enocean.0:{"command":"getEEPList","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":97,"ack":false,"time":1666017965490},"_id":95833682}

enocean.0
2022-10-17 16:46:05.500 silly   sendTo "getDevices" to system.adapter.admin.0 from system.adapter.enocean.0

enocean.0
2022-10-17 16:46:05.498 silly   States system redis pmessage io.messagebox.system.adapter.enocean.0/io.messagebox.system.adapter.enocean.0:{"command":"getDevices","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":96,"ack":false,"time":1666017965488},"_id":95833681}

enocean.0
2022-10-17 16:46:05.494 silly   sendTo "listSerial" to system.adapter.admin.0 from system.adapter.enocean.0

enocean.0
2022-10-17 16:46:05.493 info    ["/dev/ttyAMA0","/dev/ttyUSB0","/dev/ttyUSB1","/dev/serial/by-id/usb-EnOcean_GmbH_EnOcean_USB_300_DD_FT6X94HE-if00-port0","/dev/serial/by-id/usb-EnOcean_GmbH_USB_300_DE_EO76FMDX-if00-port0"]

I also have the original Dimplex Wall Switch. When clicking on the switch I receive an event. Also the pairing with the Dimplex Wall Switch works instantly.

enocean.0
2022-10-17 16:51:55.701 silly   States user redis pmessage enocean.0.gateway.*/enocean.0.gateway.lastID:{"val":"fee8e565","ack":true,"ts":1666018315698,"q":0,"from":"system.adapter.enocean.0","user":"system.user.admin","lc":1666017346229}

enocean.0
2022-10-17 16:51:55.688 debug   Message for ID fee8e565 has been received. It was repeated 0 times.

enocean.0
2022-10-17 16:51:55.683 debug   55000707017af600fee8e5652000ffffffff3200

enocean.0
2022-10-17 16:51:55.390 silly   States user redis pmessage enocean.0.gateway.*/enocean.0.gateway.lastID:{"val":"fee8e565","ack":true,"ts":1666018315386,"q":0,"from":"system.adapter.enocean.0","user":"system.user.admin","lc":1666017346229}

enocean.1
2022-10-17 16:51:55.379 silly   States user redis pmessage enocean.1.gateway.*/enocean.1.gateway.lastID:{"val":"fee8e565","ack":true,"ts":1666018315374,"q":0,"from":"system.adapter.enocean.1","user":"system.user.admin","lc":1666018315374}

enocean.0
2022-10-17 16:51:55.375 debug   Message for ID fee8e565 has been received. It was repeated 0 times.

enocean.0
2022-10-17 16:51:55.363 debug   55000707017af610fee8e5653000ffffffff2e00

enocean.1
2022-10-17 16:51:55.363 debug   Message for ID fee8e565 has been received. It was repeated 0 times.

enocean.1
2022-10-17 16:51:55.354 debug   55000707017af610fee8e5653000ffffffff3500

I am really lost what the issue could be.

Thank You Franz

Jey-Cee commented 1 year ago

Hi Franz,

sorry i don't see a problem or strange behavior. Please make clear statements about what is supposed to be wrong.

Greets Jey Cee

Jey-Cee commented 1 year ago

Closing while no response.