#zigbee-archived

1 messages · Page 155 of 1

lilac wharf
#

yeah

fluid escarp
#

seems to have now configured - but still no action

#

hmm - i'm using the new sonoff zigbee3 dongle plus so it may be something to do with that

lilac wharf
#

nah, shouldn't matter

fluid escarp
#

the battery is now showing N/A and the action but I have the link quality

vestal atlas
#

EZSP? I tried to play with that and Z2M, but in order to get some buttons to work I had to edit the adapter code to subscribe to specific group and endpoint on startup. After wasting a few hours on that I just threw the coordinator in a drawer. It's experimental for a rason and I didn't have time to make it work better

#

(with ezsp i mean a Silicon Labs coordinator)

lilac wharf
#

nah, the adapter they're using is CC2652-based

vestal atlas
#

ok, it just sounded very familiar so had to chip in 🙂

fluid escarp
#

HA recognizes it as this:

Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller

fluid escarp
#

I moved from a conbee to the sonoff

golden vessel
#

The Conbee firmware changelog states: "ZCL Default Responses for ZCL profile wide commands, e.g. attribute reports, and IAS notification status change commands are now handled directly by the firmware. This prevents devices from becoming lost when no host application runs, e.g. after a restart."
Does the EZSP fw on zha-ng also does this? I ask because I've seen a few devices getting unavailable after power outages with ZHA+Elelabs stick

lofty junco
#

hey yo 🙂
Any recommendation of a zigbee bridge which I can use for philips hue and thermostates? 🙂

#

Oh, and I still haven't decided for which zigbee thermostates I should use, if you have any tips, I would really appreciate 🙂

lilac wharf
#

anything based on the CC2652 would be a good choice: ZZH, slaesh's stick, sonoff zb 3.0 dongle (that word...sigh) plus, etc.

lofty junco
#

Just making sure: The amazon introduction mentions that this bridge can connect to devices that SONOFF produced. But this is not a "only those products", it can connect to all zigbee devices, right? 🙂

molten linden
#

I make (and others) cc2652 Ethernet connected coordinators. Stay away from WiFi. I’m out of stock now but more supplies on the way. And have a waiting list.

lofty junco
molten linden
#

It’s WiFi is used concurrently it’s how it connects to the cloud or if flashed to work directly with HA with HA

#

Also if used with sonoff’s cloud it is limited to what they support

lofty junco
#

oh....OH... it doesn ot have ethernet cqavle conenction? wow, didnt see that, will look for another one then

#

@molten linden any recommendation for me?

molten linden
#

They have a Ethernet version now but it’s still limited by their cloud/app

#

Can be flashed but still limited I think

lilac wharf
lofty junco
molten linden
#

Forced unless you flash the esp using the pins on the pcb

molten linden
#

That’s the Ethernet version still tied to their cloud unless flashed

#

Ewelink=sonoff

lofty junco
#

huh? that's another company, not as before

#

oooooh

#

wow

#

ok, thx

molten linden
#

Other Ethernet ones on Amazon will be tuya

#

If you want local focused plug and play with HA (ZHA) or Zigbee2mqtt. Then you have to go with the niche sellers like me or others

lofty junco
molten linden
#

I don’t they are likely not branded tuya

#

Zigbee 3.0 hub will find them I think

#

Again they only work with tuya cloud. again can be flashed I think.

lofty junco
#

uhm.... wait, i thought the enforced cloud would only be with sonof....

#

@molten linden can i PM you? don't want to spam this channel that much ^^°

molten linden
#

Pretty much any zigbee hub/gateway on Amazon/ AliExpress will be tied to a cloud out of the box

#

Sure

#

I’m honestly not trying to market my stuff 😂

vestal atlas
#

@molten linden you are located in the US right? Have you sent stuff to EU?

molten linden
#

Yes have sent many orders to the EU.

polar frigate
#

Is there a preferred zigbee stick that the community typically uses? I bought a zwave one, but I'm finding out there's basically no zwave light bulbs 🤣

lilac wharf
#

anything CC2652 based is a solid choice

#

ZZH, slaesh's stick, tube's stuff, etc.

polar frigate
#

ty

shadow valley
#

i've bought a wireless zigbee cc2531 cc2540 sniffer bare board packet protocol analyzer module.. can this be used as a zigbee controller?

lilac wharf
#

CC2531 and CC2540 aren't the same thing (the CC2540 is bluetooth). which one do you actually have?

#

the CC2531 can be used as a zigbee coordinator, but it's not a great choice

#

the CC2540 cannot

lofty junco
#

@lilac wharf hey 🙂 since you mentioned Slaesh's zigbee stick earlier... (i can't post images here it seems), which antenna should i go for if I don't care about it beeing longer? Does longer mean "better signal" here and the smaller ones are only if you can tradeoff a little bit less signal for less space usage?

lilac wharf
#

Just a heads-up...in the past, slaesh was very bad at communication and it took forever for some people to get their sticks. Not sure if that's gotten better. To answer your question though, antenna gain is how directional the antenna is. The higher the gain, the more directional (flat) the signal is radiated. Second, the longer antennas in this case probably help with range a little bit. I wouldn't stress about range from the coordinator though: a properly-designed zigbee network has enough routers where the coordinator's range wouldn't be an issue

lofty junco
lilac wharf
#

Zigbee is a mesh network

#

Most mains-powered zigbee devices act as routers (repeaters)

lofty junco
#

ok, so the antenna should not be a problem then, but since it doesn't cost more I think, i could go for the longest one, right?

#

ah wait

#

no, i want the shorter ones then, so i got LESS gain which makes my signel LESS flat

lilac wharf
#

Depends on your environment really

lofty junco
lilac wharf
#

I'd be more concerned with the number and placement of routers than the gain of the antenna

lofty junco
#

well, i mave many lights from philuips hue, which should act as repeater?

lilac wharf
#

You don't need to quote me with every message; I can follow along just fine 😄

lofty junco
#

ah, sorry, got it 🙂 Just a habit^^

lilac wharf
#

No prob. And yeah, in zigbee terminology a router is a device that carries messages to/from end devices

#

An end device is a zigbee device that's not a router (battery powered devices, for example)

lofty junco
#

ah, ok that makes sense

#

if Slaesh isn't the most reliable source, can you recommend some other stick/source?

#

I was talking a lot to "tube" here via DM and I want to try running HA on my synology server via docker and forward the zigbee stick, plugged into the synology, into the docker instance.

lilac wharf
#

I've liked my ZZH, but I'm not sure about its availability currently. You'd want to make sure you can pass through USB devices with your NAS

#

Otherwise you'll want a serial-over-ethernet coordinator

lofty junco
#

Any recommendations/links regarding those serial-over-ethernet coordinators?

lilac wharf
#

i don't have experience with that type of coordinator unfortunately. they're maybe less reliable than USB coordinators because of the network dependency, but i can't imagine they're unreliable

lofty junco
lilac wharf
#

the pings... seriously... at least click the ON button to change it to OFF

lofty junco
#

AH FCK, SRY X_X

#

OH NO, I DID IT 2 TIMES ALREADY X_X

lilac wharf
#

but anyway, yes, they will get an IP address like any other network device and then you point your zigbee software to that coordinator instead of a USB device

lofty junco
#

I'm trying hard to not do it ._.

lilac wharf
#

tbh part of the issue is the default is ON for some reason

lofty junco
lilac wharf
#

🎉

lofty junco
#

you should not have gotten a ping for that last message

#

OMG, it really is ON by default for EVERY message

lilac wharf
#

yup

#

there's really no reason to use that quote feature unless there are multiple conversations going on at once though

#

or when following up hours later

lofty junco
#

I want to make sure you immideately see my message and answer fast. I want you to stop everything else you might be doing or thinking, so the pinging should notify you of that :3

#

kidding xD

lilac wharf
#

😂

lofty junco
#

saw some coordinators but they are all out of stock rn :/

autumn warren
#

Once a day (usually while I'm asleep), HA will lose connection to all of my Zigbee devices and show them as unavailable in the UI. Reloading the ZHA doesn't fix it, but restarting HA from settings does. What should I be on the lookout for?

molten linden
#

Check the zha docs and turn on debug logging. That should at least show a clue

astral totem
#

I'm trying to flash the cc2530+2591 z-002 model with an esp8266.

How long will it take to the firmware to be uploaded? Guide says "few minutes". How many minutes are few minutes😂

#

I'm worried because I see the upload stuck on 1

astral totem
#

oh i did it 😄

autumn warren
#

@molten linden Now to wait until tomorrow

golden vessel
#

ZCL Default Responses on EZSP?

earnest agate
#

Has anyone had any success getting multiple switches working on a Moes Touch Switch 3 Gang EU (Zigbee ID: "TS0601"; "_TZE200_tz32mtza")? Using ZHA and have partial success by install an existing ZHA quirk (ts0601.py - class TuyaSingleSwitch) and adding in the specific model number but this only gives control of the first switch. I also have the 2 Gang variant and again only the first switch works. Before I start on a very steep learning curve just wanted to check if anyone else had solved this already.

jade mist
#

Hi There, I am migrating from a zigbee2mqtt docker container to the zigbee2mqtt addon for the HASSOS supervisor. I was able to port over most of the config I have been using so far, but the z2m addon YAML editor does not seem to accept "devices:". How can I then port over my device friendly names?

jade mist
#

actually, how to just keep all devices attached without needing to re-join them piece by piece (that would be a pain considering the number of devices I have)

#

so now I copy the database, the state over and put the devices friendly names in devices.yaml. That seems to work. any reasons not to do it like that?

random basin
#

I'm looking a garage door solution w/ zigbee due to the extension range zigbee has compared to WiFI which does not have coverage in my garage

molten linden
random basin
#

@molten linden thanks tube.

balmy ginkgo
#

Anyone use lidl lamps? I see they are certified so i guess they should work. 470lumen though :/ (E14)

#

And colour.. i just need white realy.

lilac wharf
#

...certified?

#

oh zigbee 3.0?

#

unfortunately even zigbee 3.0 devices can deviate from the zigbee spec, but i wouldn't expect a lamp to do anything strange

balmy ginkgo
#

Seems 470lumen is pretty default. I see Ikea and Lidl both are 12,99.

lilac wharf
#

sounds about right for that form factor lamp

balmy ginkgo
#

Yeah just apity they are not direcional coz they will all go horizontally into ceiling lamps

astral totem
#

ok guys I don't know what to do. I flashed the router firmware on this cc2530+2591 (z-002) but i'm totally unable to add the device to zigbee2mqtt. No sign into the logs.
I tried the power cycle as well. Any suggestion?

near echo
#

lets clear the basics first, the co-ordinator Permit_Join is set to true?

near echo
#

click on the network map and check the logs, does this device show up?

#

just to check this is the only zigbee network you have nearby right?

astral totem
astral totem
near echo
#

well, then flashing may be incorrect, flash again

astral totem
#

i flashed that twice. one time with ccdebugger, one time with esp8266. both upload successfull. no results

#

some in an italian home assistant chat suggested me to try the custom firmware from ptvo instead the one from koenkk. i'll try

near echo
#

just to double check if you have all the devices, use MQTT_Explorer or similar and publish this mesage zigbee2mqtt/bridge/devices considering you have not changed the defulat, it should return all your devices

astral totem
near echo
#

No - this is just q query to Z2M, by using any MQYT client, you could execute this and check for the devices

#

However, if you do not see the device in the Z2M frontend, likely it would also not show up. But I have seen sometimes that interviweing still goes on when it does not show in frontend but the device query returns the data. So might be worth a try

#

BTW your co-ordinator is?

astral totem
#

however i do not have this topic on my mqtt zigbee2mqtt/bridge/devices

near echo
#

have you changed your base topic? Anyway, are you able to see all your existing devices via frontend?

astral totem
near echo
astral totem
sick osprey
#

Hey, so i have installed HA as a docker container on my raspberry and connected a ConBee2 to one of the USB2 Ports. Installed/Added the Zigbee Integration and selected the Zigbee Controller in the Device list. Somehow tho the device can't find any Zigbee device around it (i even put it 10cm away from it). Since this is a raspberry pi swap, i know that the Zigbee Controller and the Zigbee devices work together. Is there a way to do a health check or something?

lilac wharf
#

Are you using a USB extension cable?

sick osprey
#

no, connected directly to the raspberry

#

top left USB Port

#

Logs (while searching) don't show anything either

lilac wharf
#

Would be good to use an extension cable

sick osprey
#

because of wave-interference?

#

i mean, it did work that way on the old raspberry pi 3

lilac wharf
#

Potential EMF from the pi

sick osprey
#

but there's no command or anything to see if the conbee2 is healthy and not restricted in any way?

balmy ginkgo
#

man whyzigbee smart lights so pricey, 12,99 for 1 and that's the cheapest i found.

balmy ginkgo
#

why you in here then 😉 (i know)

#

i think i will just get 4 lidl, and 4 ikea. same prices.

sick osprey
#

ty!

austere patio
#

If you are experiencing interference due to the Conbee being too close to a SBC or a USB 3.0 port, it may just appear to "not work"

oblique ivy
#

some of my bulbs are in consistently wrong state when calling scenes. If I edit the scene it shows correct state, but the transition fails so I have to manually turn them off and recall scene. Anyone got a clue why that happens? (Zigbee2MQTT using Conbee II on HA OS)

mellow geode
#

I had similar issues when the Conbee needed to send out too many commands (ZHA)

#

Maybe switch to a Texas Instruments (CC2652 based) stick(?)

balmy ginkgo
#

when i 1st started with it i read sometimes it may even be necessary to uses little extention cord to get the conbee (or similar usbstick) further away from the device. I have not needed it. But i have one ready to go should the problem arise 😛

sick osprey
#

ok, i have some additional questions.. do i need to set anything when using a docker container HA to use it with a Conbee2? like i said, i have added the zigbee integration and added the conbee 2, i've seen a serial number and there is a IEEE. but when i check the visualization i get the info that the device is offline and the LQI and RSSI is unknown.

#

but since HA gets a SN, the infos should bridge through to the container, right?

#

it even shows me a new discovered device/integration when i delete the zigbee integration and restart

ivory hound
#
    devices:
      - /dev/ttyUSB0:/dev/ttyUSB0
#

something like this

#

without that your docker container can not access your (usb coordinator conbee)

#

ofc you have to find out where your device resides

sick osprey
#

but why does it see the serial number etc then.. i'm wondering

#

kk, will try that 👍 thanks

ivory hound
#

i do not know that particulars of your install

#

do you see conbee 2 in your home assistant?

#

or how do you use it I imagine ZHA?

sick osprey
#

So when i delete the zigbee integration an restart i see that a new device is discovered with the zigbee integration.. saying this: ConBee II - /dev/ttyACM0, s/n: DE24033xx - dresden

ivory hound
#

ok

#

so then is how you set up ZHA

#

if you can see the conbee 2

#

but btw

#

did you update conbee 2 firmware to the latest firmware

#

?

sick osprey
#

yeah first time i've searched for the integration and chose that path once i was asked

ivory hound
#

as a note conbee 2 is shit usually, there are some ppl that use it successfully

sick osprey
ivory hound
#

i think maybe it has something to do with maping

sick osprey
#

i switched to a rpi4 a few days ago

ivory hound
#

what i can say for sure is docker is working geat because i wuse it without any issues

sick osprey
#

so should i still add the --device... ?

ivory hound
#

i think they did something to ha cotainer

#

and this is why you are able to see it

#

usually if you do not do device in a docker container, you can not access that device

#

and thats it

#

since you can see it

#

it might not be needed

sick osprey
#

yeah that's why i was wondering

ivory hound
#

my advice is update that firmware on stick

sick osprey
#

maybe it's a read only restriction tho

#

mh ok 👍

ivory hound
#

btw

#

your user

#

from where you created that container

#

for example pi

#

or whatever you use

#

has admin docker privileges?

#

sudo usermod -aG docker userhere

#

and restart'

sick osprey
#

jep, pi is in the docker group

ivory hound
#

docker logs home-assistant-container-name

#

see if you can find anything

sick osprey
#

2021-10-17 20:38:08 WARNING (MainThread) [zigpy_deconz.zigbee.application] No watchdog response

#

there's a lot of these

ivory hound
#

yep i think something isent working as it should

#

did you have deconz integration before zha

#

?

sick osprey
#

i had it for a short time, like 5 min max.. but didn't even connect to anything since i don't have the decons program installed

#

well at least the version seems to be pretty new

#

2.13.01 / 10/6/2021

#

mh ok checked the logs again after resetting everything etc.. no new entry that is associated to zigbee/conbee

ivory hound
#

from what i've read

#

the problem is from unstable connection of your pi with usb device

#

i think your raspberry pi4 might be shit

#

update the firmware on that too

#

also

#

change the usb port

sick osprey
#

rpi4 is up to date

ivory hound
#

what do you mean only 2 usb ports?

#

there are 4

sick osprey
#

but only 2 usb 2.0 ports

#

the other 2 are 3.0

#

and they are already occupied in my setup

#

also 3.0 seems to also have problems with the conbee

#

i'm tempted to try the device attribute ..

ivory hound
#

duno what to say

#

i believe more and more is something wrong with pi itself or with how is configured

#

i do not use a pi

#

they are weak sauce 🙂

#

at least for porpose of home assistant

#

because i do use them as my primary, secondary dns, nginx reverse proxy, etc

sick osprey
#

dunno, never had problems with the raspberry itself

sick osprey
#

mh ok so i setup a deconz container on the same machine and it's clearly able to see the conbee

astral totem
near echo
#

Too bad.

echo prairie
#

Hey so im trying to integrate my "smart meter" into homeassistant. My power supplier supports zigbee devices that have "Smart Energy Profile 1.1 Standard" Does anyone know any compatible Zibgee usb adapters?

trail gorge
#

That's just standard, any should work

#

What device is it exactly?

#

Seems Zigbee Smart Energy Profile 1.1 has been around since 2011, so you should be good with any zigbee hub

echo prairie
#

Oh okay, they made it seem like it needed some smart specialized support or something haha. Have any good zigbee hub recommendations?

sour shadow
#

Well, hubs probably won't support the smart meter

#

Now, if you were to use a Zigbee integration... they may

trail gorge
#

By hub I meant like CC2531

#

or the raspi bee stick thing

sour shadow
#

No, not that one

obsidian sandalBOT
#

Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.

Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference), and the HUSBZB-1 uses an older chipset so should be avoided.

trail gorge
#

Yeah that was the list I was thinking of, thanks!

#

If you can't find anything except CC2531 like I did at first it will work just fine with up to 20 devices and it had no lag for me as far as I can remember, personally I now really like the conbee though so I'd recommend going for something in that area

echo prairie
#

Thanks, ill give the conbee a go since it looks pretty well built and used by many 🙂

trail gorge
#

If you can't find it you can pick any as an intermediate stick, and you can then use them as a second...I forgot the proper terminology, but as a second zigbee "router" to extend your network so it's not a waste 😄

sour shadow
#

Just be aware that the ConBee range seem to be very hit and miss for those not running deCONZ

#

Some folks have no issues, some have lots of them - YMMV

mighty river
#

currently i'm using the CC2531 stick as well but since i have added the last 5/6 devices i'm noticing also some delays and strange behavior.
I'm now considering the CC2652 based stick, is that just plug and play or do i need to migrate all the devices to the new stick?

sour shadow
#

Depends on which Zigbee integration you use

#

