#zigbee-archived

1 messages Β· Page 24 of 1

austere patio
#

Can you enable ZHA debug logging, retry the join, and upload the log?

vapid osprey
#

Plug pairing issue

lofty junco
#

heyy, question:
I'm having 2 smart LEDs which are turned on/off by an analog power-switch (so really cutting the powerline on/off). My problem now is, that HA is "confused" when the lights are "off" because they are "not connected". And it seems that sometimes one of the 2 LEDs cannot fire the "off" signal quickly enough so HA still thinks that it's 50% on while it clearly isn't. Is there some clean way to handle this? My naive approach would be that some timer echecks in some interval if the lights are connected and if not, "resets" their state somehow, but maybe there is a better way? Also (screenshot https://ibb.co/88tzpVx) the 2 lights are shown as "not available" in my dashboard, which looks a little bit ugly... I think i could manage that with some IF condition but maybe there is some solution that fixes that too? πŸ™‚

austere patio
#

It's not a good idea to cut the power to Zigbee smart lights

violet dagger
#

The solution is to keep the bulbs powered on and control them via their smart features

lofty junco
#

yeah... can't do that in this case. Will be different in like 2-3 years when i have moved...

#

all other smart devices are constantly powered on in my flat, but in this case it's not possible... which is why i'm looking for a better solution. It's not "totally bad" currently, but it's irritating at least

violet dagger
#

You cannot not use the power switch?

lofty junco
hollow chasm
#

Leave the switch on, put a piece of tape over it, etc. They even make covers to prevent people from turning off analog switches. You can get wireless remotes that will control the smart lights

violet dagger
#

Not sure how it would be worse

#

It's definitely the worst it can be now

keen crest
#

So my SkyConnect arrived today! I'm still running ZHA from an old HUSBZB-1, I assume migration is a good move? πŸ™‚

lofty junco
#

@violet dagger I very much appreciate your concern about the power-cutting and the strong recommendation about using the smart feature for turning the light on/off. But please, in this case, respect my decision, due to not-provided circumstances, that I want to leave power-cutting method (for now). I would greatly appreciate any help in making things a little bit cleaner for my current scenario, any help is welcome of course πŸ™‚

main mural
#

If you have the ability to rewire the light switch, use a Hue module

hollow chasm
#

Probably the best you can do is a conditional card on the dashboard to only show the entity when it's available

main mural
#

Takes 10 mins to install

#

I know it's not what you want to hear!

hollow chasm
#

When it comes to Zigbee though, turning off lights (i.e. routers), is going to screw up routing of your end devices. That's part of why Zigbee devices are not intended to have their power cut

main mural
#

It only just about works when everything stays plugged in πŸ₯²

#

Wifi bulbs might fare better?

#

Ah, habe gesehen das Du in Deutschland bist

lofty junco
main mural
#

I think the rules on rewiring your own light switches might be different there

hollow chasm
#

Depends on the bulb probably. My WiFi bulbs take about half a second or more to power on when the power is cut. It's very jarring

main mural
#

Especially if you're renting

lofty junco
main mural
#

I feel for you!

lofty junco
# hollow chasm Depends on the bulb probably. My WiFi bulbs take about half a second or more to ...

those lamps are turning on very fast, under 1 sec. that's totally fine in this case. I's a bathroom and they are set to have a default state of 50%. It's a small bathroom and the power switch is directly next to the door. i would never dim the lights by some smart remote on the wall, i just need them to go on and off in 90%. the reason they are smart at all is, that there is a bathtube in that room and if me or my wife relaxes in there, we want to be able to control the dimming of the lights by our smartphone. If I would own that house, i would have already taken away most power switches and replaced them with zigbee remotes, but that's not the case here and i don't want to overengineer this on the device-side. It's just the dsahboard that is then irritating, but i guess a conditional card will do here

hardy osprey
austere patio
#

If the device is exposing functionality over manufacturer-specific Zigbee clusters and nobody has written a quirk to interpret them, ZHA is showing you only the parts of the device that it can detect

hardy osprey
#

cant find any mention of namon in either of zigpy or zigbee2mqtt github repos...

#

but of course, that doesn't mean it doesn't need quirk i guess...

hardy osprey
#

ah, yes, but no matches in the code πŸ™‚

hardy osprey
#

ah. not the same repo...

#

so... have to get something like that into a zigpy quirk then?

austere patio
#

More or less. As long as you can figure out what the attributes and clusters are (the manufacturer may have a document), you can just extend the device definition with those and ZHA will let you control functionality with the cluster UI

hardy osprey
austere patio
#

Oh nice, page 8 outlines everything

nova torrent
#

Hi all using ZHA with the Aqara C1 feeder successfully interviews the feeder one time only. It happens with two different feeders. The visualization shows the feeder not connected to other zigbee devices and eventually it'll come up as lost. Does anyone have suggestions on what could be going on?

nova torrent
#

If I try to reconfigure, I get an error at the Opplecluster category

hollow chasm
#

I ended up buying the Aqara P1 after it was recommended in here and it showed up today. Great recommendation, it's super fast and sensitive. Unfortunately though I fear that I will end up buying a bunch more and filling the house with motion sensors

carmine hamlet
#

I love those things

#

the only issue I had with them is that they want you to stick them to the wall, which I don't want to do. So I stuck a round neodymium magnet that I had to the bottom of the stand and screwed a appropriately-sized fender washer into the wall

#

I have 3 of them attached that way working great

hollow chasm
#

I was able to put it up on the top of the cabinets in my kitchen without using the little sticky pads or stand it comes with

carmine hamlet
#

they're super-tiny and react really fast

#

I just ordered a bunch more from AliExpress

raven jewel
#

I stuck it to my radiator πŸ˜‚

hollow chasm
#

Finding just the right spot seems to be an art. Took me probably 10 minutes to get the positioning right so I wouldn't get false positives walking past the door, etc. I'm not sure I'd be able to commit to just sticking it on the wall with a sticky pad

raven jewel
#

But mine is being a bit flaky in that it doesn't stop detecting motion

#

I have bought a second one, and a skyconnect for testing πŸ€ͺ

hollow chasm
carmine hamlet
#

oh, I may have gotten the older one, then

hollow chasm
#

ah yeah that's the older one. The newer one takes 2 batteries and has some other features like adjustable sensitivity and Zigbee 3.0

carmine hamlet
#

I ordered more from AliExpress thinking they were the same, but evidently not

#

luckily, I could still cancel

#

thanks for pointing that out!

hollow chasm
#

Right place at the right time I suppose. Glad you were able to cancel

carmine hamlet
#

I've had those magnets for a couple of years without a use for them. You never know when they'll come in handy!

#

this episode does encourage my packrat mentality

quartz hazel
#

Just got my Skyconnect delivered. Used the ZHA migrate function to move from my old Conbee 2 stick to the Skyconnect and it worked flawlessly.

raven jewel
#

I keep getting confused between the P1 and the FP1 facepalm

quartz hazel
#

Might be all in my head, but the lights seem to respond faster with the SC too.

fresh citrus
#

How can I find a broken ZigBee router?
I've got random devices becoming unavailable and when I re-pair them it sometimes works for months, or hours.
ZHA with Elelabs stick.

orchid galleon
#

Does anyone have any idea why Zigbee2Mqtt would have just reset all my friendly names overnight?

fresh citrus
lethal wraith
#

running ZHA with skyconnect some aqara PowerPlugs do not show voltage or power usage, if I connect the same powerplug on ZHA with Conbee II the same powerplug shows all the values, someone any ideas?

tropic depot
plucky python
#

Is it possible to migrate devices from ZHA to Z2M without repairing? Using the same coordinator (Conbee II)

carmine hamlet
#

Looks like it's waterproof, so maybe an outdoor version?

hollow chasm
#

Oh, yeah it also says further down that it's Zigbee 3.0

carmine hamlet
#

Also much more expensive

#

And bigger, I think. Anyway, not what I'm looking for

shy gull
#

Hello, hopefully quick question:
I'm looking at different bulbs to add to a zigbee/ZHA system, and Hue seems recommended for my use (RGB/colors). However, I'm reading that, at least for the newer BT bulbs, you can't pair them through zigbee without first resetting them in some way, either through Phillips hardware or the official App.

For me, using any kind of app/login, even for a one-off thing is a deal breaker. Am I out of luck, or is there's another way to pair them 'easily'? (I don't want to make the purchase without making sure I can use them.) My goal is only to have good-enough RGB lights that I can use through HA.

spring relic
#

zigbee is zigbee, bluetooth is bluetooth. totally different things, one doesn't pair with the other. Right?

hollow chasm
#

Hue bulbs are both Zigbee and Bluetooth

shy gull
#

Yep, but the new Hue bulbs have both BT and Zigbee functionallity (as far as I'm reading), one disabling the other. But (apparently), you have to reset them via BT first.

#

(As far as I understand it, when plugged in, they go in auto-pairing, but BT auto-pairing. Therefore making them not auto-pairable via Zigbee. Again I don't have them on hand, it's what I'm reading on old posts)

spring relic
#

no idea, never used a hue. I've been having trouble with my zigbee devices recently, just not responding until power cycled. not sure exactly what's causing it.

hollow chasm
spring relic
#

holey shit those things are expensive, a hundred bucks a globe? gfto

shy gull
hollow chasm
#

If you're just looking for "good-enough RGB", maybe consider IKEA Tradfri bulbs? They're also far cheaper

shy gull
#

I'm getting mixed signals on how 'good enough' they are lol, but I'm still weighting my options

hushed tangle
#

What should I be looking out for when it comes to zigbee compatibility? I want to get some bulbs, but most of the ones that seem worth getting dont show as home assistant compatible. I am using the Sonoff coordinator.

nova crest
raven jewel
#

Where are you checking compatibility?

violet dagger
#

Most nonTuya lights should work with ZHA

raven jewel
#

I always look on the Zigbee2MQTT devices list as that's what I'm using.

hushed tangle
hushed tangle
raven jewel
#

Maybe. It depends on how closely the device follows Zigbee specifications.

#

There are quirks available for devices to make them work. I'm not familiar with them though.

hushed tangle
#

Alright thanks. I have some hue bulbs right now. Maybe I will just expand that collection since I know they work even though they are fairly expensive compared to other options

raven jewel
#

Hue are a good buy. They're not cheap, but they do good colours and are reliable.

#

IKEA bulbs also work well in my experience.

hushed tangle
#

Alright Ill take a look at ikea. Upon further inspection, the hue bulbs I have are older and will not work with zigbee. Ill just continue to use them with the hub for now and maybe check out the ikea bulbs since the compatible zigbee hue bulbs are $50 each..

mild jacinth
#

I have a Sonoff Dongle in my house and it's working great, but I want to add a 2nd one to my detached garage. If I flash the 2nd one as a router, am I correct that my 1st dongle will still handle my existing devices (in the house) and the 2nd one (router) will only handle the devices it can see in the garage?

As a follow up question, is there a better chance of the two dongles being able to see each other than just one house dongle being able to see garage devices? I'm nervous about how far apart the house and garage are from each other.

sour shadow
#

Well, only if the dongle in the garage can connect to the main mesh...

mild jacinth
#

should i be trying for some wifi solution? i have buried ethernet into the garage and it has its own router.

sour shadow
#

Well, you could run a second mesh out there then, with a LAN connected coordinator

mild jacinth
#

OK thank you, I've never heard of that but it gives me somewhere to start digging.

sour shadow
#

Tube does one, but there's many others, let me get you a link

mild jacinth
#

cool, thanks

half flame
#

hello, got a dumb question
can ZHA and Z2M work on the same device ? or i need different dongles ?

austere patio
#

You need two sticks, they can't both talk to the same coordinator

half flame
#

ok thanks !

#

can they be two sticks of the same brand ? just different ports

violet dagger
#

Sure

half flame
#

perfect thanks !

spark star
#

Is there any way to make the Ikea Tradfri motion sensor report more than every 3 minutes?

violet dagger
#

Nope

spark star
#

😦

carmine hamlet
#

I've not found that to be a very good motion sensor

hollow chasm
#

IKEA has a good return policy if you just recently bought it

#

The Aqara P1 motion sensor is frequently recommended here

spark star
#

I guess the next thing to try is using it outdoors. It is apparently water resistant. I wonder how it will deal with our chilly nights.

#

It's only rated down to 0c (32f). I guess that means it may not work 100% of the time at -40c. (-40c = -40f)

violet dagger
#

Batteries tend to struggle with sub zero temps, not to mention extremes like -40

spark star
#

I am ok if it chooses to take a few nights per year off. As long as it works most nights πŸ˜‚

#

Besides, I am thinking of sticking it to a window which should be somewhat warmer.

mellow geode
rigid phoenix
#

Hello everyone, is there any workaround to use the new sky connect stick properly. I installed ZHA and can't find any devices. What is the probleme here?

austere patio
#

Did you use the provided USB extension cable?

rigid phoenix
#

yes

austere patio
#

Is your coordinator positioned away from interference sources such as active USB 3.0 ports, SSDs, 2.4GHz WiFi APs, etc.?

rigid phoenix
#

I think so, maybe it's not far enough. I will try it. I didn't know that ssds could also cause some interferences.

austere patio
#

What device are you trying to join to the network?

rigid phoenix
#

an ikea light bulb

austere patio
#

Have you done the "off/on six times in five seconds" reset, where it rapidly blinks a few times at the end?

rigid phoenix
#

yes, i did that. it blinks just one time.

#

during searching in ZHA, should I see something in the log? Because when I click "show log" nothing appears during searching.

austere patio
#

Joining in Zigbee works in reverse: you open the network for joins by clicking the "add device" button, and then a device searches for the Zigbee network and then joins it

#

If you see nothing in the log, no device has tried to join

rigid phoenix
#

I also turned on some phillips lights. I want to try it with them too. I forgott how to reset them? is this the same like the ikea bulbs?

rigid phoenix
#

Am I the only one who have that problem?

winter mist
#

I'm seeing a list of updates for all of my Zigbee2MQTT devices, however when I try to click update within the HA admin settings nothing changes in the modal. When I go to Zigbee2MQTT there are zero OTA updates available. I've restarted HA a few times. Running supervised on Debian.

hollow chasm
mellow geode
rigid phoenix
mellow geode
#

All Hue bulbs are supported by ZHA (and likely also Z2M)

#

They need to be reset with a Hue dimmer or via Bluetooth with the Hue app if they’re not in pairing mode

#

They are in pairing mode out of the box though

rigid phoenix
#

Okay I unterstand. But the ikea should appear. I also moved the rpi4 and Sky connect with 2m extension to another position of the house. Still couldn’t find any devices.

austere patio
#

Do you have another Zigbee network nearby?

rigid phoenix
#

Nope.

austere patio
#

What about the Conbee?

rigid phoenix
#

The conbee isn’t plugged in

#

Only ssd with usb3 and Sky with usb2

austere patio
#

Were the IKEA bulbs previously on the Conbee's network?

rigid phoenix
#

Yes

#

Could this be the problem?

austere patio
#

And you've reset every device that has previously been on the Conbee's network?

#

I've found some IKEA bulbs don't actually reset if they think they're on their old network

rigid phoenix
#

Not every device, but the ones I tried to connect to the Sky connect

rigid phoenix
#

Okay, I reset the Philips lamps with the hue app via Bluetooth.

austere patio
#

So to confirm, what exactly do your IKEA bulbs do when you reset them? Mine are notoriously tricky to reset, more than ones by other manufacturers: hold it off for 5s, then turn it on, wait 0.5s, off, wait for 0.5s, and repeat this six seven times, leaving it on after the sixth seventh attempt

#

It should dim slightly and pulse

#

I believe the IKEA bulbs join the first network they see when they're straight out of the box, so most people don't encounter this "problem" until they try to reset them

rigid phoenix
#

Okay let me check this

austere patio
#

(it's tricky enough for me to use a script to do it reliably every time πŸ˜„)

austere patio
#

As long as it's more than six. Works fine for me with 9 as well

rigid phoenix
#

Okay they only slightly dim one time and then it stays on

austere patio
#

It should gently pulse in brightness as well

rigid phoenix
#

Nope

austere patio
#

What exact bulb is this?

rigid phoenix
#

E14

#

Where you can control the temperature

#

Any brightness

austere patio
#

Let me try one of my color temp E27 bulbs

mellow geode
#

Is it a chandelier bulb?

#

The newer bulbs may act differently when resetting them (the new ones with 1.x firmware -- not to be confused with the 1.x ZLL firmware)

rigid phoenix
#

It isn’t new. Is maybe 2-3 years old

mellow geode
#

Do you still have the box (or does it mention the model name on the bulb)?

mellow geode
rigid phoenix
#

LED 1649C5 e14 400lm Tradfri

austere patio
#

Just tested a TRADFRI bulb E26 WS opal 980lm (with color temp and brightness) and it behaves the same way. After the reset procedure, it dims and starts pulsing

mellow geode
austere patio
#

Maybe try following along with the YouTube video linked in the Z2M docs?

rigid phoenix
#

Is the same that you told me with 6/7 on/off thing

rigid phoenix
mellow geode
#

it's possible. I think those bulbs might have gotten an update form 1.x ZLL firmware to 2.x firmware. They should still reset themselves properly though

#

Did you ever update them before?

rigid phoenix
#

Nope, had no problems before, so I had ne need for this

austere patio
tranquil tulip
#

Hey bud, did you ever figure out the dropouts?

rigid phoenix
#

But as I said, I reset them via Bluetooth. So they should be recognized by zha. But nothing

austere patio
#

Did you ever change the network channel of your Conbee? If you're unsure, can you send me your /config/zigbee.db file?

rigid phoenix
plain latch
rigid phoenix
tranquil tulip
rigid phoenix
plain latch
plain latch
tranquil tulip
subtle jay
#

I must be missing something really stupid here. Want to migrate from ZHA to Z2M, right now just setting up Z2M. Followed the docs and everything works great, except that HA doesn't see my newly paired device. Have homeassistant in the Z2M configuration, MQTT explorer sees the device. HA sees everything else in my MQTT broker (mosquitto). Anyone have an idea why something could show up in the broker but not in HA?

violet dagger
#

some access control setting in the broker disallowing HA from seeing the z2m topics?

subtle jay
#

what would that look like? my configuration file is pretty simple: persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log
listener 1883

Authentication

allow_anonymous false
password_file /mosquitto/config/password.txt

sour shadow
#

Did you set the url for the frontend in Z2M?

#

I've seen a lot of this kind of problem when people have mis-set that

subtle jay
#

frontend:
port: 8080
url: 192.168.1.91
looks like it.

#

legacy_api is set to false

#

there is even a 'homeassistant' topic that shows up in MQTT Explorer

dire owl
#

some logs messages upon updating to 2023.1

#

ZHA

sour shadow
#

An IP address is not a URL

#

A URL would be something like http://192.168.1.91:8080

#

Either remove it or set it properly

subtle jay
#

argh. Exactly that. I did do something stupid simple---many thanks!

gray fog
#

Anyone know if there are any plans for gui OTA updates in ZHA?

austere patio
#

There are

gray fog
austere patio
#

No GUI at the moment. It just happens automatically in the background.

honest kestrel
#

I have a simple question. Does it make sense to add a Sky Connect to a Home Assistant Yellow? Is there an advantage to combining the devices, or do the functions match in 1:1?

gray fog
austere patio
gray fog
clever cedar
#

Guys is there a way to change the zigbee channel without repairing everything on ZHA?

tulip patrol
#

Hi puddly, you might find this interesting.. I'm running ZHA and openthread on channel 15, I then joined it to my google nest hub openthread border router on channel 21 and all my zigbee devices still work.. openthread is reporting RCP channel 21

mortal oasis
#

Has anyone the LSC Radiator Valves working within HA ?

austere patio
tulip patrol
#

It's strange, ZHA still reports that it's running on channel 15. And yes, they could have joined over IP and it's just displaying the RCP channel of the nest hub

#

spoke too soon, after all zigbee devices working correctly overnight, just now it's started to become flaky

#

but still working somehow

keen crest
#

Trying to set up zigbee2mqtt with the new SkyConnect adapter but won't start. Any tips on config?

molten linden
#

Did you specify the adapter as ezsp?

keen crest
#

I did not, but will now. Wondering too if I have path to mosquitto broker set right since it is running as an HA addon

#

might need to specify credentials for mqtt://core-mosquitto:1883

#

Got it. Was the ezsp type and credentials.

#

Is there a friendly way to migrate ZHA devices over from the Nortek HUSBZB-1 or should I plan to re-add my devices all one by one?

raven jewel
#

ZHA does have a migration option.

keen crest
#

Uh oh. I am in the migration and it's telling me unknown error occurred at serial port settings

#

path is /dev/ttyUSB2 , port speed is 57600, and I've tried both hardware and software data flow control. Worried I've already reset the existing one and if I X out of this I'm sunk

#

Thankfully no

tulip patrol
#

I'm attempting to change the zigbee radio channel to 21, getting an error when attempting to use this command (running gecko sdk 4.2.0 built rcp zigbee + openthread firmware):

#

homeassistant:~:# zigpy radio ezsp /dev/ttyACM0 change-channel --channel 21
2023-01-05 13:50:05.350 homeassistant zigpy.application ERROR Couldn't start application

#

Any other options available to change the channel?

molten linden
#

You need to specify the device as the same as zha uses socket:// since you are using the multi-pan fw, ezsp runs in the addon (technically called zigbeed)

tulip patrol
#

Awesome, let me give it a try. Thanks.

#

homeassistant:~:# zigpy radio ezsp socket://homeassistant:9999 change-channel --channel 21 2023-01-05 15:03:12.908 homeassistant zigpy.application WARNING Unknown device AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x5669) 2023-01-05 15:03:13.155 homeassistant zigpy.util WARNING Error calling listener <bound method ClusterPersistingListener.attribute_updated of <zigpy.zcl.ClusterPersistingListener object at 0xffff8a65c190>> with args (4, 'Philips'): AttributeError("'NoneType' object has no attribute 'attribute_updated'") 2023-01-05 15:03:13.155 homeassistant zigpy.util WARNING Error calling listener <bound method ClusterPersistingListener.attribute_updated of <zigpy.zcl.ClusterPersistingListener object at 0xffff8a65c190>> with args (5, '929002376901'): AttributeError("'NoneType' object has no attribute 'attribute_updated'") homeassistant:~:#

#

just tried re-enabling ZHA but it hung, rebooting system now

molten linden
#

Puddly will know more. Not sure if it still worked on not. Also not sure if this is able to change the channel on the coordinator- it sends the channel change command out to the devices. You can pull a backup and edit the channel and then restore to be sure zigbeed is working

#

With the new channel

tulip patrol
#

Thanks for the assistance, much appreciated

#

ZHA tells me it's on channel 21 now

#

And, everything is working

#

hue remote v2 fires events but the automations don't start.. going into traces of the automation and then 'running' it fixes it

#

to be more specific, traces --> information --> 3 dots --> information --> run actions

#

and all sonoff battery powered sensors have become unavailable but it isn't so bad having to re-pair them

molten linden
#

yeah sensors likely aren't awake to receive the channel change command. So it's anticipated to have to rejoin a good portion of them.

tulip patrol
#

Sonoff temp sensor, pressed the button and it pushed the switch off the PCB. lol.

#

guess I'll delete that device for now

tulip patrol
#

hmm after re-pairing the sonoff motion sensor, no battery level and the state names have changed

austere patio
#

You may have to re-configure the motion sensor if a few clusters failed to bind, but state names shouldn't have changed. Which ones?

tulip patrol
#

sorry, might be a mistake about the state names changing, because looking in the event log for it, it shows off and on

#

but I could've sworn it used to say 'clear' or 'blocked'

austere patio
#

Is the sensor exposing both OnOff and IASZone?

tulip patrol
#

and I did have to reset the automation trigger as it was blank

#

yes it seems that way

hollow chasm
#

The backend state names for a binary sensor like a motion sensor are on/off, but since it's a motion sensor the UI will show those states as Detected/Clear

tulip patrol
#

thanks, might try a re-pair to get the battery level back

#

at least now I've got ZHA and openthread joined to google nest hub on channel 21 and it seems stable

austere patio
#

21 is an odd channel choice for the Nest hub

tulip patrol
#

it decides what's best and there is no way to change it that I'm aware of

austere patio
#

Does it dynamically change channels or something?

tulip patrol
#

who knows what logic it uses to form the thread network on which channel

#

but at least I got the network key for it (from the nanoleaf app of all places) which allowed me to join it

waxen jungle
glossy lintel
#

I'm driving nuts, I cannot pair these damn ikea tradfri repeaters with my sonoff key using z2m

#
    1.29.0 commit: unknown

Coordinator type
    zStack3x0

Coordinator revision
    20220219

Coordinator IEEE Address
    0x00124b0026b69b6c

Frontend version
    0.6.121`````
#

this is my zigbee2mqtt version + coordinator info

#

I've tried both the regular "allow join" and "touchlink" methods

#

I've reset the tradfri repeater (which came out of its box, was never used

#

nothing is working

random shell
#

hi, is it possible to have zigbee that will be kinda independent of whatever i use for coordinator? taking an example from bluetooth proxy in esphome - if bluetooth proxy dies - i can just put another one in place. devices exist independently of bluetooth proxy. would something like that work for zigbee2mqtt? let's say i use remote zigbee bridge based on tasmota and it dies - could i just swap it with new one? and zigbee2mqtt will do a 'migration'? or the same with local usb coordinator

sour shadow
#

Moving between USB adapters of the same type is trivial

#

The "remote Zigbee bridge" devices are usually crap though

#

If it's wired networking based on the CC2652 then they're fine, but the WiFi based ones should be avoided

random shell
#

not sure how one would migrate away from it to another device though

random shell
sour shadow
#

Local device passthrough isn't exactly hard if you're using Docker

#

Also, you said Zigbee2MQTT not HA

random shell
random shell
sour shadow
#

Then ... buy a decent network connected coordinator and not cheap shitt

rapid dawnBOT
#

@random shell When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.

You have to change this every time (thank the Discord devs for that).

random shell
sour shadow
#

@random shell you don't need to tag me

#

@random shell on every damn reply

random shell
#

uh...

sour shadow
#

Hence the bot message you were tagged in, and carefully ignored

random shell
sour shadow
#

What's good about it?

random shell
random shell
sour shadow
#

Start with the fact that EZSP is experimental in Z2M for a reason

#

Well, you can't stop tagging, I won't continue helping...

#

The answer is in the channel history, good luck

random shell
#

i unclick that 'notify' clicker on every message

#

not sure why it does not change though

clever cedar
#

guys any best practice link for improving the LQI on concrete walls? maybe redoing the network with some other criteria using ZHA

Already using the best possible channel

44 Devices between 0-91 LQI

fresh river
#

HI, I'm pretty new and I've just installed Zigbee2mqtt with the CC2652RB stick, but no devices are showing up whatsoever... is there anyone who's also had this issue?

sour shadow
#

Did you set the url for Z2M's frontend? And if so did you make the common mistake of just providing an IP or hostname, not an actual URL?

fresh river
#

atm frontend is just this:
frontend:
port: 8080

should there also be a url?

sour shadow
#

There can be, but generally setting that causes more problems

#

You have paired some devices to Z2M and they show in Z2M's UI?

fresh river
#

No, none at all.. currently I'm trying to connect an IKEA button and socket, maybe it's an issue with the devices, but they are included in the Z2M device lists..

sour shadow
#

Well, until you pair some devices there's nothing to show up

fresh river
#

I've put the devices in pairing mode, but they just don't show..

gusty patio
#

battery devices are often a bit more challenging to pair...

hollow chasm
#

You need to press Permit Join in Z2M also

fresh river
#

Yes, I've done that

sour shadow
#

They also need to be in range of the mesh, which to begin with is maybe 6 to 8 meters around the coordinator

#

Oh, and the default Z2M channel sucks

#

Start by picking a better channel

fresh river
#

Yeah, I've seen that posted around. My default channel is 11, but when I change it, Z2M crashes because my coordinator is also set to channel 11 I think..

lapis tiger
#

Hi all. I'm migrating from a RPi HAOS w/ z2m install to my NAS using docker containers. I'll have containers for HA, mosquitto, and zigbee2mqtt. Can anyone advice on the best to not bork my zigbee pairings and setup? I plan to copy my old HA config dir to my new HA container config. And then i think i can copy my old zigbee2mqtt folder (from the add-on) to the zigbee2mqtt container data dir?

raven jewel
#

How to move from HA #add-ons-archived to Z2M in a Docker container:

  • Make the docker container and check it works.
  • Copy your configuration from the addon to the Z2M configuration file. You will likely need to update your MQTT settings here.
  • Backup Z2M in the addon (under settings).
  • Shut down Z2M addon - make sure it does not start automatically!
  • Extract the backup and put it in the data file.
  • Start your new docker container.
#

The one problem I had was I seemed to lose the area mappings and "Switch as X" setups I had for my devices, but I may have done something wrong there.

lapis tiger
#

i see thanks. one thing i noticed is that my old/current z2m setup uses authentication. I see how it works in the z2m configuration, but i can't figure out how i did it in mosquitto before. I think i'd rather just make it anonymous. that shouldn't mess anything up should it?

#

right now i have mosquitto running allowing anonymous and its working using MQTT Explorer. so its good to go if i keep it anonymous

sour shadow
#

There's no harm in it, but there's little reason to not do authentication

lapis tiger
#

somehow the MQTT/mosquitto addon (or integration?) in HA abstracting how i did it. Did i really make a log/pass file and encrypt it and stuff? id ont remember. is that what i'd need to do on the mosquitto side?

sour shadow
#

The add-on automatically uses HA users for auth

lapis tiger
#

hrmm i think i did see that somewhere in the config. but my zigbee2mqtt is using user: mqtt_user and pass: mqtt.

sour shadow
#

My Mosquitto container uses the following config file:

persistence true
persistence_location /mosquitto/data/

password_file /mosquitto/config/pwfile
allow_anonymous true
acl_file /mosquitto/config/aclfile

log_dest file /mosquitto/log/mosquitto.log

listener 1883
listener 8883
listener 9001
#

Then I just have to populate the pwfile

#

mosquitto_passwd is the magic command that does that

strange ibex
#

yeah, here is mine without anonymous.

listener 1883

persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log

password_file /mosquitto/config/passwd
#
docker run -it --entrypoint sh -v $(pwd):/pwd eclipse-mosquitto
lapis tiger
#

i see. ive read about that in the docs. i just dont ermember doing it before. So i guess the HA integration abstracts us from it?

strange ibex
#

run that in your data dir and then the command tinkerer gave you

sour shadow
#

Oooh.. run command ... Compose FTW

strange ibex
#

it's just for adding the pass, lol

lapis tiger
#

ok that makes sense now. great

sour shadow
#
  mosquitto:
    container_name: mosquitto
    image: eclipse-mosquitto:2
    restart: unless-stopped
    ports:
      - "1883:1883/tcp"
      - "8883:8883/tcp"
      - "9001:9001/tcp"
    volumes:
      - /data/mosquitto/config:/mosquitto/config
      - /data/mosquitto/data:/mosquitto/data
      - /data/mosquitto/log:/mosquitto/log
    healthcheck:
      test: ["CMD", "mosquitto_sub", "-u", "test", "-P", "$ecretTestPassword", "-h", "localhost", "-t", "$$SYS/broker/uptime", "-i", "docker_health_check", "-C", "1"]
      interval: 2m
      timeout: 10s
      retries: 3
``` is my compose file entry for mosquitto, including a healthcheck
lapis tiger
#

ah. im not using compose. for some reason im trying to stick with the Synology Docker gui interface installer. dont know why. ha

strange ibex
lapis tiger
#

i think my mosquitto is working. i'll add the password and test it again independently with mqtt explorer

#

So then, assuming i have the same IP address, i can just copy over my zigbee2mqtt config files to the new container.. and maybe i'll just work

sour shadow
#

But pretty much yes

#

If you have a spare coordinator you could do a test install first

lapis tiger
#

this is probably a dumb docker Q, i'm learning that as well now. Im SSHing to my nas where the mosquitto container is installed. I dont have "mosquitto_passwd" because im just running on the nas system and not in the container..

#

how do i access that without running the container? or do i need to?

sour shadow
#

You can open a shell inside the container

#
docker exec -it mosquitto bash
lapis tiger
#

oh cool. im about to incept myself

#

ah, turns out the synology docker tool has a terminal

#

alright, now we're running with authentication. tested with mqtt explorer.

tame phoenix
#

I have a zigbee power plug that reads out the wattage used. I use it to determine wether or not a not so smart Amplifier is actually on or standby. The plug is registered in ZHA and it works fine. But i notice the polling or refresh interval of the Active Power is quite long, around 30-40 secs

#

Is there a way to increase this polling frequency?

exotic gorge
#

@fleet raptor Why two HA servers?

fleet raptor
#

One is at one location. Another is at another location. The networks are merged with a VPN. I want to get the sensor alerts that one location sees sent to another location.

turbid fern
#

Hi, I'm trying to set up Zigbee2MQTT. but I get an error message that herdsman has an Error. does anyone have any idea?

#

[17:08:42] INFO: Preparing to start...
[17:08:42] INFO: Socat not enabled
[17:08:43] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2023-01-05 17:08:46: Logging to console and directory: '/config/zigbee2mqtt/log/2023-01-05.17-08-46' filename: log.txt
Zigbee2MQTT:info 2023-01-05 17:08:46: Starting Zigbee2MQTT version 1.29.0 (commit #unknown)
Zigbee2MQTT:info 2023-01-05 17:08:46: Starting zigbee-herdsman (0.14.83)
Zigbee2MQTT:error 2023-01-05 17:09:07: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-01-05 17:09:07: Failed to start zigbee
Zigbee2MQTT:error 2023-01-05 17:09:07: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-01-05 17:09:07: Exiting...
Zigbee2MQTT:error 2023-01-05 17:09:07: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:58:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:107:5)

sour shadow
#

What Zigbee coordinator are you using?

turbid fern
#

Sonoff plus dongle via USB

sour shadow
#

And you've configured the Z2M add-on to use it?

turbid fern
#

Yes, I have specified the USB source in Serial.

sour shadow
#

And you don't have ZHA configured?

austere patio
#

Is this the v1 or the v2 stick?

sour shadow
#

Yeah... if that's the E it's not being detected as such and you need to tell Z2M

turbid fern
#

It is an E

sour shadow
#

And you need to tell Z2M that

#

It's trying to talk to it as if it's a P

#

Click the yellow text on the docs there and it'll expand

#

If Zigbee2MQTT fails to start, try adding the following to your configuration.yaml

serial:
  adapter: ezsp
#

That, of course, is Z2M's configuration.yaml, not HAs πŸ˜‰

turbid fern
#

Ok thanks, I will try it now 😁

fresh river
#

My Z2M server property looks like this:

server: mqtt://core-mosquitto:1883

The core-mosquitto is the Mosquitto broker hostname

In the Z2M docs they use server: 'mqtt://localhost:1883'...

Did I do this wrong?

sour shadow
#

No

#

You're using the Z2M add-on and the Mosquitto add-on, so that's correct for your install

#

Z2M isn't part of HA, HA is just one of many things that can work with it, so their docs cover far more than just HA

fresh river
#

Oh okay, I'm just going through all the steps since something must be wrong. I've changed channels to 25, but still no devices showing up

strange ibex
#

Are you reading through your logs? You should be able to see some feedback other than waiting to see if devices show up.

sour shadow
#

still no devices showing up
Do you mean still unable to pair?

strange ibex
#

that too

hollow chasm
#

You're clicking permit join and putting them back into pairing mode each time you attempt to get them to show up? Often times devices will only stay in pairing mode for a short time

fresh river
#

Yes, the devices are in pairing mode, but nothing's showing up in the logs

sour shadow
#

Is the coordinator on a USB extension cable?

fresh river
#

No, it's directly in the raspberrypi and I've put the Ikea socket next to it

hollow chasm
#

It should be on a USB extension. USB 3.0 ports put out interference that will cause problems with Zigbee

sour shadow
#

There are many good messages in the pins here

fresh river
#

Oh, damn! I did not know that one!

hollow chasm
#

You want it a good 3 feet (1m) away or so

strange ibex
#

at least, pair where you'll use it ideally.

fresh river
#

Should this extension cable be USB 2.0 or 3.0? I assume 2.0?

sour shadow
#

Doesn't matter really

strange ibex
#

your device will negotiate 2, you just want it away from your 3 ports

sour shadow
#

The stick isn't going to even use the USB 1.0 bandwidth

fresh river
#

Alright, Thanks! πŸ˜„

lapis tiger
#

I think i have my mqtt and zigbee2mqtt docker containers setup. is there a way i could/should run these two containers without the HA container and test just them first?

#

theres the z2m front end i think

#

with mqtt running, i can turn on the z2m container and view its log and see no errors. thats something i reckon

#

z2m front end works

#

i copied over my HA guts. i guess its time fo fire up that container

#

ill be got damn, it seems to all be working

#

how do i remove old add-ons such as zigbee2mqtt that now lives in a container? it seems to be gone... but how?

smoky citrus
#

@sour shadow im here, could you give me a clue on how to put the tradfri lights in pairing mode?

strange ibex
#

Is it in your manual?

lapis tiger
#

wup. i spoke too soon. i need to configure mqtt in HA..

#

(my lights worked bc theyre on hue hub)

hollow chasm
#

The pairing instructions for IKEA stuff with a generic Zigbee coordinator is usually different from what's in the manual. The blinds and remotes for example seem to use Touchlink(?) where you hold the pairing button next to the gateway, but to pair with Z2M you instead press the button 4 times rapidly

Lookup your device here for how to put it in pairing mode: https://www.zigbee2mqtt.io/supported-devices/

lapis tiger
#

in the HA MQTT integration setup, waht is the discovery previx? default is homeassistant.

#

i updated it to point to the ip address of my mosquittto, user, pass, kept the same discovery prefix, now all seems to work

smoky citrus
#

hmmm it works with the 6x on off

#

thanks @strange ibex appreciate the quick answer!

lapis tiger
#

id like to get the Zigbee2MQTT thing in my HA sidebar back so i can see the dashboard

strange ibex
#

your z2m isn't inside of HA anymore is it?

#

you'll just bookmark it

lilac wharf
#

You could use an iframe for that, but I just have bookmarks

keen crest
#

So I couldn't get a wholesale migration from ZHA to Z2M to complete but I'm moving devices over one by one with both of them running and so far Z2M seems so much nicer to work with.

#

I really like the ability to deny join and permit from specific routers. My Xiaomi/Aqara sensors have a bad habit of always wanting to join the coordinator no matter what else is nearby and that helps a ton with it.

lapis tiger
#

oh ok, i'll just use a bookmark then

lilac wharf
#

To be fair, you can pair via a specific router with ZHA too. I'm not sure if you can block devices from joining with ZHA though

keen crest
#

Perhaps it just wasn't as obvious. πŸ™‚

lapis tiger
#

my z2m front end was on port 8099 for some reason so i turned off the z2m container, changed it to 8080 in the config, turned on container. now my zig bee device response from HA is super slow. like 10s lag. will it sort itself out?

#

whats the proper order to turn on the three containers? HA, mosquitto, z2m?

#

it worked perfectly before i did that. weird.

#

i did move the usb zigbee coordinator. maybe the mesh is rebuilding or somethign?

lilac wharf
#

Yes, if you moved the coordinator, then some devices might need to reroute

slate leaf
#

Hey guys, could someone here provide me a functional service request structure for sending a command to Zigbee device? Description is not well documented and am getting an error in logs about args being depraceted or some python errors about wrong command id (even if am sure id's correct). Please describe it on zigbee device like light, switch, trv.

#

Is there a way to sniff what commands are being sent to device by ZHA? (e.g. by turning on some logging level) Of course I have enabled ZHA debug, however am more interested in seeing the structure of the service request (API) so I can replicate it manually

gleaming fern
#

hello there, can someone tell me if I can use zigbee product with home assistant using a blitzwolf BW-is10 hub? or I need to buy an USB zigbee dongle?

lapis tiger
#

does it matter where teh coordinator is located if there are several routers spread around?

#

and the coord has a good connection to a few of them

lilac wharf
#

With enough routers properly placed, not really

#

Although generally centered is good

sour shadow
#

I mean, ideally you want it fairly central, but ... if you don't live in a mansion it'll be fine

sour shadow
lapis tiger
#

in the z2m log, is it normal for every item to be listed twice? example me turning my office outlet on then off:

#

Info 2023-01-05 14:11:37MQTT publish: topic 'zigbee2mqtt/Dan Office Outlet', payload '{"linkquality":7,"state":"ON"}'
Info 2023-01-05 14:11:37MQTT publish: topic 'zigbee2mqtt/Dan Office Outlet', payload '{"linkquality":7,"state":"ON"}'
Info 2023-01-05 14:11:40MQTT publish: topic 'zigbee2mqtt/Dan Office Outlet', payload '{"linkquality":7,"state":"OFF"}'
Info 2023-01-05 14:11:40MQTT publish: topic 'zigbee2mqtt/Dan Office Outlet', payload '{"linkquality":7,"state":"OFF"}'

#

i switched it from my HA dashboard

sour shadow
#

Check the log file directly

#

See if it's duplicated there or just in the UI

lapis tiger
#

also duplicated there

#

also third "OFF a second or two later that im pretty sure i didnt do

sour shadow
#

I don't see that on my own install

lapis tiger
#

interesting. does mosquitto only accept one user logged in at a time? i can no longer login via mqtt explorer. but HA is logged in

sour shadow
#

Nah, you can log in many times as long as the client identifier is different

lapis tiger
#

seems the duplicate thing is a known issue on the z2m github. i guess it is what it is

#

ok now it connects, weird

#

so for my general understanding.. mqtt (mosquito) sits in between HA and z2m. z2m translatees zigbee into mqtt. HA grabs the device info via mqtt

#

z2m and HA are both logged into mqtt using teh same username/pass

#

so mqtt is sort of the server and HA and z2m are clients logged into it?

#

i see z2m publishes topics under "zigbee2mqtt". HA publishes under "homeassistant".

#

i see these two topics in MQTT explorer. is that right?

sour shadow
#

homeassistant/ is for MQTT Discover, and Z2M publishes there

lapis tiger
#

how is discover related to subscribing?

#

it seems a z2m should publish to mosquitto, mosquitto is teh broker and handles traffic or something, and HA must be subscribing to listen for the message

sour shadow
#

Yes, it subscribes to:

  1. The Discovery topic
  2. Whatever it's told to
lapis tiger
#

and presumable they switch roles when HA publishes commands the devices need to sub to

sour shadow
#

The discovery of MQTT devices will enable one to use MQTT devices with only minimal configuration effort on the side of Home Assistant. The configuration is done on the device itself and the topic used by the device

#

Z2M publishes a discovery message for the device, that's the point of the HA integration in Z2M

#

That tells HA here's a device with 5 entities, and here's the definition of each entity

#

And as if by magic they appear in HA

lapis tiger
#

i guess i thought thered be a common "topic" that both sides would be working with. like sensor publishes on the XYZ topic while HA is subscribed to the XYZ topic.

sour shadow
#

That's what I'm talking about

carmine hamlet
sour shadow
#

homeassistant/ is for MQTT Discovery, and Z2M publishes there

lapis tiger
#

ah that makes sense

gleaming fern
lapis tiger
#

i swore someone in my z2m config i had a name of something called "zigbee2mqtt". i thought that was the topic. but now i cant find it

sour shadow
#

Sure, that's where the non Discovery payloads go

lapis tiger
#

oh its in my old/default config file. "base_topic" is "zigbee2mqtt"

sour shadow
#

Yes

lapis tiger
#

my new config file that i copied from my old HA install doesnt have that parameter at all

sour shadow
#

That value is the default

lapis tiger
#

ok its redundant to specify that since thats teh default value

#

ill read more but im wondering why it doesnt match

sour shadow
#

What doesn't match?

lapis tiger
#

"homeassistant" and "zigbee2mqtt" names of topics

#

in MQTT Explorer, i have those two "topics" as headings with a bunch of stuff under t hem

bitter harbor
#

they do different things

lapis tiger
#

yeh im getting that sense. haha

sour shadow
#

Which is what we've been talking about above shrug

lapis tiger
#

yeh i know, i just dont get it yet. i'll read up a bit

#

i wish i could past this dumb screen shot into here

#

paste

rapid dawnBOT
#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

lapis tiger
#

you guys know what i mean though

#

yeh imgur wont load for some reason. EVERYTHIGN IS FALLING APART.

sour shadow
#

What I'd suggest is that you spend a bit of time reading up on MQTT Discovery, Z2M's HA integration, and then looking at the various payloads

lapis tiger
#

actually everything seems to be mostly working. im jsut trying to learn a bit so i can retain some of what i did

sour shadow
#

Once you start to see what the payloads are, and how they all connect, maybe it'll start making more sense

lapis tiger
#

yeh probably. i appreciate the help

sour shadow
#

Right ... so ...:
homeassistant: The MQTT Discovery topic for everything
zigbee2mqtt: where Z2M publishes the device payloads

#

Everything that uses Discovery publishes to a topic under homeassistant/ (see above for the link)

lapis tiger
#

oh i suppose if i had a zwave2mqtt itd be another unique topic

sour shadow
#

Yes

#

And so on

lapis tiger
#

i got on this thought wondering about the duplicate messages

#

but this is clearly unrelated

#

i htough maybe i had some sort of duplication

fleet raptor
strange ibex
#

that's a wifi bulb

#

wait

#

I am braindead and can't read

hollow chasm
#

That's not really a common use-case, so it doesn't look like there are many similar things on the market. Most people would either replace their switches with smart switches, or they'd replace the bulbs with smart bulbs

fleet raptor
#

I planned on using zha

#

That is so wasteful to replace the bulb.

fleet owl
#

How secure is the zigbee protocol?

austere patio
#

You can give the bulb to someone who uses non-smart lighting πŸ˜†. You can also replace the switch, though many LED bulbs aren't dimmable so it'll just be on/off.

austere patio
hollow chasm
#

LED bulbs can be dimmable though, you just have to check the box to make sure it says it is

#

If you try to dim a non-dimmable bulb, bad news

fleet owl
raven jewel
#

No

austere patio
#

No but they can easily sniff your network key (unless you buy exclusively Zigbee 3.0 devices with install codes) and control your Zigbee network

raven jewel
#

If someone is in your home where they have access to the physical devices, I would worry about them getting physical access to the machine rather than them trying to mess with a Zigbee lightbulb

austere patio
#

Though if the plan was to disable security sensors, using a jammer is much easier

fleet owl
#

Yeah, I'm thinking outside. From the inside is no bueno anyways

raven jewel
#

Or just disconnecting them

hollow chasm
#

or cutting your power

fleet owl
#

What can be done with the zigbee network key?

mild jacinth
#

I'm back to trying to get my zigbee sensors in my detached garage working. I have the Sonoff dongle in my house (on a raspi4) and when I leave the doors open between my house and garage, the garage devices are able to connect HA. When the doors are closed, the devices are no longer seen (too many walls and too much range). I have some questions:

  1. Does this mean I need a second mesh just for the garage?
  2. Does each mesh require its own coordinator?
  3. Could I use just something like an Aqara Smart Light Switch in the garage to get the garage Zigbee devices to show up in HA?
    Thank you.
raven jewel
#

Frankly the attack vector depends on the target: if you are the target they'll just disconnect the battery from sensors or remove them from power

raven jewel
#

I'm assuming this is an attached garage

fleet owl
#

Ok, so mostly messing with connected devices?

austere patio
#

Not much else you can do. The attacker in theory would be able to do anything you can with your coordinator, there's no (known) way to jump from the Zigbee network onto your home network

fleet raptor
mild jacinth
raven jewel
#

Do you have internet in the garage?

fleet owl
#

Ok, thanks! Will segment network accordingly. Are there any zigbee based security devices that definetly should not be used?

mild jacinth
#

Yes, I have ethernet ran out there (and a wifi router in the garage itself... which is sorta like a workshop too).

raven jewel
mild jacinth
#

I have no plans at this point, just trying to understand what is possible.

fleet raptor
#

Why would you call a smart light bulb socket?

raven jewel
austere patio
#

Though if you can get sensors talking with an open door, a routing device will likely have a better connection, especially if one is installed on each end (if you use a single network)

fleet owl
#

Should be fairly standard?

hollow chasm
#

You're going to run into discovery problems with HA not on the IoT network (regarding wifi devices, Zigbee doesn't care about wifi)

#

It can be worked around, but you need to be fairly advanced at managing networking

fleet owl
#

I've run like this before, no worries. Just had a brain fart regarding zigbee.

mild jacinth
raven jewel
raven jewel
fleet owl
#

That's OK, I am a sysadmin myself so I know what to do. Thanks for the support though, appreciate it!

mild jacinth
raven jewel
sour shadow
mild jacinth
austere patio
#

You may also want to just try putting a routing device (e.g. bulb or outlet) near the door, and one in the garage

sour shadow
#

Some of them are, but the ones that are WiFi connected should be avoided

mild jacinth
#

ah

mild jacinth
raven jewel
#

If it's a switch, make sure it can work as a repeater

#

In my experience the ones without neutral do not.

lapis tiger
#

In my detached garage i have a Sonoff ZBMiini wired to a lamp cord that acts as a router. I mounted it up high above teh metal garage door and seem to work. It's not super far from my house, though

#

eventually it'll detect my garage door state but i haven't wired it up yet. ha

#

its the kind WITH neutral

mild jacinth
mild jacinth
mild jacinth
austere patio
#

If they're Aqara, yes. They rarely switch parent routers. Make sure to permit joins only through that newly-installed router, as otherwise they may join to a random other router nearby.

mild jacinth
dense dune
#

Hello, anyone know how to get proper event names I can use to trigger automations? I got the aqara fp1 and connected it to HA with zigbee (ZHA/Sonoff usb stick) but I cant get the "enter" and "leave" events to listen to. What am I supposed to input under event type and data in the automation?

#

There's like a 4 sec delay before the occupancy state changes to detected and I'm hoping to eliminate that by using the event as a trigger instead

strange ibex
#

That's how those sensors work

#

Sorry, the delay, that is.

#

They are often paired with PIR sensors.

dense dune
#

My plan is to pair it with a PIR but the approach and enter events fire considerably faster. All I see in the logs is "aqara lumi.motion.ac01 Enter - Sensor event was fired". How do I use it as a trigger in an automation (just to test)?

#

would the event type be "aqara lumi.motion.ac01" and the event data "command: Enter"?

molten linden
#

If you use the device automations all the options are there

dense dune
#

Do you use the aqara hub? I don't think I've ever seen this interface before.

hollow chasm
#

No that's the popup you get if you go to the device page, then click the + for automations

dense dune
#

You learn something every day. I never realized that was even there. Thanks I think I can figure it out from here

hollow chasm
#

You can also just create an automation and manually select a device trigger for that entity. That popup is just a shortcut

dense dune
#

Yup works almost instantly now. I'm using both enter and approach events along with the occupancy status and the sensor detects me the instant I enter the detection range.

lucid coyote
#

Apparently some zigbee gateways limit the detail one can extract, i.e energy/wave harmonics readings. Wonder if one was to use SkyConnect if SkyConnect will be the limiting factor or not. I am also assuming if all sensed data is relayed to HA, then should be able to get it all from HA side. Am I assuming correctly?

austere patio
lucid coyote
# austere patio Depends entirely on the device you're communicating with. If it's exposed over Z...

Engineer that developed a zigbee device (energy meter that depend on reading data from wave harmonics) said some zigbee gateways limit the detail one can read or script to extract that info. So wondering if Skyconnect relays it 'all' or relays some footprint its been designed to relay (which means can be the limiting factor) so it can be extracted from HA side. That some gateways exist that limit is confirmed by them (since they have 1st hand knowledge), but would Skyconnect be considered similar is what I am seeking to find out.

austere patio
#

SkyConnect isn't a gateway, it's just a Zigbee radio. You need a Zigbee integration that can control it (ZHA or Z2M). If the device exposes this information, it can be read (in theory). The choice of coordinator doesn't have anything to do with it.

That being said, Zigbee Smart Energy stuff part of a smart meter may not be accessible, since the smart meter acts as the coordinator and the joining process requires certification, asymmetric keys, etc. Not something you can DIY in this way.

raven jewel
#

UK Smart Meters use Zigbee, but they cannot be joined to a local network which may be what was being referred to (or something similar)

smoky citrus
raven jewel
#

My FP1 is working with Zigbee2MQTT

#

Though it has a bug where once it goes positive it stays positive which is a problem.

dense dune
#

yes, I have a Sonoff Zigbee stick I added to home assistant. Just add the device to the Sonoff Zigbee 3.0 USB Dongle Plus integration and I can read temperature and presence events from the fp1.

#

I think it only needs your region set to china if you use the hub and app.

mellow geode
raven jewel
#

It's not a universal problem. Some folks in #creator-connection were talking about it yesterday, and some folks in the forum posted about it a while ago as well

mellow geode
#

Thanks! I’ll have a look

smoky citrus
#

is there a limit on number of zigbee devices per dongle?

#

my tradfri joined the zigbee network then left again

austere patio
#

Nothing you'd ever normally encounter. It's increased by ~6+ by every router (e.g. bulb, outlet) you add to your network.

smoky citrus
#

i see

#

so that's fine then

#

my lights join

#

then left

#

its odd

austere patio
#

Why do you say they left the network?

smoky citrus
#

it says so

austere patio
#

What coordinator and integration are you using?

smoky citrus
#

running a dell 3050 proxmox haos ova

#

with a sonoff zdongle e

#

so z2m

#

i have all my switches in, they have neutral wires

austere patio
smoky citrus
#

ah shit the pic didnt upload

#

1 min

hollow chasm
#

Sounds like the red toast notification that says "X has left the network"

smoky citrus
#

yes that one

#

ah i cant upload a file here

hollow chasm
#

I had that briefly when trying to pair a Tradfri remote, except it turned out that I was using the wrong pairing method of holding the pairing button and putting it close to another device, instead of pressing the button 4(?) times rapdily

smoky citrus
#

i pressed it 5 times

#

and it joined

#

but it will leave after awhile

hollow chasm
#

What device is it?

smoky citrus
#

tradfri gu10 lightbulb

hollow chasm
#

oh, I don't have any bulbs so I haven't paired them before. The Z2M site says power cycle it 7 times though

smoky citrus
#

strange

#

it works for awhile

#

then it leaves the network

raven jewel
#

I don't think it's being kicked out πŸ˜‰

smoky citrus
#

it says device XXXX has left the network

#

but it joined

#

and detected fine

#

should i power cycle ha?

#

just gonna do it

#

i dont understand what's going on

austere patio
#

How long does it take for that message to pop up?

#

I suspect that "has left the network" is just what's shown when the device hasn't been heard from in a while

smoky citrus
#

pretty fast

#

it detects it, says its ikea looks fine

hollow chasm
#

When it happened to me, it was within a few seconds of pairing and completely vanished from the UI

smoky citrus
#

then the next few seconds it says device has left the network

hollow chasm
#

You said before you're pushing a button, but that's not the pairing method Z2M says to use, so I have a feeling you're using the wrong method

#

What exactly are you doing? What button are you pressing on what device?

smoky citrus
#

ive paired like 20 bulbs before

#

it was working

#

Info 2023-01-06 11:25:29MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x04cd15fffe58ba5e","ieee_address":"0x04cd15fffe58ba5e"},"type":"device_leave"}'
Warning 2023-01-06 11:25:29Device '0x04cd15fffe58ba5e' left the network

raven jewel
#

If you are pairing a lightbulb: Put down the remote control.
Power cycle the lightbulb 7 times with pairing enabled.
Breathe.

smoky citrus
#

yes

#

then it works

#

and then they leave the network

#

all of them.

#

the newly paired ones

hollow chasm
#

I'm confused. You said you were pressing a button 5 times, but the docs say to power cycle the bulb 7 times

smoky citrus
#

i also did it 7

#

same issue

raven jewel
#

It's not both

hollow chasm
#

There should not be any button involved

smoky citrus
#

its my light switch

#

its an aqara switch

#

i have like >10 aqara switches with neutral, so i believe these act as repeaters right?

#

hmm max direct children is 32

#

maybe ive been adding them wrongly?

raven jewel
#

Wait, are you plugging smart bulbs into a light socket controlled by a smart switch?

smoky citrus
#

yes

raven jewel
#

... you don't do that

#

It's an either or. Smart bulbs do not like losing power

smoky citrus
#

but i can do decoupled mode right

raven jewel
#

If your switch supports it and is wired correctly to do so

smoky citrus
#

yes my switch is

#

i researched into this

#

i believe i can

#

the thing i wanted to do was to have home assistant dimm the lights accordingly to time

warm umbra
#

Hello all,
I've got a question about some zigbee switches I use. I've been using a lot of these 4 button scene smart switch types. They work on zigbee and pair great with HA and overall also work great.
However, I've been noticing that all of them, some worse than others, have this annoying bug or whatever. They start blinking with all LEDs as if you are pairing them and do not respond when I press any buttons.
Most just stop after a few seconds but I've had 2 that just wouldn't stop blinking and I had to remove the battery. I was thinking that batteries might be the issue here. Perhaps they use a lot of power and drain the batteries fast?
i've got 2 that I recently changed batteries for and also used quality brand batteries (duracell) as before I used some white brand types. I've been testing them with a battery tester and the majority of batteries still have enough power but still the switch seems to need more or something? Kinda a far shot here but I've been breaking my head over this and cannot figure out why they do that. Connection loss with the zigbee hub was also something that I've been looking into to but that does not seem to be the problem either. the switches are located on the 1st floor (not ground level 1st but one above) and the hub (a oonbee II usb) is located in the entrance hallway and the rooms (where the majority of the switches are used) are pretty much right above from there. I also added those zigbee plugs as I understood that those create mesh for zigbee? I have one in every room on the 1st floor, one in the hallway of the 1st floor and also one in the ground level hallway so that should create a good mesh network I guess. My other zigbee devices located on the 1st floor (and a few on the second floor too) work just fine. It's just these switches that have these issues. the switches I talk about are these from Moes : https://www.ebay.com/itm/155103921922
hoping someone has had these issues or knows about a fix.

Thank you

regal thorn
#

Does anyone uses aqara wireless switches with z2m via sonoff dongle?

#

Any one experience the wireless device keep dropping off the network?

austere patio
regal thorn
#

I tried to pair them with ikea tradfri GU10 led bulb.

austere patio
#

That should work fine

regal thorn
#

I have a tuya zigbee switch with neutral in the room too.

smoky citrus
#

@regal thorn are you on the zdongle p or e

vapid osprey
#

Has anybody managed to actually get the new Aqara T1 Pro Cube working via ZHA? Mine pairs, but sends no events and the only thing that works is the identify button (not even the battery registers a value)

austere patio
#

I remember reading somewhere that you have to click the reset button five times to have it switch modes

hollow chasm
#

Is there some trick to getting IKEA FYRTUR blinds to work in a Z2M group? I created a group in Z2M, added 2 blinds to it, the group shows up in HA, when I press up/down in HA I see an open/close command publish to MQTT, but the blinds don't react. They work individually, just not as a group

vapid osprey
subtle jay
#

Now that Z2M is working, I can compare it to ZHA. Z2M is great. I am really glad that I am making the switch. Not only is the control better, the support of devices better, the interface great, and the ability to move the radio to a better spot very useful---it is relieving to know that I have another layer made separate from HA.

torpid cove
#

Any budget zigbee light switch?
Those zigbee switch on amazon cost $40+
While wifi ones are <$20

subtle jay
#

Sonoff ZBMINI

torpid cove
#

Thanks. I'll have to check if there is enough space inside the existing switch for this

dusk python
#

Unless you're going to reflash

torpid cove
#

I know. That's why I want zigbee for my next switch. It also enhances my zigbee mesh.
but they are just more expensive in general

sour shadow
#

You can find cheap Zigbee switches, but they're usually a bad choice

dusk python
#

Yeah the wifi one does less overall generally

sour shadow
#

Do you really want to cut corners on something handling mains electricity?

dusk python
#

Yeah I got a wifi switch by mistake, a tuya one with an internal serial dimmer that would periodically crash and need the breaker flipped

tiny lava
#

Good morning all.

I've been using Zigbee2MQTT for more than a year with a lot of different devices and brands (Aqara, Philips, IKEA, Sengled and a few others).

More recently I've been having issues with my Aqara sensors, as they stop reporting data and eventually show up as offline in Zigbee2MQTT. I've read about the Aqara issue when they're connected to an unsupported router device, but more recently I forced them to connect with the coordinator directly, but still, the exact same devices eventually show up as offline.

On one of them, I tried to change the battery too, to make sure that was not the issue. A couple of days later, shows up as offline.

Any suggestions on this? It's driving me crazy always having to re-pair these sensors.

dusk python
strange ibex
#

lol...

dusk python
#

Oh shit lol

#

I'm the dumb one

tiny lava
#

πŸ˜„

dusk python
#

I musta stray clicked my way into here haha

tiny lava
#

Oh, and it's not all the Aqara sensors. It's usually always the same 2 or 3 sensors (out of perhaps 20 of them)

dusk python
#

I've heard aquara sensors having that exact problem

sour shadow
#

I have no issues with mine

dusk python
#

Do you have a multimeter to check your batt voltages manually? sometimes you can get a bad batch that isn't very high voltage right out of the pack

sour shadow
#

Typically any device falling off is a problem with the battery, or signal

tiny lava
#

Are these sensors known for failing or being faulty that often?

dusk python
#

Some sensors are NOT tolerant of weak batteries

sour shadow
#

Well, no sensor is tolerant of weak batteries

tiny lava
#

One of them I changed the battery and still had the same issue after a couple of days

#

plus, it does (or did) report a full battery too.

torpid cove
# dusk python Yeah I got a wifi switch by mistake, a tuya one with an internal serial dimmer t...

The Kasa one have been fine. It showed red once I believe but it fixed itself the next day.

Also I am not sure how zigbee light switch works. All my other zigbee devices (aqara sensor and sonoff switch) are controlled by HA.
The kasa wifi light switch my father can change schedule etc with the wifi app.
For my next light switch it doesn't have to have scheduling function but does it have the capability?

dusk python
#

I've had ikea sensors that went years and then I changed batteries and they shit out again right away cuz I bought cheap batteries

dusk python
torpid cove
#

My HA/z2m is the "hub".

dusk python
#

You probably just need a blueprint to setup actions for your zigbee switch

sour shadow
#

Or automation

dusk python
#

I have all zwave switches but mostly same idea, a blueprint where for 'on' I tell it to make a service call to turn on an area or light, etc..

#

blueprints are just pre-laid out automations

torpid cove
#

πŸ€” not sure my soon 70yo father would understand how to make those.

dusk python
#

That's the point!

#

You add a blueprint to HA then you can make automations that are basically on guide rails

torpid cove
#

I'll experiment with my existing switches first.

rapid dawnBOT
#

@quartz kettle I converted your message into a file since it's above 15 lines :+1:

dusk python
#

Did your com port change after a reboot because another device was attached?

quartz kettle
#

Nope

dusk python
#

I'd try removing and reattaching the stick perhaps, I've had them very rarely crash in a way that needed it

quartz kettle
#

already did

subtle jay
clever cedar
#

Guys! have anyone tried an USB over LAN solution with the zigbee coordinator? like virtualhere.com ?

In theory, that should solve the "physical" connection to a VM by software making HA possible on proxmox

clever cedar
still delta
#

How is the backwards compatibility with ZigBee? Does a Aqara motion sensor P1 work with a ConBee 1 (not 2) ?

subtle jay
austere patio
rigid phoenix
#

Does anyone have Tipp to reset a gledopto gl-c-008? I did it like in the manual, but had no luck. I did it slow and fast but no difference.

clever cedar
austere patio
#

Oh, I meant that for ZHA (it uses socket, Z2M uses tcp)

#

But yes, everything will need to be re-joined

clever cedar
austere patio
#

Yes, it natively supports TCP coordinators

clever cedar
austere patio
#

No need for MQTT

#

You just set up ser2net on the other computer where your coordinator will reside, expose it on the network, and re-configure ZHA to connect to socket://1.2.3.4:5678 instead of /dev/serial/by-id/...

clever cedar
slate leaf
#

Hey guys, could someone please help me to transform service call below to zha_toolkit.zcl_cmd ? I am unable to read/write anything using zha toolkit

data:
  ieee: 5c:02:72:ff:fe:f1:17:e6
  cluster_id: 61184
  attribute: 357
  value: 0
  endpoint_id: 1```
austere patio
faint zephyr
#

i moved and tried to restart my zigbee network in the new place and i get this error :" Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby"
https://paste.debian.net/1266364 (full error)

i'm running HA core supervised with tubeszb-cc2652-poe-2022
read online that a reset would fix the problem pressing the bsl button 1 time but it did not any advice ?

austere patio
#

What is near your coordinator? This only really happens when there is something really noisy nearby.

faint zephyr
#

there is a router and a mini pc next to it

austere patio
#

Move it away from both

faint zephyr
#

how far ?

austere patio
#

Far enough for the coordinator to start up πŸ˜†

faint zephyr
#

in the old place they where sitting next to each other also

#

but gang on

#

okay moved it like 4 meters lets check

#

same error "rror: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby"

austere patio
#

Try putting the coordinator under a big metal pot

faint zephyr
#

to block incoming signals

austere patio
#

The error message is only a guess: Z2M just asks the coordinator to start the network, and it instead locks up and doesn't respond

carmine hamlet
#

Googles for Zigbee-certified metal pot

austere patio
#

I've found this only happens when you either restore a backup and are trying to re-form an existing network in range of nearby routers, or there is so much interference that it crashes

faint zephyr
#

okay all setup retry

#

"Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby"

#

even removed the antenna of the coordinator

clever cedar
faint zephyr
#

unplugged all the routers that i know off

#

still the same error "Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby"

evrything that sends a signal has been unplugged even unplugged the wifi router

austere patio
#

Or wait, no that's from the Z2M docs. If you're using ZHA, you don't need to do this. Just re-configure the radio and use socket://192.168.0.122:20108 as the serial port path (you will have to manually enter it)

austere patio
#

If the coordinator is plugged into another device on the network, Docker doesn't know about it

clever cedar
#

devices:

  • socket://192.168.0.122:20108:/
#

like this?

#

in docker compose?

austere patio
#

It doesn't need to be in docker-compose at all

clever cedar
#

can my docker access all my local host serials?

#

because i have my coordinator passthrough by id

austere patio
#

What device are you running ser2net on?

clever cedar
#

a remote raspberry pi

#

my container is in another raspberry pi on the network

austere patio
#

ser2net just turns a serial port into a TCP server

#

So all you do is have your application (i.e. ZHA) connect to socket://192.168.0.122:20108. Docker doesn't get involved as long as your container can access the local network, which it probably can.

#

So if ser2net is running, just let ZHA fail to start up (since the serial port is missing) then click "Migrate Radio" in its configuration, select "Re-configure the current radio", go to "Enter manually", and type in that URI

clever cedar
#

the problem is that I can't just change the device on zha

#

I'll have to delete the integration an lose all my devices/entities

clever cedar
#

oh boy!!! It's working!!

#

Thank you so much!, It was that simple

#

Now I can move around my antenna to check which is the best place

faint zephyr
#

now i'm getting a new error "Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)"

austere patio
faint zephyr
#

hope it aint broke

austere patio
#

Hmm. Maybe a firmware re-flash might help

faint zephyr
#

owkay never done that before

#

unplugged it for 20 seconds and now it gives the same error as before atleast i know it aint death

#

in the past it was pretty much plug and play now with the move its all changed

faint zephyr
#

can't i just change the panId or extendedPanId to get it started ?

austere patio
#

If you do that, your network is gone

faint zephyr
#

if i have to repair all i dont care just want to get it working

austere patio
#

I would suggest trying to re-flash the firmware first

#

It's not difficult can be done without unplugging it, you just need a Python environment to run the flashing tool

faint zephyr
#

well i have no idea on how to even begin with it not even sure what to put in google

austere patio
#

@molten linden do you have a guide for flashing firmware?

molten linden
#

recommend updating the esp32/esphome FW too before attempting a flash, it will likely go smoother.

faint zephyr
#

is there a video how to ?

molten linden
faint zephyr
#

and how do i reach the frond end ?

molten linden
#

got to the coordinator IP in your web browser

faint zephyr
#

ill be dammed

#

so i just upload the bin file ? and then update or do i need to pres prep for firmware update ?

molten linden
#

just upload the bin and hit uplaod

#

the prep is for the zigbee fw which requires the the command line tool, as described in the link I sent

faint zephyr
#

Update Successful! rubber_duck

#

still the same error : " Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby"

molten linden
#

well the update was just the esp32 not the zigbee

#

honestly try the metal pan on top, it will likely save you a bunch of time

#

wrap it in foil

faint zephyr
#

already did the metal pan thing did not work still got signal

molten linden
#

it's not happy about rf signals.

austere patio
#

Do you have a metal lid as well?

faint zephyr
#

i put it with cable and all in the pot

#

okay now its in a thiker pot with lid

#

23:15:37 [I] [ota:109]
Boot seems successful, resetting boot loop counter.

#

Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby

#

and it's in a metal pot

#

ill wrap it in foil hell what can go wrong

austere patio
#

Try re-flashing the Zigbee firmware

#

I think something else is causing it to fail to start the network

faint zephyr
molten linden
faint zephyr
#

okay this is gonna be a handfull

slate leaf
austere patio
#

ZCL commands and ZCL attribute writes are different things

#

Cluster 61184/0xEF00 sounds like Tuya

slate leaf
#

the issue is, that am unable to control the trv from hass, but when I sniff the control requests from tuya GW, they are not much different to those from hass, except for header

austere patio
#

What header?

slate leaf
#

Sorry, not header, my bad, that was different issue. Am talking about the data in Cluster Library Frame

austere patio
#

Zigpy doesn't really let you send unstructured data straight to a device, it has to be defined as a ZCL command/attribute with a structure first, which is done with a quirk. Have you seen the existing Tuya quirks? https://github.com/zigpy/zha-device-handlers/tree/dev/zhaquirks/tuya. There may already be one compatible with your device, requiring only the Tuya manufacturer ID to be added to the list.

#

Quirks match based on the device's manufacturer/model info and the reported endpoints and clusters

slate leaf
#

Unfortunately there's not, peaople are reporting issues with this device: I have 2 TRV's from the same seller, but both are apperantly from different manufacturer. However data field seems to be the same for both, But only one can be controlled from hass. The second one returns 'Unsupported manufacturer cluster' with every request. What can we do is only to read from that trv

austere patio
#

See if you can find the randomly-generated manufacturer ID of the one that works in an existing quirk. It could just be that your second variant isn't being matched.

slate leaf
#

and that's what am wondering if it is a core of the issue, because TUYA GW sends:

        .... ..01 = Frame Type: Cluster-specific (0x1)
        .... .0.. = Manufacturer Specific: False
        .... 0... = Direction: Client to Server
        ...1 .... = Disable Default Response: True```

but, zha sends:
```    Frame Control Field: Cluster-specific (0x05)
        .... ..01 = Frame Type: Cluster-specific (0x1)
        .... .1.. = Manufacturer Specific: True
        .... 0... = Direction: Client to Server
        ...0 .... = Disable Default Response: False
    Manufacturer Code: Telink Micro (0x1141)
    Sequence Number: 102```

(That's what I was calling header unfortunately)
#

I'd like to replicate (if possible) the request with same params

austere patio
#

Is there a GitHub issue tracking this problem?

slate leaf
#

I've seen only requests asking for implementing the functionality to official and custom quirk]

austere patio
#

Right, that's what would handle communication with your device

slate leaf
#

ok so even If I try to debug the communication the quirk is always used to generate that communication and I can't bypass that (or force to change some params) other way than rewrite the quirk?

austere patio
#

You would do that through the quirk, which has direct access to the zigpy device object

#

There's currently no way to send arbitrary data to a device using just ZHA

slate leaf
#

damn, I was debugging the quirk last two days, so am back at the beginning.

Thanks for the last message, that's actually what I was trying to achieve, so I should probably stop.

austere patio
#

Tuya is really a mess

#

It would be simple if they just extended normal Zigbee commands and attributes, but they have their own proprietary protocol on top of Zigbee

#

What are the manufacturer IDs of your two TRVs?

slate leaf
#

it definitely is. I don't like that platform at all. Hopefully that we'll find a solution for that new issue soon. I have 6 trvs from HAMA, and I bought another 3 for xmas but can't use tham at all.

#

Working one: _TZE200_yw7cahqs
Problematic one: _TZE200_h4cgnbzg

slate leaf
#

I was using the custom one, as the problematic trv wasn't automatically recognised. But yes, yesterday I've used this quirk (as custom file) to try if the issue was solved and no, it's still not working.

austere patio
#

Not working because the quirk wasn't matching? Or because it matched but was not correctly communicating with the TRV?

slate leaf
#

wasn't correctly communicating, am getting still the same issue about unsupported manuf cluster command

austere patio
slate leaf
#

I'll double check the functionality now, once again, just to be 100% sure, but basically I did all debugging using that quirk only thing I did was just stripping all other manufacturers from the code. I was just hoping to get more info and better lead to guys writing these quirks rather than just ask for a fix.

austere patio
#

I think the packet capture will be very helpful, as it will show exactly the difference between what the Tuya gateway sends and what zigpy ends up sending

slate leaf
#

I did comparison with working and not working trv both TUYA > TRV and HASS > TRV and ther's not really much difference then what I've showed above.

austere patio
#

So the only difference between what ZHA sends and what the gateway sends is the presence of the manufacturer-specific bit in the frame control field? What about the ZCL cluster ID, command ID, and data?

#

If it's indeed the Tuya protocol, Wireshark should fail to decode it and will just show bytes

slate leaf
#

Basically yes, there's not much more difference. While sending request from hass, the journey ends with:

    Frame Control Field: Profile-wide (0x18)
        .... ..00 = Frame Type: Profile-wide (0x0)
        .... .0.. = Manufacturer Specific: False
        .... 1... = Direction: Server to Client
        ...1 .... = Disable Default Response: True
    Sequence Number: 102
    Command: Default Response (0x0b)
    Response to Command: 0x00
    Status: Unsupported Manufacturer Cluster Command (0x83)
slate leaf
#

@austere patio I just removed all my testing quirks, removed the device, repaired and used just that one quirk you've sent and the issue persists. However when we were talking about payload tweaking, I've searched for that tuya init.py in my instance and switched all is_manufacturer_specific to false and voila TRV is controllable now from HASS. And no more unsupported manuf cluster command while sniffing.

#

am gonna revert the changes and retry

#

and I can replicate it, which is good. Thanks for your time today @austere patio I really appreciate your help and time you've spend to explain me some stuffs about how ZHA works. ZigBee overall is for me really very complex thing to understand.

I'll share details about my discovery tomorrow in some issues on github. G night

austere patio
#

Awesome, thanks for debugging this!

viscid ember
#

So i removed 30 devices from SmartThings to ZHA
having some issues with a Hue Motion Sensor.
Hue Motion sensors have been the worst to pair with HA
I have 3 connected to home assistant at the moment.
Sometimes when they pair, they only show motion, illum, temp. and work most of the time. sometimes stop working.
Re-paired the one from the bathroom today and when it paired it had OPTIONS for sensitivity and LED control
Sometimes if you pair the sensor it shows options, some times not.
I got the bathroom one working great, with options.

So i decided to re-pair the bedroom one to get the options for sensitivity.
Its on my nerves.
It is paired, and the log book detects motion, but does not clear motion.
I get this log book entry instead when it should be clearing

#

Master Bedroom Motion On With Timed Off event was fired with parameters: {'on_off_control': 0, 'on_time': 3000, 'off_wait_time': 0}
8:08:19 PM - 4 minutes ago
Master Bedroom Motion Attribute Updated event was fired
8:07:23 PM - 5 minutes ago

#

temp is stuck at unknown, illum is stuck at 19 lx

#

the re-configure buton fails

vestal kiln
#

I went and picked up some aqara devices for use in SmartThings, and the device handler setup doesnt exist like I expected, is there another way to add these devices?

viscid ember
#

i had issues with aquara stuff when i ran smartthings.
funny enough, zha in home assistant worked right away with aquara

vestal kiln
#

for zha you need a zigbee device, right?

viscid ember
#

yes. get the zooz 700

#

i got it, i heard its one of the good ones

#

always do more research before hitting the buy button

#

i just moved 30 devices from smartthings to home assistant directly, instead of smarthtings to home assistant

#

my zwave stick showed up yesterday.
smartthings hub will be gone by next week

vestal kiln
#

heh, i did do reasearch, just missed the out of date part of it

viscid ember
#

oh.. all the ones that ship now are up to date

vestal kiln
#

ive been reluctant to get rid of smartthings since, i use it for google home integration, since i dont use nabu casa

viscid ember
#

mine worked out of box. dont let the firmware disclaimer scare you away

#

ahh... i avoided nabu for a while. bit the bullet. and LOVE IT.

#

i didnt realize the google integration was so customizable

#

you can select what devices to show google, and as of the update 2 days ago you can multiple custom "aliases" to devices in case you have 2 or more ways of calling a device.
eg bedroom TV, bedroom samsung, bedroom samsung tv.
you can set all those to the same device, so google does not get confused and say "i dont know that device" because you said something slightly different

#

plus HASS team does good work, i dont mind supporting them thru the nabu sub

#

2 birds one stone

vestal kiln
#

my biggest annoyance now is, when broadcasting from HA to the speakers it stops the music, is that fixed via nabu casa?

viscid ember
#

no, but i fixed that by buying a bunch of nest minis and put them in areas, they do notifications only. bigger speakers do music

#

music group, notification group

#

never shal they meet

vestal kiln
#

ha, that's an interesting take

viscid ember
#

i actually got 4 nest minis for free while back due to youtube premium bug

#

each "member" of my family requested one, i got 5 using multiple email addresses

#

4 or 5

vestal kiln
#

ah nice

viscid ember
#

home assistant is working on local voice this year.
they will be working on a way to get voice in&out to various points in your home....
so... maybe dont spend money on nests,,,

#

i heard a suggestion, esphome might get updated to do mics and speakers....
or something similar.

vestal kiln
#

that would pretty nice to see

random pelican
#

Any Zigbee experts got 10 minutes to help a tech head figure this out? I've troubleshooted as far as I can solo.

"No converter available for 'TS0601_cover' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":18944}'"

"TuYa_cover_control: Unhandled DP #12 for _TZE200_pw7mji0l:"

thorn cobalt
#

Can someone please give me some advice on which is the best zigbee usb stick? sky connect isn't available but would this be an option in the future?

Currently i have a conbee2 running with zigbee2mqtt with around 200 devices varying from hue lights, hue switches, aqara sensors, innr ,nous(tuya), frient plugs and several dry relays. I don't have any neighbors and my zigbee channel is free from wifi interference. The thing is most of the devices just work, but sometimes some devices become unresponsive its very annoying.

ocean cloak
#

Does anyone else have an FP1 that always reports the same temp?

#

Actually it looks like it changed once

lilac wharf
thorn cobalt
#

haha

#

I've heard stories of people having more than 400 devices

lilac wharf
#

I'm currently at about 70 and I don't think I'd hit 200 even if I put contact sensors on all of my cabinet doors and drawers

mighty river
#

"Warning: Conbee 2 firmware versions newer than 0x26580700 will result in an unstable network with devices dropping randomly, see Issue 9554" <- from the conbee entry at https://www.zigbee2mqtt.io/guide/adapters/

#

My CC2652-based USB stick works just fine but then I only got around 40 devices right now

thorn cobalt
lilac wharf
#

Yeah, I have sensors on my windows and doors but not cabinets. Why do you have them on cabinets anyway?

#

get out of the liquor cabinet, Tommy

thorn cobalt
lilac wharf
#

OIC

thorn cobalt
#

@mighty river Coordinator revision
0x26780700

mighty river
torpid kiln
#

Have someone also problems with the skyconnect and zigbee2mqtt? My installation last always some devices after reboot or after some days. Have a lot of aqara battery devices

raven pollen
#

Hey okay! I have a question. I am starting a Zigbee journey and I've instaleld door sensors and smoke alarms. However, half of the house is out of reach. Thing is, I already have a ton of Hue Lights everywhere. Would it be worth de-huing my lights and have them go the zigbee way? What do you think? How reliable is it compared?

#

I've got the Sonoff Zigbee Adaptor

sour shadow
#

Yes it's worth it

#

As long as you're not turning off the power to those bulbs it'll be reliable

jade mirage
#

hey Tinkerer... got my mmWave sensors

#

not quite the range I expected

thorn cobalt
sour shadow
#

The SkyConnect is experimental for Z2M

torpid kiln
sour shadow
#

Well... EZSP chips have been experimental for a while now

#

That either means that they'll have the 42 thousand bugs fixed real soon now, or the opposite

#

I know which way I'd bet πŸ˜‰

austere patio
#

There's also no magical date for when support ceases being experimental. As more people use it, more bugs will be found, and more bugs will be fixed.

sour shadow
#

If you're happy to deal with issues, keep using it and report bugs as you find them... which is pretty much how it works for all software really

spark star
#

All of a sudden my two Ikea Tradfri 5 button remotes started to eat batteries. I added a few endpoint devices days before this started. I also brought an existing pair of Ikea bulbs back into the system, one of them needed a factory reset to work. Other than that the only other change which coincides with that is the power was cut for a few hours in the area that the Ikea bulbs are and they are the router for one of the Ikea remotes.

#

Any ideas as to what might be causing my Ikea remotes to be eating batteries like that?

faint zephyr
#

My MQTT broker is not connected to my z2m how do i fix this just installed the Mosquitto broker out of the box

torpid kiln
faint zephyr
sour shadow
#

Then you didn't do everything right

#

Start with the basics: check Z2M's log to see if it's even starting

faint zephyr
#

Z2M is up and running

#

MQTT is up and running nothing special in the logs

sour shadow
#

Then if Z2M is running it's talking to the broker

#

Did you check that?

#

Install MQTT Explorer or your choice of MQTT tool and connect to your broker, see if you have messages from Z2M under zigbee2mqtt/

faint zephyr
#

Zigbee2MQTT:info 2023-01-07 19:38:51: Connected to MQTT server

sour shadow
#

Ok... and ...?

#

Have you verified you're seeing payloads on the broker?

torpid kiln
#

ok then the best way is to switch back from z2mqtt to zha

faint zephyr
#

its sending payloads from the connected devices

#

Zigbee2MQTT:info 2023-01-07 19:44:01: MQTT publish: topic 'zigbee2mqtt/0x0017880109171150', payload '{"battery":100,"illuminance":5194,"illuminance_lux":3,"last_seen":"2023-01-

#

for example

sour shadow
#

I'll take that as I'm not really reading what you're posting and just give up now

faint zephyr
#

the only thing the broker says connected to HA then no chatter anymore

sour shadow