#zigbee-archived

1 messages · Page 118 of 1

fresh citrus
#

That's so many things.

balmy ginkgo
#

Where you see the 0xD0as? In your add-on log?

fresh citrus
#

Oh well

#

"I'm going on an adventure!"

balmy ginkgo
#

Maybe it's a bug to do with leap years / februari

fresh citrus
#

@balmy ginkgo Deconz docker log.

balmy ginkgo
#

Oh my log is clear of those. I did have to re-add (So delete sensor, add sensor) 80% of all my sensors today for some reason

fresh citrus
#

Sensors seems to work fine.

#

Not the bulbs and plug though.

old kernel
#

in your circuit panel near the top or to one side there might be a bigger breaker that says "main" next to it. that's the button to power cycle all of them at once 😉

fresh citrus
#

That's true. But then i'll power cycle the TV and there will be uncertain consequences.

old kernel
#

For me there are consequences that are quite certain, namely my daughter getting annoyed about being kicked out of her class zoom

fresh citrus
#

It's quiet at the moment. Our twins is 10 months today. I'll take all the quiet i can get.

hardy crane
#

@forest arrow I'm not sure with tasmota. I recently had a discussion with someone who all had the sonoff bridge witj tasmota so I know if you look it up it will tell you want the default channel is. But I couldn't find how you can change it

forest arrow
#

greetings all, so I am new to the Zigbee world and I was planning on using the Sonoff Zigbee Bridge flashed with Tasmoto to manage Zigbee sensors. https://imgur.com/2ytVTqi

fresh citrus
#

Alright so i ran around and power cycle every connected Zigbee device i could find. Awaiting results.

forest arrow
#

I attached an image of my sensors as many of the batteries are going down quicly (only had these installed for less than 2 weeks) and a couple of devices are showing unavailable.

old kernel
#

and now you wait... my network seems to take anywhere from 5 minutes to 2 hours to 'recover'

forest arrow
#

I was told that it might be due to the fact that I only have one connected device and all the sensors are battery operated

fresh citrus
#

I've had the issues since about 8-10 hours back after i started up the Zigbee network again.

forest arrow
#

not inside the house really, but outside yes, and in the garage where I have one sensor

old kernel
#

that might explain the low battery number in the garage... what kind of batteries do they use?

fresh citrus
#

Maybe this should be the time to migrate to ZHA. Hmm.

forest arrow
#

What are some connected Zigbee devices I might use throughout the house to allow for a better mesh network

old kernel
#

anything plugged in

#

light bulbs, outlets, wall switches, etc

#

i think there's a tradfri repeater that's just a powered usb charger with zigbee repeating

#

or maybe its tuya? i can't remember

forest arrow
#

I went and bought some Energizers

austere patio
#

The IKEA repeater is also more expensive than the switchable plug that takes up 1.5 spaces

old kernel
#

bought locally? only asking because the energizer multipack sets i bought on amazon were crap chinese knockoffs

forest arrow
#

@old kernel yes bought locally from supermarket

#

I even tested them with multimeter

old kernel
#

ah. should be good then

#

so maybe router devices are the right move. the switchable plug puddly mentions is a good option

#

i used those to fix my connectivity issues with my thermostats

forest arrow
#

Anyone got a link to a switchable plug to get me going down right path

sour shadow
#

Where in the world 😉

#

I could suggest a UK plug, but it may not help you much 😛

forest arrow
#

United States, Colorado

old kernel
austere patio
#

Yeah, $3 cheaper than the repeater and actually does something

amber gull
#

those still the annoying lock up bug

forest arrow
#

OK so more newb zigbee questions. Does this switch connect back to the Bridge or something?

austere patio
#

It's just a part of your network, like any other device

#

A battery powered device needs a parent so if there's a mains-powered device nearby, it will likely pick it

forest arrow
#

So does it get an IP or is it visible through the Zigbee Bridge integration in Home Assistant. I know these are newb questions

austere patio
#

Zigbee doesn't use IP addresses to identify devices but yes, it'll just show up after you join it to your network

forest arrow
#

Right

#

to my Zigbee network? Same way I joined the Door Sensors?

austere patio
#

Yes

forest arrow
#

ok

#

so I have a 1600 Square Foot house, how many powered devices would you all suggest if there is a suggestion

austere patio
#

They're fundamentally the same thing, these just don't have to go to sleep like battery powered sensors because they're plugged into your wall

forest arrow
#

got ya

amber gull
#

You can use the mapping function to build it out -- ideally you'd want something within 2 to 3 drywall-stick-built walls of every battery powered device

#

each IKEA type router can support 6 battery powered deviecs connecting through it

forest arrow
#

ok so probably ok if I put one in each of my 3 rooms in the house

#

maybe use them as remote power for my not so smart televisions

austere patio
#

If you have a centrally placed coordinator that doesn't have poor range to begin with, you can likely get away with no routers

#

But if you need smart plugs, they definitely won't hurt

forest arrow
#

so when I use imagur it just puts a link but I have seen folks and the image shows up on the page, do I need to do something diffrent

#

different that is

amber gull
sour shadow
#

Only some folks can post images in all channels

forest arrow
#

ok

sour shadow
#

Otherwise it'd be pointless to ban image posting 😉

forest arrow
#

I didn't read that that was a thing, so all good, can I ask if you all see the image when you click the link? it is a screenshot of my lovelace page with my zigbee sensors

sour shadow
#

Yes

forest arrow
#

Thank you

sour shadow
#

Two unavailable, others not 😉

forest arrow
#

right, but the batteries are dying pretty fast

#

or so they seem to be

old kernel
#

but also low batteries considering only 2 weeks of use. a repeater that's closer will certainly be easier on the devices batteries if they're near the edge of signalling

sour shadow
#

A lack of routers could do that

old kernel
#

the sonoff bridge doesn't have a great antenna

sour shadow
#

If they're spending all their time "shouting" at max power, that'll murder the battery

forest arrow
#

so probably adding some connected devices will let them shout a bit less?

old kernel
#

yeah

forest arrow
#

Guess I need to go watch some videos on better understanding Zigbees

#

Any recommendations on some good resources for learning about zigbee's

austere patio
#

Some batteries also start off at a high voltage and then stabilize to their steady state voltage after a bit of use

forest arrow
#

cool

austere patio
#

What devices are these? Xiaomi?

forest arrow
#

Sonoff

#

And I am using the Sonoff Zigbee Bridge that is flashed with Tasmota

#

I am up for different suggestions

sour shadow
forest arrow
#

Funny, I have a pi laying around. Any references to how to integrate them?

#

I moved my HA to a dedicated PC

#

so I have 2 Pi4s sitting here waiting to be used

sour shadow
forest arrow
#

My HA is in a virtualbox on my PC

#

OK looks like I got me some reading to do today.

#

~karma

#

~help

#

@sour shadow any recommendations on a stick that does not suck? I am planning on using these sensors as my security system so reliability is key

sour shadow
#

one of their recommended boards, or a TI LaunchXL board

forest arrow
#

OK cool, you said that, I mis read it 🙂

old kernel
#

i think all the sticks suck

#

but i might be in the minority on that

#

well, all except the ZZH or slaesh which are both too out of my comfort zone for price on a usb stick

forest arrow
#

@old kernel so what would you use if not one of the sticks?

sour shadow
#

Both of those are good, and the LaunchXL boards are good

#

The CC2530/31 sticks are just utter junk

austere patio
#

What's left if you exclude the ZZH and Slaesh's stick? The CC2531?

old kernel
#

definitely don't touch 2530/31

austere patio
#

There are the SiLabs coordinators

old kernel
#

that's what's in the sonoff bridge, isn't it?

austere patio
#

Yeah

forest arrow
#

So then the sonoff zigbee bridge is not the best choice

old kernel
#

i would just get a couple repeater/outlets and call it good

forest arrow
#

ok

#

I guess I can start with that

austere patio
#

Sonoff bridge is fine if you have a strong wireless network

#

Otherwise it'll work poorly

forest arrow
#

the sonoff bridge flashed with Tasmota is what I am using

#

My network is pretty good in the house

#

I thought that Zigbee did not use wifi

old kernel
#

the sonoff bridge goes from wifi to zigbee

forest arrow
#

right

old kernel
#

so it needs a strong connection on both

hardy crane
forest arrow
#

ok, hence the probable need for some remotes

old kernel
#

2530/31 is fine as a router, maybe as a sniffer device too if they have firmware for it

forest arrow
#

So chances are if i buy a remote switch to put in my 3 rooms they will improve my zigbee connectivity

#

?

hardy crane
#

i wanted some zigbee devices at my summer house. So not a big house and not that many devices so was hoping they'd work well enough for that use case

#

Router devies have to be main powered (always on)

old kernel
#

i have a conbee2 and the range for mine is about 30 feet in open air, 20 through a wall...

hardy crane
#

I have the conbee2 works very reliable in my (concrete) house

forest arrow
#

ok going to order a switch and test that out

old kernel
#

i think zigbee just isn't great at super long runs without repeaters

hardy crane
#

zigbee bulbs are also good options

#

usually near ceiling better for signal travelling

forest arrow
#

true

hardy crane
#

rather than a switch which will be in the wall and not high at all

old kernel
#

just don't turn off the switch that powers the bulb or the network goes down 😉

forest arrow
#

let me go look at some bulbs as I was going to order some anyway

hardy crane
#

I had that problem lol

forest arrow
#

so do I just search for zigbee bulbs?

#

hmmmmmm

hardy crane
#

I removed the wall switch .That fixed it 😂

forest arrow
#

well that might be a problem

hardy crane
#

after you find interesting bulbs also check they are supported by your device/integration too

old kernel
#

are you using tasmota as tasmota or are you doing the ZHA -> tasmota serial interface thing?

zenith barn
hardy crane
amber gull
#

No, they don't have any interoperability issues

#

I believe Troy is all new to the smart home stuff, and being guided by a friend -- hence his write up

hardy crane
#

I definitely have issues with my Xiaomi door/window sensors

austere patio
#

My entire network is Xiaomi + IKEA and I've had zero interop issues in years

fresh citrus
#

Same here. Until today.

forest arrow
hardy crane
#

that would be tasmota --> ZHA with the serial

forest arrow
#

This whole Zigbee and other protocols is very new to me. Guess there is quite a bit to learn.

#

I am an IT guy by professions but I do routing, switching and security so only ever really got involved with IP Based networks

#

I thought the purpose for flashing it with Tasmota is so I could use it without a cloud account right?

austere patio
#

All that firmware does is expose the Zigbee chip's serial port as a TCP server

zenith barn
plucky kernel
#

Hello, I have really problem with pairing aqara cube do zigbee2mqtt 😦 I click and move it but nothing happend - any adwice ?

hardy crane
plucky kernel
#

yes i click on it as there in documentation@hardy crane

#

but nothing happends i'm by coordinatoer and have 2 routers nearby. With xiaomi gate v3 worsk ok

hardy crane
#

Pairing sometimes it's just trcky

plucky kernel
#

yup, but i click on pairing button and move it arround

old kernel
#

are there any factory reset instructions in the manual?

#

maybe try that...

plucky kernel
#

i try to move a battery for a while

old kernel
#

that's not a factory reset

plucky kernel
#

Pairing #
Press and hold the reset button on the device for +- 5 seconds (until the blue light starts blinking). After this the device will automatically join. If this doesn’t work, try with a single short button press.

old kernel
#

does the blue light start blinking?

plucky kernel
#

yes

#

then i click it in this button ane move it arround (to make device to send message)

old kernel
#

did you hold the button for 5 seconds and the light started to blink?

plucky kernel
#

yes of course : )

#

I have many devices added with no problems

#

only this one :/

old kernel
#

i've only seen the cube on youtube, looks neat, no idea how to pair it or diagnose it though

austere patio
#

Does the blue light blink brightly or is it faint?

plucky kernel
#

after 5 sec of holding is blink 2 times

hardy crane
#

I have it but I can't remember if I had issues or not

#

try 10secs? 🤷‍♂️

#

or a different battery as well

amber gull
#

We haven't been able to reproduce it yet, outside my network, so not sure.

#

I'm not using his router, I'm using a ZZH, but I believe the behavior would be the same on my network

tropic tree
#

I would like to put a zigbee button on my porch to use as a doorbell, basically. If this device was stolen, how much of a risk might that present to my networks?

old kernel
#

i think it would require some pretty specialized tooling and knowledge to extract the network key from the button

austere patio
#

The thief could come back and ring your doorbell from afar

plucky kernel
#

I add a xioamia gate v3 as homekit controler. I must reset HA to see devices added to it in xioami home app?

austere patio
#

Yeah, a lot of chips have read out protection so unless your thief has access to some fancy hardware, you're gonna be fine

old kernel
#

a rock stolen from the yard would pose a lot more risk

tropic tree
#

Haha good points, appreciate the info 🙂

#

Step 1: Don't piss off a govt organization

hardy crane
#

He'll probably even think it's a 433Mhz button and won't even bother

old kernel
#

the time there is risk is if someone puts a sniffing device nearby your house while you're adding a device. even then i think it's minimal

tropic tree
#

BRB gotta build a faraday cage to do all my pairing in now

#

I think you've all convinced me ... I'm going to do it. It's going to be so good to not have the dogs losing their minds at package deliveries

old kernel
#

just think of the possibilities for halloween

#

(if you have that in your country)

amber gull
#

Xiaomi motion sensors in the front yard, smart lighting, screams -- candy floated down from above the house being held by that skeleton

old kernel
#

love it!

amber gull
#

worked pretty well for a socially distanced halloween 😆

tropic tree
#

epic

amber gull
#

also had a robotic lawn mower wandering around the yard as another skelton

grizzled arrow
#

Just upgraded zigbee2mqtt to 1.18.0-1 (from 1.17.1-4) in Home Assistant. I received an error during the start: "Missing option ota in root"
I opened the configuration and added to the bottom:
ota: update_check_interval: 1440 disable_automatic_update_check: false
Now the add-on starts again.

soft mirage
#

Just got a Conbee2 stick to add my first zb devices (a xiaomi temp sensor and a sonoff diy smart switch) at home.
I don't understand the difference between ZHA vs Deconz. What is recommended? Easiest to manage?
I am using Hassio in a Virtualbox if thats matter.

zenith barn
tropic tree
#

That's a good call... I am thinking about the ikea shortcut though ... amazingly, it seems to have silicone gaskets inside

zenith barn
#

@tropic tree maybe it's a better idea to put a reed switch near the coil of your analog doorbell. That way you can integrate it with HA.

tropic tree
#

unfortunately i need more than one

mellow geode
zenith barn
zenith barn
tropic tree
#

Essentially my entire idea is to have one doorbell that is silent so that people delivering packages can press that one instead and not freak out my dogs

spice kelp
#

i rewired my dumb doorbell with an ESP. the wires from the doorbell itself just short an input pin, then the ESP rings the doorbell with a relay

soft mirage
zenith barn
spice kelp
#

if it's on silent, it doesn't ring but instead sends a notification

zenith barn
mellow geode
zenith barn
mellow geode
#

It looks like the remote is programmed in a very weird way.

zenith barn
#

I have that remote. I was using it by talking directly to a few lamps, but a couple of weeks ago it decided to forget everything. So, I'd like to pair it with HA, so that I won't need to do the whole turn-off-on-off-on-off-on-dance again with each lamp.

mellow geode
#

It's already possible to pair with ZHA. I'm not sure how good it works though (according to the GitHub issue)

#

You can also try listening to zha_event

#

I guess you can also directly bind it to a light while paired with ZHA(?)

forest arrow
#

Greetings again folks, quick question of the day. I have the Sonoff Zigbee Bridge (flashed with Tasmoto) with many sensors throughout my house and folks earlier mentioned that I need some connected zigbee devices to create a mesh which might help me keep my sensors available and the batteries from dying so fast. I was looking at some powered devices I could use but not sure how to tell if they will join the mesh network so figured I would send the amazon link and ask the experts. https://www.amazon.com/SONOFF-Zigbee-SmartThings-Amazon-Needed/dp/B08GKK89QQ/ref=sr_1_6?dchild=1&gclid=Cj0KCQiAvvKBBhCXARIsACTePW-iFbieGzXvZ3le7gcVXdfT7_ZpsZfest0rMmEGlkvDmo9ERDHfoHsaAgi9EALw_wcB&hvadid=407787075270&hvdev=c&hvlocphy=9029029&hvnetw=g&hvqmt=e&hvrand=3827256992077119692&hvtargid=kwd-474383170223&hydadcr=25592_9902616&keywords=sonoff+zigbee&qid=1614632049&sr=8-6

zenith barn
mellow geode
#

Do you see an entity though?

#

In the GitHub issue, it was mentioned that it exposes itself as a switch/light

zenith barn
#

Yes, it is behaving like that. One entity that is a boolean switch. Pressing ON or OFF on the controller indeed toggles the state of that entity. And so far that's all I saw.

soft mirage
#

😫

OK, so ZHA mess with me.

#

"Cant connect to ZHA device"

Enabled logger, and got this:

#

Anyone who can see what is wrong?🙏

mellow geode
tropic depot
#

holy codewall

mellow geode
#

rip bot

mellow geode
#

.. and delete the long message in Discord

soft mirage
#

ofc, sorry

mellow geode
#

You don't have the deCONZ addon installed, right?

soft mirage
mellow geode
#

It's not a bad stick

soft mirage
mellow geode
#

As long as the addon isn't started, you should be fine.

soft mirage
#

No, I got it wrong, I uninstalld deconz add on before install zha

mellow geode
#

Yeah, you don't need deCONZ anyway (when you're using ZHA)

zenith barn
#

Also, is the stick connected through a USB hub? I'm not sure if hubs can provide enough power. (This is just a wild guess.)

soft mirage
#

nope no hub

#

1 meter extension cord between pc and stick

mellow geode
#

Does VirtualBox "mount" the stick at boot or did you "hotswap" it while HassOS was already running?

zenith barn
soft mirage
#

In virtualbox gui i assign what usb devices that should be used by Hassio VM.

#

Using an aeotec zwave stick in the same way without problems.

zenith barn
#

Otherwise, you don't need the extension cable to get the stick to "work". However, without the extension cable it will be under too much electromagnetic noise and the range will be compromised.

austere patio
#

The fcntl.ioctl(self.fd, TIOCMBIC, TIOCM_DTR_str) call failing with BrokenPipeError: [Errno 32] Broken pipe seems like it's a lower level issue

#

And not a just a regular serial communication problem

soft mirage
mellow geode
#

It's probably an issue with you using VirtualBox.

#

You're using it on a Windows host machine, I guess?

soft mirage
#

Yes. took me forever to set it up with usb passthru and vm to start as a service on boot🤪

mellow geode
#

I guess it's not possible to switch to something else (preferably bare metal or a Linux hypervisor)?

#

Not sure what other VM software is compatible with Windows

#

I guess VMware works but that isn't free (?)

jolly narwhal
#

Virtualbox is your best bet to run a VM on windows, except for hyperv, both are terrible choices

#

And running a production system on a VM on a desktop is a horrible idea to begin with

#

It will be better on all accounts

old kernel
#

one of the hp/dell/wyse thin clients plus the nuc hassos image got me running in about 10 minutes

jolly narwhal
#

Mostly any computer from the last 10 years will be an upgrade from a pi or an odroid

soft mirage
# mellow geode I guess it's not possible to switch to something else (preferably bare metal or ...

Nah, if HA will stay it needs to be able to run in my win10 "home server" somehow. (Linux is scary as hell😉 )
If it just is the conbee stick that has troubles with Virtualbox, anyone have a recommendation for another zb-stick?

Just tried the deconz add-on again, and the addon config find my usb device, but when in when open the web ui the connection seems lost so i guessing sam problem as with zha.

But in the web ui, i understand it as deconz connect to HA integration thru ethernet as I need ti add ip/port?
If so, can I run Deconz on windows Host and just use the integration in HA?

old kernel
#

you could use a sonoff zbridge with tasmota, that works completely over ethernet...
or even run a usb over tcpip driver in windows and access it from zha

soft mirage
soft mirage
old kernel
#

yeah, if you really can't get your virtualbox to pass the usb through

soft mirage
#

well, i assume it pass thru all right. the device/port is visible in HA.

old kernel
#

ah okay. i mean, it looks from the log like it can't connect at all... weird.

old kernel
#

huh, interesting. zigbee locks support a user type "non-access", which will just send events and not actually unlock/lock the door. could set up a code that just triggers arbitrary HA automations, like an arm/disarm alarm code or something.

austere patio
#

Like events in response to them being unlocked?

old kernel
#

yeah, at least that's how i read it. i haven't tested it with my locks code yet

#

I get zha_events for lock/unlock with the user code slot now, and there's a "Non-Access User Operational Event" in the spec

untold slate
#

So the CC2652RB stick is back in stock over at Slae.sh .... their main contact method is Telegram, on which they have logged in within the last month! Jesus.

amber gull
#

@old kernel coerced lock open is actually in the zigbee zcl spec

old kernel
#

what does that one mean?

amber gull
#

A code to open the door but signal you are being forced to

old kernel
#

oh nice. what section is that in? i can see if i can implement it while i'm in here

amber gull
#

You'd want your automation engine to notify authorities on that one 🤓

old kernel
#

ah i'm looking at the 2019 zcl spec

amber gull
#

Page 5, june 2020 spec

old kernel
#

that's just a release notes, which don't actually say what the values are 🙂
based on how it is described, it would be something that would work with what I've already written.

#

we could also do it without following the new spec just by setting an alarm event on a specific user code and giving everyone who's coming in two codes

#

"just add 10 to your user code and it will set off a silent alarm when you are allowed in

amber gull
#

Right, just thought it was cool. Haven't dug up the official spec

#

Lots of it is public, but not sure on that doc

#

What are you writing?

old kernel
#

door lock stuff. events w/user codes, set code slot, clear code slot

#

it appears the official 2020 spec is not public...

amber gull
#

I think if anyone has $15,000 we can join the zigbee alliance 😬😂

old kernel
#

i've got my $5 contribution right here

amber gull
#

Let me throw my IRA into gamestop stock, I got this

old kernel
#

someone mentioned buying me a beer when i finished this lock code, that's probably at least another 4 bucks

amber gull
#

You're working on it for ZHA or z2m?

old kernel
#

ZHA

waxen jungle
#

@sour shadow I apologize for disappearing for forever, but I do think I have one brand new zzh! still available. I also have another one that I assembled and tried using as a router for a while, but ended up disconnecting it and setting it aside.

Also, I have not pursued further the idea of selling them here in the US. 😦

sour shadow
#

What, you mean... you have a life outside of Discord

waxen jungle
#

Mmmm....maybe? I will admit, though, that a part of it has involved watching the MCU movies in timeline order.

sour shadow
#

Nice 😂

jolly narwhal
#

Now watch all episodes of Days Of Our Lives

zenith barn
fresh citrus
#

So i'm moving from Deconz to ZHA. What's the best way to control groups of lights/single bulbs with physical remotes? Make an automation for each remote combo?

radiant moth
#

I like node red for this. I was able to migrate from z2m to ZHA and keep all my flows and automations.

fresh citrus
#

Yeah i dont use Nodered atm. So best bet is to go for automations i guess?

radiant moth
#

Sorry but I never used them. I started with node red at the beginning so it's always my go-to. Transferring data to and from Lovelace is a little clumsy but it's worth it for node red's logic and power

sour shadow
#

You may find that you can use Zigbee groups and binding to do this

fresh citrus
#

I could in Deconz at least. Can i do that in HA as well?

sour shadow
#

Well, in ZHA... no idea, I don't use it

#

I'm pretty sure it supports groups

#

Documentation however is ... thin

fresh citrus
#

Aah. Groups yes. But control a group with a remote without an automation.

sour shadow
#

Binding would be the way

fresh citrus
#

Aaaah. Might need to read up on that. Thanks!

verbal shale
#

a question....conbee 2 or CC2652R ?

violet dagger
#

without context? CC2652R

verbal shale
#

for zigbee coordinator

#

i'm strugling wth SZB lattency :S

sour shadow
#

If you're using deCONZ, Conbee 2
If you're using Zigbee2MQTT, CC2652

verbal shale
#

right now i need to figure it out what is the best to get Zigbee large groups of bulbs without lattency

sour shadow
#

Eh, they've got their own weird world, but from what somebody else said the CC2652 (or similar) is still a great choice

simple sentinel
#

Any ZZH! users running the latest zigbee2mqtt docker image successfully? (1.18.0)
Those of us in slaesh-stick-land seem to be having issues, would be interesting to know if the other noted CC2652 flavor favored any better

#

And yes, obviously sensible people skip x.x.0 releases, but some of us like automated pain

forest arrow
#

Greetings folks, so if I have some zigbee sensors that are showing unavailable, will I have to manually reset them or will the system pick them back up? Using Sonoff Zigbee Bridge (flashed with Tasmoto) and have ordered some connected devices since I think my main issue is that all of my devices are battery operated sensors

#

@sour shadow thanks for the conversation yesterday, ordered a couple of remote outlets to see if that helps the battery operated sensors

old kernel
#

They may just pick back up. If they don't you could try just moving them close to the controller until it shows up then back to where they usually are, or just poking the button once to try to get it to wake up.

forest arrow
#

@old kernel do you literally mean just put the pin in push the button and release or so I hold it to reset?

amber gull
junior sedge
#

ooh that's exciting

#

finally be able to check out z2m without having to buy another coordinator (or realistically, just not being able to try out z2m...)

spice kelp
#

i'm using a plug-in switch as a router/repeater, but had issues with downstream connectivity once i plugged something into it 🤷‍♂️

mellow geode
#

Perhaps a (switching) power supply that causes interference?

spice kelp
#

very possible

amber gull
forest arrow
old kernel
#

i think the wakeup depends on the device... in zwave, whatever is done to "join" is 90% of the time the same button sequence to "wake up"

austere patio
#

Huh, I never even considered that poll control cluster could control the polling rate of end devices

#

I wonder if the Sonoff sensors can be configured

mellow geode
austere patio
#

I think he's saying that some glitch with some specific version of EZSP coordinators leaves sensors stuck in fast poll mode?

#

(which seems very useful for device discovery and initialization/binding)

amber gull
#

that glitch was supposed to be fixed in 6.7.8

old kernel
#

is that something that would affect sonoffs also?

austere patio
#

It seems like something you can see with a sniffer and my experience with the motion sensor and the temp sensor has been the exact opposite, they poll only when they report attribute changes

amber gull
#

root issue with ikea sensors is they get stuck in short polling mode and will kill the battery within a few days

old kernel
#

ah

junior sedge
#

does anyone know offhand of why a command might be parsed by zha but no event emitted? i know i've asked before but at the moment im having to stick manual self.log statements around in production code to try to see where messages are failing, and fundamentally i still can't see where the decision is made whether or not to trigger a zha_event (and whether it's a decision or something else entirely!)

tropic depot
#

not really sure what you are asking

#

zha events aren't generated in response to commands... meaning you don't get them from issuing commands on clusters from the UI or via services

#

what are you actually trying to do

fresh citrus
#

So i just moved from Deconz to ZHA with just over 60 devices.

Getting this error on an automation
"Error executing service: <ServiceCall light.toggle (c:ec5e10e227a68e034e6ff762abd3c66d): entity_id=['light.group_vardagsrum_tak'], params=>"
https://pastebin.com/GbZjASZ9

Also some "Updating zha sensor took longer than the scheduled update interval 0:00:30" in the log. Something i can do?

junior sedge
# tropic depot what are you actually trying to do

Yes i was imprecise with my wording. It's in relation to https://github.com/zigpy/zha-device-handlers/issues/795, where I'm trying to build a quirk for a device which sends messages which are received and parsed when e.g. i turn a knob, but which never generates zha_event. I get state_changed when i push either of the buttons but even then no zha_event. Just trying to figure out if it's the quirk, the device, or what. Any help very gratefully received, thank you!

tropic depot
#

what cluster gives you the report?

#

6 (on off) and 8 (level control) as long as they are "output" clusters will automatically relay things as events...

junior sedge
#

6 gives me state_changed

#

Half way throuh the PR theres an example 'step' command from level control

#

I get a "no handler", then a message that a step command was received, but no event

#

Some time later i get an attribute update which always gives 'current_level' as 254

tropic depot
#

all of this should just work...

#

with the exception of the battery

junior sedge
#

Yeah i fixed the battery but havent updated the PR

#

Would love to help debug if you have any suggestions. I've just been struggling to see how all the different sections fit together etc

tropic depot
#

where are you looking for the events?

junior sedge
#

And therefore my efforts are a bit scatter-gun. There are debug statements in lots of places now!

tropic depot
#

are you using the event tool in the UI in developer tools?

junior sedge
#

Yes, it doesnt give me anyrhing back frkm this device, even listening to *

#

Ive been looking in core/channels/base, and in device_trigger (mistake!) amongst others, to no avail

tropic depot
#

the only thing I can think of is that the device is actually reporting from the "input" clusters

#

which would be really weird

junior sedge
#

The z2m implementation (linked at bottom of PR) omits all input clusters and apparently works

tropic depot
#

you can define a custom on off and a custom level control cluster like this

#

then in the input collections use those

#

on the replacement

#

that should cause them to auto relay messages as events

junior sedge
#

literally just empty subclasses which derive from EventableCluster and the appropriate original cluster?

#

thank you! I will try this as soon as I get back home (no external access or I'd check from here...!)

tropic depot
#

yes

#

you will end up with implementations that auto relay their stuff as events

junior sedge
#

fabulous, thank you. i have tried to bind the device directly to some lights to no avail, though in fairness i haven't managed to bind anything to any of my controllers thus far so that might be my problem, not the device's

#

does this mean the device is somehow responding non-standardly? I was just surprised to see the messages coming through without the associated events

old kernel
#

What is the full error message you get about no handler?

#

When I was working on locks I found that the events were actually coming in as server_commands instead of client_commands.

#

(which matches the spec, the info in zigpy is wrong)

tropic depot
#

this is what is happening here too i think

#

but in this case

#

the device is a remote meant to control other devices

#

so they should be client commands

#

the lights that the remote would control would implement the server side... for on off and level control

#

that said... I didn't dig in too much. Just a very quick peek at his issue

forest arrow
#

OK so I put one of the sensors that was showing as unavailable right next to the sonoff zigbee bridge and not only is it active but the value of the battery life is going up. So I can't want to get the connected outlets so I can have a mesh network throughout the house.

junior sedge
old kernel
#

(and also, cluster_commands don't automatically generate events, only global commands do)

forest arrow
#

Anyone know if I can pad the sensors that are in colder areas, like in the garage to keep the battery life longer?

junior sedge
#

which i was confused about - it seemed there was no handler bound. what you are saying about client vs server makes sense. can we square this with the z2m implementation?

old kernel
#

what cluster is it?

tropic depot
#

6 and 8

junior sedge
#

6 and 8

old kernel
#

both?

tropic depot
#

on off and level control

#

What I gave him should work

old kernel
#

shouldn't those both be state changes, not events?

tropic depot
#

lets try that firstr

#

no

#

not for a remote

old kernel
#

ah k

tropic depot
#

for a light... or a switch sure

#

not for a battery powered remote

junior sedge
#

i'll try it and update the GH issue

#

thanks for your help both of you

#

really grateful

tropic depot
#

lets make it work first 😉

#

lol

junior sedge
#

taking me a while to try to wrap my head around the ZCL library, zha, and zigpy all at once...

forest arrow
#

Folks does the mesh with connected devices happen natively or do I need to do something to make it work. Meaning will the battery operated devices automatically just talk to the connected device closest to them?

#

I am getting some connected devices in so I can make better use of my battery operated sensors so doing some pre research for when they get here

old kernel
#

zigbee devices will (should) automatically learn neighbors and connect through them. Might have to power cycle if it doesn't happen.

#

Might not be immediate.

old kernel
# tropic depot What I gave him should work

my idea of a solution i think would not be appropriate for the levelcontrol or onoff clusters... would likely end up in events being fired any time a real switch updated state.

tropic depot
#

this will just relay everything

#

so using extensions of this that extend the appropriate bases will just turn them into dumb relays

old kernel
#

yeah that's the right way

tropic depot
#

there will be other things to work out after if this works to prevent entities from getting created... this will lead to some potential binding issues too... we'll see though

amber gull
#

@simple sentinel It's probably just the RTS/CTS being pulled high and triggering BSL/firmware upgrade mode?

#

Due to the updated serial port dependency?

simple sentinel
#

Apparently. One dude says there is no issue on his MacOS rig, only on Linux in prod

amber gull
#

are you ZZH or slaesh stick?

simple sentinel
#

I am on slaesh, but I made it back safely to the previous safe version

#

Just putting the word out

old kernel
#

out of curiosity, usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_ ... is there something Silicon Labs about it? I thought it was a TI chip?

amber gull
#

Same RTS/CTS shouldn't affect ZZH, so root cause is probably something else

#

Slaesh uses a CP2XXX (totally drawing a blank) silicon labs serial converter

old kernel
#

2102

#

okay

amber gull
austere patio
#

Can't wait for the network formation rewrite to be merged into Z2M

#

Unscrewing the antenna and putting the coordinator under a metal pot is fun though

amber gull
#

shake it

#

increment antenna length by 1

austere patio
#

I'm not sure what the pin state needs to be on startup but I do recall with zigpy-znp, the adapter needed the 200ms toggling of both pins on slaesh's stick to work

#

Maybe it's the explicit transition from the "high" to the "low" state that needs to happen, so that RTS is off before communication happens

#

But Z2M I think does that three times before giving up. I wonder what the actual bug is in that updated dependency

simple sentinel
mellow geode
#

They downgraded some dependencies (serialport)

simple sentinel
#

frontend has been jazzed up (not sure what I think yet), a bunch of new configuration options in there, and it renamed a couple of my devices, causing some hickups with lovelace and my automations.
Will lookup whether there is a GitHub issue going for that, but my environment is so small that I can just change the names back

junior sedge
#

this works fantastically, thank you

junior sedge
turbid knot
#

Hi! Sorry for the block of text.

I've got a Conbee ii that I've passed through to Home Assistant via Proxmox, and am having issues pairing an ST218 and a pair of Sonoff S31's. I've manually updated the stick to the latest firmware. Logs show no handshakes or any other signs of connection. The issue isn't with with my fundamentals so to speak, as I have successfully paired a Sonoff SNZB-02 and a Philips Hue bulb. I have tried various combinations of USB Port vs Device passthrough, in different ports, with and without USB3, with and without a USB extension cable, and with various levels of (non-) security via Deconz.

I've explored using both Deconz and Zigbee2MQTT, neglecting only ZHA in the belief that it isn't likely to signifigantly differ from the other two methods. I've ensured that pairing is permitted, tried channels 11 & 15, and even the funny dance desccribed here (which was neccessary to get the SNZB-02 to pair in Deconz, but not needed for Zigbee2MQTT):
https://old.reddit.com/r/homeassistant/comments/guwmbj/zigbee_integration_devices_appear_in_deconz/gabd4ih/

The Sonoff SNZB-02 and a Philips Hue always pair without any other issues.
Frustratingly, I recall at one point (now several days ago) getting the ST218 to show up in Deconz's VNC interface, and am fairly sure that had I pulled the 'Read Descriptors' trick described in the Reddit post I'd have been able to pair it, even if it was as an unsupported device or some such.

I'm at a loss as to why half my devices pair just fine, half appear dead as far as Deconz and zigbee2MQTT debug logs are concerned, and one (ST218) was able to pair before and can't now. I wish I had a Zigbee sniffer to sort this out further, but don't belive the Conbee can do that?

I haven't got much time atm from debugging this all morning, but if anyone knows any common tips a la. the USB extension cable that I haven't mentioned here, I'll be coming back and would love to take them as leads.

#

I've spent most of my time with zigbee2MQTT, and will be exploring deconz's debug log levels and settings in greater depth shortly

#

After enabling debug logging and restarting Deconz, the ST218 now shows up again as 0xDFB1, but isn't paired like it was before, just appears as a dead node and still gives an error when attempting to pair :c
The logs themselves are pleasantly verbose and configurable, and I see no mention of either 0xDFB1 or it's longer address, though some channels are hard to follow and I would love a way to save these logs to disk and search them.

old kernel
#

you've re-paired as you switched between implementations?

#

deconz on zigbee2mqtt is tagged experimental so i wouldn't rely much on that

#

also how far from your stick are your devices?

turbid knot
#

Yep, re-paired, re-started, both individual implementations and the host itself on good occasions. And while I'm still listing off things I've tried, yes, I've been using the right /dev/serial/by-id address
And noted, there was just a long and helpful thread on their github showing fairly strong support regardless of the label

#

no more than ten feet, but since adding the extension cable I've been able to try the smar plug right alongside the conbee, just can't move the wall mounted header :p

#

Plugs being the S31's

#

Thanks for asking ^u^

old kernel
#

what is proxmox?

turbid knot
#

Hypervisor; I'm running home assistant via their OS image in a virtual machine. Excluding freak power/sleep issues, I've basically ruled out pass-through issues at this point as I've got functional devices.

old kernel
#

i have a conbee2, running on a thin client, with a 2-ish-foot extension cable. zigbee2mqtt worked sort of but devices went missing and it couldn't control my thermostats properly. Deconz worked but wouldn't control my thermostats at all so i switched to ZHA which has been a lot more reliable. if you're spending all day flipflopping around, couldn't hurt to try yet another option? 🙂

#

which firmware did you install?

turbid knot
#

ZHA is pretty smooth, but is left in the same state as the other methods; pairs just fine with the light and the humidity sensor, but shows no sign of the heater or smart plugs. All things considered, I like Zigbee2Mqtt the best as it has has best debugging experience and clearly supports custom devices, though I've no doubt Deconz matches it once you get to know it.

#

Thx for the input

stone halo
#

Slaesh cancelled my abundant order luckily!!

old kernel
heavy latch
#

I've just got a load of Aqara D1 switches, they're great. Working with z2m. However I'm struggling to get legacy:false and where to set this. I tried adding to z2m's configuration.yaml, however I guess it's overwritten by the devices.yaml?

#

Ah the configuration.yaml was overwritten when I restarted z2m... that's useful

heavy latch
#

Managed to add it to the devices.yaml. Not that it makes any difference to the functionality of the switch whatsoever 😂

heavy latch
#

Assumed it would then allow the single double triple press etc, alas no.

jolly narwhal
#

@heavy latch I have used some aqara switches with dual triple quad presses in the past

#

But that was the older models, but with z2m

heavy latch
#

I'll check the others, I've got about 15 switches here of various configurations. Now I think it's just the wireless remotes that do double and triple etc, which is a shame. You have any idea what the legacy:false is about? Seems totally pointless and there's no documentation anywhere!

thorny phoenix
#

anyone has livolo switch integrated in ha? cannot find alternative for a switch beside that

balmy ginkgo
#

are dconz and zigbee2mqtt mutually exclusive?

simple sentinel
#

what does that mean?

tropic depot
#

only 1 integration can use a zigbee coordinator at a time

glad plume
#

Hello Community. I dont know to ask in integrations or in devices. I will do it here. I would like to know id Sonoff CC2531 stick works plug and play with ZHA or only with Zigbee2mqtt? Thank you!

#

Or need any flashing or something

simple sentinel
#

Banggood apparently sells one that Comes with a CC2531ZNP-Prod firmware, it is a ready-to-go CC2531 USB dongle for ZB 2mqtt application.

#

CC2531 doesn't have a very good rep on these channels though.
Good for testing, but you'll outgrow it if your network gets too big

sour shadow
#

By too big, anything over a handful of devices 😛

simple sentinel
#

So:
Automate a room? CC2351
Automate a room + your broom closet? Something else

#

I've never tried one, so no first hand experiences

old kernel
#

There are quite a few people who use them happily. I'm guessing they have like 5 devices all within 20 feet of the stick 😉

simple sentinel
radiant moth
#

Simon Hoy who does the very good Home Sight channel on Youtube has used a CC2531 a long time with a houseful of devices. My experience wasn't so good, although I never properly diagnosed the issue. Life is too short when the alternative cost £10

simple sentinel
#

What's his home like?

#

as viewable on his channel

radiant moth
#

Standard family home, but it seems everything is automated, although not all with zigbee. He has a lovelace floorplan tutorial where you can see it yourself

simple sentinel
#

Down the rabbit hole for me then 😮
Lovelace Floorplan video looks fun

old kernel
simple sentinel
#

Price of CC2531 + £10?

forest arrow
#

OK so weird question and I am deep into trying to research but was wondering if using zigbee2mqtt is better than using Sonoff Zigbee Bridge(flashed with Tasmoto) for reliablity etc...?

old kernel
#

zigbee2mqtt is control driver software, sonoff zigbee bridge is a coordinator, so you can't really compare one to the other. sort of comparing apples to knives

#

unless you are running the sonoff bridge with tasmota directly, but i thought you were using it as a wifi/serial/zigbee bridge, with ZHA as the control driver software

shrewd lava
#

Hi everyone. I have successfully got stuck at the last stage with integrating my tasmota zigbee bridge - tasmota is working but the moment I type socket://IP:8888 and change the board speed to 115200 + enter it comes up with red message "failed to connect"... I am ready to reinstall my HA for that... has anyone come across similar problem?

old kernel
#

Are you using tasmota as a coordinator or for serial over tcp socket? Which firmware have you loaded on it?

sour shadow
simple sentinel
old kernel
forest arrow
fallow sphinx
#

hi so i have a zigbee device that apparently supports press and hold as a trigger but it only works for 2 of the buttons. the other 3 do have events that fire when you press and hold but the pre done triggers do not work. of those 3 2 of them work when i use the event trigger but one fires the same event when you start the press and hold as it does when you just tap it so it also triggers the single press automation. is there a way to get around this so i can use the press and hold?

shrewd lava
#

sonoff Zigbee Bridge / Tasmota Program Version 9.2.0.1(zbbridge)

old kernel
shrewd lava
#

@forest arrow - that's what I am trying to do but I have a small fraction of your skills guys

forest arrow
#

My main concern at this point is reliability of the equipment to act as a security system.

old kernel
#

some people will say that zigbee (and zwave) don't make good security systems no matter what you use... i think you should be fine with what you've set up

forest arrow
#

I don't mind doing the legwork and getting my hands dirty in HA and such to get it all configured but just want something that I can rely on. As much as I disliked paying for a monthly service through ADT in my old home, I was happy with the reliability. I mean the most I had to do was change some batteries in sensors every year or so

#

Let me be patiend and wait for my connected devices to arrive I guess

#

patient

old kernel
#

home assistant is great for tinkering. tinkering is liable to break it. if you leave it alone, it should just work i think.

forest arrow
#

see if that reduces the UNAVAILABLE devices from happening

old kernel
#

yeah. my thermostats would go unavailable a lot before i added the outlet repeaters, they haven't gone unavailable once since i did

forest arrow
#

I reset one of the sensors in my living room yesterday and I put the bridge on the counter that is about 15 feet away and this morning the sensor showed unavailable again

#

it is a window sensor

#

ok that is good to know

#

thanks @old kernele

old kernel
#

i hope they fix your problems

forest arrow
#

but from what i have read the sonoff zigbee bridge might not have a great coordinator chip or whatever it is called

old kernel
#

the EFR32 isn't a bad chip. maybe not the most powerful, but not the worst either

forest arrow
#

good to know

#

Let me get the repeaters in and see how it goes

#

if it works, might just get one for every room in the house even though I do not have a reason for smart plugs in some rooms, I will really just use them for the zigbee repeater functionality

#

So one more question for you @old kernel in HA I go into the integration and say add device and it scans and then I push the pin on the device and I see in HA it connects and I configure and go

old kernel
#

yup

forest arrow
#

So if I put in the repeater and get it visible

#

is the process still the same for the battery operated sensors and the connecting to a repeater is transparent to me?

old kernel
#

the 'add device' from the integration will tell the whole network to look for new devices, so yes it is transparent

forest arrow
#

perfect. Thanks so much for your help

old kernel
#

if you want to be sure that the sensor connects through the repeater, i think there is an add devices through this device option on the devices page for the repeater device

forest arrow
#

ok will check that when they arrive

#

When I don't care when something arrives it comes early in the morning

#

but since I am looking for these repeaters they won't get here until tonight 🙂

austere patio
glad plume
#

Hope arrives soon 🙂

austere patio
#

It may come with older firmware so you may want to update it if the version they chose is not great

shrewd lava
#

@austere patio that's exactly what I did... my sonoff zigbee bridge came from Germany and I am trying to integrate it with my HA... literally stuck at the last screen

austere patio
#

Takes about 20s but it should work. Does the red LED flash?

shrewd lava
#

yes.

#

20 what different units?

austere patio
#

In that case enable ZHA debug logging and take a look at the log

#

Or upload the relevant section to a pastebin

shrewd lava
#

to be honest nothing will appear on the log unless I complete the integration - and I am stuck at the last screen... I am wondering if reinstalling HA will help

austere patio
#

If the red LED flashes something definitely will appear in the home-assistant.log file

shrewd lava
#

let me try again

#

blue LED on sonoff bridge remains blue doesn't even flick. Log on HA doesn't change

austere patio
#

Oh, my mistake, I thought you were also talking about a CC2531

#

But if there is nothing in the log after you restarted HA then nothing is trying to connect to the bridge

#

Are you entering the socket:// URL to the bridge in the integration window correctly? I believe there should be a webserver running on it to show you logs as well

shrewd lava
#

sockett://IP of the sonoff -found on router:8888 + speed 115200

old kernel
#

one t or 2 tt ?

shrewd lava
#

single but well spotted ;D

old kernel
#

shoot, that would've been too easy

shrewd lava
#

I wish!

#

when I connect to Tasmota 9.2.0.1. it works, allows you to update etc

#

I wonder if there is command I can type in to see if it's working fine

old kernel
#

what do you see in the logs on the tasmota interface?

full junco
#

Hey guys, does anyone have any idea why I would be getting this error?
Received invalid command: zha/device

#

It's coming from this logger: homeassistant.components.websocket_api.http.connection

old kernel
shrewd lava
#

16:25:18.461 RSL: tele/tasmota_9BAC15/STATE = {"Time":"2021-03-03T16:25:18","Uptime":"1T15:45:10","UptimeSec":143110,"Vcc":3.470,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"Wifi":{"AP":1,"SSId":"jarvis","BSSId":"78:D2:94:A2:1D:02","Channel":4,"RSSI":80,"Signal":-60,"LinkCount":1,"Downtime":"0T00:00:04"}

#

after reset

#

16:26:56.426 RSL: tele/tasmota_9BAC15/STATE = {"Time":"2021-03-03T16:26:56","Uptime":"0T00:00:10","UptimeSec":10,"Vcc":3.468,"Heap":29,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":21,"MqttCount":0,"Wifi":{"AP":1,"SSId":"jarvis","BSSId":"78:D2:94:A2:1D:02","Channel":4,"RSSI":80,"Signal":-60,"LinkCount":1,"Downtime":"0T00:00:04"}

old kernel
#

do you see any ZIG: ?

shrewd lava
#

just to let you know jesse you are speaking to a paramedic ;D so please be patient and use common / beginner vocabulary

old kernel
#

that looks like you're running the tasmota2zigbee firmware, rather than the tcp socket firmware. i think. i don't have one, just looking at what other people have posted

#

16:26:56.426 RSL: is like some sort of "result" status update

shrewd lava
#

oh...

old kernel
#

there should be ZIG: lines near it

shrewd lava
#

you're right... it does look different

#

would I have to use USB TTL adapter and wires to change it into the right one?

old kernel
#

i don't think so

#

once you can get to the web interface, you can use the firmware upgrade buttons

#

if you look on that page i just posted, search for the section that starts "To verify the process flashes, it is recommended to open a second window"

#

i think you might need to start from that part

full junco
#

Hmm is Sonoff ZHABridge Module different from Sonoff ZbBridge Module? There's so many versions

old kernel
#

i think zhabridge is just zbbridge flashed for use with ZHA?

#

i thought they only made two bridges, one for ZB and one for 433mhz RF

shrewd lava
#

I'm on it - thanks jesse

full junco
#

Ah I think you're right. ZHA makes the bridge a slave.

shrewd lava
#

jesse!

#

you are my hero - you made my day pal

old kernel
#

Glad it worked!

shrewd lava
#

puddly I thank you for your time too

mellow geode
#

When I bind a Hue Dimmer (v2) switch directly to a bulb using TouchLink while also sniffing the network, is there ever a key sent?

#

I've tried the couple of default keys but none of them seem to work.

#

It's a Zigbee 3.0 dimmer switch and Zigbee 3.0 light (one of the newer Hue lights)

#

I'll see if it makes a difference when I bind it to a ZLL hue light, but I doubt that's the case.

spice kelp
#

i'm guessing that in order to use a RaspBee board running on a remote Pi with ZHA, i'd need to set some socket tunneler like ser2sock?

full junco
#

Does this look ok? I seem to be having connection issues {"Time":"2021-03-03T17:13:36","Uptime":"0T00:51:34","UptimeSec":3094,"Vcc":3.495,"Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"MyWifi","BSSId":"B0:39:56:F5:62:7B","Channel":1,"RSSI":34,"Signal":-83,"LinkCount":1,"Downtime":"0T00:00:06"}}

#

I seem to get a message like this every 5 mins in console on Tasmota.

mighty island
#

Any suggestions why a Sonoff DS01 (window/door switch) goes 'unavailable' after about 6 hours. Reacts immediately when triggered. (via Sonoff Tasmota Bridge and ZHA). Perhaps it's how it's designed to work?

austere patio
#

@mighty island Try reconfiguring the device via the device's page in ZHA. Attribute reporting should have been setup and the device should check in every once in a while to report battery status and stuff like that. At least a few times in during that six hour period.

mellow geode
old kernel
#

Gotta love vendors....
Me:
I noticed that your device has installation and setup guides on your website for a number of smart platforms, but not Home Assistant. Would you like to add a guide for home assistant as well?
Vendor: You'll have to talk to Home Assistant about that.
🤪

austere patio
#

A vendor responding??

mellow geode
#

Oh wait

molten linden
#

I contacted the folks who make the plaid soil moisture sensor and they actually looked at the quirk I linked and confirmed some oddity at the time.

#

They also were like we’ve gotten 2 different inquiries about home assistant in the last 2 days 😂

amber gull
#

cough, untapped market, cough

old kernel
#

this related to my thermostats...
they don't officially support openhab or hubitat either...
i guess they expected my email to be @home-assistant.io

mighty island
#

@austere patio Have clicked on reconfigure device, pretty sure I have previously also. Not really sure what I'm looking at in the ZHA logs.

radiant moth
blissful adder
#

Hi Guys! I just got my self a Conbee2 and I bought an Aqara switch too. I install on HA the deCONZ addon...
I go on the portal of deCONZ but can not find the Aqara switch...
What am i doing wrong?

#

Oh... i am now doing an update of the device using Phoscon-GW'

forest arrow
#

Using ZHA is there a way to see which connected device one of my battery operated devices is getting repeated through. Got a couple of my outlets in and I just turned them on and got them installed through HA and find devices. I assume as my mesh network gets bigger that devices near to connected devices will begin to prefer them or will they stay on the one they are on even if it is a bit farther away?

amber gull
#

@forest arrow Config > Integrations > ZHA > Visualization

forest arrow
#

@amber gull Thanks

amber gull
#

The new "View in visualization" and "refresh toplogy" looks great in ZHA

#

And the new fan UI and fan speeds looks great too

forest arrow
#

So right now everything is connected to the Sonoff Zigbee Bridge and the two new Outlets seem to just be on the map but they don't show connected to the bridge and they do not have devices connected to them. So will that change over time or do I need to manually associate devices? I am willing to just let it go and see what happens

amber gull
#

just give it time, or refresh topo (in 2021.3.0)

forest arrow
#

so I assume over time I will see some of the battery operated devices connect to the two outlets

#

Do the numbers on the lines mean anything that I need to be aware of? some show 0 some one shows 12154 are they like ports?

old kernel
#

those are link quality

#

the numbers seem to only be tangentially related to reality, but maybe they represent something real

#

i have light bulbs that are 3 feet from each other with the number 28/22, and it's green, while a bulb to a repeater is 64 and it is gray...

forest arrow
#

I assume that I will see some of my battery sensors connect on the two outlets over time right? Currently I see many lines are gray and some are yellow and all of the battery operated devices are connected directly to the bridge. I will check it in the morning

old kernel
#

yeah give it 'til the morning. if you don't see any change, pop out and put back in the battery on some of the sensors and see if that kicks them awake

mighty island
austere patio
#

Was the sensor awake when you pressed the button?

mighty island
#

Yes

austere patio
#

You would have to trigger it or otherwise wake it up before pressing the reconfigure button. Otherwise it just sleeps for way longer than its parent will retain a message for it

#

The debug log would indicate if attribute reporting was correctly setup when that happens, or if the request never reached the sensor

mighty island
austere patio
#

message send failure doesn't look very successful 😄

mighty island
#

There is a fair amount of that, true 😫

austere patio
#

If it has a button or something similar, click it and press reconfigure once

#

You'll see in the log if the requests made it to the device

mighty island
#

You mean the reset button?

austere patio
#

Dunno what that does when you click it once instead of holding it down. Or slam your door repeatedly to keep it awake.

#

Unfortunately the Sonoff motion sensor that I tried will not check for new packets until it sees motion, which can take forever

summer thicket
amber gull
#

I hear it's so pro it broke the upper limits of ZHA 😆

#

and they had to increase the support for things like max children, etc -- only thing on the market right now that can do over 50 direct connected end devices and work in wired ethernet or USB serial mode

molten linden
#

only one remaining oh no....

summer thicket
#

And will work with Zigbee2MQTT now?

amber gull
#

Yeah, code was just merged so it's bleeding edge, but looks promising

summer thicket
#

@molten linden I need one!

molten linden
#

you posted the link, it's there. 🤪

#

(technically there are 2 but I'm moving my network to one).

summer thicket
#

Only if Biden gives me more Money 💰 😆

molten linden
#

call your senator

#

don't think he's holding it up. if not I will drive by his house and talk to him next time he is home. it's on the way to my son's school

#

I'm making some more based on a lightly less powerful module, still has 96K ram which is more than most, and can also support 64 devices I think at least the first firmware I built worked fine. bellows -d /dev/cu.usbserial-00000000 -b 115200 config --all NOTE: Configuration changes do not persist across resets CONFIG_PACKET_BUFFER_COUNT=250 CONFIG_NEIGHBOR_TABLE_SIZE=16 CONFIG_APS_UNICAST_MESSAGE_COUNT=20 CONFIG_BINDING_TABLE_SIZE=32 CONFIG_ADDRESS_TABLE_SIZE=32 CONFIG_MULTICAST_TABLE_SIZE=8 CONFIG_ROUTE_TABLE_SIZE=16 CONFIG_DISCOVERY_TABLE_SIZE=8 CONFIG_STACK_PROFILE=0 CONFIG_SECURITY_LEVEL=5 CONFIG_MAX_HOPS=30 CONFIG_MAX_END_DEVICE_CHILDREN=64

summer thicket
#

Nice!

molten linden
#

Yes

summer thicket
#

All that I need is a good coupon code. 😋

urban fractal
#

Hey everyone, I’m thinking of getting a usb extender for my zigbee dongle, but the machine I run HA on is kind of surrounded by other devices like hubs and routers, would it still be worth it to use one even if it will still be around a lot of other wires/equipment?

#

I’m assuming the interference happens from being right next to a metal case when plugged directly into the device (intel nuc)?

amber gull
#

@urban fractal attenuation and multi pathing happen from metal

#

Interference is caused by other 2.4ghz sources

#

Bluetooth, wifi, usb 3.0, external hard drives

urban fractal
#

Oh ok cool, thanks for letting me know

#

never wouldve thought usb 3.0

amber gull
#

What stick do you have?

urban fractal
#

HUSBZB-1 i believe

#

its the nortek one

#

zwave/zigbee

amber gull
#

We've (alexei) found it does better without an extension

#

If you want to get super nerdy you can get some metrics before an extension cable and after an extension cable

urban fractal
#

Oh awesome, great to hear. The reason i was wondering is because currently Im only using zigbee for one aqara door sensor and its battery has dropped rather rapidly (about 25% since installing it 2 weeks ago)

#

i wasnt sure if maybe a weak signal was causing the battery to be more active or something

#

the lqi is 255 always in ZHA

#

someone told me 255 could also mean it has no idea what the real value is, but i wasnt sure

amber gull
#

255 is perfect lqi

#

And actually means something on the og husbzb-1

urban fractal
#

almost seemed too perfect haha

#

im thinking the sensor either stinks at reporting battery or the battery in it just sucks

amber gull
#

Well LQI won't get reported accurately if you have routers

urban fractal
#

no routers, just coordinator to sensor direct

amber gull
#

It will just report the last hop. But if you really only have one device, It should be accurate

urban fractal
#

Ok cool

amber gull
#

Don't prematurely optimize anything 😜

urban fractal
#

If it totally dies ill change the battery and see if it lasts longer

#

easier said than done haha, i have the same issue in my programming day job

amber gull
#

lol

urban fractal
#

Thanks again for the help!

amber gull
#

👍

mighty river
#

Hi i'm looking for a good zigbee remote that has multiple channels and works with zigbee2mqtt. Does anyone have a good suggestion that works for you?

ivory hound
#

what is the best coordinator for ha with zigbee2mqtt?

mighty river
ivory hound
#

hmm i have a conbee 2 at my parents house, i guess i'll take that to test z2mqtt, i wanted to buy one to test but since conbee 2 works 😄

sour shadow
#

The best four are the two recommended ones, and the TI LaunchXL boards

ivory hound
#

@sour shadow any examples please, links to them

sour shadow
#

It's almost as if Z2M has docs 😛

ivory hound
#

ty

#

i already was there 😄

#

but i do apreciate your help

sour shadow
#

The LaunchXL boards are only not recommended because they're "not small"

ivory hound
#

i just want to test z2mqtt, i have zha that works very very well

sour shadow
#

I mean, you can test it with a cheap CC2531 stick

#

You don't want to run with that, but for a handful of devices it works

thorny phoenix
#

i can sell cc2531...200 euro only

ivory hound
#

i will teste them with conbee 2 stick and if is good and i like it more i'll buy the best there is

#

@thorny phoenix 🙂 good joke

#

i want to test this because in z2mqtt i can do yaml stuff and there i can put whatever naming scheme i want

sour shadow
#

Yeah, I do love the flexibility of Z2M

ivory hound
#

this is the only thing that zha doesn't have, ofc i can rename devices but ... not the same

thorny phoenix
#

no transport fee 😦

ivory hound
#

haha

#

eventually you are like me from bucharest

#

and you can bring it to me in person no?

#

🙂

stone halo
jolly narwhal
#

cc1352p2 yes

#

The shizzle my nizzle

#

that PA and internal antenna combo

#

I've updated 30 bulbs or so the last few days through z2m

#

no major issues

#

except the outdoor bulbs seems to have had an incomplete interview at install, so they are fickle, need to try re-pairing them one day

grizzled surge
#

Hello everyone. Im running Homeassistant on Proxmox WM, yesterday i installed ZWavejs2MQTT on a Raspberry Pi 4 B. I love it Okey, qestion. Can i run Zigbee on the same PI? I have Conbee 2 dongle

obsidian sandalBOT
#

There are three Zigbee options with Home Assistant (regardless of how you install it). These are:

deCONZ is relatively stable and mature with its own UI (and Discord server). It can run in an add-on, in a Docker container, or natively. Only the ConBee range of sticks and RaspBee GPIO boards are support. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).

zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended, but there are other options. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented (you can't add unsupported devices yourself).

Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the Zig-Ah-Zig-Ah! and Slaesh's sticks being recommended. The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.

sour shadow
#

Take your pick 😉

grizzled surge
#

🙂 There will be no problem running both on same PI?

sour shadow
#

Other than ensuring enough power to the Pi, no

grizzled surge
#

Thanks

tropic depot
ivory hound
#

@tropic depot zha works very good no problems there, from the time i changed my coordinator to EZSP Elelabs Zigbee USB Adapter ELU-13 i had not have any issues, not like i had with conbee 2 on deCONZ before :))

#

what i wanted is to test z2mqtt i heard you can do all devices in yaml manually

#

that means i can name them whatever i want and how i wanted from the start

jolly narwhal
#

yes, but why would you ?

tropic depot
#

gotcha

jolly narwhal
#

The mqtt auto discovery is bae

#

but if you are talking about the renaming in yaml in Z2M, that is handy

ivory hound
#

exactly

jolly narwhal
#

Since they introduced the webgui I just do renaming there though

ivory hound
#

tbh is hard to give up ZHA because it really work great

#

i remember the dark times when i had deCONZ with conbee 2

#

:))

jolly narwhal
#

I've been running z2m for so long, I will never change, and no issues

ivory hound
#

yah i want to try z2m on conbee 2 stick since is sitting there doing nothing

frail widget
#

Hi, Any idea how to connect CC1352P-2 to RPi 4

jolly narwhal
#

yes, plug it in via usb

ivory hound
#

:))))

#

correct

frail widget
#

does it need saperate power adapter? or it can be powered through the RPi usb?

#

I am trying to build my own getway and it had to be conected throught one power cable and one network cable

jolly narwhal
#

powered by usb

ivory hound
#

just plug it in

frail widget
#

great

ivory hound
#

that's it

jolly narwhal
#

but pis in general are.... gonna be a constrain with enough devices

frail widget
#

Will i need any tool to flash it?

jolly narwhal
#

yes, a windows\linux tool

#

no external hardware

frail widget
#

great, thanks, going to please and an order right away

#

one last qestio. which on is better LAUNCHXL-CC1352P-2 or LAUNCHXL-CC26X2R1? I will be using z2m

jolly narwhal
#

they are similar, z2m docs has description of the differences

frail widget
#

thanks

mighty island
forest arrow
#

In the visualization page of ZHA, sometimes when I move one of the icons it makes other icons on the page reposition. Is there some logic to why it is repositioning? Meaning does the repositioning actually mean something?

#

Good day by the way

tropic depot
#

the repositioning is pointless... it will change on every load

#

it uses a spring config to try to organize the nodes when building out the graph

forest arrow
#

I have 3 window sensors in my master bedroom and I put one of the zigbee outlets in the same room, I would assume that they would want to use that outlet as their connection/repeater but they are still showing attached to the bridge which is now in my garage near my server rack. Does it mean that they see the bridge as a stronger signal or does it just take a couple of days for them to move to closest repeaters? I would not think I would need to manually attach them to the outlet closest to them but new to zigbee

#

Right now my mesh network is just the bridge and 2 sonoff wall outlets

tropic depot
#

zigbee self balances

old kernel
#

@tropic depot is it accurate to say that an end device will look for neighbors and choose a best path on startup, in addition to the self-balancing? in other words, would pulling the battery cause one of these devices to connect to through the repeater if it is a better link, when it has been going unavailable while connected directly?

tropic depot
#

it's not that simple

#

some devices wont

#

some will

old kernel
#

how nice 🤣

amber gull
#

welcome to zigbee

old kernel
#

thanks i hate it

#

(not really)

forest arrow
#

https://imgur.com/4n09tYC shows my zigbee network, and I guess I am thinking I just need to not mess with it for couple of days to see what happens? Some of those devices are literally feet from the outlet so I would assume they would want to use that, I am using the sonoff motion and window/door sensors

bleak cave
#

Hello folks -- what is the right procedure (on ZHA) when a Zigbee device ran out of battery? Replace battery, then get device in pairing mode and re-add it into ZHA through the 'add device' procedure? Or just replacing battery and it automatically reconnects? The latter never worked for me, so I always did the former. But unsure if there's a better way.

old kernel
#

just replace battery and it "should" reconnect

bleak cave
#

Gotcha -- thanks. I only have two manufacturers -- IKEA & Aqara. My IKEA devices don't seem to do that (reconnecting automatically after battery swap). And the Aqara devices haven't run out of juice yet, so not sure how they would behave. I'll keep an eye on it during the next battery replacement. Thanks!

forest arrow
#

What does the reconfigure device button do in ZHA? I have pressed it but I don't see it do anything.

#

So any recommendations on the type of motion and window/door sensors are "best" to use? Currently I have Sonoff Zigbee Bridge and have been using the sonoff motion sensors and sonff window/door sensors. I am looking for devices that have good battery life and good interactivity with the bridge. Not adverse to moving in a different direction than using the sonoff to zigbee bridge since I want this to be my main security system in my home.

tropic depot
#

Reconfigure just binds and sets the attribute reporting config again for the Zigbee clusters

amber gull
#

translation: It's a "fix it felix" button if anything is not working for the sensor/device

tropic depot
#

LOL

bleak cave
forest arrow
#

@bleak cave thanks let me read about that.

mighty island
#

Just wondering if the ZHA logs are accessible without having to "Add Device"? Can't see anywhere obvious.

amber gull
#

Dave, I've noticed the hampton bay fan controllers speed is a bit wonky with the rewrite

#

but I'm confused if it's a fan issue, zha issue or quirks issue

molten linden
#

They are in the main home assistant log, but you need debug on to see them there. The add devices basically shows the zigpy debug logging

#

I think I saw a note that the quirk will need adjustment for the mew fan stuff

amber gull
#

Full power for the fan goes to preset mode "on" but the slider shows 0

#

If you pull the slider to 100% the fan goes into 3/4 speed

mighty river
#

Isn't there no way of removing ZHA devices that IEEE address using the Integrations UI?
Only work around is to delete core.device_registry, which isn't ideal

spice kelp
#

does zigbee2mqtt actually support Raspbee devices?

simple sentinel
#

Website says support is 'Experimental' but there are flashing instructions for Raspbee and Raspbee II

sour shadow
#

They come with the firmware

simple sentinel
#

whaa?

sour shadow
#

Of course, IMO you'd be crazy to use a HAT, it limits you in the future

#

They're a Conbee stick in HAT form

#

No magic there

simple sentinel
#

Oh, you are right

spice kelp
#

a stopgap until something else gets back in stock. want to try something besides deconz

sour shadow
#

You can update the firmware, but if you don't buy an ancient one then you should be fine

#

Or, if you want a stopgap, buy a $5 CC2531

gloomy pivot
#

since I got a ZZH stick, gonna give my old husbzb-1 to a buddy... anything stored ON there that I need to do anything with it first?

austere patio
#

Yeah, all of your network settings

spice kelp
#

already have this in front of me

sour shadow
#

Then buy the Conbee II stick, and not a HAT 😉

#

Oh

#

Well, in that case, good luck 😄

gloomy pivot
#

@austere patio eep, how to wipe it?

simple sentinel
austere patio
#

Run bellows leave -d /dev/serial/by-id/...

gloomy pivot
#

ah, that's it? lol

austere patio
#

The -d part may not be right but it'll throw an error if it isn't. 90% sure it will run 😆

gloomy pivot
#

hold up, even if I only ever used it with zha? all I'd ever done with it in the first place was plug it in, and use zha

#

HA in a docker

austere patio
#

If you give the stick to someone else then the network formed by that stick will travel with it

#

Network settings are stored on the stick

gloomy pivot
#

so with HA in docker, where should I run that command? bash into the container?

austere patio
#

If HA isn't using the stick, yeah

#

Or maybe it's bellows -d ... leave

amber gull
#

You can shutdown HA and run the leave on the host

gloomy pivot
#

I don't have bellows on my host 🤔

amber gull
#

Or do docker run --device /dev/ttyUSB1:/dev/ttyUSB1 -it python:buster bash

#

pip install bellows

gloomy pivot
#

ah, that would prob do

austere patio
#

What about walthowd/husbzb-firmware?

amber gull
#

That works too

gloomy pivot
austere patio
amber gull
#

it's an environment for updating the firmware -- since the update utility uses python 2.7

austere patio
#

Ah, I forgot about that. Might not work with bellows then

amber gull
#

Well, it has both currently, though it's a pain to keep chasing python versions

#

need to rebase it from ubuntu to the python images

austere patio
#

Other than the print statements, it looks to be compatible with Python 3 without much work

amber gull
#

yeah, it's probably time for that

old kernel
#

any idea what the conbee2 z2m firmware consists of? is it just tweaks to work with z2m, or is it like interacting using the TI serial API or something?

amber gull
#

ncp.py was originally supported by silabs, but it's veered pretty far away from that now with the latest EZSP version support

old kernel
#

i didn't know there was specific firmware for it

#

(or am i confused...)

austere patio
#

I don't think the Conbee uses any new firmware to run with Z2M? It's just the usual serial interface, just like with TI adapters

sour shadow
#

There's no specific firmware

old kernel
#

