With new plugs still no contact ....

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

Moderator: leecollings

Post Reply
hjzwiers
Posts: 242
Joined: Friday 12 January 2018 8:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

With new plugs still no contact ....

Post by hjzwiers »

I tested with the new plugs (contact must be made to the Sonoff) ..... no contact is made

I deleted the added plugin from domoticz (did a full restart of the PC) and reset installed the zigbee2MQTT plug in. I need the basics to work.

I see now in the logging that the application cannot make a connection to the Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2, although I see it listed in the devices.

I have filled the connections properly and now I am checking if I as a user can access the Sonoff, or I must flash the Sonoff

I have changed the USB to the front (for connecting the Sonoff), nothing changed in the number of the USB port?
User avatar
waltervl
Posts: 5855
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: With new plugs still no contact ....

Post by waltervl »

What are you doing? Using zigbee2mqtt with python plugin which is not maintained for a long time. Or zigbee2mqtt with mqtt AD gateway? Or Zigbee4Domoticz plugin?

Please make up your mind.... This is already your third topic about integrating zigbee....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
hjzwiers
Posts: 242
Joined: Friday 12 January 2018 8:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: With new plugs still no contact ....

Post by hjzwiers »

I am doing this for the simple reason, it doesn't work

I am now at a stage that I am connecting to the device and the application can not see it, I changed the usb port and nothing changes. I am wondering if I can boil it down to a way to read out the signal to the specific usb.

I went back to zigbee2mqtt because it was the most straight forward .....
hjzwiers
Posts: 242
Joined: Friday 12 January 2018 8:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: With new plugs still no contact ....

Post by hjzwiers »

I have used a different computer and reflashed the stick to firmware 7.4.4

I have deleted all releated to ZigBeeForDomoticZ

I have installed zigbee2mqtt
I have configured theapplication:

version: 4
homeassistant: true
permit_join: true
frontend:
enabled: true
port: '8085'
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://192.168.2.71:1883'
serial:
adapter: ember
port: /dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_cc03fed5943aef11aca9331455516304-if00-port0
advanced:
log_level: info
homeassistant_legacy_entity_attributes: false
legacy_api: false
legacy_availability_payload: false
device_options:
legacy: false

The error I'm getting is:
[2025-02-07 23:34:40] error: zh:ember:uart:ash: Failed to init port with error Error: Error: No such file or directory, cannot open /dev/serial/by-id/ttyUSB0
[2025-02-07 23:34:40] error: z2m: Error while starting zigbee-herdsman
[2025-02-07 23:34:40] error: z2m: Failed to start zigbee-herdsman
[2025-02-07 23:34:40] error: z2m: Check https://www.zigbee2mqtt.io/guide/instal ... ntime.html for possible solutions
[2025-02-07 23:34:40] error: z2m: Exiting...
[2025-02-07 23:34:40] error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.

So basically it says the connection to the Sonoff is not being made. I will now check everything related to the connection of the USB port. Any tips are welcome
User avatar
Xenomes
Posts: 416
Joined: Tuesday 27 November 2018 19:05
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: With new plugs still no contact ....

Post by Xenomes »

Strange, but this is incorrect in the log data!
/dev/serial/by-id/ttyUSB0 this must be /dev/ttyUSB0

If you ls -la /dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_cc03fed5943aef11aca9331455516304-if00-port0 you must see something like this: rt0 -> ../../ttyUSB0
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2025.1 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest