#zigbee-archived
1 messages · Page 146 of 1
300 is way more than I can stuff into my home so that is great to know
Thinking about switching from deConz to ZHA...
Lately deConz kind of pisses me off a bit... Wanted a "decoupled" system for lights so in case Home Assistant is upgrading or is down due to whatever reasons I wanted the most important function of a Smart Home, the lights, to still function with motion sensors etc. so I chose deConz.
But for some reason I simply cannot get it to work properly anymore with Home Assistant and my Ikea blinds... just refuses to either operate it or read proper status values from it.
But when I switch to ZHA I'd have to set up all the automations for motion sensors myself which is gonna be fun
🙃
"decoupled" system for lights so in case Home Assistant is upgrading or is down due to whatever reasons
So what you're really saying is you want Z2M...
ZHA is part of HA. If HA is down, so is your Zigbee.
Is Z2M "functioning by itself" in case Home Assistant as a whole is down? Aka. able to still turn lights on when motion is detected even when HA is down?
No... but nor is ZHA.
Yeah, that's why I have deConz so far cause that's kinda convenient. But sadly their device support is somewhat lacking.
The difference is that ZHA is tightly coupled and Z2M is decoupled. You could use some other thing to control Zigbee if HA died or you decided to move away.
I'm somewhat too lazy to go that far out heh ^^"
So you're stuck with deCONZ
yep, sadly
Or I just say "suck it" when the lights don't work
🤷♂️
Hm, managed to get deConz somewhat working again now, tho having a weird issue where deConz doesn't seem to report any position of my Ikea Fyrtur blind to HA
What are the current shipping times like for slaesh? Was waiting for zzh to come back in stock but seems like I might be waiting a while and both chips are virtually the same anyway right?
I've seen reports of quick to slow as heck
Just found this and looks to have quicken up quite a bit according to latest replies https://github.com/Koenkk/zigbee2mqtt/discussions/6702
Anyone have issues adding an SNZB-01 switch to deCONZ?
Having a look at the pins, I'm unable to see what are the recommended ZigBee transmitters are with HA. Are there any suggestions people could provide, or point me to the correct link? Thank you
CC2652 based, or current generation EZSP
Look at the links in the pin that starts There are three Zigbee options with Home Assistant (regardless of how you install it).
Couldn't you have told me that originally in hardware?
Have fun storming the castle
Ngl, bit rude for a 'mod' when someone is trying to ask for help. Isn't belittling someone against rule 3...
the zigbee integrations listed in the pins have recommended hardware lists
it's even in the channel "notes"
it's not always clear where to post/ask but I just go for it and repost/delete if necessary
so if a mod directs you to the correct channel, it's to help, not to belittle you or anyone
(if you stick around, you'd be amazed how many things are being asked continuously)
I'm also sure they're not getting paid for doing this and you can get great support on this discord
Is there a way to change the sensitivity of the hue motion sensor with zha?
the sensitivity is exposed in the OccupancyCluster. Go to devices, find your motion sensor, click "manage clusters", choose OccupancyCluster from the list, then sensitivity is a cluster attribute. You can get/set it there.
the indoor one is 0-2 and the outdoor 0-4 from least to most sensitive, though I think they default to the most sensitive values
I appreciate being pointed the right way. But when you ask in what is deemed and appropriately named channel, then come to the channel recommended then ask why they couldn't include the answer in the first message from them to then be given what comes across as a snark response quoting from a child's program on which they are calling people thick, is the opposite of what you come to expect when asking for help.
Repeat questions were not the problem here.
I even suggested I may have missed the link and asked for the direction. I was given it. Then asked why I couldn't be told that by the same user as my question was hardware related. Rather than a constructive answer to explain why my hardware question was not appropriate for the hardware channel a belittling response was provided.
Anyway, not to detract from the point of this channel I'll leave it at this.
I feel dumb sometimes. Are there any other battery-powered devices you can use for dry contacts like those Ecolink door sensors? https://www.amazon.com/dp/B01N5HB4U5/
(if you’re not familiar, the board inside has dry contact posts; great for a simple NC/NO circuit).
Those are #zwave-archived, but not married to it; open to Zigbee if anyone knows equivalent devices
Fibaro used to do Z-Wave ones like that, but they discontinued them years ago
https://www.zigbee2mqtt.io/information/supported_devices.html is worth a dig through
(or both. Definitely both)
though the blakadder site is definitely not super up to date or consistent (I mean, it's pretty great still, just don't trust it 100%. For that matter don't trust anything 100%)
quick question.. does the ZHA integration have to be created in the GUI even though it's in my configuration.yaml file?
yes
there are certain options that can only be defined in yaml, but the integration itself needs to be set up through the UI.
if you have the stuff in the config file first like channel it will use those options when creating the network on a new device
got it.. i'm trying to change the channel (to 25) and start over. i deleted the db file and re-added the integration, but the debug is still showing channel 15 (using itead 3.0 usb)
[bellows.zigbee.application] Node type: EmberNodeType.COORDINATOR, Network parameters: EmberNetworkParameters(extendedPanId=29:51:7c:58:e0:6a:45:11, panId=0x9303, radioTxPower=8, radioChannel=15, joinMethod=<EmberJoinMethod.USE_MAC_ASSOCIATION: 0>, nwkManagerId=0x0000, nwkUpdateId=0, channels=<Channels.ALL_CHANNELS: 134215680>)
okay since it's not a new coordinator, you'll need to change the channel on it with bellows
the easiest way I think is to back it up, edit the channel in the back up and re-store the edited backup to the coordinator
bellows -d /dev/ttyUSBX backup > backup.txt
edit backup.txt
bellows -d /dev/ttyUSBX -f -B backup.txt
You're using an Itead dongle with the SiLabs chip? Have you been able to join any devices?
If you're trying to start over then you need to run bellows -d ... leave and then re-add ZHA. It'll use whatever settings you have in your config.
The reason I ask about the Itead stick is that I've read people complain that the sticks have some RF issues (probably why Itead stopped selling it )
I'm getting a timeout error running bellows
Did you disable ZHA before running bellows? Can't have the stick being accessed by two applications.
I have about 5 devices right now without any issues.. but i'm about to add several more, so wanted to change the channel before
I deleted the integration
Maybe try unplugging and plugging the stick back in
Bellows is what ZHA uses to communicate with your stick to begin with so if ZHA worked, so will it
still getting asyncio.exceptions.TimeoutError
looking to see if i can install bellows in a pi and try from there
needed the -b 115200
I ordered mine on the 13th and received it on the 26th in the US
Hi. I have got my CC2652P in a usb dongle module. wanted to know which firmware should I flash it with to integrate and upgrade from CC2531 in ZHA integration in home assistant..?
See https://www.zigbee2mqtt.io/information/supported_adapters.html for links to guides and firmware
See the pinned messages for how to migrate
Such a situation:
As part of the test, I have 2 HA installations on different ports.
1 -on Blue with tasmotized Sonoff ZB brigde
2 - on Pi3 + witch CC25331 ZB stick
I cannot add any ZHA device on Pi3 +
I thought zigbee would create two independent networks and the idea would work out. Apparently, I missed something in the setup.
Can anyone help?
Device info
ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2
by ZHA
Zigbee info
IEEE: 00:12:4b:00:18:e2:ae:c8
Nwk: 0x0000
Device Type: Coordinator
LQI: Unknown
RSSI: Unknown
Last Seen: 2021-07-29T11:45:48
Power Source: Mains
I have a Samsung motion sensor that in z2m switches between 20% battery and 74% battery. No other sensors have done that. I don't have any reason to think it is depleted yet... how could I troubleshoot? Is there anything else than measuring the battery itself?
No idea why you'd want two overlapping networks, but did you ensure they're using different channels and different PAN IDs?
PS: Congratulations on having the two coordinators most recommend to be avoided 
Thanks. Re PS I am aware of it and plan to order as recommended in a guide above.
I 'm on vacation and testing things in our summer house. I want to leave here HA on pi3+ and trying to copy/unload HA on Blue.
"different channels and different PAN IDs" How to change/check" Could you guide me to the right place?
What's with the ZBBridge hate? It's only useless for Z2M 😁
Ok, I think I've found the info "DEFINING ZIGBEE CHANNEL TO USE"
You're not trying to add the same device to multiple coordinators are you?
no, no but I thought that CC22531 will automatically use a different channel, which apparently it's not the case. Now I will go the easy way. Switching off my Blue and working on Pi3 as I plan to take home my Blue. Pi3+ with HA on SSD should be ok for my not-so-demanding system for my summer house here.
You do realise that WiFi and Zigbee use the same frequencies...
Having a built in interference generator... not the best 😛
Just put it inside a Faraday cage to stop the interference.
Ok... Managed to screw up my Zigbee net. I noticed reallly lousy LQI values suddenly (12-40) for many devices, so thought I'd change the channel... Now z2m will not start... I should probably have checked the proper way of doing this, but...
Check the log file, and remember that a channel change will require re-pairing all devices
Yes, I have checked the log and it's apparently the zzh that I also need change the channel on, question is how... It's now a mismatch between configured and adapter setting
Please don't say I have an error or describe an error. Share the whole actual error message so we can help you.
The stick takes the channel from Z2M
Aha, cool. So a restart of HA might do the trick then, thanks
Got it. stressed through the log. See that it is quite clear. Thanks
While at it, what is a decent LQI supposed to be? Is there a target zone to be in? My values (for whatever reason) were/is way off... And as these indicate the quality of the network, surely I want to improve them if possible. Re-paring is no fun of course, but perhaps good
Hey, can anybody tell me their experience with the newer Tradfri 806lm RGBW E27 Bulbs? I heard people complaining about the older ones (can't really remember what the complaints exactly were).
What is needed for me to have a dual zigbee network in deconz? I have som issues using Xiaomi-devices and IKEA-devices in the same network. I run deConz today in a supervised docker setup on a NUC. (I guess that I have to dig out a RPi and setup a separate deConz on that)
So for now I reset the channel to what it was before, and now get LQI = "N/A" for most sensors... Guess I upset the network and it needs to settle/establish new routes?
Go prod all the devices, get them to check in
What do you mean? You generally don't want to run two meshes, that's just going to be pain.
(I have both Ikea and Xiaomi on my non-deCONZ setup, zero issues)
Most devices work all right together, but when I tried to add the new singlebutton IKEA switches to my network, things broke. It seems like the new switch and some of the lightbulbs made their own little mesh, and was not controllable from deConz. I had to readd the lightbulbs to deConz to get things back in order again.
And a colleague of mine had to make 2 separate meshes because of incompability between devices. But he is on holiday now, so I cannot ask him how he did it.
Cool, working, and much higher values now. Is there a way of inducing this without wrecking it like I did? I've never experienced such rapid degradation before...
The switches can touchlink reset bulbs to form coordinator-less networks. Just make sure to join the switch not too close to the nearest router.
Aha - Thanks for the tip.
Because it uses WiFi?
Hey, I'm using zigbee2mqtt and since the latest HomeAssistant Core update I'm unable to control my roller blinds through Home Assistant. It works through the zigbee2mqtt web ui but in Home Assistant the buttons are greyed out. The service call doesn't work either. Other information about the roller blinds like battery % seems correct though.
Any idea?
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
Check that HA is talking to your MQTT broker, and that Z2M is too
Well, other devices work flawlessly so I guess that works alright
Do those "other devices" also use MQTT?
Did you check
-> States to see if there's duplicate entities?
That would be mentioned in the log file though
Yes, I mean other devices through zigbee2mqtt, like my light bulbs
Check for duplicate entities then
I see no duplicate entities but the cover.ID entities are "Unavailable"
the others like sensor.ID_battery show current data
Will do, thanks!
any zigbee wizards in here right now? im using zha and id like to know which cluster setting is for power on state
I see a Traceback for a "voluptuous.error.Invalid: 'value_template' must be set together with 'state_topic'" exception. Can I upload the entire traceback here?
Please use https://paste.ubuntu.com/ to share code or logs. Please don't use Pastebin, since it can randomly add spaces to the main view.
mqtt_discovery_new_cover_mqtt yeah, that'd explain it
What version number of Z2M are you on?
You're two major releases behind
I'm betting you're using the add-on?
If you're stuck on 1.18.1, then be aware that the add-on repository moved in February 2021. If you first installed before then, and you haven't updated your Supervisor configuration, then Home Assistant is still looking at the old, not being updated, repository. https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/issues/52#issuecomment-792873888 covers how to switch repository.
Hasn't been released yet
Hue devices have quirks that expose it but if you're using other devices you'll see the attributes appear in the next beta
If you want to try it out, it's currently in HA core dev
I think it's also in the current Home Assistant beta (2021.8.0b0 and 2021.8.0b1)
I have 5 zigbee lights setup in the dining room, they have on/off and metering entities, for some reason one of them doesn't have an on/off entity, just metering, and I'm not sure how to resolve that
What lights are they and what integration are you using?
sengled smart lights with zigbee home automation integration
What do the zigbee device signatures look like for both types of bulbs? You can upload them here: https://paste.ubuntu.com/
look identical to me https://paste.ubuntu.com/p/GHnfdKB9NP/
Hmm. Have you tried reconfiguring the device?
I did, no effect
Strange. If they have the same device info then they should behave identically
there is an entity with an on/off switch under the device that I can use to power it on/off with, its just not listed under entities and I can't use it as an entity
I removed, reset and readded the light and that seems to have worked
A slight necro, but just curious if anyone ever had success with the Linkind buttons? Found a thread on Reddit but suggestions it gave didn't work for me.
I did, but it didn't work for very long. Super weak button. its paired to the outlet and you have to reset that first
I cant seem to find any docs on how to put a philips hue bulb in pairing mode so that a USB zigbee hub can discover it that use the tradfri remote. Is that even possible?
The steps depend on the device... you should have something in the packaging for your bulb that tell you what to do.
well shoot. Thats long gone 😛
They're often available on the manufacturer's website
Yes, I was able to pair the the button. The trick is to make sure you are not pushing the entire button but just pressing the reset button. Once I did that it worked. It ends up just showing a power indicator in HA but then I had to capture the zha-event listening for the button push looks like it only has a button push and a hold event
Yes. Im still testing if it’s a random group or a same every time but it sends its commands to a group. Ezsp coords need to be joined to that group to see it. Using a sniffer I found the group and got my coordinator into that group and button works fine then.
The group stuff isn’t necessary with a TI z-stack coord or a conbee as those listen to all group traffic already.
Been solid for me. No issues. Had them working for a couple of weeks with each of the following set-ups:
- Tradfri gateway
- CC2531 (RPi 4/HassOS)
- zzh (CC2652R) (RPi 4/HassOS)
All using using Zigbee2MQTT.
Hrm. I’m using the Gocontrol HUSBZB. Guess I’ll try @long mortar ‘s idea of hitting just reset (thought I had, but down to try again)
@long mortar, was that just using ZHA, or ZB2M?
Do you have it paired?
No, couldn’t get that far. Seemed like I could see some traffic in ZHA debug mode, but didn’t seem like it gave enough info to do anything with
okay trying to get mine paired with my production system to see if the work around i got working with my test env works
Okay, so I just got it to pair for the battery reporting, at least (ensured I was only hitting reset and not the button itself). Not sure what to do to capture the zha_event, but will look this up
you won't see it with that radio- are you running a supervised install of HA like Hassos ?
Yes I am.
have an add-on with a terminal like the vs code add-on?
^which is good as it has hass-cli installed
Yes, but also SSH access - in other words, I have terminal access, yes.
Came across this; you don't think the HUSBZB will be able to capture/pass this data into HA?
give me a few, trying to get mine rejoined. it's not cooperating
{
"event_type": "zha_event",
"data": {
"device_ieee": "58:8e:81:ff:fe:21:f0:d6",
"unique_id": "58:8e:81:ff:fe:21:f0:d6:1:0x0006",
"device_id": "b5d30ae43e7255a1f240789a32f3484d",
"endpoint_id": 1,
"cluster_id": 6,
"command": "on",
"args": []
},
"origin": "LOCAL",
"time_fired": "2021-07-30T01:46:50.320774+00:00",
"context": {
"id": "347dc08e50979fd5d47170b2db88a891",
"parent_id": null,
"user_id": null
}
}```
@outer scroll posted a code wall, it is moved here --> https://paste.ubuntu.com/p/tBYNzZzfBm/
Very finicky between on/off and move/stop (ah. with the back off. Once I put that back on, now it's a little more sane)
ah interesting you are getting the events. I don't get them unless i join my coordinator to a specific group
so this gets me reliable events from it.
hass-cli raw ws zha/group/add --json='{"group_name": "Linkind 0x400a button group", "group_id": 16394, "members": [{"ieee": "00:0d:6f:00:0a:ff:73:23", "endpoint_id": 1}]}'
where 00:0d:6f:00:0a:ff:73:23 is my coordinator's ieee address
Where did you get that group_id from? I'm admittedly not well-versed in ZHA groups; I never needed them for anything.
But watching zha_event for the device_id / unique_id in an Automation works for me.
by sniffing it with a dedicate sniffer.
mine only broadcasts to the group id
tested it across 2 different systems now
Is it otherwise paired to the coordinator? e.g. battery info in HASS?
What happens if you listen to zha_event in Developer Tools -> Events?
like i said i get events for on/off/move/stop
sniff on my prod network show 0x400a group again:
if you are getting events with out the groups stuff no worries
you should be able to use the events in an automation just pick the trigger as event
zha_event
and put in the details from the event data
yupyup. Now to figure out what to actually do with it.
I was really just buying the inexpensive bulb, getting the remote as a bonus. But I decided to use a no-neutral switch instead, so now I need to find an application for both.
I don't quite understand what move/stop is, though. I thought it was going to capture twist movements for dimming (against the magnetic back it comes with), but it doesn't appear to do so.
Looking at the instructions, I guess it's designed to continue the dim until it receives the stop command.
yes basically.
Ah hell, I expected this to be easy. Any experience with the light itself? haha.
Ah. Were you able to pair it with HASS first?
I don't remember. sorry
"Reset Zigbee bulb: power on and off the bulb consecutively for 6 times, until it blinks twice when power on, which means the resetting is done." .. Science time.
Success! Not showing as dimmable, but dunno if that's just a HASS thing or ZHA isn't picking up those capabilities. nm, was just my failure to look at the detail popup
When using a CC2531 as a router to increase the Zigbee Network, how to know in Home Assistant which devices are connected to the Router or to the Coordinator?
Look at the Zigbee map in whatever Zigbee integration you're using
Works like a charm after the update. Thanks again!
Sorry just saw this however it looks like you got it paired already. Yes I am using a HUSBZB and ZHA.
Thanks for the tip on the reset button! The instructions had said something about pushing both the reset and the button and that was the source of my dead end haha
Noticed with the new energy section its only pulling in sensors with kwh... some of my zb bulbs create sensors tracking W only... will these be updated so they can be used in the energy section?
For light bulbs: why opt for Zigbee over WiFi bulbs? Genuinely curious.
Because WiFi's a mess and it's basically the wild west. Every brand has their own protocols and apps, and you're locked into their ecosystem.
With Zigbee and Z-Wave, they're specifications, so (theoretically) everything should just work together and there's no vendor lock-in.
If you go with WiFi, there might be a working integration with HA... then one day, they could release a firmware update that blocks the API (like TP Link did with their plugs).
also because i already have 80 wifi devices in the house, i dont need to add more bulbs to that
and the 2.4band pisses me off. all smart home wifi devices should be 5ghz or just make them zigbee/zwave
This is a weak argument for as long as Zigbee and most smart WiFi devices use 2.4...
Can someone recommend me good wall switches i can use in HA and a good hub it works together with?
preferably something that doesn't lock you in a system, i just bought a aqara wall switch but it needs a seperate hub and doesn't work with other Xiaomi hubs... i don't want to be limited by a software lock or something like that
aqara wall switch but it needs a seperate hub
Wrong
Aqara are among the most popular devices here, they work great with the various integrations.
i just bought a aqara switch and a Xiaomi Multimode ZigBee 3.0 WIFI Bluetooth Mesh HomeKit Smart Home Gateway, how do i connect these?
Is this a trick question?
its tricky for me, why?
Do you not have a Zigbee radio on your HA host?
WiFi and Zigbee are completely different. They don't talk to each other.
If you want to use Zigbee with HA, read the topic and the pinned messages.
so, i need to get a zigbee radio or something to connect the switches directly in HA?
Read the topic and the pinned messages.
When you have specific questions, you'll get plenty of help. The basics are well documented already.
TBF, the pinned messages don't make sense if you don't have the proper context.
But the docs themselves are adequate, and there are plenty of blogs and videos on how to get started with Zigbee in HA.
Totally unrelated to the current conversation, but found this when looking for something else and I would love to see how this would report in HA
https://www.mytoolsautotech.com/products/mya-g58-zigbee-wireless-computerized-wheel-aligner/
Wow, that's pretty specialised 😄
If you can get it to work, get it on the list of supported devices.
Can't find a public price on it, which means "if you have to ask..."
Yeah but for some reason they function much better through zigbee than wifi and you don't have to worry about your wifi router and how it likes to handle it. Opted for a 6e which apparently had really bad 2.4 support... And you get meshing with zigbee over the 2.4 vs wifi
I understand that point. My wifi IoT stuff doesn't seem to like my Asus router (and/or the bang ! in my password); had to set up a separate AP (which was probably a good idea anyway)
what are the best switches to dim a smart bulb? can the aqara dim a smart bulb?
Well, if HA can dim it, then anything will work
Ideally you want a dimmer that you can bind to a bulb, but not all/many support that
yeah, that's what i'm having trouble separating out. most "dimmers" are all about dimming a dumb bulb but i just want to bind it to a smart bulb and be able to send on/off/brightness
Check the lists in the pinned messages
the lutron aurora
you can bind it direct to the devices, bind it to HA, bind it to HA and then bind it to devices/groups through HA
only thing I'm not super stoked about is it trys to remember state
so if it thinks its off and the bulbs are on but dimmed it turnes them 100% on
my zigbee stick is one that has a flaw with lightlink stuff though so that may be why
I'm switching
(this is all zha for me)
It just send alternates on and off (hue button does the same) if not binding you could just make on and off events a toggle (I bind mine)
Is anyone using ZHA? I swapped from deConz and devices either don't respond, or they respond very slowly. I'm using the ConBee stick.
Hi all. I'm looking to dump the Ikea tradfri hub for a zigbee USB stick. Is it possible to run the zigbee USB stick on a raspberry pi that isn't also my HA host to get the USB stick closer to the majority of devices and not in the basement?
I know with zwave I can run zwavejs2mqtt on a pi and stick it elsewhere
You can use ser2net and expose the stick over the network, then use it with either ZHA or Z2M
Or run Z2M itself on your remote pi and use the stick that way
@faint dome Instead of relocating the USB stick, you could get some Zigbee plugs. Since they are constantly powered, the will act as repeaters.
I live in a relatively small 2-bedroom apartment (~800 ft2). I have my coordinator on a USB extension cable so it is away from the Pi and out of the network cabinet in one room and it could not keep a connection to devices in the kitchen. Added the plugs and I've got good communiation.
I'm doing that now but would like to get it closer to the living areas in the house without needing as many plugs being repeaters. (I have 3 repeating to get it to the master bedroom, if I move the controller to the living room I'd need zero)
Gotcha. Makes sense. Didn't want you to move the stick and then find out that the range was still limited. Looks like you're already tracking on that aspect.
Yeah my network rack & hypervisor live in the basement on the opposite side of the house from the bedrooms.
And it's an old house with lots of plaster & lathe. Even getting wifi through the house is hard
Even with the repeaters, do you still have lag or connection issues? I have a plug in each room, because the were cheap and, well, why not?
I have zwave for a lot of my home smart stuff, but got Ikea tradfri as part of a trade I did a couple months ago for some lamps, because zwave bulbs seem non-existent
Otherwise I don't have many plugs around as all my smart stuff is switches
Which IKEA Tradfri device did you get? (The Tradfri is their name for their smart-home stuff; translated means "free of cord" or something.)
Aqara suxx, is just suxx less than tuya. But i give it to aqara they have a nice form factor
I've got their hub, 7 or 8 of the little square dimmer remotes, 5 or 6 of the UFO remotes, 15+ bulbs of various wattage, and 10 or so pligs
@faint dome I really like their "UFO remote". I have four right now but like enough I might grab a few more. The square ones are pretty useful for the price too. I just installed an RGB bulb but don't like the way it produced blue and green light so it is probably going back.
Can anyone recommend a quality remote? Number of buttons doesn't matter. Really just need to turn lights on and off. Ikea remotes don't seem to work well with the ZHA plugin.
What do you mean doesn't work well? That's what I use with my IKEA remotes.
I have a 3/2 house. There is a repeater in almost every room. The Ikea outlets. The remotes work maybe 20% of the time since I swapped off deConz to ZHA.
When I check the Map Visualizer, half the time it shows the remotes having no connections.
The remotes are paired. Will work for a few minutes then just fall off the network. Tested 5 remotes. All have brand new batteries.
Wonder if it is the repeaters and not the remotes? Do you have a repeater in the same room as your coordinator? Are you using a USB extension cable between the PC/Pi and the coordinator?
The remotes do go to sleep but that shouldn't give an 80% failure rate.
Extension cable yes. There are some rooms with multiple repeaters. The remotes at the moment are no more than 15 ft. from the ConBee.
Do you have a lot of WiFi devices? IIRC, Zigbee and WiFi are on the same frequency.
There are. But deConz worked reliably. Commands from HA work mostly reliably.
Remotes more or less never work.
Motions sensors are the same.
Any issues with other Zigbee devices?
More or less don't work now.
ZHA for some reason is incredibly slow compared to deConz. Not sure why.
It's running under a VM on a mac mini.
So way more powerful than Pi.
Maybe it is your Conbee. I don't use that so I can't say. I had range issues with my NorTek Combo ZWave/Zigbee coordinator but they were resolved with the USB extension and a couple of cheap Zigbee plugs. (But I'm also in a 2/1 apartment.)
What are you using for your automations? (Button presses, motion detected, etc)
Using Frenck's 5 button blueprint. I tie the remote and the lights to that.
Motion detected I'm looking at the status of the sensor directly.
Everything is Tradfri.
I never really got into using the Blueprints or Automations. I use Node-Red for all mine. I don't imagine that would be your issue though. I dunno. All my IKEA stuff works well. (Although I did not like the colors of the RGB LED bulb. It's going back.)
This is what I use. The Nortek GoControl HUSBZB-1. ~$50USD It is Z-Wave and Zigbee in one: https://smile.amazon.com/GoControl-CECOMINOD016164-HUSBZB-1-USB-Hub/dp/B01GJ826F8/
I'll consider picking one of those up.
I would like to use Node Red. Haven't found enough information yet to make it work. I have it installed though.
I went in there and just started playing. I can send you some of the stuff that I've made to get you started. I definitely not an expert but I'm starting to get the hang of it.
That would definitely be awesome.
Sending stuff to your DM.
Thank you.
Hello, im using a cc2531 as a coordinator on my pi with a 1 meter usb cable between the pi and the cc2531. It used to work without a issue. I had to reinstall zigbee, and re-add the devices which went well. But now all devices keep saying offline or unavailable, there are also no "lines" in the visualisation. Any idea what is causing this?
Did you use a backup ?
If not it might be a configuration issue that you used to do, like for example channel settings
i never touched anything else then just add device. Where would i see the channel setting?
that depends on what you use
zigbee2mqtt ?
that is actually the only thing i know 🙂
i use the Zigbee Home Automation integration
thanks ill give it a look
its just weird it went from perfect to nothing working ;p
if you used a backup, it might as well have the device still stored somewhere
that is causing the issue
with that I can't really help, as I'm using another setup
maybe someone else with ZHA experience can chime in
what do you use as a coordinator if i may ask ?
ok lemme see if i can figure it out ;p
and then re-pair one or 2 devices just nearby your coordinator
to see what it gives 🙂
i added zha: zigpy_config: network: channel: 11 # What channel the radio should try to use. channels: [15, 20, 25] # Channel mask
now restarting home, and ill re-pair a device
would i need to re-install the coordinator as well ?
that shouldn't be necessary
but I think you might have to remove the channels: parts (it's either 1 channel or a mask I think)
ok i'll change it 😛
alright, i re-added so far so good. I kept them next to the stick though.
im afraid if i move them they might vanish again
well, try with something that's in the right place
and pair it from there
it's advised to pair your devices from where you're going to use them
ah ofcourse
but im using a ikea tradfi repeater inbetween. as the stick might be to far away
I also suggest to first pair your routers /repeaters
then I'd do that one first
they should change when they find a better route, but sometimes it doesn't 🙂
i read it also takes some time for the network to establish right?
it seemed to be instantaneous for me though 🙂
the connections in ZHA i mean,
the motion sensor does react already just visual there is no connection yet
longest I had to wait for something to pair is 20seconds
with the "lines" ? i know you use zigbee2mqqt so maybe its not the same as zha
I don't rely on the lines though, if it works, it works
I have a sensor that works fine
but is never connected to anything
it's floating in the cloud 😉
but it works
ok good to know
if all else doesnt work again, ill try the repeater first in location mode.
same for LQI, don't try to rely on it 🙂
if that fails too, i might have to get a conbee stick instead of the cc2531
as im not to familiar with the whole writting codes, this one and the conbee are plug and play :p
fingers crossed the channel switch helped already
so Chris, thank you so much for your help!
for now i will just keep an eye on it to see if it keeps working
no problem 🙂
it's something I learned in the beginning when using z2m that those settings are important
especially if you want to restore a backup
or install it on another device
with the whole ZHA doing it all by itself i didnt see any of those settings
everything worked fine too, untill i migrated to SSD and everything was breaking ;p
but if it works now, i'm pretty sure it won't break anymore
not due to something like this 🙂
Oh nearly missed your reply! Thanks for letting me know. I read about issues with coil whine with the new ones, so you hadn't had an issue with that either?
Nope. All my tradfri lights have been problem free.
Went back through and saw your message regarding the IKEA bulbs. I initially could not get mine to pair. Read the on/off timing is kind of important. Used a 1-sec on/2-sec off method (which was kind of hard to do using a lamp with a twisty on/off switch) but it paired just fine. I did not like the color it produced though. The red seems fine but green and blue seemed too white. Found a video on YouTube where guy compared the IKEA with the Hue and he noted the same. Probably going to take them back. Response time was really good though compared to my Tuya-based bulbs.
Has anyone had trouble with sensors connected via Tasmotized sonoff zigbee hubs going offline despite still being up and running? I'm using the built-in Zigbee home automation integration and it will run fine for a few days then my door sensor will show as offline. Rebooting the hub doesn't seem to fix it.
Hello! I'm running a pi 4 with the elelabs zigbee pi shield on it, I tried to connect a zigtiger dimmable switch (UK dimmable zigbee switch), it paired but quickly dropped out and became offline. Long shot but does anyone have any advice?
Odds are it's on the edge of the mesh range
Can you stick a (zigbee) router part way between it and the next nearest router/the coordinator
it's about 3-4m away. It connects to my alexa with the built in hub fine (admittedly it's about a metre closer)
Channel choice can also play a very big part
Did you ensure that your chosen channel is clear of WiFi interference?
I'll do some more studying thanks
figured i ask the question in here before i throw away my conbee2 stick. i using proxmox with an ubuntu server vm and the ha core docker install conbee 2 is passed thru fine to the vm and both zigbee2mqtt and zha both have no issues in detecting the stick just can't pair any devices to it. i literally stood over the stick with a motion sensor and still could get it to pair. anyone got any ideas besides it being toast

Standard things:
- Don't use a USB 3.0 port
- Use an extension cable
- Check for WiFi interference
and set a fixed channel
I've tried on various occasions to get pass thru working with the conbee stick. I've pretty much accepted the fact that it won't work. I've tried on two different esxi hosts running docker home assistant, although the conbee will get passed through it just continually drops out... Not being able to scan might be a similar/related issue
I feel like I havee tried everything USB 2 port, extension cable, eventually gave up and moved it to a standalone NUC. It seems like a number of people seem to have the same issues from doing a Google search on the topic.
ESXi and passthrough seems to be ... painful
I've had it working with my setup for months didn't switch anything and just went to trash yesterday
@vernal prawn do you have a channel set in your config ?
yes
change my error log in zigbee2mqtt and getting an error that zigbee fails to start and have work through all the suggestions on the zigbee2mqtt docs
I suppose you mapped the conbee stick with device id an not ACMtty0 (or what it is)
and have also set a network key ?
also what channel do you have in your config ?
let it generate it own network key and set the channel to 14
yes mapped the conbee stick using device id
That's a bad choice of channel
the device is deactivated by a configuration entry.
can someone tell me what happened here?
I'd consider trying it at channel 11 if your wifi is not on channel 1
15, 20, 25, and maybe 26 are better choices
(usually, but do check what the WiFi around you is doing)
okay, i will check this
Those responses weren't for you 😉
oh ^^
Try out ser2net and plug your Conbee into an ethernet-connected pi (or any other Linux box). The conbee seems to reconnect the USB interface when something breaks, which doesn't play well with some setups.
i had similar problems until yesterday.
my solution was to deactivate everything that tries to access the conbee.
namely, only one variant can work. Otherwise the Conbee will be triggered too often from different places.
So either: deconz as supervisor, or deconz as integration, or just zha. as soon as more is activated, it does not work. maybe that will help you like me (yesterday)
Thanks for letting me know! zigbee2mqtt.com has a tip for pairing the bulbs, maybe you can check it out if you have that problem again. do you have a link to the video? i only found one video for the new ones, the other videos were all for the old ones i think, I guess there are not available yet worldwide. i'm using a local (I think) brand from germany right now, i guess there are worse in color reproduction then hue, but i never saw hues in real live.
OK I'll give that a try.
anyone know how you issue commands to z2m?
I'm trying to bind an Ikea dimmer to a group of lights. i was successful with 2 others but this one is fighting me for hours.
i can see my button presses in the logs, and the lights work if i just click them in HA
n/m i had to keep pressing a button on the remote to get it to accept the commands. weird.
Hue vs IKEA bulb RGB comparison: https://www.youtube.com/watch?v=_K46ZvANtVc
You mention old and new bulbs. I just got mine two weeks ago. Wonder which ones I ended up with.
i'm pretty sure those are the old ones, the new ones just came out like 1-2 months ago, at least in germany.
they still sell the older ones here for cheaper
just chech the lumen
Yeah. Now that I'm looking at the package, mine are labeled 600lm
the new ones are 806
yeah you got the old ones
the color reproduction is supposed to be better on the new ones too, but i heard people having problems with coil whine, hoping that it is just a bad batch.
Looking at IKEA US, they don't even advertise the 600lm, but the 800lm is out of stock at my local store. These might just be the stuff they were trying to get rid of.
yeah probably
hard to say from a video without comparison, but I think that is the new one.
Date on the video is very recent so that could be a good sign
yeah and the package says 806 lumen so must be it
I notice at 0:58 in the video that the "green" looks more like a "lime green". That's kind of what I was seeing with the 600lm. (Or could just be weird RGB from the app.)
The blue looks better at 1:04
yeah i see what you mean it kinda looks more like the color one up
I am using the zha custom_quirks_path but now my imports do not work because some of them were relative. Can I just put the whole path instead of ..?
resolve imports for custom_quirks_path
I've had this problem before and I can't remember how I was told how to fix it - basically the Lidl bulb I have does RBG and warm white to cool white. But when detected in ZHA it only displays the colour wheel and on/off - no white color temperature? can anyone remind me what I need to do to get it displayed properly?
although I have just noticed that it was detected as: unk_model
by unk_manufacturer
cancel all that - I just removed the device and added it again and this time it has appeared as the correct model
@fervent storm I think you would want to click Reconfigure Device (Integrations > ZHA devices > device that's giving problems). It says "Use this feature if your device is not functioning correctly." I think it does the same thing that part of the add device process does.
I just noticed the option to "Add Devices via This Device" when looking at the information for a mains powered device using the ZHA integration. That's kind of cool. Now, when adding a device, I wouldn't have to take it close to the coordinate and then move it to its respective room. (Have Zigbee plugs in each room to act as repeaters.)
Always just pair in place... you don't need the add via option for that to work. Devices will work out their own best route anyway
Tinkerer: Oh. Okay. I always though that the new device had to be close to the coordinator. But this is certainly good to know.
Doesn't the mesh repair itself or do what it wants? If it didn't then none of my routers would be working because I've always taken the device to the coordinator. The network map shows end devices going through the routers.
Depends.... routers will usually reconnect. End devices ... may nor may not
Xiaomi rarely do, other brands never do, some brands do all the time
Does anyone know if this is a Raspbee v1?
https://i.imgur.com/guwAPhS.png
Ok cool. So if I were to install this in a raspberry pi running hass OS it would be able to pick up zigbee devices?
Perfect
It's not the best choice, being slightly old and limiting you to the Pi for running Zigbee, but it's a reasonable starter
Whats the difference in v1 and v2? I don't have that many devices. Around 15 lights , 3 motion sensors and a few switches
Performance, capability
If need be I can just run this and if I see any problems all I need to do is replace it with the v2 and that wont brick anything I set up now, correct?
Correct, though you'll (probably) have to re-pair
👍
@sour shadow not every zigbee gateway can work with every zigbee device, right?
@untold slate Generally, don't tag people to ask for help - it comes across as bad manners, you’re demanding somebody answers you. It’s different if you’re thanking somebody, obviously. If you do tag somebody keep it polite and respectful. Remember that everybody is a volunteer, and nobody has to help you, and people may block you.
Similarly, please don’t DM (direct message) people asking for help. It also comes across as demanding, and means that others can’t learn from what you do.
Finally, please keep tagging people in replies to a minimum. That too can become annoying very quickly and should be used only when it's necessary (such as if it's been a long time, or there's multiple conversations going on). When using Discord's new Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.
Hm... Seems my Tradfri On/Off button connected through z2m just died. I get no reaction from HA. Where would I start please...
Replace the battery
That is done, first thing I tried. Do I need to reinclude or anything?
Shouldn't have to, but try pushing the buttons on it to make it check in
Nevermind dude. You suggested zigbee instead of WiFi bulbs, so I started looking into it and thought I’d ask a bit more as I’ve not had much luck with zigbee. Really no need for the “personal bot” comment. But thanks for the suggestion nonetheless.
Also done, frequently. I tried to catch an event in DevTools, but it gives nothing
You've tagged me more times today that everybody else all together
Clearly you feel I am here just to help you...
Might need a re-pairing then, but I've never needed to myself
I hit the reply button. That’s it.
Sure
Ok, thx, will give it a shot 🙂
#zigbee-archived message
#integrations-archived message
And the reply
Zigbee is a standard, ZHA and Z2M both will work with any Zigbee device - worst case you need to put a bit of work in
Thanks.
My Aqara hub has died. I'm looking to transfer everything to a new zigbee stick (I want to pair more zigbee devices, instead of only aqara).
What is a recommended stick? Is the CC2538 good?
I'm looking for something reliable that I can have for a couple of years.
CC2538 is the last generation - you want CC2652
Great thanks! The ad of the guy selling a CC2652 says it has Z-stack 3 firmware. Is that the latest?
Perfect, thanks for your help @sour shadow !
Hey guys, any idea how I can solve issue where running scene does not turn correct color on lights? I expose them thru Philips Hue hub, they are Gledopto controllers.
If you're using the Hue hub, you're not after this channel. You're just using a standard #integrations-archived.
Hey guys, I have this Siren
https://www.zigbee2mqtt.io/devices/SZ-SRN12N.html
But attempting to make it into at automation in home assistant without luck - Tried with the send event function.
zigbee2mqtt/sirene((Name of Device))/set
warning:
mode: 'burglar'
level: 'very_high'
strobe: true
duration: 5
Do you not have a relevant entity in
-> States?
The link suggests you need to send a JSON payload
mmh yea im aware, but do I make a script I then call in the automation or,
Im not really into coding, but trying my best
- service: mqtt.publish
data:
topic: zigbee2mqtt/FRIENDLY_NAME/set
payload: '{"warning": {"mode": VALUE, "level": VALUE, "strobe": VALUE, "duration": VALUE}}'
ahh - I think I figured it now, I will try and thank you for you big help as always tinkere 💌
mmh So far so good - But when trying in the automation - nothing happens
https://imgur.com/U0L4HNX
Check the logs in Z2M
It will not understand the value's when I put 1 and 2 it parsed ok and no errors in debug but still no sirene working
But when i put burglar and so on it tells the json is invalid
Quote strings
burglar isn't valid, but "burglar" is
true is a boolean though, and "true" would be a string

which stick is that? can you send me a link pls
There's a bunch listed at https://www.zigbee2mqtt.io/information/supported_adapters.html
Good day everyone! My cc stick for zigbee has arrived - https://slae.sh/projects/cc2652/
It seems I can’t really find a way how to integrate it at least woth ZHA 😅🤷♂️ Also it seems that I can’t also find any real guide on how to do all this. Any suggestions?
The link I just posted has a flashing guide
After that, it's a question of whether you currently have another Zigbee stick, or are starting fresh
I’m starting fresh
Then plug it in, find the /dev/serial/by-id path, and away you go
How you find that depends on how you installed HA
Probably you'll be running HAOS in which case it's in the Supervisor's hardware menu
No I'm using docker-compose and I kind of already have listed it in the devices
like this -
devices:
- /dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_22_98_A8_70-if00-port0:/dev/ttyUSB0
I ended up buying the stick from slaesh. (https://slae.sh/projects/cc2652/)
The one I was talking about was this one: https://tweakers.net/aanbod/2724400/cc2652p-zigbee-usb-zigbee2mqtt.html
nice, how long was the shipping?
Just ordered it. So I have no idea. Hope it won't be too long. 😅
9 months
whats the deal with antenna types, won't you want the biggest gain?
I received from slaesh just in 2 weeks. Few days ago
Ok, that's good enough for me. What antenna did you get?
what is the header for, flashing?
no I'm trying to get my zigbee devices in ha xD
Yeah but it seems I can't really integrate it with zha. As I'm getting - Failed to connect error. Don't know why
Is that the full error?
Did you flash it with firmware?
like it should be pre-flashed with zigbee2mqtt
https://www.zigbee2mqtt.io/information/supported_adapters.html covers flashing
If it doesn't connect then you probably don't have firmware. Download and extract https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/Z-Stack_3.x.0/bin/CC2652RB_coordinator_20210708.zip and follow the serial flashing instructions: https://slae.sh/projects/cc2652/#flashing
Thank you guys for the instructions! I will try to follow them and see what happens
Okay the reason was the old usb extension cable 😅🤷♂️ will try to get new one tomorrow
hey, if im using a sonoff zigbe door switch, am i able to connect it directly to home assistant if a zigbee device is installed on it? Or will i still need to buy the sonoff hub?
Sure, buy a suitable Zigbee coordinator and run your chosen Zigbee integration
There are three Zigbee options with Home Assistant (regardless of how you install it). These are:
deCONZ is relatively stable and mature with its own UI (and Discord server). It can run in an add-on, in a Docker container, or natively. Only the ConBee range of sticks and RaspBee GPIO boards are supported. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).
zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended (though the HUSBZB-1 uses an older chipset), but there are other options. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented (you can't add unsupported devices yourself).
Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the recommended option being the [CC2652 based sticks](#zigbee-archived message). If you want to use an EmberZNet stick see this issue. The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.
Hi, My deconz intergration has stopped working. I running my deconz in docker in a separate pi. Im able to log into the decons, and operate my light etc. Also tried to deconz_event, earlier I was able to see the different event when i trigger a button on a switch. Anyone any idea where to start to look?
@stable remnant Off-topic: Did you ever get your lights set up like you wanted? (dealing with the xy values; I forget what all was going on)
@brazen robin Yes, but since I have problem to communicate with my deconz. its not working anymore. Ended up to use 4 different scenes, For diveded the day up in 4. Im also in the progress to change my HA(vmware) to run HA on a nuc
Is there a tutorial on setting cluster attributes? I'm trying to change the default state of a lightbulb after power restoration from 255 to 0 by using the LevelControl cluster and on_level attribute, but the value doesn't seem to have the desired effect, even though the get zigbee attribute is returning the correct value.
Do I need to find a manufacturer code override to make changes? Or is there something extra I have to do to get the changes pushed to the light bulb?
Hello guys, I am new here. Please can you help me to get oriented in the chat threads?
I'm running HA on VirtualBox VM on Win10 (old) laptop, have several zigbee Sunricher LED dimmers and roller shutter controllers. Using ZHA integration.
I'd like to know where is the best thread to discuss a bunch of topics (mostly) about the roller shutter controllers. For example I wonder how to start their auto clalibration using HA, same as @cunning mica I don't know how to rewrite / override the values in the cluster attributes (and whether thats possible). Also wondering more general newbie stuff like where to find .yaml files on my system...
Please can you advise where to ask? And how can I find on my own where to ask the best?
I guess you already have read this https://www.home-assistant.io/integrations/zha/ , otherwise I think discord or the forum.
The correct attribute is start_up_current_level, it should be in the latest beta
I don't see that attribute in either the cluster attributes or the cluster library specifications https://zigbeealliance.org/wp-content/uploads/2019/12/07-5123-06-zigbee-cluster-library-specification.pdf
3.10.2.3 has a CurrentLevel and OnLevel. CurrentLevel is Read Only
It was introduced in ZCL7
And is exposed in ZHA in the latest beta
I see, thanks. I'll wait for the stable release
Any of u using aqara and home assistant? What hub you using?
Most here don't use any hub, but the custom firmware on USB adapters. You can find those in Z2M site if you are planning to use the same. https://www.zigbee2mqtt.io/information/supported_adapters.html
Well I bit the bullet so to speak and finally ordered a slaesh stick, let the waiting begin!
On CC2652P2 that can handle 20dbi i assume you need a new antenna to use higher db or would it work with the default black one (talking especially about tubes ethernet coordinator)
Why this is showing unknow if the z2m is fine?
https://media.discordapp.net/attachments/534478791159054346/871694300990279771/unknown.png
Anyway to check if a Zigbee device supports direct binding without having the device? I've worked through the z2m docs looking at the devices which support it, but there's no way of knowing if a device just hasn't been tested for support, or if it is guaranteed to not work.
Side note: What's the best way of supporting those that are always so helpful in this Discord server? A server boost?
What's the current easiest NON-USB & IN-STOCK method for adding zigbee capabilities to HA? I run in a VM so USB is a pain and would be poorly located. All the ethernet controllers I can find are OoS. Can any of the other hubs/gateways be easily (enough) hacked to work with HA without some cloud integration? Is there any hardware I can cobble together?
USB stick on a Pi running zigbee software or ser2net
and\or any pi zigbee hat
After each reboot i get this warning in the logs
Source: /usr/local/lib/python3.9/site-packages/zigpy/zcl/__init__.py:92
First occurred: 15:00:44 (8 occurrences)
Unknown cluster 57344
Unknown cluster 57345```
What could this be?
😦 was hoping this was as easy as the video makes it look: https://www.youtube.com/watch?v=AEkiUK7wGbs
I have stock held for the waiting list of everything in house except the antennas right now so as soon as they get in later this week hopefully I'll be emailing the waiting list folks to clear it out.
You probably have devices that use unknown clusters that aren't in the manufacturer-specific range and have no quirk. Tuya?
If you go the "DIY" ethernet coordinator route, it's just plugging in the USB coordinator, sudo apt install ser2net, edit a config file, and start the service
I see zigbee over wifi (serial) isn't recommended, but is there any issue with zigbee+esp32 over wifi running zigbee2mqtt (assuming good wifi). Are there pros/cons I'm missing for zha vs z2m?
WiFi and Zigbee use the same frequencies.... this is a recipe for pain
Going to have that anyway if it's 2.4...the 2.4 noise floor in my area is horrible. Crazy the number of APs I can see...SSIDs are worse due to mesh systems in the area.
Then you want to avoid using more WiFi... not add to the noise
so far all my IoT is either Tuya converts, Bluetooth XiaoMi sensors, or DIY ESP modules. ¯\_(ツ)_/¯
What channels are the APs broadcasting on? If they're all constrained to 1, 6, and 11, you can form a Zigbee network between them.
@austere patio it's seem to have started when I added a hue outside wall light type econic
There are a few motion sensors which now sometimes react slower then normal and some lights that sometimes do not turn off while the automation told them to go off.
Maybe the whole network needs to settle again?
You can ignore the warning, it's just saying that the device reports a cluster that isn't known to zigpy or any quirk
The slowness seems like network issues, nothing controlled by ZHA specifically
Unless you pair xiaomi. Those pick the 1st one to respond and if not all of your routers are xiaomi compatible, then it might pick the wrong one
Anyone know if I can integrate Philips Lightstrip Plus to HA without Philips HUE hub if I already have the zigbee stick and ZHA integration?
Probably: https://zigbee.blakadder.com/search.html
That and the Z2M compatibility list are in the topic and the pins. They should be the first place you check when wondering if something is supported.
thanks - I even found a pairing instruction there 🙂
Guys pls what do I get by using mqtt? Or the other way, what is it that I cannot do without it? Does it open many options eg for automations? Or is it a code writing way instead of UI?
the concept of zigbee2mqtt is that you can run it stand alone and communicate through a single standard (is my understanding)
mqtt also communicates to some other systems extremely well
my plan is to run zigbee2mqtt in a different building that will be networked in but too far for zigbee to jump reliably and just push everything to a central HA
Does anyone use Aqara smart wall switches? I'm trying to grab the event when the switch is clicked, but I am not getting any events from zha_event in Node Red when the switch is pressed or activated from within HA.
Hello, I have an Aqara H1 EU (No Neutral) and an Aqara D1 Remote. I have issues with both. The wall switch doesn’t return state when physically clicked on right rocker. The remote only send toggle command whether I click on right or left rocker. I think there should be quirks there but there isn’t any loaded in ZHA. If anyone have any idea.
Anyone else having issues using the color picker for Tradfri bulbs? Mine is failing to change the color anymore, after working well for a year or so. Cross posted to the forum here: https://community.home-assistant.io/t/color-picker-no-longer-works-for-tradfri-rgb-bulbs/326558
@desert finch can you listen to ALL events in NR for a list a but, and click your wall switch and see if anything Aqara related comes thru?
From your forum post you're using deCONZ? Not ZHA and not Zigbee2MQTT?
Right - deconz + Conbee II
Does it behave in the deCONZ UI?
When it in DevTools for a device says supported_features: 45, what features is it talking about?
the deCONZ UI is still a mystery to me - but it does control properly in the Phoscon app. Whats weird is, I have 2nd HA instance set up for testing, and I just pulled it into there...and the color picker works.
That's a bitmap for the integration/platform - you'd have to look it up in the source
So something has changed in my main HA instance that would prevent the color picker from working, but I don't see anything in the logs
There's been a few updates to how lights are handled, but I'd have expected the deCONZ integration to be updated for it
Want to see what issues are open (or were open and are now closed)?
- The core (backend) - for HA itself, and integrations
- The frontend (UI) - for cards and display issues
- The Supervisor
- HassOS
- The documentation
Finally, don't forget to check for any alerts
I'd check for known core issues
Hi! I'm new to HA and just installed deconz and conbee 2. I've succesfully added an Ikea smart plug. It works in deconz but I can't find it in HA. Any idea on how I can find it?
I want to create an automation in HA that uses the smart plug that I've added in deconz
Thanks, Can't find it there. I have a list of items, but nothing that is the smart plug
You did install and configure the deCONZ integration?
Yes, and I used the Phoscon interface and added the switch there
It works there, and I have restarted HA
It works now, I had added the Addon and configured it, bit not the Integration.
You were right, I thought that configuring the addon was all that needed
Something strange just happened to my deconz. I have a raspberry with hass OS and a raspbee 2 and after restarting it just now Im getting an error in my integration. The logs are saying
`Logger: homeassistant.components.deconz
Source: components/deconz/gateway.py:282
Integration: deCONZ (documentation, issues)
First occurred: 1:30:59 PM (5 occurrences)
Last logged: 1:32:19 PM
Error connecting to deCONZ gateway at 172.30.33.2`
But my gateway is not down, I can access it via the addon and go in to Phoscon and see all my devices
Pressing "Configure" on the deconz integration gives me
ERROR Config flow could not be loaded
Espressif is releasing an ESP with zigbee/thread/bt https://www.cnx-software.com/2021/08/03/esp32-h2-risc-v-wisoc-announced-with-zigbee-3-thread-and-bluetooth-le-5-2/
I'm using zha with a Sonoff Coordinator flashed with Tasmota. The zigbee devices work for a time and then go offline. I have 5 zigbee router devices spread across the house to provide connectivity. Everything else HA has been flawless up to this point. Not sure where to start troubleshooting as I do not see any sort of pattern and have no method to reproduce the issue.
Check your Zigbee and WiFi channels - the Sonoff coordinator can take itself out easily, it's really not a great choice
Enable https://www.home-assistant.io/integrations/zha/#debug-logging and take a look at what's logged. If you're not sure what to look for, just filter all the lines that contain zigpy|zha|bellows and upload the log file somewhere.
@molten linden Can you comment on where you think ESP's new board fits within the existing Zigbee ecosystem? My initial thoughts is that much of ESPHome's functionality will be easily ported and this will seriously reduce the amount of cycles required to write zigbee firmware. Am I on the right path here?
I have no clue 😂
Honestly just see as them pushing into a low energy iot position that competes with TI, SiLabs, Nordic and I guess NXP 🤷🏼♂️
Interesting... I just completed a firmware project for CC2562P2 in Code Composer Studio that was primarily UART and some C. We spent an entire day trying to get the UART setting correct as they were not as we would have liked, but ESPHome makes writing this firmware REALLY easy (https://esphome.io/components/uart.html). The abstraction of so much of the harder systems programming makes ESPHome doable for even guys who don't write code or C for a living.
I wonder if they'll use their own radio. Their own Zigbee stack 😲?
Hey Guys can does anyone know if its possible with ZHA to change the sensitivty level of a xiaomi aqara vibration sensor. I saw information for Zigbee2MQTT but nothing specific to ZHA. Thanks
Has anyone integrated the Mijia Light Sensor with ZHA? Was it a pair and go operation?
The Zigbee 3.0 light sensor? It should "just work".
Yes, measures light level - I can't find any mention of someone using it with ZHA only DECONZ and MQTT
Never even knew it existed but yeah most of the xiaomi mijia stuff just works
Awesome, I'll take the plunge, thanks 🙂
@fluid escarp Maybe there is a lot of others out there like me that dont know much about if its not mentioned much out there.
I'm having an occupancy detection issue with the Aqara motion sensors in Z2M:
- Sometimes they will both detect occupancy immediately, other times it will take as much as 10 seconds of constant motion.
- One will work, and then the other won't, and then they'll switch places.
Using the ZZH! with 4 x CC2531 routers spaced around my home.
Most people don't know most things. That's normal 😄
@silent lintel Are you sure all of your zigbee network is functioning correctly?
10 seconds from reporting clear... or 10 seconds from the last time they reported motion?
10 seconds of me waving my hand in front of the sensor for it to go from clear to occupied
yes but is the sensor reseting to off before expecting it to go on again?
Okay I must not be understanding, lol sorry guys. If the sensor is untouched for lets say 10 minutes, sometimes it will detect occupancy the moment i wave my hand in front of it. But, sometimes it's like nothing is happening
you have both outcomes after waiting 10 minutes?
right
What happens if you wrap your hand with tin foil and wave in front of it?
Lol. Wait you're kidding right?
I just wanted to make sure that I was understanding you correctly here. Did i answer your question in my follow-up; i.e "resetting" = going from clear to occupied?
I guess my question is, isn't that a distinction w/o a difference? If it hasn't reported motion, then it would be reporting clear, no?
No... they detect changes in lights, so waving something shiny will be more reliable.
It's the reason why some sensors will go off when there's a reflection, like a car going past your window.
Well that explains the phantom triggers I've been getting. TIL!
Yes. Well I think so anyway. 24 devices on the network, and only these two sensors are giving me trouble.
Not directly, one of them is next to a window
Well I would try in a more removed location to see if you have similar results the sun can interfere with most motion sensors as it considers the sun a heat source
Just as a test
Or swap their locations. See if the one that worked stops working, and the one that didn't work starts working. Then you'll know if it's the location.
Thanks Mono and beatified!
Swap in new batteries if you have any
The reported percentage is useless so I usually change them when the sensors start misbehaving
Also consider that a hand to close to the sensor may not be as effective in triggering as a simple walk by the sensor accross its horizontal field of view as. If walking by doesn't trigger almost instantly somethings is wrong
Ah gotcha! I will do that, as i have lots of batteries.
A volt meter if you have one would solve that problem right away. anything below about 3.1 volts would be suspect
I have one of those - was an A/V tech in a previous life!
there you go. I have had similar things happen when voltage was low
Hey i just wanted to make sure. Arent these batteries 3v? so wouldnt that make below 3v be pretty much brand new?
I believe with full voltage they are around 3.3
CR2032?
But when voltage gets a little on the low side you can start seeing weird stuff happen
yes
I just popped one fresh out of the box and it's like 2.99. It could be an old box i suppose
Yeah thats what I would condier bad
off to the store for a new box
well maybe not hold on
okay
I'm trying to look up the voltage right now
I think the nominal voltage is 3.0 but a fresh battery is more like 3.3 or 3.4
but double checking
The curve looks something like that for 'button' batteries.
look at about 40 secs in
and when a battery has a load on it the voltage drops according to that load.
yeah I have one here that reads 3.36
Oh wow. Mine is not hitting 3. My "fresh" unopened pack could be 4 years old
3v is fine. Look at the curve 😄
and another is 335
yeah it might work but I have seen issues with low voltage batteries like not being able to pair or odd reading
Like I said if the sensor is drawing more current the voltage will drop quickly
and obviously when sending to the zigbee network it will draw more current
Its a result of internal resistance when it increases (ie when the battery depleats) the voltage drop is higher
That is why the curve shows a progressivly worse battery voltage over the life of the battery. I,m pretty sure that no device will work properly below at best about 2.5 volts
Sorry for rambling
I had a sonoff button that came with the battery in it at 2.8 v and it stopped working after about a day of use
It is not fine. He has 3v with no load. The curve shows 3v under .19ma load, which is quite different, especially for low capacity cells
HI so i just switched from a HueBridge to the Conbee 2 with zha, but it seems quite slow. When i trun off a group of lights the dashboard is not updated properly. Lights are all out but some are still shown as active in the dashboard.
Here is an example, i turn off all in the list via one click. lights are out but the UI still shows some as on: https://ibb.co/0c4S0bL
Hello everybody, i'm new here and i hope i found the right spot to place a question.
I have a HA-Installation right out of the box, added some Homematic-IP, and everything worked fine.
Now i added a zigbee-stick. two of them to be true, a TI-Stick and a Conbee II.
I installed the integration "zigbee home automation" and connected it with the TI-Stick. Everthing fine.
I installed the integration deConz and connected it with the conbee II. Everthing fine too.
i liked the look and feel of the ZHA more, so i connected all deviced (4 lamps and 5 plugs) to the TI-Stick, and was happy with that.
Now i started to buy more equipment. bought a sonoff zbmini, work fine.
bought a MoesGo smart dimmer, and the trouble started.
the dimmer can be connected to the zigbee network, but only a device is created, no entity.
if i connect the dimmer with the conbee to deCONZ, both (device and entity ) are created.
i have no idea, why deCONZ is creating both, and ZHA only creates the device. can someone point me in the right direction?
b
ZHA needs a quirk to deal with the tuya things
It also will just send events I believe
whats the model and manufacturer for the dimmer?
ok, that means, i have to build a lot more HA-knowledge, to make it work if i want to stick with ZHA?
It's a MoesGo Zigbee Dimmer Module
@icy musk posted a code wall, it is moved here --> https://paste.ubuntu.com/p/TqP4kWsdqk/
wait, i found it:
"manufacturer": "_TZE200_la2c2uo9",
"model": "TS0601",
ok, thanks. you are a great help. have a nive evening.
TS0601 has a quirk in ZHA, looking now to see if that manufacturer code is there or not
its not
lol might be as simple as adding it if the signiture matches any already in there
if there already is a TS0601 dimmer it might be as simple as that
TS0601 is used for so many different device types for some reason
looks like it may match the one in here. https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0601_dimmer.py
maybe, maybe not
Thank you for the assistance. This points me in a good direction to start from. Enabling logging now. 🙂
anyone using aqara motion sensors have problems with them eating batteries? one of mine seems to destroy a battery every couple of months. the weird thing is that it's on the stairs, and i have 2 on the stairs, and the other one has no problems despite them both being triggered. As soon as I put a battery in this one it seems to report the battery level is low. I think it just needs to be binned/trashed. Any thoughts?
Nope, no battery issues here
nada
@mystic imp what type of sensor is it that is eating batteries?
Sorry just read again motion
Is it possibly getting false triggers?
Ignore the reported battery level and just use the sensor until it starts misbehaving
They seem to report effectively the open-circuit battery voltage, which doesn't translate all that well to a percentage
Mine hover at the same voltage/percentage for the entire year
@fresh shard not getting false triggers - if it was my lights would be going on and off all the time
it's just weird that the same sensor goes dead
and the other one on the same stairs is fine
i need to swap the battery from the dead one to the good one and see what happens
Yeah maybe you got a bad batch of batteries? Another user seemed to have some batteries that were only at 3 volts brand new
could also be. i didn't buy the best batteries
but it would still be weird that only one of the sensors would kill batteries, but not another
anyway, will do some sleuthing this weekend
Yeah it would but you might just try taking the battery out of your "good" motion sensor and put it in the "bad" sensor and put a "new" battery into the "good" sensor just to verify that the sensor is the problem
I’m thinking about getting ahead of my install and using the container instead of the os. I have 15 zigbee devices paired to a usb stick. Will they just show up when I re addd the zha integration or do I need to re pair all of the devices?
so, i'd assume if your container is picking up the same data, it should?
Make sure you transfer /config/zigbee.db
ok cool, that's good to know
Just updated to HAOS 6.2 and lost connection to zigbee2mqtt. After checking I have the latest version of the addon (I do) and a lot of restarts it eventually connected. No idea why it took nearly 20 minutes to connect. \
Hey everyone. After the latest update, HA stopped receiving "energy" measurement from the zigbee2mqtt. I mean, I still have "energy" as attribute inside the device, but separate entity, created by the integration, has "unknown" value right now. Does anyone experienced the same issue?
Latest update of what?
Both HA and z2m integration
@ember crag When using Discord's new Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Click @ ON to @ OFF to stop this - on the right side of the compose bar.
What did you upgrade them from?
I didn't noticed specific version before the upgrade, but I guess it was previous version, since I install updates as soon as they come out
Latest thing that was updated - it's Hass OS
All my automations based on consumed energy have been destroyed, i guess a lot of users faced with such problem too. Anyone? Any solution?
Yeah, I have the same issues. Found the following related items
Thank you! I’m not alone, so it might be fixed soon.
@winged granite posted a code wall, it is moved here --> https://paste.ubuntu.com/p/8RtD9c6r82/
@winged granite Rule #6: Please do not post codewalls (text longer than 15 lines) - use sites such as https://paste.ubuntu.com/ (just not Pastebin).
Please take the time now to review all of the rules and references in #rules.
ZHA? Zigbee2MQTT?
zigbee2mqtt
Check the Zigbee2MQTT logs then
Also, /usr/src/homeassistant/homeassistant/components/zha/core/gateway.py says ZHA
So, if you're using Z2M you also have ZHA configured and need to remove it
i guess i am not aware of the exact definition of ZHA. before migrationg everything to homeassistant I used openhab and there everything was done by zigbee2mqtt because i thought there is no other possibility without buying a gateway. after starting homeassistant for the first time, i instaled the zigbee integration and i was able to "search" for new devices and discover them automatically. on openhab i configured everything manually. i thought it worked because the mqttbroker and every configuration on the devices stayed the same and the zigbee integration was able to see that 😄
i just give the zigbee integration the path to my usb connector and i was able to discover
so i guess I used ZHA without knowing
since the zigbee integration is able to discover everything perfectly i think there is no need for zigbee2mqtt anymore (openhab zigbee binding was not able to discover zigbee devices automatically)
Make sure you're not running Zigbee2MQTT any more - it could be that it's still running and locking the stick
u r exactly right man. awesome 😄 i guess the zigbee2mqtt docker container started faster than the homeassistant container, locked the stick and HA was not able to use it. after stopping the zibee2mqtt container and restarting homeassistant it worked instantly
thank you very much for your kind help!
No worries, now remove it 😄
Hi all, i'm running home assistant os 6.1 on an ESXi server. I have a zigbeeZmqtt usb dongle, however, my dongle is not detected by HA
Have you configured passthrough in ESXi?
Also, what dongle? What version of ESXi? There's known issues with specific combinations
@sour shadow Esxi6.7 and the dongle is CC2531 USB dongle, passthrough is enabled
Just updated to 2021.8.0 and it appears toe fixed
Confirmed - issue is fixed
This was a good idea. There is a state change being produced, but ZHA never fires an event.
Should all zigbee lights fire a zha event when changing state or does that require a quirk?
If the bulb supports attribute reporting then it should be notifying you when its color changes
It's a switch.
This is the only zigbee wall switch I've used (all mine are z wave). I figured zha would fire a status update message. I ended up getting the raw message from HA to accomplish what I wanted.
All of my switches and bulbs send an on_off or current_level attribute report when their state changes for any reason. What switch are you using?
Aqara no neutral single rocket
Is it a switch or a remote?
The one i have does send updates. With a slight delay because it is an end device. Make sure you have good coverage for that switch, as it is not a router
I do. It works great, and I can guarantee it does not send any zha events.
No matter how long I wait.
and does anyone make a US zigbee switch that is a router?
It would not send zha_events, it's not a remote, but it does up date state if operated manually
I see. So zha only sends events for remotes?
Yes. for devices with entities you should get state updates, as long as it's not a hue bulb
I see. I read through all the zha docs I could find on the site. Is this documented somewhere? There might be additional information I'm missing and need to learn. (appreciate all the help too).
Snap after upgrading to the new version ZHA won't start anymore
/
@formal flame posted a code wall, it is moved here --> https://paste.ubuntu.com/p/cqqCFFWSGX/
@formal flame Rule #6: Please do not post codewalls (text longer than 15 lines) - use sites such as https://paste.ubuntu.com/ (just not Pastebin).
Please take the time now to review all of the rules and references in #rules.
if i flash new firmware on zzh my zigbee2qmtt devices that i have remain paired?
excelent ty
I think it has something to do with Zigpy which won't start anymore 😦
Trying to remove the integration and readd it doesn't work.
Removed te zigbee.db and now the plugin will start but have to readd all my devices
oh well
Do you have a backup of zigbee.db?
yes i have
There are a few devices in it that are missing node descriptors and zigpy-deconz doesn't handle that case properly
It's a bug and will be fixed but if you want to send me your DB file over a PM, I can try fixing those device entries
What software can i use to open the DB?
It's an SQLite database
was worried as hell on the update to dsm7 for my conbee II stick, 3 commands, plug out, plug in and reload integration in ha, done, all 3 nas systems are running dsm 7, let's touch wood that it keeps running smoothly
Ah glad someone else confirmed that, I read the release notes and assumed they meant all USB devices would stop working for some reason
I also have the issue that zigbee is not longer working with the latest version 😭 :
Logger: homeassistant.config_entries
Source: components/zha/core/gateway.py:152
First occurred: 10:17:25 AM (1 occurrences)
Last logged: 10:17:25 AM
Error setting up entry HubZ Smart Home Controller, s/n: C13024BB - Silicon Labs for zha
Traceback (most recent call last):......sqlite3.DatabaseError: database disk image is malformed
How to fix this? I have many zigbee devices and don't want to reconfigure all of them. Thx
Good morning 🙂 is it possible to somehow deactivate the "energy" tab from the latest update?
That doesn't seem like the same issue
But if you PM me your zigbee.db file, I can try to take a look
Thanks again for fixing the corrupted DB file for me.
Fixing a corrupted SQLite database isn't something that can easily be done automatically so I've documented the process for anyone else who wants to try fixing the database disk image is malformed error on their own: https://github.com/zigpy/zigpy/wiki/Troubleshooting#sqlite3databaseerror-database-disk-image-is-malformed
@violet dagger I did add support to zigbee2mqtt to a few devices. Can you put it in https://zigbee.blakadder.com/ ?! The support was been add in new official update
all devices are listed here
https://github.com/Koenkk/zigbee2mqtt/issues/8010
You gotta ping him three times. Twice is bad.
@dry fossil thanks for the non requested advice ⭐. Do you have anything more contributive to say or do to this comunity?
Encouraging people to not be annoying to others is part of the role
i support this message 👍
Hi guys... One of my Samsung motion sensors (z2m) suddenly went unavailable. When hitting reconfigure I got this in the log: Error Failed to configure 'bathroom_motion_1', attempt 1 (Error: Bind 0x286d97000108ddec/1 msTemperatureMeasurement from '0x00124b0022a54f2a/1' failed (AREQ - ZDO - bindRsp after 10000ms) at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35) at listOnTimeout (internal/timers.js:557:17) at processTimers (internal/timers.js:500:7)) Any idea what might have happened? This started after the Core upgrade today, if relevant at all
Poking the button, no... will do
No effect. New battery also didn't work. It seems to have fallen off, but why? I have a mains device within about a meter
Can I re-include without first deleting it?
When hitting reconfigure, device needs to be awake, but will z2m also need to permit join?
Ah... I did delete it, but it finally seemed to be the battery after all. Had a red percentage sign after rejoin. How would I next time repair without delete? Just hitting permit join and set it in paring mode?
Yup
Hm, I take back that with the battery... It now started to blink the percentage first and now shows null for battery...
But it did at least show occupied, so progress
Seems to have corrected itself again... Thanks for the help!
Something very strange with that one. Now blinking a red % sign again and showing None% in HA...
Then likely the connection to the mesh is weak/unreliable
LQI of that is 75, and all other devices are similar with exception of the bathroom dimmer which has 105...
Something is not right, agreed. I'll try a hard reset and see if that helps...
Well, reset of device and host restart did not help. can try rollback of the upgrades, dunno what else to try...
Adding a router near it
I have one withing just a meter. I can touch both devices at once... 🙂
And it is mains powered
Then check for interference
Oh... How would I check that? I don't run a wifi, but perhaps a channel change would do good... tedious to rejoin everything tho... And it can of course also be the sensor itself... I wish there were a magic button that would tell if it was broken... lol
Seems to be more stable on core-2021.7.4, will leave it for a while then try the upgrade again. Too strange it's just one of them acting up
There's a bunch of useful pinned messages
Got it. Will dig through them. No issues so far on 7.4, will upgrade again soon, keen on testing out the new This... 🙂
This is ridicoulous. After upgrading to 8.1 three other sensors malfunction in the exact same way, but the first works this time. I don't know how to debug this. Until 8.1 I had a stable mesh and network... 😦
Good news, if you're using Zigbee2MQTT HA has nothing to do with it
Also known as correlation is not causation
No, that is at least something, agreed... But seems incompatible, or somewhat at least. Will see if I there is an upgrade to the zzh stick then. 🙂
Would it be possible to update it through z2m gui or will I have to reflash? Hope not??
Updating the stick is reflashing it
Yes, but can it be done in the gui? Didn't find it... I though flashing it would also wipe it...
Ok, thanks. Will dig in. Always a mystery, but what would life be without them, right? Thanks!
took battery from dead motion sensor, put in good motion sensor, good sensor didn't work. so battery definitely dead. if this sensor kills another battery quickly i'll probably replace it
xiaomi aqara human motion
Hi there,
I have just installed 3 Aqara D1 double wall switches with neutral (QBKG24LM), connected them via ZHA integration and the Conbee II stick. Switches work fine and instantaneously but I can’t use any of additional press types (double, triple or long) and no events are fired when watching for zha_event in developer tools. Has anyone been able to push out more of those switches? If yes, how?
Hi, is there anybody, who have IKEA LED1836G9 bulb connected to zigbee2mqtt?
I want to set Power_on_behavior (enum), but it has no gui
Hi. I've installed Zigbee2MQTT using this link/guide: https://github.com/zigbee2mqtt/hassio-zigbee2mqtt#installation
However as soon as I start the addon, it crashes and I get '502. Bad Gateway' on Zigbee2mqtt tab and I have to restart it but it never works.
what about log?
What could be possible causing it? I have brand new fresh install of HA and this is first addon I'm trying to run
yea about that, where do I find the log? Configuration > logs is empty
The add-on logs
Log:
Zigbee2MQTT:error 2021-08-05 18:30:28: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'
Alright it tries to access ttyACM0 but my sleash stick on actually running on another remote system and I'm sharing it over TCP using ser2net.
When I edit this file:
/config/zigbee2mqtt/configuration.yaml
and change/dev/ttyACM0totdp://...and reboot zigbee2mqtt addon, it wipes out my config and restores back to/dev/ttyACM0
and what happend if you edit config via supervisor?
I edit using the file editor addon
It says save successful but as soon as I reboot zigbee2mqtt addon it overwrites my config back to default
I broke my zigbee2mqtt config about 2 minutes ago using supervisor, so try that way
ah, I see what you mean
didn't know you can edit it there as well.
Alright let me try it
[19:14:15] INFO: Handing over control to Zigbee2mqtt Core ...
zigbee2mqtt@1.21.0 start
node index.js
Zigbee2MQTT:error 2021-08-05 19:14:35: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-08-05 19:14:35: Failed to start zigbee
Zigbee2MQTT:error 2021-08-05 19:14:35: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions
Zigbee2MQTT:error 2021-08-05 19:14:35: Exiting...
Zigbee2MQTT:error 2021-08-05 19:14:35: 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:102:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
at Zigbee.start (/app/lib/zigbee.js:67:27)
at Controller.start (/app/lib/controller.js:106:27)
at start (/app/index.js:94:5)
[19:14:35] INFO: Handing over control to Zigbee2mqtt Core ...
😦
Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
Either your adaptor isn't at the address you said it is, the stick is broken, or the stick doesn't have the firmware.
How can I check stick's firmware? When ordering it from slaesh I selected zigbee2mqtt firmware to be pre-installed on it
in the meantime, let me do tcpdump to see if I'm even getting anything from HA system
He has instructions for flashing it
alright I can see my ser2net server being hit by my HA server using tcpdump, so that bit is working. Gonna try checking the firmware
just reflashed the stick using the python3 script but no luck, I still get the same problem in the log
Then simplify your setup so you can isolate the issue. Forget ser2net... what happens when you plug it directly into your HA host?
not possible, I'm running my HA on a standalone Hyper-V host
I guess I could dig out another Pi4 from my drawer and try running it directly from it, but it's a pain
However, tell me one thing...
I want to run my HA as a Hyper-V VM because I use Veeam to do backup of all my VMs automatically. Is it possible to setup some sort of automatic backups of HA if I was to run it all directly on Raspberry PI?
I basically don't want to spend all this time setting things up and then have microsd card failure...
and I also don't want to manually having to backup microsd cards
Sure, there's Snapshots if you use HAOS
However, don't use a Pi if you have proper hardware
hah yea If I could only pass-through the stick on Hyper-V I would
I think ser2net may need some special config for slaesh's stick
If you're running a Pi for the stick, run Z2M there too
I guess I could, how do I then get it to talk to HA?
Over MQTT, same as currently
Just run Z2M somewhere else and have MQTT do the last leg of the communication.
There doesn't seem much point having ser2net forward stuff to your HA host if MQTT can do that.
It's a simpler setup and doesn't require anything fancy like the extra config puddly mentioned.
I only got my hands on HA yesterday and still trying to get my head around all of it
It's rainbows and pixie dust
aka glitter... looks nice until it gets everywhere and frustrates you 😛
hah that's my experience with every open source linux based software I ever tried
an absolute pain in the a. to get started, but works great once you figure it out
HA is pretty good, but yeah, the learning curve is more of a wall
right now I am at the pain in the a. stage hah
Gotta do this for ser2net to work with Slaesh's stick, due to it using DTR and RTS to enter the bootloader: https://github.com/cminyard/ser2net/issues/46#issuecomment-792986696
yea it's mentioned on zigbee2mqtt documentation as well but I am running ser2net v3.5 so I don't have the yaml file, only the .conf one
Won't work with your old version then, that option was added only a few months ago to the ser2net repo
ugh
what repo can I find it in for ubuntu server 20lts
ah whatever, just gonna install deb file
Looks like it hasn't even been released yet. Either you'll have to build ser2net from source from the Git repo, run Z2M on the hardware with the stick, or use some sort of proxy that does this (https://github.com/tim-brand/zigbee2mqtt-adapter-proxy)
ser2net pre-depends on init-system-helpers (>= 1.58)
init-system-helpers is installed, but is version 1.57.
alright I will just run zigbee2mqtt on the Pi to which I connect the stick
I will come back if I have more problems, thanks
Idk why slaesh decided to add this pin toggling to skip the bootloader, no other stick does that
Once I have it setup, I assume I just go to configuration > mqtt settings > and put ip address of my zigbee2mqtt server in "Listen to a topic", right?
No
😦
You point Z2M at your broker
The same broker that HA is pointed at
https://www.zigbee2mqtt.io/ is a good read if you haven't found it already
If you're new to MQTT, it's a pretty typical publisher/subscriber system. A bunch of different things can all subscribe to topics on a broker, and all get notified when something else publishes to those topics.
I'm new to all of it
Z2M and HA both 'watch' the broker, and can both publish and subscribe. Which topics they do it on are all handled for you by Z2M (and the autodiscovery magic it does)
MQTT makes life "easy" since everything talks to your broker
ok, but what is the 'broker'?
Mosquitto, typically
If you don't have one yet, you need to run one 😄
Yes
You've seen spy movies, right? Z2M is Spy A. HA is Spy B. Your broker is the trash can they pass messages via.
Mosquitto is a trash can 
That's a slight oversimplification, since it implies there's polling going on, but hopefully you get the idea that it's a centralised data store that other stuff can talk to without being aware of each other. Spy A never needs to know who Spy B is.
ok so to sum it up, I setup zigbee2mqtt on my Pi where the stick is going to be connected to, and then point it at my HA server running Mosquitto broker addon, correct?
Yes
And point HA at the same broker trash can.
If I understand the config correctly, the addon listens on port 1883 by default
Yes
🥳
All you have to do with Z2M is enable support for Home Assistant and the native frontend
Once you've enabled the frontend 99.9999% of your Z2M config can be done in that UI
Well, no, but it can be behind it
@stable dew posted a code wall, it is moved here --> https://paste.ubuntu.com/p/XzNkDPsZhK/
@stable dew Rule #6: Please do not post codewalls (text longer than 15 lines) - use sites such as https://paste.ubuntu.com/ (just not Pastebin).
Please take the time now to review all of the rules and references in #rules.
running zigbee2mqtt directly on Pi where slesh stick is connected to still doesn't work:
I did about an hour ago
it mentions some button to press, there appear to be some button hidden behind the case
CC1352P-2/CC26X2R1 launchpad coordinators only: press the reset button on the device #
Check the port, yes. Flash the adapter, yes. Checking the port, yes...
Go through it step by step
how do I verify what firmware is my stick running on right now
to make sure my flash was actually successful
The flash tool should include a verify step
well I only get this
Connecting to target...
CC1350 PG2.0 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8
Primary IEEE Address: 00:12:4B:00:22:98:85:29
Performing mass erase
Erasing all main bank flash sectors
Erase done
Writing 174440 bytes starting at address 0x00000000
Write 96 bytes at 0x0002A90810
Write done
Verifying by comparing CRC32 calculations.
Verified (match: 0xfcee5e84)
Last line
yea it tells me it was successful
So, step #1 done
wait hold on
I have flashed it with zip file instead of the hex file lol
hurr durr
I GOT BLUE LED
Zigbee2MQTT:info 2021-08-05 21:08:11: Connected to MQTT server
Zigbee2MQTT:info 2021-08-05 21:08:11: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
hacker voice:*** I'm in***
well that would explain to me my ser2net didn't work before
Just a little 😄
I thought the flashing script will be smart enough to warm me I am flashing the device with trash
It's all just 1's and 0's.