oh, i was reading ^^ something about firmware up there

spice kelp
#

ok, so zb2m loads the raspbee, now i just need to figure out how to re-join my devices

gloomy pivot
#

and for the zwave part?

#

I never used it with any zwave devices tbf

spice kelp
#

can i copy over they key & PAN and expect the devices previously paired with deconz to show up?

old kernel
#

i think you can't... it didn't when i tried it

spice kelp
#

guess i gotta find some manuals to figure out how to re-pair this stuff

old kernel
#

on, off, on, off, on, off, wait 5 seconds, curse, on, off, on wait 1 second, off, wait 2 seconds, curse, repeat

simple sentinel
gloomy pivot
old kernel
#

i'm not serious, it's different for each device, but it usually involves cursing for bulbs

spice kelp
#

lol ok

gloomy pivot
#

getting an error on leave 🤔

austere patio
#

Do you have the correct device path?

spice kelp
#

how can i verify the zigbee channel i'm using in Z2M?

#

maybe only exposed in the config...

simple sentinel
#

If you have the frontend enabled, it's listed under Settings -> Advanced

gloomy pivot
#

ah crap is if00 or if01 the zb one?

spice kelp
simple sentinel
#

Not surprising, Advanced is a bit of an info-dump

#

Cause everything is advanced

mighty river
#

Does anyone have a Tuya RH3040 (Motion sensor)? How do you get it to pair mode?
The weird thing is, if I add ZHA integration it auto-discovers, however it's shows unavailable, but if I try to add it manually nothing shows

forest arrow
#

One more question about the mesh association, if it is has been about 24 hours and the endpoints have not connected with the repeaters and are still connected to the coordinator does that most likely indicate that they think the coordinator is the best signal?

spice kelp
forest arrow
#

when you say "some" is that device type specific or literally individual devices. For example I have 9 sonoff door/window sensors and all of them but one are still pointed at the coordinator, but one of them is pointed at the repeater. If one can change, does that mean they all should change over time?

spice kelp
#

i mean device type/firmware

forest arrow
#

ok so 8 of 9 are still connected to the coordinator so they probably see it as the best then. Weird because I moved the coordinator into garage and I know the repeaters are closer to all the sensors than the coordinator is

simple sentinel
#

If you're on z2m you could try selective joining

#

That feature seems very useful but I have never used it.
Putting my faith in that zigbee mesh moves in mysterious ways

forest arrow
#

I am just using ZHA with sonoff zigbee bridge (flashed with Tasmoto)

simple sentinel
#

Then I wouldn't know

forest arrow
#

Cool

simple sentinel
#

Might be in ZHA to for all I know

forest arrow
#

I have the ability to do it in ZHA also, but have not done that because I think I would need to remove the device and then readd it from the specific repeater

simple sentinel
#

seems like a forward-thinking integration

austere patio
#

Click on a device and press the "permit joins via this device" button

forest arrow
#

hmmm ok

austere patio
#

For the most part I would not worry about how the mesh "looks" in the visualization. If it works it works.

forest arrow
#

I guess I am just trying to make sure it is reliable

#

Have had multiple devices go unavailable

#

just put in the two outlets yesterday afternoon

#

so will continue to monitor

simple sentinel
#

Do the end devices have range-test buttons?

forest arrow
#

No they are sonoff motion and window/door sensors

#

They only have a rest button

#

at least that I am aware of

simple sentinel
#

You could check the manual to see if one single click on the reset button equals range test

#

I think that lets the device rethink it's position in the mesh

forest arrow
#

ok let me check that out

#

@austere patio Which device should I see the "permit joins from this device" On the two repeaters I have I only see add devices from this device but it starts a scan. I am on the latest version of 2021.3

austere patio
#

The default behavior is to allow every single router on the network to permit joins

forest arrow
#

ok

austere patio
#

Clicking that button does the same thing but only for the specific router you pick

forest arrow
#

right

austere patio
#

So if a device joins the network, it will be via that router

forest arrow
#

so I don't see where to see the "permit joins from this device"

unborn compass
#

there's a carrot next to "permit join (all)"

austere patio
#

That's for Z2M

unborn compass
#

oh, just kidding :x

forest arrow
#

aaaah I am not doing Z2M

austere patio
#

In the ZHA integration page, click "Configure", "Devices", and then pick the router? I don't recall the exact sequence but it's there.

spice kelp
#

i'm using Z2M for the first time. is it normal for devices to be unresponsive for the first ~30-60s after startup?

forest arrow
#

So are there distinct advantages of using Z2M versus just using ZHA?

austere patio
#

"Add devices via this device"

forest arrow
#

right

simple sentinel
forest arrow
#

But that means I need to remove the device and then readd it?

austere patio
#

Yeah

forest arrow
#

ok, let me try it with one device and see if it makes a difference, I guess since this is going to be my security system I am ok with having it use a specific repeater

#

or maybe I should just be patient and let it run

#

The only thing I want to ensure as that devices don't keep becoming unavailable

spice kelp
simple sentinel
#

Well definitely in HA after a restart it will seem like things have gone awry, but then it's back after a bit.
I don't have any issues outside of right after a restart though

tepid cliff
#

I keep getting this error trying to set up ZHA:
Received invalid command: zha/devices/permit
from Integration: Home Assistant WebSocket API

Any clues?

austere patio
#

How are you setting it up?

tepid cliff
#

Using a Conbee II. It's been running deCONZ for a year until today.

#

(Updated the firmware on Windows just now as well).

#

It registers the USB during setup.

fervent tiger
#

Using HA OS. Since 2 days there is an updated Zigbee2MQTT add-on, version 1.18.1-1. I’m still running 1.17.1-1.
The auto-update option is enabled in my add-on and I also restarted the add-on but nothing changes. I suspected to see a button to upgrade to the new version but it isn't. How can I upgrade?

austere patio
forest arrow
#

Is there a good reference on understanding the zha logs that I enabled from Home Assistant?

spice kelp
#

is there a reason the lqi wouldn't be reported in Z2M in the MQTT messages? i'm using a Raspbee board at the moment

#

i guess it's linkquality in the payload

#

they're 0 on the devices, but i do see values on the map in the frontend

frail tartan
#

Any who hangs out in this channel and uses the zha integration and has migrated Home Assistant from one device to another? I need to do a migration from my existing installation on Ubuntu to virtualized with Proxmox and I have a few questions that are causing me some anxiety due to the large number of devices I have. I believe the zha config is not on the stick, but part of the home assistant config, so if I back up correctly, it should just work, right?

austere patio
#

ZHA keeps track of devices on the network but the network info is stored on the stick itself

#

So back up the entire HA config folder, including zigbee.db, and use the same stick

tepid cliff
#

Does anyone know how to reset a mains powered Hue Econic? I don't have a Hue hub or a Dimmer Switch.

spice kelp
#

i have two switches of the same model. one of them triggers duplicate updates when controlling from Z2M:

Zigbee2MQTT:info  2021-03-04 14:27:36: MQTT publish: topic 'zigbee2mqtt/Bedroom Repeater', payload '{"linkquality":0,"state":"OFF"}'
Zigbee2MQTT:info  2021-03-04 14:27:38: MQTT publish: topic 'zigbee2mqtt/Office Repeater', payload '{"linkquality":0,"state":"ON"}'
Zigbee2MQTT:info  2021-03-04 14:27:38: MQTT publish: topic 'zigbee2mqtt/Office Repeater', payload '{"linkquality":0,"state":"ON"}'
Zigbee2MQTT:info  2021-03-04 14:27:45: MQTT publish: topic 'zigbee2mqtt/Office Repeater', payload '{"linkquality":0,"state":"OFF"}'
Zigbee2MQTT:info  2021-03-04 14:27:45: MQTT publish: topic 'zigbee2mqtt/Office Repeater', payload '{"linkquality":0,"state":"OFF"}'```
#

is that the device? could i have paired in a strange way?

mighty river
#

Anybody knows how to install ZigBee2MQTT usig ConBee II USB Stick? 🙂

spice kelp
mighty river
spice kelp
mighty river
mighty river
#

This is the log file of ZigBee2MQTT

obsidian sandalBOT
remote finch
#

I am just here because I am getting the 502: bad gateway error too. Here's where I'm at:

#

I've installed HA 64 bit image on RPi3, added in the zigbee2mqtt and mosquito broker add ins, and started both, having said yes to showing zigbee2mqtt in the side bar.

#

When clicking on it, it gives the 502 in the right frame. IF you click it again, it gives a pop up saying zigbee2mqtt is not started

#

so it appears to be crashing?

austere patio
#

Otherwise, a 502 error and Failed to start zigbee tell you very little

remote finch
#

But....I have another RPi3 with zigbee2mqtt running on bare linux, and it's discovering my LIvarno bulb, so I realise now this is the way to go...I don't want the zigbee gateway on the same pi as the HA install, so can anyone tell me how to get HA talking to the second PI, the zigbee2mqtt gateway?

#

@austere patio yeah I saw that my logs didn't say anything about the mqtt issue, so I'd need to try debug level as you say.

#

So I guess my question is about a remote mqtt device. Am I in the right chan here?

austere patio
#

HA would talk to Z2M through the MQTT broker

#

Where you put the MQTT broker and where you put Z2M are up to you

remote finch
#

I appreciate this is basic stuff, but I'm a complete noob only 3 days of struggle into this

#

I have the mqtt broker add in in my HA

#

I have a z2m pi separately

#

I have no clue what's next, and can't make any sense of the z2m docs on this

austere patio
#

So in that case Z2M would need to be pointed to the MQTT broker running on the server running HA, and HA would have to connect to that same broker

remote finch
#

it all seems to assume you get the basic concepts

#

So it's about putting in an IP and port somewhere?

#

so the idea with mqtt devices is that they report in to broker?

austere patio
#

HA and Z2M communicate through the broker, so you could have a separate server for each

#

(not that it would make much sense)

remote finch
#

but the broker in my case is an add in on the HA pi

#

I do want the z2m and the HA pi's in separate locations if that helps