#zigbee-archived
1 messages · Page 19 of 1
Iss there a guide to build zigbee 3.0 hub
Well... yes, but no
You don't build "a hub", but you can connect a Zigbee 3.0 coordinator to Home Assistant (for ZHA) or Zigbee2MQTT, and then that becomes your "hub"
So coordinator is aquara hub? Or i can build a raspberry device??
No, not the hub
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
Coordinator: Typically a USB stick, but may be a network connected device. It's the radio device that talks Zigbee to the Zigbee devices. Your mesh has exactly one of these.
Router: Most mains powered Zigbee devices will route traffic for other devices (and themselves). You need a number of these.
End device: All battery powered devices are end devices, they spend most of their life asleep. Some mains powered devices are also end devices - Sengled bulbs for instance.
I am also using socket from Sonoff with usb dongle 3.0 and zigbee2mqtt and they went offline ?
Ah i see, so what the raspberry device for?? To connect HA?
I dont know if i can buy usb stick in my country
What guide are you following that says to buy a Pi?
You can import a CC2652 to most countries
Ahh i need a Pi to plug the usb in right?
I found sonoff zigbee 3.0 usb
There's a few versions of that, but they all work with ZHA
The P (CC2652) version works with Zigbee2MQTT and ZHA
Anyone knows why all my Sonoff sockets went offline ? Running on zigbee dongle 3.0 and mq2tt.
Usually it means they're not connected to the mesh any more - there are many possible reasons but the most likely one is that they can't reach any working routers (or the coordinator)
That’s weird cuz of them is just next to coordinator and all my temp sensor works
- You picked a Zigbee channel other than the default?
- You picked the channel having done a scan of the active WiFi?
- You've got the coordinator on a USB extension cable?
- Didn’t change anything they worked fine for few weeks.
- Didn’t change anything
- Yes
Any recommendations? 24/7 computer right?
Which channel should I use ? Do I need to repair devices again ?
Do you not already run Home Assistant?
Check the pinned messages
The channel you should use depends on what WiFi is in use around you. It's probably going to be one of 15, 20, or 25, but ... I don't have access to your house
(and yes, you'll need to re-pair)
Possibly. Many devices do scan other channels for the same panID
Isn’t that weird that only one kind of device y went offline ? The routers not end devices ?
Not really
So changing channel that for sure will do that, how about ext pan ID all of them are sit to 221 is that ok ?
I am totally new
My house is building atm
Waht is the "Enable enhanced light color/temperature transition from an off-state" config for?
I am totally new
anyone have good cheap button recommendations that work well with z2m?
Having weird issues with zigbee home assistant:
- RPi 3, HA docker install
- Sonoff ZBDongle-P (TI CC2652)
- SNZB-02 temperature humidity sensors
I got everything set up and working, sensors paired via the web UI at one house. I then moved everything to a different house, and the sensors were no longer working, and I couldn't pair to new sensors either. I click "Add device" under the Integrations->ZHA->Configure menu, and it searches endlessly but never finds the devices (even when they're in pairing mode).
Under "logs" in ZHA it only shows:
[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_rsp: [<Status.SUCCESS: 0>]
[0x0000:zdo] No handler for ZDO request:ZDOCmd.Mgmt_Permit_Joining_rsp([<Status.SUCCESS: 0>])```. I've tried moving my ZigBee antenna further away from my wifi hotspot (the Pi is on wired ethernet) but no success. The Zigbee network is on channel 15. I'm not sure what my home wifi channel is, if it could be conflicting.
Any further troubleshooting steps I can try?
Explanation + video is here: https://github.com/home-assistant/core/pull/74024
There's a config option now, because it caused some issues. Newer Zigbee 3.0 lights also have an attribute which allows them to also accept color commands when the light is off. This isn't implemented in ZHA yet though
When you moved everything, how did you move the HA config?
@austere patio I moved the Pi as well - it's the same computer as when it was working in the previous house
Do you have any routing devices, or just a coordinator and sensors?
No other ZigBee devices yeah.
They shouldn't disconnect from the mesh if they've been offline for a while but you never know. Move the Sonoff stick onto a USB extension cable and take the batteries out of the sensors for a bit. They should either re-join automatically or after you put them into joining mode.
I think I had tried that (minus the USB extension cable) - took the batteries out, put them back in and they didn't reconnect. I deleted the paired device in ZHA and couldn't re-pair them. I even tried a brand new one that I hadn't paired before, that didn't get picked up.
Joining in Zigbee works in the opposite direction: the network is opened for joins, and the devices try to join. If the sensor in any way tried to join the network, you'd see something in the log.
My 2.4GHz wifi is on Ch11 - I'm going to see which zigbee channel that equates to
It'd be on the other side of the spectrum, near 25
https://www.metageek.com/training/resources/zigbee-wifi-coexistence/ Okay yeah, so maybe no issue there
You can also directly ask the radio what it thinks the current noise level is, sometimes it's not 2.4GHz WiFi: https://github.com/zigpy/zigpy-cli#performing-an-energy-scan
To do that from Home Assistant, I'd open a shell inside the Docker container?
Yeah, disable ZHA, enter the Docker container, and pip install ... the package from its Git repo
Energy scan looks okay, Ch15 is about 35-40% while 21-23 are at 76%.
That would match your 2.4GHz WiFi being on channel 11
I notice I can do permit with zigpy to allow sensors to join - where would it display logs if sensors did join the network?
The zigpy command does the same thing as ZHA's "Add Devices". You'd see logs if you run the zigpy command with -vvv for debug logging.
Okay thanks, I'll give that a go in a bit!
Thanks! I did search the PRs but didn't went back as far as jun.
Interesting workaround for the spec limitation!
I have an IKEA remote switch (the one with 2 buttons "I" and "O"). It is connected trough a bulb. I noticed that the two times that I had to unplug that bulb for a while, batteries went dead. Is this some know issue with those remotes?
tried to change channel on zigbee2mqtt restarted lost connection to the addon but for somereason devices still works? how is that possible?
Did you check the log file for Z2M
says only about that sockets that lost connections, I cannot start addon thast only useful i think: genBasic(["zclVersion"], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":true,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205)))
all the logs are about failing to ping sockets
actually logs in config are different
error 2022-11-21 15:12:30: Error while starting zigbee-herdsman
error 2022-11-21 15:12:30: Failed to start zigbee
error 2022-11-21 15:12:30: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
error 2022-11-21 15:12:30: Exiting...
error 2022-11-21 15:12:30: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:90:28)
at SerialPort._error (/app/node_modules/@serialport/stream/lib/index.js:198:14)
at /app/node_modules/@serialport/stream/lib/index.js:242:12
Is that No such file or directory current?
no but i checked config and its /dev/ttyUSB0
Well, if it's not the current log you're just adding confusing by sharing it
sorry i clicked the first log and saw its not current. apologies
didnt looked at the date
the current logs are only with connection to devices, nothing about problem with starting pluging
warn 2022-12-04 18:28:21: Failed to ping 'Socket_2' (attempt 1/1, Read 0x00124b0024c10655/1 genBasic(["zclVersion"], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":true,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205)))
but devices like temp. sensors or even hue ligts still works ? even with addon off? how come
Well, it must be running
Or at least, you have something running that's handling those devices
thats so weird, the all connected via zigbee donlge 3.0 and run by zigbe2mqtt but cannot access the zigbe2mqtt now
currently diagnosing an issue where every couple of a days, a NWK conflict for one device is reported on an EZSP coordinator.
Before migrating, I never noticed an issue with my CC2652 coordinator. But does zigpy-znp even handle NWK conflicts or does Z-Stack do it?
bellows seems to force all the devices with the conflicting NWK ids to leave/rejoin (in my case apparently always one device only), but I didn't find where zigpy-znp handles NWK conflicts (if it even does)
Anyone knows why i cannot start zigbe2mqtt?
[19:07:27] INFO: Preparing to start...
[19:07:27] INFO: Socat not enabled
[19:07:28] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:warn 2022-12-04 19:07:46: permit_join set to true in configuration.yaml.
Zigbee2MQTT:warn 2022-12-04 19:07:47: Allowing new devices to join.
Zigbee2MQTT:warn 2022-12-04 19:07:47: Set permit_join to false once you joined all devices.
What does the Z2M configuration.yaml look like?
@lusty trench I converted your message into a file since it's above 15 lines :+1:
it worked beofre
Ah yes, the add-on does weird stuff with the MQTT and adapter configs
I'm assuming you defined both of those in the UI of the add-on
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
thats the one from the add-on ui
i am not able to edit it, whenever i click save my changes disappear
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
mqtt:
server: mqtt://core-mosquitto
serial:
port: /dev/ttyUSB0
i am trying to add that
Hii,
i am trying to find a water temperature sensor for my outdoor water system, but i can't seem to find any... is it worth putting a xiaomi temp sensor in a plastic bag a trow it in the water ?
Heya guys, Want to hit my head against the wall..
Running Home Assisant. Trying to pair a new ROB_200-004-0 Zigbee dimmer switch. Unfortunatly i'm not really getting somewhere...
Nothing when search for new zigbee device/ Nothing with VNC Phoscon or Deconz app. Any ideas?? (The ROB_200-003-0 Switch wasn't any issue at all connecting).
Any idea to put a standard sensor to an esphome board and read the sensor values in in Home assistant ?
mabe, but i am trying to find "easy-ish" solutions at first, if i don't find, i am prob gonna try to solder a temp sensor to a highjacked temp sensor
And adding it to the external side instead of dropping inside the water ?
i am really trying to get the temp of the water
to check if it becomes too hot in the summer and too cold in the winter
That would be a DS18B20 in a waterproof enclosure
yhea, was planning to use a similar device, but i wanted a zigbee system that i could connect to it witout any soldering or highjacking (didn't do any soldering for 3 or 4 years now, kinda rusted :p )
If I have a usb 3.0 extension cable plugged into a usb 2.0 keystone, would that eliminate the interference from 3.0 to the dongle?
Hi all! Don't know if this is the proper chat to ask this. Since HA moved the mosqutto MQTT settings from the config file, my light switches have stopped reporting state. (when I press the physical switch, the lights react, but I don't get a MQTT mesage any more). I can still controll them from automations but I can't trigger an automation from a physical press. Has anyone encountered the same issue? It was working fine before
Are you using Zigbee2MQTT?
Those two statements don't tie up
Either you're using Zigbee2MQTT with zigbee devices, or ... you're using Z-Wave
oh. sorry, zigbee ☺️
show your MQTT configuration panel
Go there, subscribe to # and go interact with one of your devices
You should see some messages being published
yep a lot
Then you're most of the way there
found it... {
"linkquality": 255,
"power_on_behavior": null,
"state": "OFF",
"update": {
"installed_version": "2.3.089",
"state": "idle"
},
"update_available": false
}
sorry wrong one
The next thing to do is check that Z2M has Homeassistant enabled, and the HA has MQTT Discovery enabled
{
"brightness": 20,
"level_config": {
"on_level": "previous"
},
"linkquality": 255,
"power_on_behavior": null,
"state": "OFF"
}
ok... where do I check that?
Which "that"?
check that Z2M has Homeassistant enabled, and the HA has MQTT Discovery enabled
Im mosty curious about MQTT discovery. but all other devices work fine
it's just the switches that don't seem to send messages, or the message has changed
both are ok, up and running
I suppose, but how can I verify it?
If I enroll a new device I can see it in HA, I can also controll it from HA and Z2M
Once more, which it
frontend is on
ok, but what do you mean by check its frontend. I have no issue with the Z2M frontend. So is there a setting in the frontend? Sorry if I dont understand
check that Z2M has Homeassistant enabled
You do that in Z2M's frontend
Or look at the YAML
I cant paste an image but I have in the "HA integration" tab, HA (advanced) and HA discovery topic as "homeassistant", and status topic "hass/status"
And Discovery is enabled?
I can't see a setting for enabling/disablig it
where did you find that? Im lookin in the Z2M gui in HA ->Settings->Home assistant Integration (also looked under Advanced there)
under the Mosquitto broker settings?
I had this before in my configuration.yaml
mqtt:
discovery: true
discovery_prefix: homeassistant
but had to remove it/comment it out since HA moved the MQTT config to some other place, and this broke my whole setup
I don't know where they have moved it now. but I can't find that setting anywhere, where in HA can you see that?
The MQTT integration's third or so page when you do reconfigure has that setting
The last one that has a Submit button, in stead of Next
thanks! found it. I ran the re-configuration. lets see if that did the tric
yes! thank you so much!
Setup HA with Zigbee2Mqtt and it works nice 🙂 Just a minor thing, what is the best-practise. Rename the device in zigbee2mqtt to some friendly name? Or just rename it in HA itself?
any ideas why i cannot start zigbe2mqtt add-on? After clicking START nothing happens doesnt even look like its trying to start, nothing in logs
also for some reason i cannot access zigbe2mqtt.io from my pc but can from my phone? is it connected ?
there's always something in logs
@lusty trench I converted your message into a file since it's above 15 lines :+1:
Thats after changing channel and panID
Whenever i am changing pan id and channel to the same ones it works but cannot connect devices, i need to change channel as my wifi probably operates within similar channel
i removed /config/zigbee2mqtt/coordinator_backup.json. but didnt help
nevermind managed to sort it
Would you get i5 4570T for $150 or i3 7100T for $180. Its for the 24/7 computer one
do you need the extra mhz?
This motion sensor has been stuck "Detected" since I bought it a couple days ago and the only ha post I could find directly correlating to the motion sensor was this but it has no fix https://community.home-assistant.io/t/new-zigbee-sensor-stuck-detecting-motion/388128
It's a Linkind Motion Sensor
I have reset/relinked it twice
other posts I've seen people recommend Linkind because it works 😂
Also I am using ZHA
How do i knoww if i need :))
If you don't no one does
Just buy the newer one if the cost difference isn't that important
Hi I am trying to use an IKEA Styrbar remote for my lights
I've sucessfully paired the remote and added an automation
But I get this text repeated 3 times in the logbook
Remote Button Short Press - Turn On event was fired
so someting is wrong?
i got a problem with adding Hue Ensis to ZHA, it finds the device and i can choose area, but after like a minute it looses connection to to the light and it stops responding, then i need to turn the light off then on again and redo the zigbee discovery, anyone got any tips on how to fix it?
So i have noticed that the other day that all my zigbee stuff is now not working in HA. I'm using Zigbee2Mqtt running on a separate raspberry pi (as the usb ports on HA Blue died). The same pi runs Zwave2Mqtt which those devices show up just fine. the problem is that the zigbee stuff is not being found. Also everything works fine in the Zigbee2Mqtt interface.
Figured out my problem, the conbee stick did not have enough signal strength to the light so i had to move it like 10cm.
I think it has issues on Windows The one
Is your Conbee on a USB 2.0 extension cable?
it was directly connected to a USB 2.0 port, now its on a USB 2.0 extension cable aswell
Is there anyone who might be able to provide some help flashing the Sonoff Zigbee dongle V2 with new firmware ?
What isn't working? You mentioned that you tried multiple flashing tools.
Yeah, so basically it will detect the stick in bootloader mode but for some reason when i enter the commands to flash it the program errors out. Treid multiple flashers on 2 different machines and OS
Re-run https://github.com/puddly/universal-silabs-flasher/ with -vvv to get debug logs
I have trouble running this flasher. I tried it like this:
universal-silabs-flasher \
--device /dev/ttyACM0 \
flash \
--firmware thefirmware.gbl \
-vvv
Error is about an invald value for "--device"
Does /dev/ttyACM0 exist?
yes i can find it with
ls -l /dev/serial/by-id
or do i need to do
../../dev/ttyACM0
What is the exact error if you run it with the /dev/serial/by-id/ path?
jean@JeanLaptop:~$ universal-silabs-flasher --device ../../dev/ttyACM0flash\ --firmware ncp-uart-sw_EZNet6.10.3_V1.0.1.gbl \ -vvv
Usage: universal-silabs-flasher [OPTIONS] COMMAND [ARGS]...
Try 'universal-silabs-flasher --help' for help.
Error: Invalid value for '--device': invalid URL scheme '', only `socket://` is accepted
jean@JeanLaptop:~$ ```
Same with the other path variant:
jean@JeanLaptop:~$ universal-silabs-flasher --device /dev/ttyACM0flash\ --firmware ncp-uart-sw_EZNet6.10.3_V1.0.1.gbl \ -vvv
Usage: universal-silabs-flasher [OPTIONS] COMMAND [ARGS]...
Try 'universal-silabs-flasher --help' for help.
Error: Invalid value for '--device': invalid URL scheme '', only `socket://` is accepted
--device /dev/ttyACM0flash\isn't right. Use --device /dev/ttyACM0 flash:
universal-silabs-flasher -vvv --device /dev/ttyACM0 flash --firmware ncp-uart-sw_EZNet6.10.3_V1.0.1.gbl
Where does it save the log ?
Anyway here is what the terminal showed:
https://pastebin.com/DLavw7Zj
Before running i checked:
jean@JeanLaptop:~$ ls -l /dev/serial/by-id/
total 0
lrwxrwxrwx 1 root root 13 Dez 5 20:37 usb-1a86_USB_Single_Serial_54F3000254-if00 -> ../../ttyACM0
jean@JeanLaptop:~$ universal-silabs-flasher -vvv --device /dev/ttyACM0 flash --firmware ncp-uart-sw_EZNet6.10.3_V1.0.1.gbl
2022-12-05 20:39:50 JeanLaptop asyncio[4555] DEBUG Using selector: EpollSelector
2022-12-05 20:39:50 JeanLaptop universal_silabs_flasher.flasher[4555] INFO Probing ApplicationType.GECKO_BOOTLOADER
......
After running the device cant be found:
File "/home/jean/.local/lib/python3.10/site-packages/serial/serialposix.py", line 401, in _reconfigure_port
raise SerialException("Could not configure port: {}".format(msg))
serial.serialutil.SerialException: Could not configure port: (5, 'Input/output error')
jean@JeanLaptop:~$ ls
apptainer DriverUI.pid googledrive.sh mesh_wing_wt OneDrive silabs-flasher-main Videos
bin elelabs-zigbee-ezsp-utility-master huion ml-cfd paraview snap Xfoil
Desktop GitHubDesktop-linux-3.0.6-linux1.deb HuionCore.pid ml-cfd-lecture Pictures Templates
Documents go huion.log Music Public uni
Downloads GoogleDrive husbzb-firmware-master ncp-uart-sw_EZNet6.10.3_V1.0.1.gbl release-3.0.6-linux1 universal-silabs-flasher-dev
jean@JeanLaptop:~$ ls -l /dev/serial/by-id/
ls: cannot access '/dev/serial/by-id/': No such file or directory
Thx, but I didn't have the remote control. Actually I had to buy one and yes, this works... 🙂
Is something else trying to access the serial port? Do you have ZHA, Z2M, etc. disabled?
Thanks for the follow up 🙂
Im flashing on my laptop so ther should be nothing else causing interference
Also on windows this happens when i try to use the flasher:
https://pastebin.com/febWsZgp
Make a file called gpiod.py in the current folder, it should fix that error
to solve the windows error?
It should, yes
But Windows isn't a platform I've tested, the package should only work in theory. I can make a new release in a bit but there's something strange happening with the stick to begin with, if it disconnects from the computer and you can't communicate reliably with it.
okay before i was trying on ubuntu, but everytime a flash fails the stick will not be detected even when unplugging. Only a restart helps. Do you know a way to reload the usb serial port ?
same error as before btw.
This sounds like a OS configuration or hardware problem, the serial port is never successfully opened at all.
Okay, is there any further advice you could give me to find this error ?
what do the kernel messages say
from syslog ?
Kernel log: https://pastebin.com/dF1gkkAt
just the part after i plugged in the stick
I dont really know what to look for
I've released a new version of the flasher that I can confirm works on Windows. pip install --upgrade universal-silabs-flasher and try it again.
Thanks a lot 🙂 but it still does error out:
https://pastebin.com/J5esj0Fd
That's progress. What happens if you try it again (without unplugging the stick)?
Try adding --probe-method ezsp before --device
This happend when i replugged, i checked with another tool if bootloader was enabled:
https://pastebin.com/HPUx7ptQ
Hmm. I'll have to get a Sonoff stick to try this myself. I think you can get it to work by doing whatever you did the first time (did you press the bootloader button? unplug/re-plug it?) and then run it with --probe-method bootloader instead. For some reason the stick cannot be reset properly from its normal firmware and reboots instead. You may also have to add --force at the end.
Okay, i unplugg the stick and then hold the boot button before plugging it in, then i plug the stick in and continue holding the button for some seconds
https://pastebin.com/yJvSZRV2
Does anyone have recommendations for a button (pref long battery life and ZigBee) that I could use as a doorbell?
Hoping for matter compatible or whatever
with bootloader method
https://pastebin.com/hkwWcbpK
different error with same procedure:
https://pastebin.com/PEZm9yqk
Aquara?
So I guess these are just cr*p? https://www.ebay.com.au/itm/384751462419 Seems they don't check in with new readings very consistently?
https://imgur.com/GCAqrdZ
Okay here's a more clear explanation:
- Holding boot button before inserting the stick, continue holding while plugging in and some seconds after. Then release button
- run
universal-silabs-flasher -vvv --probe-method bootloader --device COM9 flash --firmware ncp-uart-sw_EZNet6.10.3_V1.0.1.gbl --force - https://pastebin.com/edezPzdK
Error: Failed to probe running application type
Second method ezsp
- Plug the stick in without pressing any button
- Run
universal-silabs-flasher -vvv --probe-method ezsp --device COM10 flash --firmware ncp-uart-sw_EZNet6.10.3_V1.0.1.gbl --force - https://pastebin.com/me96wP6z
Traceback (most recent call last):
File
"C:\Users\Jean\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 329, in _invoke_callbacks
callback(self)
File "C:\Users\Jean\AppData\Local\Programs\Python\Python39\lib\asyncio\futures.py", line 398, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "C:\Users\Jean\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 791, in call_soon_threadsafe
self._check_closed()```
Does that work? Guess not
pair it via z2m
put it in pairing mode.... probably by cycling power repeatedly,
myconbee died, so I bought a sonoff... can't get zigbee2mqtt to come up now (specifying the right device)
share the log
without seeing that though, did you remove
adapter: deconz
``` from under `serial:` in the config?
Serial settings
serial:
Location of CC2531 USB sniffer
port: /dev/ttyACM0
zigbee2mqtt log:
Using '/app/data' as data directory
Zigbee2MQTT:info 2022-12-05 20:38:12: Logging to console and directory: '/app/data/log/2022-12-05.20-38-12' filename: log.txt
Zigbee2MQTT:info 2022-12-05 20:38:12: Starting Zigbee2MQTT version 1.28.4 (commit #52e545f)
Zigbee2MQTT:info 2022-12-05 20:38:12: Starting zigbee-herdsman (0.14.76)
nothing more in the z2M logs
how are you running z2m?
docker compose
it randomly just started working after a couple days fyi
@jade mirage I converted your message into a file since it's above 15 lines :+1:
I'm trying to flash my sonoff dongle but I can't get it to show up as the sonoff device when I plug it in the PC, it just comes up as USB enhanced under COM, I tried the python way also but just failed, tried updating all the drivers still can't get it to work,any advice
zigbee2mqtt not starting web interface
@jade mirage I converted your message into a file since it's above 15 lines :+1:
aha... thanks Tediore
ok, still no frontend
no change to log
spoke to soon...
Zigbee2MQTT:error 2022-12-05 21:19:21: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:58:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:107:5)
Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
can talk to device
ie: test -w /dev/ttyACM0 && echo success || echo failure
returns Success
no longer giving errrors when it starts
but not seeing the front end, nor zigbee traffic
@pearl acorn which sonoff dongle? P or E?
hello guys,
I have a problem regarding Zigbee2MQTT. I want to enable availability for my devices, but everything I tried failed. I followed this guide (https://www.zigbee2mqtt.io/guide/configuration/device-availability.html), trying every combination possible, reloading the device and the whole HA each time, but, in the Zigbee2MQTT page, I still see "availability" as disabled.
thank you in advance
I've been reading already lots of posts and issues about it, but I have annoying issue with ZHA and ZigBee groups: when I turn a group off, sometimes one of the lights stays in on state even though it turns off correctly. this makes the whole group to stay in on state, and if you use adaptive lightning, it will happily turn the group on again in the next cycle
what is the correct way to debug this issue and maybe fix it?
conbee 2 as a bridge
didn't have this issue with the hue bridge
would make sense maybe for the integration to check did the group actually turn off, and retry if needed
what version of the dongle ? if you have the V2 (Dongle-E) it's currently not working on windows, i am figuring out the problem with @austere patio. Also on Windows the dongle will not show up with the Sonoff name in device manager.
It's the P
Hi :) i am new to home assistant. I installed it on a thin client and it works fine. Now i need a zigbee usb stick. So i found two from Sonoff. One with -P and one with -E.
I was looking for differences. But I haven't really figured it out. Yes, the two have different chips. And yours with -E is newer?
Is supported by some platforms only experimentally.
For me, only Homeassistant is important. I don't need anything special. Later I want to use n8n or node-red.
It is important for me that the connection is stable and has a good range.
Is the -E version better? Or is it better to use the -P version.
I use the homeassistant operating system.
The power consumption would also be interesting.
I‘d get the -P probably
Why? What advantages does it have?
Hey folks! Can anyone recommend an alternative to the Livolo switches/sockets? I like them as they fit into standard german in-wall installations but they are pretty expensive 😮
You got the schneider but i guess they arent any cheaper
once more into the fray...
zigbee2mqtt is not starting: giving:Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
setup is brand new SONOFF zigbee 3.0 USB dongle plus -E
I have folllowed the instructions at: https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html
any guidance?
I got the E version and had some Problems with it like my aqara trv's having issues when trying to send a mqtt publish. I also havent found a way to flash the E version with new Firmware, while the P version worked flawless for me. I first set up my zigbee network with the E dongle and wanted to switch to the P, which has not worked at all till now. So i dont know how the improvement in qol is with the P
Have it started before?
Aksin: my conbee died, so I replaced it with sonoff. used ZHA with conbee, moving to z2Mqtt to simplify
Added adapter: ezsp in the config (serial) ?
yep.
Hello! 🙂 I’m trying to reset a device using ZHA and the only way I can do it is to send a reset_fact_default but the service call does not seem to work from the device management. Do you know how to make such call using the service call for zha? I have all the clusters set but it says I need a parameter or a argument. Do you know what it would be for factory reset?
homeassistant: true
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://192.168.12.135:1883'
serial:
adapter: ezsp
port: /dev/ttyACM0
frontend: true
Port is right and so on? mqtt up and running? Nothing else is binding the port like zha?
Dongle p flash
correct on all counts
mqtt is running for rtl_433
all running in docker.. passing correct port
I guess that zha runs fine with the same setup?
no idea... let me reconfigure to try
Or check that zha isnt running...
its not
But according to the ZCL specification 0x00 Reset to Factory Defaults has no payload required. 🫤
if you have the E version, then you need
serial:
adapter: ezsp
``` in your z2m config
However, the E version is not a great choice for z2m
its in there
it's not if it's showing that error message
I bought the E because it was the new one...
Tediore look up 12 msgs
or the log is outdated
log is fresh, restarting every 30 sec
bring it down and up again
ok
hang on... now ZHA has a failed to connect when I try to. setup zha
/dev/ttyACM0 - SONOFF Zigbee 3.0 USB Dongle Plus V2, s/n: 20220816155607 - ITEAD
I would use the cluster management UI instead (https://i.imgur.com/BryZUF5.png). Doing it with a service call is a little more complex:
service: zha.issue_zigbee_cluster_command
data:
ieee: 00:0d:6f:ff:fe:30:66:d5
endpoint_id: 1
cluster_id: 0
command_type: server
command: 0
params: {}
for crying out loud. now portainer can't restart it all
When I issue the factory reset from the device I get : Échec d'appel du service zha/issue_zigbee_cluster_command. Failed to Issue cluster command with status: «Status.UNSUP_CLUSTER_ COMMAND: 129>
Looks like the device doesn't support it. What are you trying to do?
Resetting my Philips Hue bulb for : https://github.com/home-assistant/core/issues/82004
Light-link reset does not work since the network conflicts somehow get the bulb to go directly outside it’s lightlink windows of 30 minutes.
Doesn't that reset after a power cycle?
Power cycling does not seem to reset it. 😕
I think you can also just remove the device from ZHA, it leaving a network should reset it without the need for a remote
Yes that works but I want to keep the device ID when I rejoin it for my automations.
I tried your service call but I get Unknown error.
I can see the option reset_to_factory_new in the LightLink cluster. I wonder if that could work. It ask for a inter_pan_transaction_id.
@lilac wharf 2022-12-06 09:28:48: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
still no joy
SRSP - SYS - ping is only when communicating with Z-Stack radios. Your configuration for specifying the adapter type as ezsp isn't applied.
homeassistant: true
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://192.168.12.135:1883'
serial:
adapter: ezsp
port: /dev/ttyACM0
but there it is, and still i get the error.
(zigbee2mqtt - cc2531) Hey, just reconnected my TRADFRI ON/OFF switch (E1743), on/off works, but brightness_move_up/down doesnt work. sensor.tradfri_switch_action doenst recognize an action if I hold the on button long (brighntess up). Any help? Before reconnecting, everything worked.
so I ripped it all out, trying zha...
now getting this in error log:
2022-12-06 10:23:09.606 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.read_parameter' command with seq id '0x02'
Is Z2M disabled? The only way it'd get to probing for a Conbee is if the EZSP radio doesn't work.
yes... not probing for conbee?
Does anyone know of a way to change the channel of zigbee without rebuilding your zigbee network. I just installed 12 wiz wifi bulbs that broadcast on wifi channel 1 that overlaps with zigbees default channel 15, needless to say this has all but grinded my zigbee network to a halt
Or anyone know of a way I can change the broadcast wifi of the wiz bulbs to a different channel
@ancient sigil What Zigbee integration are you using?
zha I believe
zha - with sonoff
Which coordinator?
@austere patio Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis
by ZHA
Which specific one? The reason I ask is because it's possible with every coordinator except for older EmberZNet ones.
Nortek security & control HUSBZB-1
Ah. No easy way without updating the stick's firmware.
and updating the firmware would wipe out my zigbee and zwave network?
No, neither would be affected
Let me double check if there is even an up-to-date enough firmware for the stick to support this
Is there a better zigbee/zwave combo controller out there?
6.10.3 I think is the latest for it
in walt's repo
LOL, dont mean to be a pest, but any good guides out there on how to flash a new firmware to this thing
so far its been working out of the box for 2 years so I haven't had to really mess with it too much
is deconz not a thing anymore?
It is
is it easy to migrate from zha to deconz
I guess deconz you can change the channel from the webgui
deCONZ doesn't work with anything but a Conbee. The method I had in mind works, you don't need to update the firmware. You will, however, have to use the community SSH & Web Terminal addon (not the Terminal & SSH addon!).
can you paste the link to that method?
There's no published guide 😆
No need to update the firmware
That's probably way out of date. There's a new method that's no more complicated but it's still a WIP, so no guide.
How are you running Home Assistant? Can you install the SSH & Web Terminal addon or are you running it in with Docker?
I am running hasos on a VM within unraid.. I installed the SSH & web terminal community addon and its up and running
OS 9.3 and Core 2022.11.5
First, disable ZHA. Make sure you disable Protection mode in the addon config as well and restart it. Once you log into the shell, run docker exec -it homeassistant /bin/bash to get into the HA Docker container.
Yes, it's a red button above "Delete"
done and done
hold on...
gotta disable protection mode
okay done done and done
Once you're logged into the HA container, run pip install git+https://github.com/zigpy/zigpy-cli. Since you're already changing the channel, may as well pick a good one. Run ls -l /dev/serial/by-id/ to find your HUSBZB-1's Zigbee port. zigpy -v radio ezsp /dev/serial/by-id/nameofthatport energy-scan will run a scan until you Ctrl-C to exit.
silly question, how do yo ucopy and past in the ssh & web terminal
zigpy -v radio ezsp /dev/serial/by-id/usb-Silicon_labs_HubZ_Smart_home_Controller_41500BE5-if001 energy-scan spit out a ton of errors
There would be two serial ports: one for the Zigbee half, and one for the Z-Wave half
just sent you a screen shot
Got it. Just try /dev/ttyUSB1 then. If that doesn't work, try /dev/ttyUSB0.
wow.. that command blows up spectacularly when I try it
I gave no idea what mqtt is. It should just work with homeassistant xD.
Just plug and play. And flashin custom firmware? I don't need this feature
I guess go for the P version then. Should be fine but i dont have experience using it.
Okay. :) Thank you.just wondered that there is this E version that somehow offers no advantages.
It kinda does but none that would concern you 😄
hey there. i have problems with Zigbee2Mqtt
502: Bad Gateway
some ideas how i can fix this?
i have ha on a VM on a server. the stick ist connected to the VM
Sure? :P would you know which ones? Purely out of interest. The p version is already in the shopping cart xD
why is my ZHA erroring out in2022-12-06 11:40:29.848 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.read_parameter' command with seq id '0x02', when I am trying to use a sonoff stick?
Because ZHA tries to connect to the serial port with every single radio driver, one by one. If it gets to deCONZ, that means it failed to probe with all of the others, so the serial port isn't valid.
Are you 100% sure nothing else is trying to connect to the serial port?
yes.
Ah thanks I will read it :)
rebooted vm running docker, and stuff in docker is srunning fresh
Well if Z2M can't connect, and ZHA can't connect, I suspect your radio may be the problem. Which one is this?
Has it ever worked or given you any indication that it's functional?
I've definitely heard of people getting faulty sticks on more than one occasion
brand new stick.
windows laptop recognizes it, but havent loaded HA there
loading up HA
I have a bunch of aqara sensors that are polling at 5 minutes. Is there a way to modify the polling time for a couple of zigbee sensors?
Aqara sensors don't have configurable reporting intervals and like all Zigbee sensors, they only report when something changes. I wouldn't worry about it, they'll last for a few years on a single battery.
Interesting. Thank you for that. I have been using zwave sensors, but have been switching them to zigbee.
I gave it another try after few days and connected right away.
Strange but fine for me (Y)
Only the dimming function is not showing but probally can figure that one out 🙂
well, it took an hour, but it works in windows environment
Hi! I'm looking for some new TRVs. I'd like some Zigbee ones, preferably not too expensive. I found these that seems nice: https://www.aliexpress.com/item/1005004732463260.html
They're quite new, and not specifically supported by ZHA or Z2M. But they're generic Tuya... how big is the posibility that they'll work? Any idea?
ya'll just wanna say @austere patio is a F'n Rockstar
definitely deserves to be #jedi
For those more in the know than I am, I have Home Assistant setup and use Inteon and Zwave mostly. I would like to add some Aqara Motion sensors so I need Zigbee. Would I be better off getting the Aqara Version 2 hub or the SonOff Zigbee 3 usb stick. What would I gain or lose?
Any Aqara device the Aqara hub supports, one of the integrations that works with a USB coordinator (e.g. ZHA or Z2M) will as well
So you would say the ZHA route would be better with little to no advantage of using the Aqara hub.
The Aqara hub will support Aqara devices out-of-the-box more quickly than ZHA (or Z2M) but you won't be able to use other types of devices with it very easily (if at all)
Outside of the issue @austere patio just helped me with (self inflicted) all of my door, temp and motion sensors are all aqaura and have had zero issues
and I use a zigbee controller
20 hours fighting with sonoff
not playing with mac/parallels/ubuntu/docker but works in win 10/virtualbox
but can see devvice and access it
So it's the VM it seems, not the hardware
could pass conbee to docker, so it should work
The USB-serial chip on the Sonoff stick is very popular, it should work fine
yeah, but I get:(MainThread) [zigpy_deconz.api] No response to 'Command.read_parameter' command with seq id '0x02'
Okay so I will get the Sonoff or is there another stick I should look at?
which says it is trying to be a conbee?
No. When you set up ZHA with a serial port, it just asks you for the port. ZHA then tries to connect to it with every known radio driver: EZSP, ZNP, deCONZ, etc. Yours is failing to respond to the probing with the EZSP radio type, so ZHA moves on to the next one, and the next one, and so on. The problem is that it's not responding.
but it works fine on windows/virtualbox
there needs to be a [-justsf*ckingwork] flag
Right. ZHA doesn't know about what your operating system is, it just connects to the serial port. If that doesn't work, it's not something you can fix from inside the VM. It's a problem with how the port is being passed through.
well, the test /dev/ttyACM0 && success | fail returns sucess
is. there a tool i can troubleshoot with?
test -w just tests that you can write to the file. That doesn't really mean it's a functional serial port. Have you ever been able to talk to serial devices within the HA installation you're trying to connect a USB device to?
yes... was previously using ZHA with a conbee II
Hold on. Are you setting up ZHA anew? Or did you pass through the serial port again with the same name?
all I did is swap the the /by-id/ name to the sonoff
Ahhh. That's the problem. So you had /dev/serial/by-id/conbee:/dev/ttyACM0 and you changed the by-id part to point to the Sonoff?
No, just let ZHA fail to start up and click on "Configure" and then "Migrate Radio". It will then ask if you want to re-configure the serial port, or migrate to a new radio.
Thanks @ancient sigil and @austere patio I have ordered the Sonoff for my HA install and a few of the motion sensors to get started.
That's different then. Can you enable https://www.home-assistant.io/integrations/zha/#debug-logging and send me the log of ZHA failing to onboard?
one sec
On more question if I can, ZHA or MQTT for Zigbee?
Or is that a GMC vs Chevrolet type argument?
Personal preference really
some of us use z2m cause we restart HA a lot during nobbing about, and not having the z2m reboot needlessly is balm to the soul
To be fair, the zigbee network doesn't go down and back up when you restart HA if you're using ZHA
But I do like the decoupled aspect of z2m (and I like MQTT in general)
Okay cool. Thanks.
what would make a better coordinator? The Sonoff ZBDongle-E or the zzh Electrolama?
That Sonoff adapter is a bad choice for z2m but would work well with ZHA. The ZZH is a good choice for either z2m or ZHA
what makes the sonoff a bad choice for z2m? is it just not yet well supported? And how about as a router. Is there even a router firmware for the ezsp?
EZSP-based adapters like the Sonoff E only have experimental support with z2m. There is an EZSP router firmware, yes
is the sonoff ezsp any different to the official home assistant zigbee adapter in terms of capability and functionality?
Pretty sure it's the same Zigbee chipset, but I don't know if the zigbee/thread firmware that Nabu Casa claims to be developing would work on it
I have the ConBee II, 5 x ZBDongle-P, 4 x ZBDongle-E and the zzh. As well as that little adapter that everyone got back in the day when they were starting with zigbee. Now my problem is figuring out which one to use as coordinator (would it make sense to have multiple zigbee networks?) and where to put routers.
The Sonoff ZBDongle-E is running the EFR32MG21 chipset, NC SkyConnect runs the same one. So technically, there shouldn't be any issues with firmware compatibility between those. Unless the USB to UART bridge (CP2102N in SkyConnect, CH9102F in Sonoff) causes issues
The efr32 module in the sonoff-e is the same one they’ve been using since the Wi-Fi bridge
The mgm210 module in the yellow/sky connect (my efr32 coords) is a better overall chip
still fighting the #BattleOfZigbee
Anybody have/know of issues with Linkind motion sensors? I had one setup that was stuck "on" for a couple days, then randomly started working! or so I thought... randomly it just stays "on" for very very long periods of time. I'm using ZHA
Can you elaborate on that? Because I got the ZBD-E rather than the SkyConnect on the basis that it seemed otherwise identical but had the antenna.
Ah, right. There's like 12 slightly different versions of the EFR32MG21 😄 With and without Secure Vault, flash between 512 and 1024, RAM from 64 to 96, wildly different cryptography supports, different peak output powers.. 😄
- I think you win the award for most zigbee adapters
- In most use cases that I've seen, a single Zigbee network makes the most sense
This is the module on the -e (as read from my j-link debugger)
That would be the bottom tier EFR32 as far as cryptographic capabilities go, apparently. No secure vault, but 64 kB RAM and 768 kB flash
https://www.silabs.com/wireless/zigbee/efr32mg21-series-2-socs# <- At least, looking at that listing.
and the SkyConnect? I see more zigbee adapters in my future :/
here's the mgm210 modules I use and similar to the yellow. the skyconnect uses the same chip but not in a si-labs made module.
(fun fact the inovelli switches use the same module as the sonoff -e)
lol now it's just flipping on and off every couple minutes
Might just buy a slightly more expensive sensor in hopes it works better
I got the sonoff temperature and humidity sensors.. I think I read something about a better firmware being available for them?
I hate how hard it is to open the battery compartment. The xiaomi sensors were ideal with the twist on/off system. awesome for mounting.
so sonoff provides the ezsp router firmware themselves.. not too excited about that
what the hell is Xmodem(N)?
xmodem is used to flash the efr32 firmware via the bootloader.
but it wants xmodem(n) not xmodem
I'm old enough to have used xmodem back before zmodem
just use puddly's flasher: https://github.com/puddly/universal-silabs-flasher
(I think it can flash the router, I think I used j-link so idk for sure)
what is j-link? I've got so many programmers now I've lost track
in fact I have literally not been able to find some of them
It'll only work if there's a way to get the device into its bootloader
So if it's running coordinator firmware, it'll work
they have boot button
"Dongle Enter Bootloader Mode. Keep pressing the Boot button, restart the device, and release the Boot button after Dongle
enters the serial port Bootloader"
same as the -P
but it looks like it gives a menu
gecko bootloader
Yeah, if it starts printing C over and over you just start the XMODEM transfer
guess I'll find out if there is something different between xmodem and xmodem(n)
I take it the Universal Silicon Labs Flasher doesn't take into account the gecko bootloader?
it does - it just does it for you
ah ok.. even easier then
can get into bootloader via ezsp commands if it supports it, or with cpc I think (for rpc/thread fw)
seems to be working
sudo universal-silabs-flasher --device /dev/ttyACM0 --bootloader-baudrate 115200 --baudrate 115200 flash --firmware /mnt/c/Users/Michal/Downloads/Z3RouterUSBDonlge_EZNet6.10.3_V1.0.0.gbl
2022-12-07 10:22:26 Monolith universal_silabs_flasher.flasher[79] INFO Probing ApplicationType.GECKO_BOOTLOADER
2022-12-07 10:22:26 Monolith universal_silabs_flasher.flasher[79] INFO Probing ApplicationType.CPC
2022-12-07 10:22:27 Monolith universal_silabs_flasher.cpc[79] WARNING Failed to parse buffer bytearray(b'~'): ValueError('Invalid flag')
2022-12-07 10:22:30 Monolith universal_silabs_flasher.flasher[79] INFO Probing ApplicationType.EZSP
2022-12-07 10:22:32 Monolith universal_silabs_flasher.flasher[79] INFO Detected ApplicationType.EZSP, version 6.10.3.0.297
2022-12-07 10:22:32 Monolith universal_silabs_flasher.flash[79] INFO Detected running firmware ApplicationType.EZSP, version 6.10.3.0.297
Z3RouterUSBDonlge_EZNet6.10.3_V1.0.0.gbl [####################################] 100%
looks good
nice.. and immediately joined the network
So is this device just bad? Will messing with firmware (people talk a lot of it) help anything?
well this is disappointing.. the first one flashed but the second one won't
2022-12-07 10:39:59 Monolith universal_silabs_flasher.flasher[122] INFO Probing ApplicationType.GECKO_BOOTLOADER
2022-12-07 10:39:59 Monolith universal_silabs_flasher.flasher[122] INFO Probing ApplicationType.CPC
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
OSError: [Errno 5] Input/output error: '/dev/ttyACM0'
nope.. just won't flash like the previous one did
seems putty doesn't like to open serial ports.. just makes a noise and gives no useful feedback
securecrt wants an account just to download a trial? :/
I'd try the button for bootloader. and the universal-flasher has a switch to tell it to expect a device in bootloader already
I have an Aqara Vibration sensor for my washer and dryer. My plan is to use it to tell when the cycles are completed. However, I can't figure out how to set the right trigger in my automation. Can anyone help?
@molten linden well it seems that I forgot that I DIDN'T have to open it up and press the button since the last time I flashed :/ It's been so long after all.
ok ok ok... deconz is working
Hi i just bought 5 ikea shortcut buttons for an elderly to use when seeking assistance. i paired them to Z2M coordinator 5cm away. i have many aqara light switches. after pairing, the buttons roam to a light switch then on press they control that light switch. each button roams to a different router/repeater switch. annoying - how can i prevent that.
trying to make a blueprint work
hi, question
i was wondering,
so i have sonoff zigbee switch and ikea tradfri button,
rightnow i connect those device via zigbee2mqtt
then if i want to make the sonoff switch work when ikea button pressed, what i do is i setup automation in HA,
if button pressed then switch the sonoff..
what im wondering is that, is it possible to bypass the HA and zigbee2mqtt for this?
Why does my new Zigbee button have an "On" and "off" Status in home assistant?
Have anyone tried this fuse reader on z2m? https://www.elektroimportoren.no/?Article=1609013 - I got a couple sent, and with ease can monitor all high loads
Hi all 👋 - can I post a question related to the deconz Plugin here?
Hello, I'm searching for a zigbee wall dimmer which can be powered by normal power cable (phase, neutral). I just want to automate stuff on dimm/on/off events, the dimmer itself won't be connected to a physical light consumer.
Is this possible with devices like these?
https://zigbee.blakadder.com/iCasa_ICZB-R11D.html
https://zigbee.blakadder.com/iluminize_511.201.html
I have an aqara 2 gang light switch installed but it’s not reporting its state in Z2M or HA. Anyone have any idea why or what I could do to solve it? The state only updates if i toggle the light on the app.
which model?
My ZigBee network has been out of commission for weeks I think the only thing left to do now is change my network key to force everything to depair then try to repair it all by allowing everything to everything instead of optimising the routers
which firmware is best to use on the CC2531?
coordinator.. but it's not for me.. I'm giving it to someone to just try zigbee
they're going to have no more than a few devices and none of them will be far from the coordinator
It's shit, really shit, you're likely to make them hate Zigbee
Just ... be sure to warn them that it's likely to simply lock up on them and stop working
Zigbee 3.0 firmwares are not recommended for the CC2530 and CC2531 (since those are not powerful enough)
so I guess he figured that out later than what I'm reading.
Depends on what you're reading
I wish your friend luck
looks like for my purposes the default firmware would be better
he can figure it out.
so I could have followed this like I started. https://www.zigbee2mqtt.io/guide/adapters/flashing/flashing_the_cc2531.html and gotten it right.. Just wasn't sure it was current
The Z2M docs are far more likely to be current than a 3 year old GitHub issue
E1
you need updated firmware on your coordinator for Z2M
It has the latest available firmware
After a restart of Home Assistant, my Conbee 2 no longer works with ZHA. In "Serial port settings" it just shows "Failed to connect", and in the logs it shows
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
[...]
asyncio.exceptions.TimeoutError
Any help on how to debug this is appreciated
What option do i have if one of my sonoff devices went offline? do i need to re-pair it? or wait?
Is it powered? Is there any flashing lights?
no flashing light it is end device ( sonoff button )
i have ordered longer extension usb for zigbe 3.0 dongle maybe will help, Is there any other way to boost signal? Changing the antenna will help? I think that might be the reason why my devices goes offline
Hi, I'm using zigbee2mqtt add-on since a while. And since few days, I have issues with some Philips Hue Motion sensors. I have exactly the same devices (model and firmware) reporting exactly the same occupancy information in z2m but one of them is reporting it correctly in HA and the other one shows "unknown" (the misbehaving one is reporting correctly the temperature and the battery status).
here is the message on my mqtt broker from one of the motion sensors reporting "unknown" for occupancy:
Info 2022-12-07 16:24:16MQTT publish: topic 'zigbee2mqtt/Hue Sensor Garage', payload '{"battery":50,"illuminance":423,"illuminance_lux":1,"led_indication":null,"linkquality":90,"motion_sensitivity":"high","occupancy":false,"occupancy_timeout":0,"temperature":16.33,"update":{"installed_version":"6.1.1.27575","state":"idle"},"update_available":false}'
And here is one from a functioning one
Info 2022-12-07 16:25:33MQTT publish: topic 'zigbee2mqtt/Hue Sensor Escalier Haut', payload '{"battery":70,"illuminance":4573,"illuminance_lux":3,"led_indication":null,"linkquality":90,"motion_sensitivity":"high","occupancy":false,"occupancy_timeout":0,"temperature":15.87,"update":{"installed_version":"6.1.1.27575","state":"idle"},"update_available":false}'
I also had "unknown" status with all my TRVs' climates. I had to manually change their mode to make them appear correctly in HA.
So are the Ikea zigbee bulbs the best zigbee bulb option...?
There's no universal "best" anything
They're reasonably good CCT bulbs, not sure about the RGB side of them. Not as good as Hue, but a lot cheaper
maybe i just gotta bite the bullet and get hue...
Innr are good too
you have some?
No, but others have praised them
I'd have to pair it to my SmartThings hub?
Nobody in this channel has time for that junk
Smart people don't use branded hubs, they pick a suitable Zigbee coordinator and use ZHA or Zigbee2MQTT
I will say that the pinned messages have a lot of useful things
But, to save you scrolling right now ...
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
Would my enclosed server cabinet cause any issues with the zigbee dongle? I can’t post an image of the one I’m getting here..permissions say no
If it's solid metal, definitely
I have a router in the same cabinet and it works good
massive difference in power
True
Crap
I’m hoping Ubuntu and kvm will even allow me to pass the zigbee stick through to the HA vm
It should..
|| I HARDLY KNOW 'ER! ||
You need to put it on a USB extension cable anyway
you would want to put zigbee2mqtt in pairing mode. you're likely going to have a bad time with the CC2531 though
Why’s that?
electromagnetic interference
Good thing I have a spare extension that just came with my dash cam then
I dont know if its usb 2 or usb 3 though..
shouldn't matter if it's plugged into a USB 2.0 port
I have usb 3 ports available
oof
whys that an oof
usb 3.0 can interfere with zigbee. i think it's still better if it's on an extension cable though
that is ideal
i thought you were saying you only have usb 3.0 ports available but now i see that i interpreted that incorrectly
then the lamp likely isn't in pairing mode or is out of range of the coordinator or nearest zigbee router
I wish I could post images here
Im planning on getting this: https://www.amazon.com/gp/product/B07PZ7ZHG5/ref=ox_sc_act_title_1?smid=A2LX0E0JY4R2Y&psc=1 it has good reviews
you'd likely be better off with a CC2652-based stick unless you want to use deconz
I dont know what either of those things mean
deconz is zigbee software
you'll want to decide if you want to use ZHA, zigbee2mqtt, or deconz and then pick your zigbee adapter from there
deconz is generally not recommended as it's closed source and development is slow
https://www.tubeszb.com/shop/coordinators/2 has some good offerings, but again, you'll want to decide if you want to use ZHA or zigbee2mqtt first
check out the links for each in the channel topic
in short...
ZHA: built in to home assistant. updates to ZHA depend on updates to home assistant (including device support). no official supported devices list because ZHA assumes all devices follow the zigbee spec, and if they do, they'll work automatically. if not, a "quirk" needs to be written for it.
zigbee2mqtt: decoupled from home assistant. updates to zigbee2mqtt do not depend on updates to home assistant. there is an official supported devices list because zigbee2mqtt requires support to be added explicitly for each device
i prefer zigbee2mqtt because i like that it's decoupled from HA but still integrates with it (and I like MQTT in general)
i would not rely on linus as a source lol
So which of these is zigbee2mqtt? https://www.tubeszb.com/shop/coordinators/2
you'll want to go with one of the CC2652-based options
Guessing the only difference is this one's POE powered https://www.tubeszb.com/product/cc2652_poe_coordinator/47?cp=true&sa=false&sbp=false&q=false&category_id=2
another cheaper CC2652-based option is the sonoff zigbee 3.0 dongle plus, but if you're planning on using zigbee2mqtt then you'll want to get the P version, not the E. it's also apparently prone to a rare bug where its NVRAM gets corrupted, so keep that in mind
I dont have POE so id end up with this guy https://www.tubeszb.com/product/cc2652_coordinator/39?cp=true&sa=false&sbp=false&q=false&category_id=2
https://www.amazon.com/Wireless-Universal-Gateway-Adapter-Assistant/dp/B09V51FNNTThe price on this one is more attractive to me lmao
link doesn't work
Fixed it
but I'm right here if you have questions 👔
Sell me on this instead of the amazon one https://www.tubeszb.com/product/cc2652_coordinator/39?cp=true&sa=false&sbp=false&q=false&category_id=2 😂
Are these handmade/programmed...? or
If you get it without ethernet, it's not much more than the sonoff.
I make them myself yes.
They look polished, nice.
What would be the advantage of the ethernet?
I figured they were a USB device only
Oh interesting..
So it would just show up in HA without being passed through the VM?
serial over tcp
home assistant will discover it for ZHA, or for Zigbee2MQTT you specify ip:port as the device path in the config
nice. Might have to do the ethernet version then.
https://www.amazon.com/gp/product/B08428JSDZ/ref=ox_sc_act_title_2 I assume you have experience with zigbee in general (obviously), so maybe you'd know if these are the cheapest non-shit zigbee bulbs I can get?
I use them
my opinion on bulbs: Tier 1: Hue, Tier 2: Innr GAP Tier 3: Ikea and Gledpoto ... everything else.
Think your antenna would be able to get through my metal enclosed network cabinet?
My first bulb would be like 10 ft away
maybe but would not advise it.
Alright, id prob have to run an ethernet and usb outside of my enclosure then
🤔 buy a SMA extension and put the antenna on the outside. but loss from the cable might be an issue
if using ethernet for the connection, usb is only power.
gotcha..
I probably wouldn't even need an extension if I use a rear USB port on the server
How do I stop the cats from screwing with it.... 💀
Hi guys. This morning I woke up and literally as I stepped out of bed I knew my ZigBee network was down (LEDs under the bed didn't turn on lol). I am actually used to having some instabilities with some sensors just disconnecting sometimes and lights being slow at times. I jjust thought that might be my network since everybody else was going on about how rock solid ZigBee is for them. So today I found out my cc2531 just decided to crash. Unplugging it from the USBB extension cord and plugging it back in, restarting Zigbee2MQTT did the trick. Now I read that the cc2531 is no longer recommended.
QUESTION: will my issues get better when upgrading for instance to a Sonoff 3.0 USB Dongele Plus?
All I know is the description of this says "Just don't buy anything CC2530 or CC2531 based."
I heard its because they are slow and crash
Get the aqara feeder and explain how if they knock out zigbee they won’t get fed 😂

What are your shipping times like?
Depends. I ship from the US
DMd my zip
Hey i have a problem with TS0601 valve thermostat, i cannot change schedule values, i use correct format 06:00/17 12:00/21 14:00/17 17:00/21 24:00/17 but once i put it into the box i cannot press Apply the button is grey. anyone have similar problem? ( Zigbe2MQTT )
I added a conbee II stick to my Raspberry pi and it was working fine. After one of updates it stopped working Failing to setup. Any suggestions? Error setting up entry ConBee II for zha
4:16:27 PM – (ERROR) components/zha/core/gateway.py
Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator (attempt 1 of 3)
4:16:27 PM – (WARNING) Zigbee Home Automation - message first occurred at 4:16:17 PM and shows up 3 times
No response to 'Command.version' command with seq id '0x03'
4:16:27 PM – (WARNING) components
when i disconnect my cc2652 from my ubuntu , and flash it on my windows machine will i have to re-pair devices ? Also there's 2 firmware's ? launchpad_router and other_router ??
No, you won't need to re-pair your devices. Check the readme for the Z-Stack firmware to see which firmware is correct for your adapter
You can just flash the adapter on your Ubuntu host btw
ah right just noticed the tool is multi os
The innr app has a 1 star rating and zigbee connect has a 0.5 on the App Store OOF
Really hope the bulbs themselves are higher quality than that
Apparently they work with the hue app. That’s cool
I wanna make everything local though
How does the 2.4ghz of zigbee not interfere with wifi...?
It’s significantly weaker
Hi i m new to ha and i m just begin to try things out. I m searching for a good and cheap smart plug, can someone recomand a Model?
Depends where in the world you are.
#hardware-archived is a better channel for that stuff. Also tell you region and what other stuff you have already
Channels also help a lot 🙂
Ok thanks 👍
anyone know of a good mains powered zigbee human presense detection sensor (not just simple motion detection)
Those newish aqara FP1 sensors are mains powered I believe. I've read mixed reviews on them..
interestingly that doesn't show up on the aqara website product list
Here's a link to one from alieexpress, I can't vouch for the particular seller in the link but it should give you a place to start for info on the device. https://www.aliexpress.us/item/3256804369731048.html?pdp_npi=2%40dis!USD!US %2449.99!%2447.49!!!!!%40210312ea16704659151075896e68e7!12000030312012795!btf&_t=pvid%3A8757cbcf-6293-4e8f-b30d-d28321997811&afTraceInfo=1005004556045800__pc__pcBridgePPC__xxxxxx__1670465915&spm=a2g0o.ppclist.product.mainProduct&gatewayAdapt=glo2usa&_randl_shipto=US
alright I grabbed one, spec-wise it seems pretty nice so we will see
I remember reading a thread on HA community forum about them. Some people had a great experience with them working really well and others didn't. From what I remember reading, I got the sense they were working well for more people than not.
z2m crashed when I tried to update a device.. now it can't seem to start. no error in the addon log
it's as if the usb driver has crashed or something.. but wouldn't z2m error on that?
this is all I got when it happened
2022-12-08 17:30:57Adapter disconnected, stopping
adapter is not disconnected. at least not physically
I unplugged it and plugged it back in
only option left I can think of is to reboot the host
What adapter is it?
Hey i have a problem with TS0601 valve thermostat, i cannot change schedule values, i use correct format 06:00/17 12:00/21 14:00/17 17:00/21 24:00/17 but once i put it into the box i cannot press Apply the button is grey. anyone have similar problem? ( Zigbe2MQTT )
So thanks to the new migrate radio feature I decided to try to upgrade the radio from the first gen conbee usb stick to the Sonoff "ZBDongle-P" (based on CC2652P). Everything seemed to work at first, but I quickly noticed that my ikea on-off remote could now only last one day with a new battery. I don't have that many c2032 batteries left so I'd like some advice what I could try next. I upgraded the firmware of the sonoff stick to the latest from Koenkk (CC1352P2_CC2652P_launchpad_coordinator_20220219) before using the stick at all so that's the only firmware I've tried.
I tried using the CONFIG_MAX_END_DEVICE_CHILDREN: 0 setting in the HA config but it didn't make any difference. Could it be the migrate feature that is confusing the remote? Should I repair it? Each try is costing me a battery so I'd appreciate some advice.
zzh, but a reboot fixed it. Whatever "it" was.
would the skyconnect be better than the zzh in terms of signal strength? given that it doesn't have an external antenna
No
Also with modern cc2652 firmware you can increase the signal strength by up to +20db afaik
not that I've needed to, the tube poe coordinator reaches enough devices on it's own
Hey folks. I need some help with an issue I'm having. I'm using ZHA with the Tubes CC2652P2 based Zigbee to USB Serial Coordinator and, while my zigbee network generally seems to be working fine, I can't seem to discover / pair devices - including devices that were already on my network.
I'm not really sure how long this has been an issue. For months, I've been fighting with some Ikea Shortcut buttons, but I believe those are generally pretty finicky anyways. What's really odd is that they used to at least get discovered and initiate the interview process, but that doesn't even seem to happen anymore.
The issue really became obvious for me when my Aqara temperature sensor fell off the network recently and I was unable to re-pair it. And to confirm the issue, I put one of my Aqara light switches back into pairing mode and now it's not discovered either.
That's all I know. I'm no Zigbee expert, so I'm not really even sure how to troubleshoot the issue. So, any advice or input would be greatly appreciated.
First thing to do is check what firmware version is on the coordinator, and update it if required
I'd suggest the latest dev version, which is stable and performs better than the latest "stable" version
There is a bug with very old versions of the coordinator firmware (2020<something> I think) where it'd not allow joining via a router
That tracks... I've never actually been able to get that to work.
It still has the original firmware that was shipped with it just under a year ago. I'll try and see if I can figure out what version that is.
Well, it's old enough that it's time to update anyway
The only question is whether it's old enough to have that bug, in which case you're in for a bit of pain
The solution to it is to remove every router device, restart, and then pair them again
I only have 18 devices in total (including the coordinator) and only 4 routers... Not the world's biggest issue.
Okay, I feel dumb... I don't see the firmware in the HA UI and can't seem to figure out where to find it. I guess I'll just try updating it.
if you hit the 3 dots on the ZHA integration card and download the diagnostics, it will be in there. - towards the bottom. ```
"metadata": {
"zstack": {
"TransportRev": 2,
"ProductId": 1,
"MajorRel": 2,
"MinorRel": 7,
"MaintRel": 1,
"CodeRevision": 20220219,
"BootloaderBuildType": 0,
"BootloaderRevision": null
A change in not being able to pair devices or devices not working is more likely to be a new source of interference in the RF environment.
Hmmm... None of of those terms appear in my diagnostics file, but I do see this under the device "name":
"name": "Texas Instruments CC1352/CC2652, Z-Stack 3.30+ (build 20210708)",
Got it... My bad.
"metadata": {
"zstack": {
"TransportRev": 2,
"ProductId": 1,
"MajorRel": 2,
"MinorRel": 7,
"MaintRel": 1,
"CodeRevision": 20210708,
"BootloaderBuildType": 0,
"BootloaderRevision": null
}
},
Hey, I am trying to bind my smoke detector directly to my plug to turn off my 3d printer in case of.. smoke 🙂
In the binding screen, this does not seem possible. Does this happen because the smoke detector does not support binding? I only see the zigbee coordinator in the list of bindable devices.
There is the version there
It's a tuya _TZE200_ntcy3xu1
But again I’d look for new sources of interference. A fw update isn’t going to magically fix that
Well, shoot... I was hoping for a quick fix.
RF interference was my first thought. I'm just not sure how best to troubleshoot and confirm that. As I said, the network as a whole seems to be fairly sturdy and the devices I can move don't seem to get picked up, even when they are very near the coordinator.
Any advice?
move the coordinator a bit few feet or so. see if things change. how many of the current devices are routers (generally mains powered not sengled)
i have ikea blinds connected to a sonoff zigbee hub but i can only make them go up and stop why?
I only have 18 devices in total, including the coordinator and 4 Sengled plugs which do act as routers.
In fact, the network as a whole seemed to get more stable when I added those plugs. That being said, I’m not sure I’m sure I’ve tried adding anything to the network since I’ve had them.
I should have been more specific, the sengled bulbs don't route, the newer plug with energy monitoring does, and works well in my experience with them.
if you go to the one of the plugs, that is near the device you are now trying to add and attempt to add just through the plug.
I can try again later tonight when I'm home, but as I mentioned earlier, I've never been able to get that to work with any of my devices. They all seem to eventually connect to an appropriate router after they're paired, but I've never succeeded at getting a device to pair through a specific router. That's why the firmware bug Tinkerer mentioned earlier kinda resonated with me.
ping me tonight. you can do the FW update as well. - Also a new ESPhome FW for the esp32 will likely make the cc2652 update smoother.
deconz events, what should I be looking for?
specifically, how do I get the deconz equivalent of ZHA_Event
or, more likely, how come I am not seeing any deconz events for the Moes Knob?
hey all I have added somn sonoff s26 power sockets
how can I get the other devices to connect top it (since they are closer)\
I tried to use the add device on the s26 device, but it never seems to find the temp sensor when its searching.
the only way to force it would be to unpair the device(s) and re-pair them, but devices should eventually move to the new routers if they deem them a better choice
|| unless they're aqara devices which tend to be "sticky" ||
the issue is one of the temp sensor is right on the edge battery going down , so added a s26 thinking it would jump to it, as its obviously closer and stronger signal
both temp and power socket are both SONOFF
then wait for the temp sensor to (possibly) reroute, or unpair and re-pair it
can I re-pair it using the add device on the socket ? as I see an option in the three dots on the s26 socket to Add device via this device
I tried and it never seems to see anything
This has been fixing by updating to 2022.12.0
ginna try delete the back door and see where it connects as the s26 socket is way closer
How tro force an update of zigbe2mqtt in HA. I have 1.18, need 1.28, autoupdate does not work ... 🤔
Trying to understand why my Zigbee devices aren't sending back Temperature data after initial pairing... It appears as though whatever temp value was reported at pairing is what it continues to report forever..never changing.
The devices (Smartthings branded Zigbee) vary; motion, water, contact) but are all the same brand (Smartthings/Samjin).
@thorn kelp give it some time, then if it doesnt change just resync it without deleteing it
re-add it I mean, I have had that happen with some of mine,
oh it's been weeks and weeks, i've just had other higher priority issues to sort out in the meantime.
go to zha and re-add it
it will pick up the name you have already given it, you just need to assign the room
Oddly other entities on the same device are working fine. Motion sensors still detect motion (etc)
I had this happen with temp, humidity was fine
temp just would not change
but I am having other issues with my setup, I can seem to get the wall plugs to extend the zigbee network
I wish there was a reset button to force the whole network to rebuild
zwave has that i believe, haven't found the zigbee equivilent.
my impressions of zigbee so far is once setup up, pray nothing changes
and its not as if I have a lot of devices on the zigbee eithe
I've never had issues with zwave stuff but the downside is it's generally more expensive, less OEMs making stuff for it, and due to local radio laws there's no universal frequency(meaning multiple SKUs and increased costs)
I just setup door sensors this morning that i bought for like $8 each. zwave would be like 4x that or more
yep thats why I went zigbee
but I am starting to think it may be better going wifi
at least you can extend the network and make sure the device connects to it, here is like press sync, and pray
personally i only use wifi as a last resort.
from a foil-hat POV, i don't want shady IOT shit with direct access to my network (yes you can mitigate it, but it's work)
wifi needs more power so battery solutions are less attractive
and anecdotally without any data to support it, zigbee stuff is more reliable than wifi
but seriously why has no one even worked on a better way to resync a zigbee network
I have been told "ohhh in time it find the best route"
apparently zigbee2mqtt has more robust management options, may start researching that today.
nahhhhh I still have a few sensors that take the 2nd furthest away router
yeah but that means re doing all the zigbee stuff
I wanted to keep it as much out of the box as possible
wifi stuff does dumb shit like that too. My bedroom Nvidia shield doesn't like the AP in the bedroom but loves the AP on the next floor down on the other side of the house
yeah which is why i'm not doing shit unless there's a very compellling reason to move haha.
i stayed on smartthings for far too long out of laziness and not wanting to put in the work for HA
I dont think there is much interest in zigbee
it seems like there is a ton to me
not the base system
I cant get a sensor connected to a router socket thats literally next to it, instead it triesd to connect to the main co-ordinator and disconnects all the time
I havent used zigbee yet but im gonna get this coordinator https://www.tubeszb.com/product/cc2652_coordinator/39?cp=true&sa=false&sbp=false&q=false&category_id=2
made by @molten linden
I have the sonoff usb stick
works good and easy setup, just plug in and boom
got this sat in my system running vmware haos image
so whats wrong with it
I have temp sensors and door sensors that wont connect to the nearest router
I bought the s26 as its a zigbee router (extender) and its not extending
I dont know if there is a config you need to tell it, hey this is a router
in ZHA documentation
Binding a remote directly to a bulb or group has the benefit of faster response time and smoother control. This greatly improves user feedback experience functions like dimming as the remote then directly dims the lightbulb and thus does not have to make the software roundtrip via the ZHA coordinator.
no documentation on how to do it though LOL
go to the device card for the bulb
3 dots menu
manage zigbee device
binding tab
pick the remote
ZHA ?
yes
manage zigbee device
click the bind button and press buttons on the remote to wake it up so that it accepts the commands
ty fixed above too
only one option in the drop down
reverse it
start from the remote
i don't use remotes so I can never remember which to start from
I will be back in 90 mins need to take duaghter to the dentists
thanks for this help is there a guide on this.
no, i am terrible at documenting stuff
be back soon
Ok at dentists
Try this on the phone
But this is to like a temp sensor
When going to bindings I am only seeing one thing in the drop down
well, this sucks...
deconz/phoscon works with conbee II stick, but zigbee2mqtt ddoesn't
It does, you just have to configure it according to the docs
Hey @sour shadow
So in the bindings drop down should I see all the routers and coordinator
you can only bind devices that have reciprocal clusters
I only see one named Texas is instruments
ex remote to light
because the remote will have the client side (generates interactions) of OnOff, Level Control, Color
and the light will have the server side
I am just trying to get a temp sensor to connect to the socket router that's in the same room, not the cordinator 4 rooms away
ok you don't want binding then
K
you wanna join the device via that device
you need to reset the sensor and get it in pairing mode
Yeah which it won't
It will just search forever, as soon as I do it via cordinator instant
what is the routing device?
What firmware version is your coordinator running? It should look like a date: e.g., 20220214
Bought as it's a sonoff and a router
it could be a sonoff issue but need packet caps to see what is happening
this too... there is a zstack thing in a version that screws this upp
Trying to work out how to see on the mobile
Sorry where do I find ver
nwk": 0,
"manufacturer": "Texas Instruments",
"model": "CC1352/CC2652, Z-Stack 3.30+ (build 20210708)",
"name": "Texas Instruments CC1352/CC2652, Z-Stack 3.30+ (build 20210708)",
Is that it?
Yeah
Sure, there should be flashing guides somewhere for the Sonoff stick using https://github.com/JelmerT/cc2538-bsl and https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin
Anybody knows how to connect ikea smart plugs via ZHA integration directly to my Zigby controller (Sonoff USB-p)?
I thought it'd be as easy as plugging it into the power line and adding sevice in ZHA, but it's not seeing it
I've also tried pressing and holding that little button on the bottom on it with a paperclip, it also does an audible clip and LED starts fading but ZHA still can't see it
Sonoff usb dongle is flashed with the newest official firmware 202209 i believe
I did that reset by pressing with the paperclip
Unplug it, wait for five seconds, click "add device" in ZHA, plug it in, and then hold down the reset button with the paperclip/SIM tray ejection tool for like three seconds
The LED will start to fade and it might click
But joins in ZHA have to be permitted before you reset it (and it should be reset within like 10s of permitting joins)
Just did as you said, still not pairing
Do you have any other devices on your network?
I unplugged, waited, clicked add device in ZHA, pluggrd in, reset it
Yeah some innr bulb
Zha found some device and starting the interview, but didnt finish the interview and thus no new device was added
Holy shit finally one plug got recognized, i literally repeated the same thing 20 times
Is your Sonoff coordinator on a USB extension cable? What is it plugged into?
Yep, usb connection cable. Plugged into raspberry pi 3( which only has usb 2.0 ports)
Man trying to build up zigbee network is proving kinds bothersome. My zwave network with switches works rock solid
I heard ZHA sometimes doesnt work well with devices they recommended using zigbee2mqtt
https://youtu.be/1dcAXkJxzcY?t=281 maybe try this?
Idk shit about zigbee yet but ive been watching a lot of videos so if a vid I randomly come across helps then ill take it lmao
IKEA stuff is mostly spec-compliant and works with ZHA just fine
And here i was just following peoples advice on the forums as everyone was saying ikea plugs were a good and easy way to install zigbee routers and thus extend the network
So now that i've got these plugs and signal repeater paired and working... does it make sense to have ZHA remove all my zigbee bulbs and re-add them again so they primarily connect to the routers instead of the zigbee controller directly?
Only for end-devices. Zigbee routers constantly figure out routes on their own, it's not a one-to-one connection.
Good to know, thx
Does it take a qhilw to update the topology in ZHA? It's still mostly showing gray lines to most devices from the controller
It's updated once every four hours, or on-demand if you click the button and reload the page after a minute or two
I wouldn't worry about the network map, it's just a visualization
ok quick question about upgrading the zigbee usb firmware, will it break my current zigbee setup ?
ZHA
No
It'll wipe settings but they'll be automatically restored when you start up ZHA
Just the latest stable one from the repository I linked to above
I am looking at the stuff now
so I need a python script to put the device into bootloader mode
Man this zigbee stuff... so i managed to pair all plugs, they're almost right next to each other. Now i keep flicking them on and off and randomly, some just refuse to get turned off... or on.
It sounds like you have interference problems
Yeah currently it feels really disappointing how unreliable it is
Don't follow the official Sonoff guide, it's really bad. Just get that cc2538-bsl.py script running: python cc2538-bsl.py --bootloader-sonoff-usb -evw -p /dev/ttyUSB0 firmware.hex
My Rpi and zigbee/zwave dongles are in the basement, so the first jump is essentially through a door, up a ladder and into the hallway to get to a zigbee light bulb
Maybe i need to try to migrate my RPi altogether
I was looknig at this
are they purposely making things complicated
and I want this firmware
CC1352P2_CC2652P_launchpad_coordinator_20220219.zip
CC1352P2_CC2652P_launchpad_coordinator_20220219.hex
@austere patio how do I check its the right usb
ls -l /dev/serial/by-id/
Or just directly use the /dev/serial/by-id/... link instead of /dev/ttyUSB*
Then you'd use device manager to find the COM port and use (for example) COM3 instead of /dev/...
No clue if --bootloader-sonoff-usb works on Windows
can I do it in haos
Sure. Just disable ZHA before doing it, as otherwise it won't work.
It doesn't really matter, whatever is easier
see me on the other side
abnd the device would not go into boot mode holding down the button
or should I say it didnt appear in the flashing sofwtare\
@austere patio got a sec
I am in haos teminal
how do you disable ZHA
What are the stable signal repeaters ? Using the ZHA and conbee combination
Are there any plugs that support zigbee AND wifi? Reason being my grandma doesn’t have a zigbee hub or anything, but would be cool to have the possibility
no
Hi! I have a fresh new install of HA on a RP4 through Raspberry Pi Imager, and I got it up and running. However, I can't get the conbee II to work.
- I tried adding Zigbee Home Automation through integrations, but I can't find the USB.
- Also tried adding deCONZ through addons but same thing there, can't actually configure the USB.
Any ideas on how I can fix this?
Is the ConBee on a USB extension cable?
Do you have any other USB devices connected?
it's not on an extension cable. I do have a keyboard plugged in.
You should put it on a cable before you do anything else
Then, check the hardware menu to see if it's detected
alright, I'll see if I can find a cable. Thank you
Hi i am using Sonof dongle 3.0-p with 2mqtt and once a week most of my devices goes offline i am using usb extension ( 0.5m ) i have switched to different channel than my wifi, where to find a problem?
I found a cable, and restarted the HA, but doesn't look like I have anything here.
The zigbee apparently was discovered now though, but when I tried to set it up in the integrations panel I got an error:
Failed to probe the usb device
And same thing is previously in the deCONZ in addons
I'm not allowed to upload screenshots? 🙂
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
Does it show at all in the hardware menu?
yeah looks like it does now. But it's a bit flakey from the looks of it.
Well, one step forward:
aaaand now it's not showing anymore. 😫
in the hardware page
So, either:
- You're underpowering the Pi
- The USB connector is dodgy
- The stick is dodgy
- Some combination of the above
- I'm not underpowering it, I did previously but I found a beefier power outlet.
- I tried all the USB connectors on the PI4, but no luck there.
- I'm leaning towards this at the moment.
Can I update the firmware or something if that might be the issue?
You can, in deCONZ, but given you can't get it working I'm not sure how you'll update it
I was thinking of plugging it in to my windows machine to see if that has the same issue here.
yeah, something is off with the stick. It's losing connection and gaining connection over and over again in my windows PC as well.
Thank you for the help @sour shadow ! I really do appreciate it! I'll go exchange the stick to a new one. 🙂
Or buy something better 😉
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
i just ordered CC2652P2 based Zigbee to Ethernet/USB Serial Coordinator from tube.
Getting my Home Assistant SkyConnect today, i'm using Sonoff 3.0 atm, anything I need to know to migrate? 🙂
Hmm, my Conbee 2 seems to have stopped working. I’m not sure if it’s just a coincidence but I did also update to 2022.12.1 today, is anyone else having issues?
Integration showing as “failed to setup” and the logs showing a bunch of stuff it -
“Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator (attempt 3 of 3)”
Time to ditch the Conbee 2 perhaps :/
Hello guys. I have a clean installation of hass (official RPI3 64b) image. I'm not able to add RaspBee II via ZHA. The integration shows in first step: /dev/ttyAMA0 - ttyAMA0, s/n: n/a, then I select deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II and finally I get: Enter the serial port: /dev/ttyAMA0
I always get an error: not connection
Fixed it, very strange, found an old usb extension lead, plugged it in and it started working.. has been working fine for years without one.
Maybe I’ll upgrade it soon anyway. How’s the sonoff zigbee dongle?
Yea everyone says to use usb extensions with those because USB 3.0 ports interfere with them
(also only use it plugged into a usb 2.0 port)
Hey folks was able to successfully update to the lastest firmware on sonoff USB zigbee, but still cannot add devices via a router using the three dors, anyone have any idea
Received my SkyConnect today. However, the website mentioned in the infosheet (https://skyconnect.home-assistant.io/) does not seem to be online yet?
The only info I can find is here: https://www.home-assistant.io/skyconnect
I am using the Sonoff ZBDONGLE-P flashed with the router firmware to help extend the range of my network as I have a bunch of wireless sensors but no wired that act as repeaters. It connected to zigbee2mqtt right away but ever since it shows as Availability: Disabled and Last Seen N/A. It doesn't respond to commands even though LQI shows 255. I mean it is 5 feet from my coordinator so I know that's not it. Any ideas?
I'm having some issues with my zigbee network and thermostats where after some time the thermostats can no longer be controlled- the temperate set is published, but doesn't seem to be acknowledged by the thermostats even though they continue checking in and reporting the current temperature and set temperature- does anyone have any idea on how to troubleshoot this? Here is my log: https://pastebin.com/Qbf49MG7
Yup, that the pre-order info...
anyone got the Home Assistant SkyConnect up and running, Zigbee2MQTT fails to connect to it.
in the zha visualisation why do some devices never appear to be connected to anything ?
also still cant seem to connect some devices to the closer router (s26) still will only connect to the cordinator the other side of the house
How many devices are currently connected to that router?
Most have a limit of like five or six end devices
That's not a great choice of adapter for zigbee2mqtt, but you'll need to make sure you have
serial:
adapter: ezsp
``` in the z2m config