Zigbee2MQTT will transfer the pairings, not sure about ZHA (but there's a pinned message about backing up the pairings and then restoring them to a new stick)

mighty river
#

I'm uzing zha

mighty river
rustic orchid
austere patio
quartz flume
#

So I have been using z2m for a while now, and now I want to use a ia Cam like those of aquaria, but as expected, z2m can't support video, how could one use home assistant with ZigBees cams?

lilac wharf
#

I don't think a zigbee camera even exists. Zigbee doesn't have enough bandwidth for that sort of thing

#

Not video, at least. maybe a very low res photo

quartz flume
#

I see, makes sense, in that case do you know a smart cam which can detect a person and use that information in a automation on home assistant?

#

I want to keep a light on as thheres people in the room

#

Mov sensor are not enough for if I stay still it won't detect me. It is for the living room where I fall sleep sometimes

#

Any ideias?

molten linden
fresh citrus
#

Hi! I've got a HA Blue with ZHA and a Conbee II stick and about 85 Zigbee devices.
I've started to see a lot of these messages in the log. Where should i start troubleshooting?

Source: /usr/local/lib/python3.9/site-packages/zigpy/device.py:320
First occurred: 13 October 2021, 20:21:32 (**3219 occurrences**)
Last logged: 10:45:46
Failed to parse message (b'198100300000') on cluster 1280, because Data is too short to contain 1 bytes```

And unrelated to that i have
``` Logger: zigpy_deconz.api
Source: /usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py:307
First occurred: 13 October 2021, 20:22:13 (**224 occurrences**)
Last logged: 10:38:02

    No response to 'Command.aps_data_indication' command with seq id '0xc0'```
ivory hound
#

and it happens because of some aqara or osram bulbs (in my case)

#

it is nothing to worry about it just bug the hell out of me so i ditched ZHA

#

also if I would be you, I'd forget about that conbee and choose another coordinator for ZHA just my two cents

fresh citrus
ivory hound
#

that failed to phrase is because they don't fallow some standard and don't send the awk message

#

I runned ZHA successfully with Elelabs Zigbee USB Adapter

#

for me that worked very very nice

#

when i sw from conbee to Elelabs Zigbee USB Adapter it was like another integration

#

a lot of problems just vanish

#

but you do need to update firmware on Elelabs Zigbee USB Adapter

fresh citrus
#

I actually do have some Zigbee issues on and off.

ivory hound
#

swich to v8

fresh citrus
#

So you're running ZHA now? With the Elelabs Zigbee adapter?

ivory hound
#

you will have them as long as you use that conbee shit

#

not quite like i said

#

i dich it

#

i am on zigbee2mqtt

fresh citrus
#

Ooh. Yeah i've heard of that.

ivory hound
#

but i promise ZHA works great with Elelabs Zigbee USB Adapter

#

if you dont tinker with stuff to much

fresh citrus
#

I'd try if it i can find it in my country.

ivory hound
#

zha is more then enough

fresh citrus
#

Mostly just trying to bind remotes to bulb groups and blinds.

ivory hound
#

with note is elu-13 now not elu-12

#

on that link you can find where you can get it

fresh citrus
#

Right. So i'll try to get elu-13 and then firmware flash it.

ivory hound
#

but to be honest i'd get it from their site

#

yah about that

fresh citrus
#

Guess i need to re-pair all bulbs etc but it could be worth it.

ivory hound
#

i'll give you two more resources

#

this is the firmware update utility

#

you will use this to flash the firmware file

#

those are the firmware files:

fresh citrus
#

Thanks a lot man! Really appreciated.

ivory hound
#

you basically

#

need to first switch to v8 version

#

and then

#

flash this file efr32mg13p-v8-6910-115200.gbl

#

that is the last version

#

if you get that coordinator and need help

#

give me a shout i'll help you out

fresh citrus
ivory hound
#

have fun

fresh citrus
#

@ivory hound could i just swap the stick out without re-pairing all the devices? I should be able to right?

ivory hound
#

I don't believe so

#

sry

#

I am not 100% sure

#

tbh

#

you should ask around

austere patio
fresh citrus
austere patio
#

deCONZ can still talk to the radio

fresh citrus
#

Aah. Alright, might be worth a shot.

full oar
#

i was having issues with a zwave device on my husbzb-1, so i upgraded to 10.6, since then i cannot successfully add my zigbee intregration back for it zigbee My log gets flooded with message below.

  • [0x2A4F:1:0x0702]: async_initialize: all attempts have failed: [DeliveryError('[0x2a4f:1:0x0702]: Message send failure'), DeliveryError('[0x2a4f:1:0x0702]: Message send failure'), DeliveryError('[0x2a4f:1:0x0702]: Message send failure'), DeliveryError('[0x2a4f:1:0x0702]: Message send failure')]
  • [0x2A4F:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('[0x2a4f:1:0x0006]: Message send failure'), DeliveryError('[0x2a4f:1:0x0006]: Message send failure'), DeliveryError('[0x2a4f:1:0x0006]: Message send failure'), DeliveryError('[0x2a4f:1:0x0006]: Message send failure')]
  • [0x2A4F:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('[0x2a4f:1:0x0008]: Message send failure'), DeliveryError('[0x2a4f:1:0x0008]: Message send failure'), DeliveryError('[0x2a4f:1:0x0008]: Message send failure'), DeliveryError('[0x2a4f:1:0x0008]: Message send failure')]
night flax
#

Hello I have a supervised home assistant mounted on a raspberry and I would like to put zigbee I have lidl smart home and I am thinking of changing to intel nuc what zigbee do I need?

sour shadow
#

Well, one of ZHA or Zigbee2MQTT - see the pinned messages for a summary of the differences

#

Then a Zigbee stick - again see the pinned messages

kind arrow
#

If I'm using Z2M, should I then be controlling my lights by publishing messages, or is it okay to call the light service?

lilac wharf
#

You can treat it like any other light

tender hedge
#

is there some recommended list for good zigbee devices for different categories? currently i'm looking for a eu in-wall switch with 2input2output

quartz flume
limpid ibex
#

Anyone experiencing trouble with Tradfri Remote (the round ones) and ZHA. The side (arrow) buttons are no longer being seen by zha_event :/

twin crag
#

Hey all, is there any way to force update devices from Z2M that are (or are not) in HA?

#

I can see two devices that I've added (Aqara D1 2 gang wireless) and they are not visible in Home Assistant.

vapid oar
#

Hi everybody, I have a problem with adding my zigbee stick to home assistant (running on raspberry pi 4). The zigbee stick is a compatible CC2531 stick. After adding the integration ZHA and selecting the correct USB port the integration keeps loading and doesn't complete. I get the following error in the logs of HA: 2021-10-19 21:32:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/configuration
2021-10-19 21:32:10 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/configuration
2021-10-19 21:32:12 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/configuration
2021-10-19 21:32:13 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/groups
2021-10-19 21:32:14 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/devices
2021-10-19 21:32:14 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/groups
2021-10-19 21:32:15 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/configuration Any one any idea on what's wrong?

obsidian sandalBOT
limpid ibex
#

It seems ZHA is resolving the wrong quirk for Tradfri remotes:

{
  ...
  "class": "zigpy.device.Device" // should be 'zhaquirks.ikea.fivebtnremotezha.IkeaTradfriRemote'?
}
#

Anyone know of a workaround to manually resolve another quirk?

austere patio
limpid ibex
worthy lodge
#

@empty hedge hey grumpydave, raspbee is making me a grumpygav. did you get it to work in the end.....it's driving me to distraction! raspbee is on the end gpio port, config.txt edited with the pi3-disable-bt thing plus the urtthing=1 uncommented. downloaded deconz, set to AMA0 in config, configured the intergration to allow sensors.....got into phoscon, scanned for sensors..........big fat nothing (my device was in scan mode)......hoping you got somewhere????!!!!!

austere patio
limpid ibex
austere patio
#

Ah, nice

limpid ibex
austere patio
#

Did you get a custom quirk working as well? Or did you end up editing the package directly?

limpid ibex
#

I'll make a pull request this week to fix

#

Custom quirk, small fix in the clusters when matching as non-color-controller from the top of my head

#

I had OTA set to true in zha config, maybe a new firmware that slightly changed the signature?

austere patio
#

That could be possible, they check for updates once a day

limpid ibex
#

From the 3 implementations that currently exist I gather that this has happened before 😋

balmy ginkgo
#

Tomorrow my lidl zigbee lights come in.
Tuya-disaster already unsubscribed andlights disabled. Bye bye cloud-hell. Welcome LAN-bliss.

#

Will gift them to someone i think.

uneven ruin
#

people never mention that clouds have a tendency to disappear

trim bay
#

I have a Xiaomi switch which of course only shows the battery life in the entity but I can create an automation where single, double and so on clicks are detected. Unfortunately the automation doesn't every trigger and no traces can be found. How can I see what's going on?

#

Never mind. It worked after restarting HomeAssistant.

primal blade
#

What is a recommended zigbee coordinator that works (easily?) with HA?

blazing dagger
#

What's the cheapest way to increase the range of my dongle? I'm going from floor to floor and Im getting inconsistent connectivity on the top floor

lilac wharf
#

more routers

#

plugs, bulbs, etc.

merry lion
#

Hey, i am using ZHA and created some groups directly in ZHA integration. It works well until i add more devices (more than 6 or 7) to the group. Is there something i can do/change to make it more reliable? Or is that just the way ZHA works, because there is no QoS like in MQTT?
What i actually want to do: i created a script which turns light on/off every second (flashing) and only stops when a state changes (alarm_control_panel state). First i added all entities manually, then i created the ZHA group, but that did not change anything significantly.
Is there another more reliable way to create scripts and automations with more entities?

balmy ginkgo
#

Got my LIDL zigbee lights. What a deLIGHT -harhar- after having the Tuya-wifi hell.

#

and 2 Aqara

violet dagger
#

that is super off since lidl lights are still tuya

balmy ginkgo
#

There, fixed it.

violet dagger
#

that is indeed another world completely

balmy ginkgo
#

After Tuya's recent error rendering all my lights disabled except trough the app. Yeah.. was time to say goodbye. I originally bought them thinking they would integrate with HA nicely. But they needed cloud wich i didnt realize at the time. I was not yet wise to the annoying practices of some companies to lock stuff down.

#

Anyway bliss bliss.. 😛 Will gift my Tuya to someone probably.

violet dagger
#

to your enemies? 🤣

balmy ginkgo
#

ponders "Who do i hate enough to bestow upon them the gift of Tuya wifi cloud helll"

vapid oar
#

Hi all, I'm still have trouble with my zigbee stick. A CC2531 Texas Instrument zigbee dongle. When adding the ZHA integration it doesn't complete the setup, but no error is shown when setting up the integration. in de logfiles i see this: Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:89
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 19 oktober 2021 21:58:19 (5 occurrences)
Last logged: 13:29:24

[548239713760] Received invalid command: zha/configuration
[548228963632] Received invalid command: zha/configuration

quartz flume
#

Hey, so i'm looking into this for a while but i just find incomplete information and mismatching, did anyone ever done some DIY Zigbee components?

Ignoring the part to integrate in HA, what would one need? Let's say i want to build a smart relay or switch something simple like a hello world of zigbee world, what one would need?

I didn't find the hardware, and some information of the steps needs. Could anyone give me some light on this ?

quartz flume
# quartz flume Hey, so i'm looking into this for a while but i just find incomplete information...

Looking into Texas Instruments, it seems i need their IDE to do it for their chips, for the other manuf, i would need their's, but i found some says about a extra hardware to write on those chips, also any github project with DIY zigbee components, it never share the source code of the firmware, why that? Is forbidden?

I have also find some says about just tells the IDE to why GPIO of the chip what it would be, more or less like we do with ESPhome inside homeassistant where we usually don't code it, just use the devices.

So, i'm reaaaaaly confused on how to do a simple zigbee component. Any helps? Pleaase

quartz flume
#

No one ever done a Zigbee diy?

violet dagger
#

quite the contrary

quartz flume
#

Could you share at least a first steps with me? I'm really confused with it, and, i have to buy any compoennts in china for it is the only one whict deliver zigbee controllers in my country

quartz flume
molten linden
#

As far as I know yes. most of the SDK's have examples in them

#

(SiLabs and TI are the 2 I've looked in)

#

you would need to start with those end extend them. SiLabs has a bootcamp series on developing with their SDK

quartz flume
#

Nice, that explains a lot.

But, do you need some extra hardware to write to the chips? Lets say i have a cc2530, what would one need to write to it?

In esp you only connect to USB, and that's it.

With a cc2530, would something like that too?

molten linden
#

generally you need a J-Link debugger

#

I have a segger j-link mini-edu which works with the SiLabs stuff and should work with the Ti as well for the 2530 they have. debuggeer too but I don't think the 2530 is supported in the current z-stack sdks as it's pretty old. Once the chips have a bootloader they can be flashed over serial in most cases

violet dagger
#

you can flash CC253x with an ESP8266

molten linden
#

SiLabs has a started Dev kit for $99 now which has everything you need to start developing.

quartz flume
molten linden
#

I always forget about that as I haven't touched a 2530 for a few years.

quartz flume
#

and what cheap chip you recomend to diy projects? With battery in mind?

molten linden
#

I make coordinators and routers with the CC2652P2 and the SiLabs MGM112/MGM212 modules I don't design/work with the bare chips. and not working with enddevices.

quartz flume
#

That make sense, you make coordinators to sell?

molten linden
#

yes - tubeszb dot com

quartz flume
#

Nice, will take a look

molten linden
#

no stock right now - waiting on an order of cc2652 modules that are held up in shipping. and the SiLabs modules are impossible to get right now.

quartz flume
#

I know, I usually get mine from aliexpress they have impossible to match prices. But one of the 6 i brought was defect, so i'm looking into better options.

molten linden
#

if buying in quantity check with the manufacturers via alibaba.

quartz flume
#

Usually do not hjave a good value for me in brazil, because of delivery rates, most of aliexpress doesnt have prices for delivery, here. So from 50$ to 0 makes a huge dif for me. The dollar to brazillian is 6 to 1. So, expensive

near echo
#

if you want to start development with zigbee - in my opinion, get a dev kit from TI (CC2652 or CC1352p) and start with their examples from their CC platform.

austere patio
near echo
molten linden
#

yes better said than what I said

austere patio
vapid oar
#

@austere patio Ok, i've enabled debugging and got some results. It's a seriously long list. What's the best way to send it? don't want to contaminate the threat with a gigantic log file.

austere patio
vapid oar
#

@mystic copper https://dpaste.org/khQ1 I think this is everything, I've tried to remove all other log info from other sensors.

#

@mystic copper It's directly connected to Raspberry pi 4 usb on which HA runs.

austere patio
#

Do you have a USB extension cable?

vapid oar
#

@mystic copper USB to USB? No, but it's located in the 'meterkast' which is a small closet where the power of the house gets in, and also the wifi router is. could that be the problem for the connection? I can move it to check

#

i can move the whole HA RPI unit

austere patio
#

It's likely it being plugged straight into a Raspberry Pi, not the WiFi router (unless your network is on a non-standard WiFi channel and you're transferring a ton of data)

vapid oar
#

@mystic copper ok, yes, the zigbee dongle is plugged directly into the Raspberry Pi

austere patio
#

Try an extension cable. You can probably "trick" the dongle to form a network by temporarily wrapping it in foil (or maybe pinch the PCB antenna with your fingers??) but your network may experience problems until you fix the underlying problem

vapid oar
#

@mystic copper I've moved it to a different room. Let's wait till it's booted, unfortunatly i have to think of a different way to connect the utility meter now, if this is the solution

austere patio
#

Your dongle ideally should be centrally placed anyways, especially with such an underpowered coordinator like the CC2531. If you have a second raspberry pi, you can make a DIY ethernet coordinator by exposing the CC2531's serial port with ser2net or socat.

vapid oar
#

@mystic copper I don't have any zigbee devices yet in the network, only the dongle, i'm waiting for the first devices to arrive.

#

@mystic copper but are setting up the dongle in the meantime

austere patio
#

I would recommend you get a USB extension cable anyways, your Raspberry Pi produces 2.4GHz interference from its USB 3.0 ports and from the close proximity of the coordinator to the Pi itself. Plugging it straight in isn't recommended for any coordinator.

vapid oar
#

@mystic copper ha, ok. i'll definitely get an extension cable in that case. In the mean time I can't reach HA now 😛

#

@mystic copper thanks for the help so far anyway, I'll look into it a bit more, trying to get HA up again first. then getting the hardware setup in a better way and retry.

austere patio
#

Good luck

fierce fiber
#

Anyone have experience with a hacked Lidl Gateway and how reliable/usable it is?

#

Found this guide for it

vestal atlas
#

I have one, but outside from rooting it and flashing new firmware I've not used it. Just quickly played with it seemd to do the job, I did hit some roadblocks but that was in the ezsp implementation of z2m. It's been in a drawer since so cannot comment on reliability

fierce fiber
#

Alright

#

I figure I'll give it a try, see what happens.

random basin
#

I have a zigbee device an aqara vibration sensor bind to home assistant via the zha integration using a conbee II usb dongle.my device get into unavailable state. presumably I guess it gets into sleep mode and no automation associated to the sensor work. how can i prevent this?

inner cave
#

guys, how to invert covers position? currently HA uses position_open: 100, but my cover have state open on position_open: 0, on z2m panel it works great, but on HA itself it doesn't.

z2m, covers were autodiscovered,

do I have to manually define cover in configuration.yaml ?

calm turret
#

Does anyone know if the Frient Electricity Meter is working now in ZHA?

worldly plinth
#

Anyone have any luck pairing hue bulbs with a zigbee controller? I thought all I had to do was delete the lights from the hue app and that would put them back into pairing mode but the controller can't see them still.

blazing tartan
#

suggestions on REALLY BRIGHT led zigbee bulbs?

#

2700k color preferable

vocal vortex
blazing tartan
#

I found these, 940, I currently have 800lm bulbs, dark painted walls, kinda dim

vocal vortex
#

so you are looking for br30 lights?

main sparrow
#

Using Zigbee2Mqtt:

Device: IKEA ICPSHC24-10EU-IL-1

Problem: After turning on through z2m, lights are flashing and just stop when choosing the right effect. (The stop_effect doesn't work all the time though)
Switching them on by cutting power and turning it on again does nothing at all.

Does someone have experience with that kind of problem ?

blazing tartan
#

I actually dont know what the socket is called, TBH

vocal vortex
blazing tartan
vocal vortex
#

is this a flood light, can light, normal lamp etc

blazing tartan
#

ok so yeah e26

#

its in an ikea cheapy lamp lol

#

which has the cord sticking out at the top :/

vocal vortex
#

and you only care about 2700k right? you don't want white spectrum or rgb?

blazing tartan
#

I cant post pics, dumb.

#

I just like soft white, long as it can be set to 2700k, I dont care if its RGB or otherwise

#

man the colors in that photo are bad, it doesnt look like that irl,. its a better looking green lol!

vocal vortex
#

hue has a 1600 lumen bulb. but since it's hue it's expensive. ikea has a 1000 lumen white spectrum that is nice. 90 cri.

blazing tartan
#

Yeah i dont want to buy any hue stuff, its a lightbulb, not gold

vocal vortex
#

agreed. i have quite a few of the ikea bulbs

lilac wharf
#

Damn good hardware PWM on the hue lamps though

vestal atlas
#

Hue can dim down to insanely dim values, and their white spectrum range is amazing too

graceful notch
#

Hue is worth their gold though 🙂

#

especially when you use it in a room where you spend a lot of time

obsidian sandalBOT
#

Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.

Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference), and the HUSBZB-1 uses an older chipset so should be avoided.

vocal vortex
jolly narwhal
#

I've seen no reason to buy anything but tradfri CT bulbs

#

Of my 80+ bulbs the only one that has died is a hue, even the GU10 tradfri I use outside survive all environmentals from -30c to +30c ambient

blazing tartan
#

Hue runs on .. zigbee or zwave? I forget

lilac wharf
#

Zigbee

jolly narwhal
#

And Bluetooth

reef aurora
#

is there a way to add non-hue products to a hue hub?

molten linden
#

only the specific ones hue supports like the lutron aurora for example. "friends of hue" or something like that

blazing tartan
#

its too bad about lutron, menards where I live have tons of them, but ALL wifi. No thanks

lilac wharf
jolly narwhal
#

LinkedIn smart plug

last thicket
#

Anyone have the original husbzb fw (5.4.1)?

molten linden
gentle flint
jovial aspen
#

So I’m starting from scratch with a new slaesh coordinator and 3x CC2531 routers

#

I also have a bunch of hue bulbs, in addition to all of my xiaomi Aqara sensors

#

Is there a good guide that outlines best practices for connecting devices?

#

Like routers first, then repeaters (bulbs), then edge devices?

#

Or repeaters then routers, etc

lilac wharf
#

Yeah, connect all routers first moving outward from the coordinator, then pair end devices in place

#

Btw repeater is just another term for router

jovial aspen
#

Ah gotcha

wispy locust
jovial aspen
#

So as I’m connecting my end devices, do I just add them from the main screen in ZHA, or do I go to the nearest router device and go “connect device” from there?

last thicket
sacred mauve
#

hi, i just got the Zigbee USB coordinator v4 CC2652P and i cannot connect (without the Aqara hub) to any of my Aqara devices. Do i need the hub? or is something in my config wrong?

#

i have my permit_join set to true

#

i have my user and password correct

#

my port it /dev/ttyUSB0 per the instructions

austere patio
#

Resetting them and getting them to join a new network can be tricky if you've not done it before, I'd look up instructions for your devices

sacred mauve
#

ok

#

ya still nothin

#

its blinking green so that mean the usb is in pairing

austere patio
#

What Aqara device are you trying to join?

sacred mauve
#

just the button and the temp thingy

wispy locust
sacred mauve
#

switching to usb 3.0 worked

azure tinsel
#

I was wondering. Is there an easy way to backup a Z2M coordinator without all the code typing? With the conbee2 stick it's as simple as pressing the backup button and downloading the bin file

#

I have tube's Ethernet coördinator and browsing to it's up gives me a simple webpage with options I'm not sure why an backup function wasn't added. That would have been allot more user friendly then the way it has to be done now

jolly narwhal
#

I just run rsnapshot on the pi running my z2m that does incremental backups every 4 hours to another server

azure tinsel
#

I mean the coordinator it self if it crashes or dies

#
$ python -m zigpy_znp.tools.network_restore /dev/serial/by-id/new_radio -i network_backup.json
``` it should be done running these commands but where do I run them and how do I connect the coordinator? Do I have to disconnect it from the power and connect a USB cable to it to a PC and run this code in a terminal?
#

Do i need to install additional software from a repository to run it?

#

Like zigpy or something

#

These tutorials are always written with half the information... Assuming the reader knows everything that needs to be done before you can update

jolly narwhal
#

I only ever did that backup when changing radio model

#

Pretty sure it isn't needed when it is the same model / same stick used to migrate

#

But I might be wrong

azure tinsel
#

Maybe tube knows this? I'm not sure either

violet dagger
vestal atlas
#

Whoopwhoop 🍻. Can't wait for the chineese manufacturers to get them start pumping out boards

near echo
#

The h2 just need to hit the market now. Lets see if it steals the legacy of 8266 / 32

vestal atlas
#

h2 does not have wifi so no, but it's a very welcome addition. Will be interesting if shelly will start making zigbee products

near echo
molten linden
azure tinsel
#

Oh that's nice I thought I needed to do something else

#

Great thanks

tender hedge
#

I just added two SONOFF SNZB-02 Temp/Hum. Sensors to zb2mqtt. While they show up sucessfully they do not report any information other than link quality

{
    "battery": null,
    "humidity": null,
    "linkquality": 63,
    "temperature": null,
    "voltage": null
}

Any ideas how i could troubleshoot this?

willow bronze
#

Is it normal for the lumi.remote.b1acn01 to not create an entity for the button press

#

Just the battery entity

sour shadow
#

For ZHA, yes

sharp surge
#

I’ve just started with homeassistant and have a new install in Docker on an RPi 4 with 8GB RAM. The first integration was deCONZ (on another host on the same LAN) which appeared OK, but the dashboard view of all the rooms is regularly “flashing” (I assume something to do with refresh interval) and one room that contains 5 lights shows the lights going alternately on and off. (There is no change in their actual state.) When I look in Phoscon, there’s no change in state, but 4/5 lights are showing as “on” and one as “off”. If I toggle power supply, and/or restart HA server there’s no change in this behaviour. Before I remove these lights from the Conbee II, does anyone have any idea what might be causing this please? Note: I previously used homebridge with this setup and had no issues.

willow bronze
#

without making an automation

#

i dont see an option for device things in developer tools

last thicket
austere patio
sterile pebble
#

I just received the new sonoff USB ZigBee device. Has anyone used it yet with HA? Any setup issues?

austere patio
#

Should be plug and play

last thicket
#

Well maybe not have to, but I didn’t want to wait for whatever the wake up period is so I always reset by holding setup and doing an add device scan

mighty river
#

I just migrated from CC2531 to a CC2652P stick.
I'm running HA on VMware esxi with around 35+ ZigBee devices.
I have used the backup function but I think that did not went so smoothly as I thought, so I have removed the integration and added ZHA again this time with the new /dev/ location of the new stick. After importing all the devices where listed but not working. I have removed the devices one by one and added them again. Some of them needed repairing.

austere patio
twin flint
#

I have a problem with configuring SNZB-01 with z2m. I can pair the device, however on exposures tab the value is just n/a. I’ve tried putting out battery method, and tried so many times. Anyone have an idea to configure properly?

vale sonnet
#

Does a two-gang wide zigbee switch not exist? Im not very versed in electrical wiring, so id prefer a full switch replacement style. I have a room in my house that has fluorescent tube bulbs, so i dont think swapping those is an option

sonic orbit
#

so, this is one of my single-press automation triggers

  - platform: state
    entity_id: sensor.steves_button_action
    to: single```
#
  - platform: state
    entity_id: sensor.steves_button_action
    to: double```
```trigger:
  - platform: state
    entity_id: sensor.steves_button_action
    to: long```
cloud adder
#

hello, i got a zigbee usb hub, can it work connected from usb on router? or do i need to directly connect to HA usb on NUC? thanks

austere patio
bright idol
#

For the second time a device disappears from my zigbee2mqtt. It's in devices.yml, but it doesn't show up in the web ui. Checking the logs, I check mqtt publish related to the device, but all payloads have a null value. Any idea? It is in a difficult position for me to re-pair frequently. TUYA Whd02 Switch.

twin flint
sonic orbit
twin flint
lilac wharf
queen rock
#

Hi all, I am dealing with a weird problem with my z2m + ha setup. I have managed to successfully pair Sonoff SNZB-02 (climate sensor) with z2m but it doesn't show as a device in HA. There are no errors anywhere. I have several other devices like SNZB-01, SNZB-03, TS0601 all working fine and auto-discovered in HA. I am lost, please advice.

bright idol
fierce fiber
#

I have some LIDL Smart LED Light Bulbs that I've connected using the ZHA integration. But the color temperature seems inverted. Is that configurable in any way?

willow bronze
fierce fiber
#

Will do. Is there a list of supported devices anywhere? Just so I'm not expecting something unsupported to work.

mighty river
# austere patio What do you mean by "did not went so smoothly as I thought"?

I expected that when I created the backups from the stick and nvram I could import them on the new stick without pairing them again since that is all listed in the backup. Eventually I ended up with removing the whole zha plugin and added the new one with the new stick. After that I paired all the devices again. It's working all now 🙂

mighty river
#

Build 20210319

willow bronze
#

try 20210708

mighty river
#

yes z-stack 3.30+

willow bronze
#

weird that you have this march version

#

maybe it's a beta?

mighty river
#

i have no idea...

willow bronze
#

but yeah is suggest that you flash january firmware

#

july is a bit wonky

#

and no idea about yours honestly

mighty river
#

in the Visualization it shows already Device is Offline...

#

i will see how stable it is for a week

jolly narwhal
#

I should check for some Lidl bulbs next time I'm in a country with Lidl

mighty river
jolly narwhal
#

There is no Lidl at all in Norway

#

But I visit them in Sweden and the UK

fierce fiber
#

I just hacked their Gateway to work as a generic Zigbee Coordinator

#

Until now I used their own app, but wanted to get things moved to a single place.

jolly narwhal
#

Zigbee2mqtt 4 lyfe, I ran the cc1352 for a long time and now the electrolama

fierce fiber
#

I have yet to invest in one of those, but been thinking about it for a while.

#

I'm mostly into doing my own stuff though, so various ESP-Home stuff.

#

But obviously for bulbs and similar it makes little sense to make my own, so just going with ZigBee stuff at the moment.

jolly narwhal
#

Yeah, I have 120ish ZigBee devices

fierce fiber
#

Very nice, reliable?

jolly narwhal
#

I have one stupid bulb left in my house

#

Yes

#

No issues

fierce fiber
#

That's great to hear.

#

Any specific brand?

jolly narwhal
#

They are controlled by adaptive lighting throughout the day

fierce fiber
#

I've noticed the IKEA ones are very cheap.

jolly narwhal
#

98% tradfri

fierce fiber
#

Alright

#

That's what I've been considering getting in to as well.

#

Since you can kinda rely in IKEA to always be around.

jolly narwhal
#

Xiaomi for door, temp, motion sensors

fierce fiber
#

Where the stuff I got from LIDL might be less "future proof".

#

Xiaomi you got online I guess?

jolly narwhal
#

AliExpress yes

fierce fiber
#

Makes sense

jolly narwhal
#

I do esphome or tasmota for my DIY stuff

fierce fiber
#

I'm not familiar with tasmota. I've done a bit of ESPHome, like written a custom driver for some HP power supplies.

#

But still renting, so not super dedicated yet.

#

Just trying to gather knowledge for when I finally buy a house.

jolly narwhal
#

Need to figure out how to make serial port bridges to WiFi, would be handy in my lab

fierce fiber
#

Hmm, I can't imagine that being particularly tricky. I have a bunch of Ethernet Serial Ports.

jolly narwhal
#

There are a few more systems installed since I took that picture

fierce fiber
#

Something like this seems like a simple solution.

#

Not something I have experience with, but definitely doesn't sound like a difficult thing to do 😄

jolly narwhal
#

Need to look into that when I have time

#

I'm taking all of December off for vacation

fierce fiber
#

I like the idea though, always nice to have accessible serial ports without having to have cables all over.

#

I do a lot of development on ubuntu personally, been trying to see how much remote development I can set up through a raspberry pi, since that's a very simple option too.

austere patio
#

Because if you restored an NVRAM backup of a CC2531 onto a CC2652, bad things may start happening. They're very incompatible.

scarlet bramble
jolly narwhal
#

I have not

scarlet bramble
#

Have just created a zigbee soil moisture sensor, and for sure it is not as flexible as esphome, but fun do to some zigbee diy.

jolly narwhal
#

I need to look into this

scarlet bramble
#

But you need to flash it with CC-debugger or similar. Is not possible to flash that device over usb.

austere patio
#

It's unfortunate that you can't actually write your own firmware for the CC2530 unless you buy an IAR Embedded Workbench license. The hardware is cheap and is capable enough to be a simple end-device even if makes a poor coordinator.

mighty river
austere patio
mighty river
#

i have tried it but that did not work. I'm running a VM so i revert the snapshot that i took and start again.

austere patio
#

In that case, your CC2652 may be in a bad state. The NVRAM backups are not compatible across chips.

#

They have completely different architectures

#

I suggest you take a network backup (not nvram), do an NVRAM erase, and then write back the network backup to ensure you don't have any CC2531 remnants in your CC2652 NVRAM

mighty river
#

ok, does that mean that i need to pair my devices again?

austere patio
#

No, that's not necessary

mighty river
#

pwieeeeew

austere patio
#

If I'm understanding correctly, you took both an NVRAM and a network backup of your CC2531, right? You then restored the NVRAM backup to the CC2652 and then tried to restore the network backup but that failed?

mighty river
#

took both backups restore from network worked properly but nvram did not restore

austere patio
#

Ah, I see. You only had to do the network backup. The NVRAM stuff isn't necessary.

#

Do you have access to your home-assistant.log file?

mighty river
#

ah ok, i will see how the stick operates this week and otherwise i will do a nvram erase

#

yes i have access to my home-assistant.log file

austere patio
#

Do you mind PMing it to me (or just the [zigpy_znp.zigbee.application] Network settings section if you don't want to send the whole thing)?

calm turret
#

I have this generation 1 smartthings motion sensor I’m trying to repurpose now when they bricked their hubs. It pairs ok in ZHA but for some reason it only works as a repeater, no motion sensor attribute shows up. Anything I can do to fix that?

stone monolith
#

hello i hope here is the right place to ask my question. So i have a new Aqara Wondow/door Sensor with zigbee and i use zigbee2mqtt but the Sensor (lumi.magnet.acn001) is not supportet how can i use it now. i m still a newb so i don t know what i can do xD

jolly narwhal
#

It might be supported in the dev branch of z2m already

#

If not adding support for new devices is fairly trivial

stone monolith
#

@jolly narwhal is there a good guide for it you could recommend for that?

ashen coral
#

If TTL serial is good enough. For actual RS-232 you'd need something beefier

sinful swift
#

For two way communication the Global Cache IP2SL bridges are very reliable but not exactly cheap. I've got an example of using ESPhome for one way control of my HT projector using custom Home Assistant services if that is any use.

mighty river
#

Hi guys

#

I have a conbee II paired with ZHA. It's been working great for a number of months

#

I haven't touched my settings over this time.

#

recently I added an opening sensor and suddenly my whole zigbee network is experiencing a delay.. It's not terrible, mayble 200ms, but definetely something has changed

#

has anyone experienced this issue?

#

in fact I added the devicet and removed it a few hours later

sick osprey
#

would it be better to have a Conbee in horizontal or vertical position for the highest range?

surreal tartan
#

Heyy guys i have a problem. i put my home assistant server on a vm, i loaded a backup and everything is Woking but deconz is braking after a few hours every time i start it and i found a solution for the Raspberry Pi to change die boot config.txt but i can't find anything for the vm

https://hastebin.com/firufufade

obsidian sandalBOT
mighty river
#

thanks @austere patio for helping me out yesterday. Eventually i ended up by adding a usb 3.x controller to my vm on ESXi.

jagged crypt
#

Hi guys,
I have homeassistant with a conbee 2 stick attached. Have worked without issues for 2 months. Then suddenly yesterday, out of nowhere, the conbee stick is shown as "Firmware not connected" in the phoscon app and no lights/sensors work. Anyone have any suggestion on what to do?

left magnet
worthy lodge
jolly narwhal
#

Just come to the dark side, electrolama and zigbee2mqtt goaTrueLove

scarlet bramble
#

It is the bright side.

jolly narwhal
#

We have incredibly stable ZigBee networks doge_rkek

worthy lodge
# left magnet I am *exactly* in the same situation. Did you get somewhere ?

From what I understood you need to test if your raspbee isn't actually dead. That entails installing it on a fresh Linux installation and installing manually... If you get life, flash with latest firmware and then reinstall to your haos and cross your fingers. I'm time poor, so was too much for me do if it did not work.

runic forum
#

Hi guys, i'm using a Conbee 2 stick with ZHA. I have a Tuya TRV that is not supported, I got the most basic functionality working (setpoint and teperature value) with a custom quirk (https://github.com/zigpy/zha-device-handlers/blob/master/zhaquirks/tuya/valve.py), by trying other manufacturer that have the same clusters supported. How do I best continue from here to get more functionality working?

empty topaz
#

anyone tried using a hue motion sensor with zigbee2mqtt and a CC2531? I can get it to bind but and report occupancy & illuminance but temperature just reports as null

stone monolith
#

@empty topaz i have a CC2531 and temperatur is working for me. i did nothing special just pair it and it s fine 🙂

jolly narwhal
#

My condolances to you both

mighty river
#

Hello, I am relatively new home automation. I am lost trying to pair IKEA tradfri remotes (5 button one as well as the switch). What confuses me is that the initial pairing worked great using zha and home assistant. But than I got a problem with my usb zigbee dongle (CC2652P) and ha to reset its NVRAM. Now, I can pair light bulbs and motion sensor like before. The ikea remotes are just dead. They do not react to any buttons at all. I can neither pair them with a light bulb directly nor get them into pairing mode. Red led stays off. I tried 10 sec and 4x pressing of the pairing button. I am really lost and wonder if the devices are really broken. Any help would be highly appreciated.

jolly narwhal
#

I have those devices working with electrolama and zigbee2mqtt, so they should work, do you have another hub you can try pairing them to? I don't touch zha, so no idea how those logs work

lilac wharf
#

are the batteries dead in the remotes?

jolly narwhal
#

The 5 button one was a pita to pair with few repeaters

#

But other than that they have been good

mighty river
#

No, they are all fresh from ikea a week old. I have 4 of them. I did measure of the batteries just to be sure.

mighty river
jolly narwhal
#

Yeah no idea, don't touch zha

mighty river
#

Okay, i guess I will try to return them tomorrow than. What would you recommend? zigbee2mqtt looks good to me so far.

jolly narwhal
#

It is great

mighty river
#

Okay, would have been good to know before. I was not aware you can break devices just by pairing them...

lilac wharf
#

that seems highly unlikely

mighty river
#

I agree, rechecking batteries, maybe they went to pairing and drained the energy. 2,2 V is quite drained from the 3V i guess.

jolly narwhal
#

That is quite low

lilac wharf
#

yeah they're dead if they're at 2.2

jolly narwhal
#

2.7 is considered dead I would reckon

mighty river
#

Yes found a new battery. that is it. Sometimes helps to meassure twice.

jolly narwhal
#

For traditional coin batteries

mighty river
#

They probably died over night.

stone monolith
#

so @jolly narwhal you seem to know zigbee2mqtt i tryed to add a new device like in the guide but when i add the external converter file i get an error:

#

zigbee2mqtt@1.18.1 start /app
node index.js
(node:402) UnhandledPromiseRejectionWarning: internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'zigbee-herdsman-converters/lib/extend'

mighty river
#

Thanks a lot! I feel a bit stupid now, i guess it is somehow not great if they loose connection to the main adapter:)

jolly narwhal
jolly narwhal
lilac wharf
#

d||eez nuts||

stone monolith
jolly narwhal
#

That is something I won't touch

#

So no idea

stone monolith
#

so i guess i try to install it in a diffrent way than and get rid of the supervisor setup

lilac wharf
#

the paths in the top of the converter file seem to be incorrect

#

not sure what the add-on version is expecting for that though

jolly narwhal
mighty river
#

Managed to pair all remotes now with fresh batteries and zigbee2mqtt. I am trying binding now and while it seems to work, I get no reaction. Using home assistant works again like a charm now.

Zigbee2MQTT:info  2021-10-24 17:36:14: Successfully bound cluster 'genOnOff' from 'Remote Control Nord' to 'Lampe Küche Tisch 1'
``` It looks good but pressing on/off does not seem to work. Any tips?
jolly narwhal
#

Well, it probably does work

#

But you need to listen for the event

#

It doesn't change the state @mighty river

lilac wharf
#

z2m exposes an action and/or click entity for remotes unless you have that feature disabled

#

i'm thinking they're saying the binding appears to do nothing though

mighty river
mighty river
lilac wharf
#

not all devices support binding, and i'm not sure if z2m would refuse to bind to a device that doesn't support binding

#

you could try creating a zigbee group in z2m, adding the light to that group, and binding to that group instead

jolly narwhal
#

Yeah, binding I have found... Not very stable or useful for me

#

I just use the button presses in HA to do stuff

#

Which is instantaneous

mighty river
#

I will try, thanks and yes using HA is fine with me, but having it work with HA being down would be a nice bonus. Especially while still setting up, playing around and not all is stable:)

jolly narwhal
#

Your HA is down? Ever?

#

But seriously, in the three years I've had HA it's been down less than 60 minutes total, and all of those were my fault

mighty river
#

Ah, it is always my fault. Still having it run on docker on my laptop so far 🙂

jolly narwhal
#

I thankfully have.... 5 or so hosts that can run HA in case the current host is down

#

Or if I need to do maintenance

mighty river
#

@jolly narwhal im just wondering what hypervisor are you using?

jolly narwhal
#

Well... Currently I only use KVM for anything in production

#

But my labs are pure vsphere

#

Most of my stuff is docker these days

mighty river
worldly plinth
#

Does anyone know the exact way to get a hue bulb paired with a zigbee stick?

#

I've been trying seemingly random methods all morning but they don't seem to work from one bulb to the next.

jolly narwhal
#

Well....

#

The absolute best way is to use a dimmer remote

#

In my experience

#

Hold it close to the bulb, press on and off until it blinks, now it resets and connects to another coordinator

#

Did this... 2 months ago when I finally ditched my hue hub that only my wife's office lights were connected to

worldly plinth
#

Yea, I've gotten that far.

#

It's the getting it connected to the new stick that's the issue

jolly narwhal
#

It will do that automatically when it is reset if another coordinator is in pairing mode

worldly plinth
#

I can't seem to figure out how to get them to show up

#

and then it will just randomly pair like 10 minutes later and I'm not doing anything

jolly narwhal
#

I can only speak for zigbee2mqtt, and there if I just have pairing enabled it will automatically pair when I power on a new bulb / reset an old bulb

#

What coordinator do you have? And do you have a strong mesh?

worldly plinth
#

It's a HUZB stick

jolly narwhal
#

With other bulbs connected to it?

#

Or, other mains powered devices

worldly plinth
#

I've gotten two so far

jolly narwhal
#

Then it should be fine

worldly plinth
#

but the current bulb is like 2 feet away

#

and just wont pair.

jolly narwhal
#

What is your ZigBee software?

worldly plinth
#

Maybe I'll trying putting the stick into searching mode and then reset the bulb

jolly narwhal
#

Well yes

#

It has to be in pairing mode

worldly plinth
#

I've been resetting the bulb then searching

#

where do I find zigbee software version?

jolly narwhal
#

Well.....

#

Zha, zigbee2mqtt, something else?

#

Searching makes me think zha, which I don't touch

worldly plinth
#

oh

#

zha yea

jolly narwhal
#

No idea how to troubleshoot then

#

But I keep z2m in pairing mode while I reset the bulb

worldly plinth
#

Sorry I was thinking you meant like a version number or something

#

Yea I'm going to try that this time just to see if it makes any difference

jolly narwhal
#

Don't release the buttons of the dimmer before it does the final flash

#

Hue are the bitchiest bulbs I've used, thankfully I only have like three

worldly plinth
#

Yea I don't. omg...I have like 45

#

😫

jolly narwhal
#

I hate them

#

Ikea 4 lyfe

#

I have like 80 of those

worldly plinth
#

I can get the regular bulbs through my work for 5 bucks each

#

I don't use the color bulbs or anything

jolly narwhal
#

I just use CT

#

For circadian lighting

worldly plinth
#

nice. well thanks for the help. at least i've got a few new ideas now to try lol

#

yea that didn't work either. I guess it just has to wait and then do it randomly for whatever reason

jolly narwhal
#

Might be an issue with zha

#

Logs should tell

#

But no idea

austere patio
worldly plinth
#

@austere patio Yes

#

Pretty much clicking add and then resetting

left magnet
random basin
#

i've conbee II as zigbee controller and i'm having issues w/ Aqara vibrator sensor.
I had to set up as update value 2628000000s in order for my vibrator sensor to not into Unavailable state
however w/ such value the battery of my sensor went from 100% to 80% in less than 5 days.
how do you manage such case?
at the moment my exprience w/ ZHA is really poor

jolly narwhal
#

I haven't gotten around to play with my vibration sensor much yet

#

But it has no disconnect issues with z2m

#

Do you have a strong mesh?

#

And is the sensor in a fixed position?

random basin
#

@jolly narwhal what do you mean for strong mesh?

#

yeah the sensor is in a fixed position - inside my mailbox

jolly narwhal
#

Do you have a lot of mains powered ZigBee devices?

#

Also close to the mailbox

#

And is your mailbox made of metal?

random basin
#

yes mailbox made of metal

#

no just one zigbee device

#

conbee II and one zigbee - the vibrator that's it

jolly narwhal
#

So, you have a poor setup

#

And poor reception

austere patio
#

For my mailbox setup I have a Zigbee bulb in an outdoor fixture nearby

jolly narwhal
#

You might want to look into lora instead, and place the sensory device on the outside of the mailbox

random basin
#

my values are
LQI: 71
RSSI: -85

#

for the vibrator sensor. do not seem so poor.

austere patio
#

LQI is only a rough estimate of how "good" a connection is. It's also not standardized, so I'm not sure how the Conbee calculates it.

jolly narwhal
#

Rssi below -75 is just rubbish

austere patio
#

Regardless, Aqara sensors really have no configuration in terms of updating. They send updates whenever they feel like it, at least once per hour. If your sensor becomes unavailable and you have no other router devices, somehow its periodic heartbeats are not being received by the Conbee, so either it's not sending them due to a bad battery, or you need a router to actually relay the packet reliably

jolly narwhal
#

One device, battery operated is not a good start for ZigBee

austere patio
#

I believe the ZHA default for end-devices is a few hours at least, so your Aqara sensor going unavailable means that you've missed more than a couple in a row

random basin
#

i see guys. thanks a lot for the advice

#

seems then zigbee is not my solution

austere patio
#

Do you have any outdoor lights near the mailbox?

#

Just replace the bulb in that fixture with any Zigbee bulb, figure out a way to get people to not turn the switch off, and you're good to go

random basin
#

oooh yeah that's an idea

#

i have a philips hue there

#

but it's not in the mesh

austere patio
#

Move it onto the Conbee mesh and rejoin the Aqara sensor to specifically that bulb

random basin
#

it's automated via home assistant + hue bridge

jolly narwhal
#

Move everything to one mesh for sure

#

Multiple mesh gives you nothing

random basin
#

but moving the bulb into the conbee mesh will move it outside of the control of philips hue bridge?

austere patio
#

It will but you can control lights directly with ZHA

random basin
#

yeah I see. just asking to understand the fatigue to move everything and reconfigure to ZHA. i have an house with 45 hue devices

#

will require a certain work though

#

so i would like to start to solve this problem and then move ahead little by little and avoid disruption for the family

austere patio
#

Well, a single light shouldn't be that much trouble as long as you don't have it bound directly to a switch on the Hue network. If you use HA for your automations it may be as simple as changing the entity name.

random basin
#

make sense

#

let me try then. thanks a lot guys for the gold recommendation

#

i will let you know

mighty river
#

hello

#

has anyone managed to set up a danalock v3 lock in zha?

night surge
#

Where was that site that showed a bunch of different types of Zigbee compatible sensors/devices?

sinful swift
steel gorge
#

Is there a way to force a device to use a particular router? I've got Ikea Tradfri on/off switches that die in hours when they connect to the coordinator but work perfectly fine when bound to a router.

molten linden
#

you can join it through a specific router, whether is stays with that router or not is up to the devices.

#

with ZHA you do this from the router's device page

steel gorge
#

Yes, that's what I do, but eventually it changes to the coordinator and then the batteries just die. Is there any setting to stop a router or coordinator from binding to more devicces?

lilac wharf
#

This sounds like the old EZSP bug

mighty river
#

where's mono? I kind of miss him around

steel gorge
# lilac wharf This sounds like the old EZSP bug

Is this a bug that's supposed to be fixed or that still exists? Because I've got everything updated: latest version of Core, EZSP firmware 6.7.8.0 I've gone through 30 coin cells in the last 6 months. It's driving me crazy.

lilac wharf
#

Damn

austere patio
#

30 coin cells???

lilac wharf
#

I'm not sure though...I use a CC2652-based coordinator

steel gorge
lilac wharf
#

Ikea sells coin cell batteries...coincidence? I think not

steel gorge
#

😄 haha

austere patio
#

You could disable children on the coordinator, forcing it to rely only on other routers:

zha:
  zigpy_config:
    ezsp_config:
      CONFIG_MAX_END_DEVICE_CHILDREN: 0
lilac wharf
#

Huh, interesting

#

#childfree

austere patio
#

I've never been able to replicate this with any of my IKEA devices with a HUSBZB-1 or any other coordinator

steel gorge
austere patio
#

When you replace the batteries, do you just put a new one in or do you hard reset the device and re-join it to your network?

steel gorge
#

Hard reset and re-join, followed by a reconfigure.

austere patio
#

Which coordinator are you using?

steel gorge
#

HUSBZB-1

austere patio
steel gorge
#

Yes.

austere patio
#

I'll give it another shot. Are your IKEA devices running the latest firmware as well?

steel gorge
#

I think so, at least OTA was set up for them. I'm changing the batteries and reconnecting now. Is the firmware version on the device info page?

austere patio
#

If you have IKEA OTA enabled then they should be

steel gorge
#

The reported firmware is 0x22010631

#

Ok, I tried the childless setup. Let's see how long this lasts.

jolly narwhal
tender hedge
#

I'm running zb2mqtt with a CC2652RB stick in the basement of my house, hooked up to my home-server. since my home-server is in the basement and behind a steel-door, connectivity of my zigbee coordinator to everything else is very bad. there is no sensible place where i could add a router in between. I wonder which other options i have? currently i'm thinking on adding the stick to a PI and let the pi sit in a better place. Are there any other options for me? I really don't want to add another system to my home (the rpi) that i need to manage, as i already run a home-server that works fine and where i can easily add dockers. thankful for any hint!

sour shadow
#

Tube sells network connected CC2652 coordinators

tender hedge
#

iirc everything is out of stock at tube

#

will check

sour shadow
#

Sure, but he has a waiting list

#

You can in the short term likely fake it with some USB over network software on a Pi centrally

tender hedge
#

one question: if i would switch to a pi with my stick, would i have to install tb2mqtt on the rpi itself? or could i run it on my home-server still and somehow connect zb2mqtt remotely?

sour shadow
#

The easiest approach is to run Z2M on the Pi (in Docker)

tender hedge
#

yeah, thats what i suspected. i would rather not want to do this (because of the devops overhead)

sour shadow
#

USB/IP is another option you can explore, but you'll still need to manage that host...

tender hedge
#

sure. ok, will take a look. regarding adding another router. is it bad to make every zigbee device make one extra hop? if it remains in the basement and i add another router, each device would need to travel through that router first to reach the coordinator

sour shadow
#

A single further hop is largely irrelevant

tender hedge
#

ok cool

jolly narwhal
#

Eh, the overhead of managing my pi running z2m is so negligible that I don't even take it into account

#

Just do an update whenever I feel like it

#

I Even run dev branch of z2m and I never have hickups or issues

#

It can be running for months without me interacting

random basin
#

@jolly narwhal made the new configuration discussed yesterday and now the RSSI improved of my vibrator sensor and for the moment the last seen is updated regularly

tender hedge
#

@jolly narwhal sure. it's just more hardware/software that might fail. i want my home-net to be as stable as possible. my homeserver has everything: ups, backups + rollback, automatic updates. it would be convenient for me. anyway, my only options seem to be more hardware in form of a good positioned router or pi with my usb-coordinator.

remote wagon
sour shadow
remote wagon
#

Okay, then I am on the right track; I indeed use add-ons. thanks for confirming.

#

After installing the MQTT add on as well as z2m and configuring the TI stick through autodiscovery, I am getting the following (repeated) error while starting z2m: https://hastebin.com/rubiwenohi

sour shadow
#

Error: Error Resource temporarily unavailable Cannot lock port

#

Something else is using the port you specified

#

What did you tell it to use?

remote wagon
#

The ACM0 port, must be the zwave stick. Ssh into the device and list them?

sour shadow
#

If you have add-ons, you have a hardware menu in the supervisor

#

Use the /dev/serial/by-id/ path shown there

#

Using /dev/tty* means you get pot luck on startup as to what device is what

remote wagon
#

Where in the supervisor is the hardware menu?

sour shadow
#

No idea, don't use it

#

Click around, it'll be there somewhere, maybe hidden in a dotsvertical menu

remote wagon
#

I was unable to find the hardware menu. But the terminal plugin shows me /dev/serial/by-id/[...]cc2652rb[...] etc. I'm feeling confident that is the new one 🙂

jolly narwhal
jolly narwhal
remote wagon
# remote wagon I was unable to find the hardware menu. But the terminal plugin shows me /dev/se...

The add-on starts no problem now, but when trying to connect devices I start with clicking the "permit join (all)" button, which gives the following error Request 'zigbee2mqtt/bridge/request/permit_join' failed with error: 'SREQ '--> ZDO - mgmtPermitJoinReq - {"addrmode":15,"dstaddr":65532,"duration":254,"tcsignificance":0}' failed with status '(0xc2: NWK_INVALID_REQUEST)' (expected '(0x00: SUCCESS)')'

#

Oh, scratch that. I am getting start-up errors again.

#

Following the instructions in the linked FAQ now.

#

For some reason a >- is added to the yaml when the add-on starts is this a bug?

  port: >-
    /dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_3B_6C-if00-port0
sour shadow
#

No, it's not

obsidian sandalBOT
#

YAML is the mark up language used by Home Assistant, consistent indenting (two spaces per level) is key. Here is a primer, and this explains multi-line templates. For validating YAML see YAML Lint.

sour shadow
#

That's a multi-line entry

remote wagon
#

So it was adjusted for being over-width?

#

And the - is the strip op which removes the whitepaces at the end. Okay. But I am still getting that error.

#

Do I need to somehow give the z2m instances access to the HW device anywhere else (aside from its config zigbee2mqtt.yaml)?

#

Found the hardware option btw, it was also in the x2m doc: Supervisor → System → Host system → ⋮ → Hardware

#

Okay, I'm pretty stuck. I tried the FAQ, from SSH I have permission to access the device (of course), but I do not know how to test if the add-on has permission so I am assuming that it is good.
I have an CC2652RB stick and I am trying to get it to work with z2m. It is pre-flashed with z2m as far as I am aware. However I am getting the following error:
Zigbee2MQTT:error 2021-10-25 13:17:09: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
The add-on is nice enough to report to check the FAQ, which I did; but the action in there did not resolve the issue.

jolly narwhal
#

Try reflashing it

#

If it is an electrolama stick it won't be preflashed afaik

remote wagon
jolly narwhal
#

Then I do not know

#

Says pre flashed

#

But it takes 3 minutes to flash

remote wagon
#

I'll give it a shot

remote wagon
#

Now I am not getting an error in the logs. But I am getting 502: Bad gateway on the web interface.

#

And we're back to errors:
First: Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby
Then: Error: SRSP - SYS - version after 6000ms
Finally: Error: SRSP - SYS - getExtAddr after 6000ms
And then it loops back around.

#

Rebooting the pi to make sure nothing from the old attempts stuck around.

#

Same error: Zigbee2MQTT:error 2021-10-25 13:50:16: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
I flashed slae's own fw which has an activity led and it is blinking when z2m tries to interact with it, so z2m has access to the device.

jolly narwhal
#

Try it on a non HAOS system

remote wagon
#

So install z2m on windows for example yeah?

jolly narwhal
#

Well, no

#

There is no windows version afaik

#

A random Linux machine will do, probably a Linux vm with usb passthrough too

remote wagon
#

I have a linux laptop (well dual boot) so I'll try on there

jolly narwhal
#

Perfect

#

Just run z2m in docker

#

That'll be a fast and easy test

remote wagon
#

I'm on it, ill @mention you when it is installed and running (or not)

jolly narwhal
#

🦴 🇷

remote wagon
# jolly narwhal 🦴 🇷

I did not set up an MQTT server, but I am seeing "coordinator firmware version" in the log output. Which has me believe it is working.

jolly narwhal
#

Sounds plausible yes

remote wagon
#

Yeah, the hass version is not getting to that point.

#

So it's either something in the config (which are default except for the port). Or in my homeassistant setup. Any ideas where to look from here?

sour shadow
#

It'd be add-on related - not HA

remote wagon
#

I'm not blaming HA, I meant it as in, the stuff I have installed or configured on HA.

jolly narwhal
#

I'm blaming the add-on

remote wagon
#

So I'm SooL?

#

Or do I try ZHA?

jolly narwhal
#

No idea how to troubleshoot add-ons, i stay away from that crap, but #add-ons-archived might be able to get to the bottom of it

tender hedge
#

ahrg, ser2net just insists to not work

remote wagon
#

Okay! I see a device in the z2m UI. How do I get HA to see this device as well?

lilac wharf
#

the stick itself? it won't show up in the z2m UI

remote wagon
#

No, a hue wall switch. It is in the z2m ui. but not in lovelace (or HA)

lilac wharf
#

oh sorry, i misunderstood your question

#

do you have an MQTT broker set up, and is z2m and HA connected to it?

#

also make sure HA discovery is enabled in configuration > MQTT > configure

remote wagon
#

I'm using the mosquitto add-on. ButI think I ignored the config once, and while I un-ignored it the auto set-up is not popping up anymore.

lilac wharf
#

you need both a broker (the addon in your case) and for HA to be connected to it

#

go to configuration > integrations, click the + in the lower right corner, and select MQTT

remote wagon
#

The auto config did not require a username/password, the automatic one does seem to need one. Shall I configure it or am I on the wrong track?

lilac wharf
#

i'm not sure what you mean by that

remote wagon
#

So when I tried it earlier (before removing the integration) HA detected the MQTT broker and configured it automatically, without requiring me to enter a username and password. However, when I go configuration -> integrations -> Add integrations -> MQTT I need to supply a username and password.
Should I edit the Mosquitto add-on with a username and password, which I can fill in for the integration. Or should I not need a username and password. If so, what am I doing wrong?

lilac wharf
#

username/password is optional, so it's up to you

remote wagon
#

Okay, so why is it not working without them?

lilac wharf
#

then that means one is set with the MQTT broker

#

and allow_anonymous is false

#

i think the addon by default uses your HA creds

remote wagon
#

I'll manually set a pair for simplicity then.

lilac wharf
#

or just try your HA creds

remote wagon
#

Still getting failed to connect.

lilac wharf
#

then either the host/port is incorrect and/or the username/password is incorrect

remote wagon
#

Is the broker field the host? I thought it was the common name 😅

#

Facepalm.

#

That's it.

#

Okay, HA-Mosquitto is connected Mosquitto-Z2M is connected.

#

Now how to get the device to appear through this connection.

lilac wharf
#

make sure HA discovery is enabled in the MQTT integration (configuration > integrations > MQTT > configure) and in z2m

#

if you're using the z2m addon i would imagine the default is true, but Shrug

remote wagon
#

So that would involve subscribing to the "zigbee2mqtt" topic?

lilac wharf
#

No