#zigbee-archived
1 messages · Page 97 of 1
I’m thinking I’m going to decommission my Z2M node, and use the CC2531 as a router.
I don’t think the feature of turning the LED off has been around very long in Z2M. I believe it was added in 1.16.2.
After flashing the router firmware to the CC2531, can I just stick it in a USB wall charger and it work as a router?
You'll have to join it to your network but otherwise yeah
I’ll rtfm on how to do that. Ty!
bare circuit board sticking out of the wall 😁
I can just 3D print an enclosure, and tuck it behind something non-metal. ☺️
Or I can wrap it in sticky tack. 😂
mine would end up wrapped in kapton tape
That’d be prettier!
see how long it lasts before getting whacked by dog or vacuum cleaner
I could make use of the brighter-than-the-sun LED and turn it into a hallway nightlight!
for a 0603 led that sucker is impressive
I did get a new PLA+ that’s glow in the dark/luminous blue. That’d be rad.
The itead CC2531 has a pleasantly dim green one
Well screw the itead CC2531 and the horse it rode in on!
Nightlight Zigbee router FTW.
its been that way for 12 minutes now
Yeah that's not supposed to happen 😆
i hosed my stick!
Hmm...Zigbee motion sensor in the living room for turning on/off this power-hungry Christmas tree?
If it's blinking then something is making it blink so it's still running. If you check the debug logs it'll probably tell you what's happening.
been trying to add ZHA integration back in, picked my stick serial port and hit the button, and the spinner's been spinning for a while now
I’m not kidding when I say power-hungry...
it's offsetting your heating cost for that room
I've reset my CC2531s well over a hundred times running most of the recent firmwares and have never had them take more than 10s to start up
going for a full shutdown on the host
Does the log contain anything while this is happening?
Holy shit. I should stop worrying about the tree and start worrying about the incandescent C9s in the yard and on the roofline...
Mind you, this was calibrated for a 150W load, so the numbers might be off a bit.
wee bit of voltage drop there
It’s not that low.
Probably a 10kW display pointed at the neighbors
If I stick my meter on it it’ll still read 119-123
rms math is hard
Even without knowing what RMS math is...I’ll have to agree.
I used a 3-speed box fan to calibrate all 3 wifi plugs.
ok powercycled, blinking red light stopped, green light back onn
rms is the averaging function to determine the voltage of a sinewave
Sadly, my 22” tower heater is consuming like 1/10th the energy as the Christmas lights.
since the voltage is constantly changing depending where you sample it
I used ESPHome’s linear mapping.
Took samples with videos on my phone with the meter and HA side-by-side.
i have yet to dabble in anything mains powered with the esp
They’re just wifi plugs that I used tuya-convert on. Wish I would have gotten more when they were on sale for $2/ea. 😔
What firmware are you running on the stick?
Is the green flashing or is it some voltage drop causing it to dim? I think during network formation only the red one should be blinking. Maybe the green one is just on.
still stuck trying to add the stick to zha
Yeah, without logs I can't really tell what's up with it. I haven't had this happen on any of mine (yet).
Stuff like ZDO.StateChangeInd.Callback(State=<DeviceState.StartingAsCoordinator: 8>) should be received like every few seconds while Z-Stack is doing its thing
Yours seems to be getting locked up or something
2020-12-17 00:22:10 DEBUG (MainThread) [zigpy_znp.api] Creating one-shot listener OneShotResponseListener(matching_commands=(ZDO.StartupFromApp.Rsp(State=None), RPCError.CommandNotRecognized.Rsp(ErrorCode=None, RequestHeader=CommandHeader(id=0x40, subsystem=Subsystem.ZDO, type=CommandType.SREQ))), future=<Future pending cb=[ZNP.wait_for_responses.<locals>.<lambda>() at /usr/local/lib/python3.8/site-packages/zigpy_znp/api.py:436, <TaskWakeupMethWrapper object at 0x7fa2a98a00>()]>)
Since it sends only a couple and then just goes silent
command not recognized?
Yeah don't worry about that stuff
oh
Not all commands are recognized by all sticks and all firmware versions so every command can potentially receive a response or a "command not found" response
Only other thing I can suggest is reflashing the stick 🤷♂️
I followed some youtube video years ago to load firmware on this stick
no idea what version its running
20190608, the latest Z2M build of Z-Stack Home 1.2
Only other thing I can suggest is maybe reflashing the firmare and resetting it again?
oh just felt like years ago then
You can use the serial bootloader by plugging it into another computer and poking whatever button makes the red LED turn on and then running python -m zigpy_znp.tools.flash_write -i /path/to/CC2531ZNP-Prod.bin /dev/serial/by-id/YOUR-CC2531 (https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/Z-Stack_Home_1.2/bin/default/CC2531_DEFAULT_20190608.zip)
But that doesn't wipe NVRAM so if it doesn't work the complicated flashing method is probably the last resort
that sounds a lot easier than the method I used
had to get some adapter board and a cable with the tiny little connector on it
It doesn't work unless your stick has a serial bootloader, like an Arduino. Since many come without any firmware you'll still have to use the debugging port to initially flash it.
ah, gotcha
Although, if you managed to run the energy scan on another computer, the stick should have started up just fine and formed a network then
If you reset it and plug it into your Home Assistant machine, the same thing would happen
Is this running off of a Pi?
yes, pi4
With other power-hungry USB things plugged in?
yes, sata ssd
Another user had problems with a different TI coordinator stick with a Pi and a USB SSD
got it plugged into a 60 watt USB-C power cube thing
Moving the hardware over to an externally powered USB hub fixed it
mmm
that is a simple answer
i'm still hung up on the coincidence of the software update
Nothing really changed with the software that talks to the CC2531 between those two releases
and teh cc2531 seems to be operating normally, at least, outside of HA
I'm tempted to put it back in the other pi and see if it can sniff zigbee packets or something
it should have a promiscuous mode of some sort right?
Not with that firmware
i guess the energy scan confirmed the radio is working
And the sniffer firmware doesn't exist in a form that's flashable over the bootloader
The energy scan forms the network in the exact same way as ZHA does when you add the integration
Which firmware file do I need to flash the CC2531 with? These are the three files contained in the router firmware ZIP file:
router-cc2531-diag.hexrouter-cc2531-diag-usb.hexrouter-cc2531-std.hex
I've not made a CC2531 router so I'm not too sure. Probably the std?
If you run the reset command, unplug and re-plug the stick, and the energy scan works, but resetting it and plugging it into your other Pi doesn't let ZHA form a network, then I think your other Pi has some USB issues. Most likely power issues if it locks up when the stick is likely scanning for other networks during formation.
A little more research yielded this: https://ptvo.info/cc2531-based-router-firmware-136/
So yeah, std it is.
Thank you @molten linden and muddy @austere patio
pi@zigbee2mqtt:~/github/flash_cc2531 $ ./cc_write firmware/router-cc2531-std.hex
ID = b524.
reading line 12070.
file loaded (12073 lines read).
writing page 13/ 95.
And we're in business! Hopefully in a few moments I'll have a fully qualified and dedicated Zigbee router.
thanks for tolerating me on this subject ... bbl 😴
Enjoy your nap. Sometimes that's all it takes to fix hair-pulling problems.
Erm...is this correct? Why is it showing up as a LUMI router? 🤷
If you look at the ZHA device info and click on the device signature button, it'll tell you what the device says it is
Says it's a lumi router 🤷
"manufacturer": "LUMI",
"model": "lumi.router",
"class": "zigpy.device.Device"
If that's what it says it is then that's what it is 🤷♂️
That's odd, because my Aqara devices also show as LUMI.
Those attributes are reported by the device itself
"Currently no compilation instructions are available for this firmware." 😦
I'm just hoping it's the CC2531...I didn't have to press any buttons on it, it just showed up after I flashed it.
Zigbee ID: "lumi.router" so it looks like it
"At first boot it will automatically be in pairing mode and join your network"
Sweet, thank you. That makes me feel a lot better.
I wonder why that name was chosen
Maybe so it could extend Xiaomi gateway networks too?
Ooooo, interesting thought.
They basically "fast join" devices by just looking up the model name
with zigbee/z2q integrations, is there a recommended best practice for id/names? should I use z2m to create more friendly aliases and then use my config yaml to reference them? or should I have z2m expose the IEEE address to home assistant, and have home assistant manage the friendly names I use in my yaml in case I need to replace a bulb, etc?
I, personally, rename things in Z2M's own UI with the setting enabled to tell HA to change the ID. Then if I replace something in Z2M it can be transparent to HA.
It just occurred to me what the biggest problem with ZHA is.. It goes down when Home Assistant is restarted.. I wonder what the difference in downtime of zigbee devices is between ZHA and Z2M ?
plus with Z2M I guess it would be possible to have fallback automation even if HA goes down.. Much like you can with Tasmota.. Why can't one thing ever be the clear winner in every situation? 😛
If you've got Bindings in place, they still work when HA is down
bindings are simple switch/toggle type things aren't they?
Well, they're linking two Zigbee devices together, so that can include dimming and more
if i'm upgrading from my cc2531 and want something wtih best signal strength to support eventually a large amount of devices, what is the recommendatino for the best replacement?
Depends on your chosen Zigbee integration - see the pinned messages 😉
ah ok great thanks - i think i'll get the zzh!
It rocks 😉
I've had mine for ages but haven't yet had time to replace the combee ii
still undecided if I should go zha, z2m in an addon or z2m in a seperate vm
paralysis of choice
For me, the fact that with Z2M in Docker I can upgrade when I want and downgrade when I want would be a big reason not to use an add-on 😉
Hi, a question about the new z2m frontend konfig:
What port do I have to choose? The same port as the HA one?
It is, that’s what the firmware reports the device as. I have several set up as routers.
That would be important for the docs
It's in the Z2M docs, which docs are you talking about?
This is not true. The coordinator does go down but the network is still up as long as you have routers.
The HA docs of the addon says 8099 and I think it is not important which it is, as long it is not the same as the HA port?
Then I'd submit a PR for the add-on docs
I've never seen them since I don't use add-ons 😄
I cannot, because I do not know what is correct.
Well, it sounds like Don't use the same port as Home Assistant is a sensible addition
Any port can be used
I can’t wait until integrations can update separately from HA in general... if we ever get there 😀
Those and add-ons for those that use them
I do hope we get there, because that will be awesome
Of course, then you'll have folks complaining that they can't use the latest integration on HA 2018.1 😛
Tinkerer, which zigbee way of integrating do you use?
Z2M
That said, the front end challenge there will be interesting to solve
But I don't run HAOS or Supervised, so I don't touch add-ons
ah, z2m in a separate docker piped into HA via ports?
is your setup described on your blog?
Yup
Well, Git more than blog
Just ... don't copy my setup 😉
I've been a *nix admin for decades
so, I switched to supervised this year when I had a drive about to fail (thank you SMART) I was kind of against it previously but I’m definitely glad I switched
If you've got the skills, it's fine. I could run it, but I'd give up the control to do so, so sod that 😛
i installed it for fun then i got pissed i can't do anything like a normal linux person
😂
I was sick of managing it... the machine only has HA on it so I was willing to let go
I have a bunch of home servers, what's one more 😂
😀
I've actually shrunk my setup over the years anyway - it used to be way more complicated (well, it used to be a proper setup with a DMZ, proxy, etc etc etc)
@violet dagger do you still have the ZBMini paired to ZHA ?
I’m curious what the signature is for them
no, ZHA is there just for testing
ah ok
i can repair it
I have 4 sitting here I just haven’t popped them in yet
as soon as you explain what a "signature" is
😂
We have a button in the UI that pops a dialog that contains all of the zigbee information
Kind of off topic, I have an old spare laptop lying around and think I will move HA there. My home server running the current VM is encrypted and lately the electricity was quite flaky here.
k, will grab it when i get home
Endpoints, clusters and device type
Old laptop is how I run mine, built in UPS FTW 😄
I’ll let you know if I get one installed first. Got a ton of snow to clean up first... if it stops
I’m on a surface pro 3
Yes! And I guess HA does not need an encrypted server "below"
kind of over the top
Touch screen, UPS, etc... many benefits
I mainly miss to have full access to the underlying system/OS or what this element of HA is called.
I also have a small APC UPS as a secondary backup and conditioning the power for the 2nd Alien router that is with it
man, i really need to get an UPS these days 😄
I’m actually debating building out a 10ish U rack
Keep rolling around the idea... I am debating doing something with cameras and in home image processing for presence and person / facial detection
won’t be able to run that well on the surface 😂
ask yourself first: do i really have the time? 😄
if you do let me know how 😛
My goal, Star Trek
“Computer, where is Jr?”
😀
I’ll be happy with like > 70% accuracy and no hardware on humans
BTW, which channel is correct to discuss the different installation methods?
And a more zigbee question:
To rename the devices it makes most sense to do this in y2m (or other addon), not in the HA devices section, right?
If you want to talk about a specific one, use that channel, otherwise #general-archived
It would be the discussion of the different options
#general-archived then 😉
@tropic depot given that my routers are predominantly xiaomi I feel like that's the equivalent of not having routers :/
YMMV
I have 4 xiaomi smart plugs.. and with deconz they do not act as routers.. can't say if that's true of ZHA
Perfect, thank you.
What is the drawback to running both 1.2 and 3.0 devices on a 3.0 coordinator? Tinkerer was saying that he plans to have a network setup for each, but I didn’t fully understand the reason behind it.
AFAIK it means that the 3.0 devices don't get to play fully 3.0
So you lose some of the benefits
Of course, I've temporarily abandoned the plan due to some shenanigans with my 1.2 mesh, so a couple of the 1.2 devices are now on the ZZH 🤷
I have a small network, couldn’t just re-pair the 3.0 routers first so they bind to the coordinator?
There is really very few drawbacks to having things mixed.
Biggest benefit is primarily security and the certification process
So I’m assuming 3.0 nodes that hop through a 1.2 router will suffer from the drawback?
No, no real drawbacks
Starting from scratch today, you'd want zigbee 3.0 if possible, don't get me wrong
But from a routing, performance perspective, there is very little changes
they consolidated and expanded all the various profiles, including the HA profile that is ZHA 1.2
greatly increased the security, install codes, unique TC link keys, link key changes possible, app keys, etc
@waxen jungle I'm understanding more that lower versions "fail to take advantage" rather than hinder the other nodes.
In ZHA 1.2, the TC link key is ZigbeeAlliance09 -- called the "well known key" -- it's like everyone using the same default password to start
If you have someone malicious sniffing your network when you join a device too, they can see the key and then decrypt all your zigbee traffic as well😫
I wrote up my Franken Zigbee over Ethernet DIY Coordinator here: https://github.com/zigpy/zigpy/discussions/584 🤪
Nice job tube!
Zigbee n00b here: Is IKEA Trådfri gateway all you need to connect HA with zigbee devices?
It'll connect you to their bulbs and outlets. That's about it 🤮
Yes and no -- it will work, but you'd get way more supported devices by picking one of these
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.
Thanks
I am on start of migrating my old automation to either zwave or zigbee? Are there any advantages for zigbee over zwave? Or am I really best suited if I build HA with both?
Personal preference, and depends on a lot of factors
Where are you located? Z-Wave uses different frequencies in US vs Europe?
there are no advantages of one over another, just personal opinions.
ZWave would work 99%, but you pay double or triple. Zigbee is cheaper but you have to do due diligence making sure the device you are buying is compatible with your integration
Here in the US it's easier to find Z-wave locks, smoke alarms, etc -- zigbee has much smaller components, usually cheaper as well
Heinman Smoke alarm works well. There's xiaomi, but it is xiaomi and need compatible routers.
zwave products here in the netherlands at least are quite expensive and there isn't a lot of choice. I found zigbee devices to be much cheaper and read a lot of possitive feedback on them. I did some research and went with hue motion sensors and bulbs mostly and furthermore xiaomi aqara water sensors, some motion sensors, door/window sensors and air sensors.
also got some inrr bulbs which seemed to work fine but notice that they have setting brightness issues when turning on. also testing with lidl devices at the moment.
anyone know how to move ZHA to another server and not loose all paired entities
Same process as moving a HA install @lament birch -- just move over the stick as well
need to transfer your HA config
Looking for some advice here. I made 2 changes - ConBee II to HUSBZB-1 with updated software; and I moved from deCONZ to ZHA. My feeling (I don't have stats yet) is that my ZHA+HUSBZB-1 setup seems to be less reliable than ConBee II+deCONZ. Have others experienced anything similar? I find many of my devices are very slow to respond or non--responsive altogether, and there doesn't seem to be any rhyme or reason.
@amber gull all entities are "saved" on the (in my case) Conbee II?
They are paired to it, yes -- but you want to move over the zigbee.db, config and .storage directory for the easiest time
config? if i had it in yaml?
@mighty river Native HUSZBZB-1 with ZHA is quite fast -- you probably have some retries happening somewhere on your network if you notice things are slow
@lament birch Just your whole Home Assistant config directory, ideally
If you google migrating home assistant you'll see a lot of guides
You'll may need to edit .storage/core.config_entries with the new device path to the conbee, depending on your install method
i'm installing a new server and migrating one thing at a time 🙈
if you just moved over your conbee 2 stick and did not move over your config -- some of your devices might follow
I think they need to ZDO announce for ZHA to see them, never really tested that
i have it configured through the UI
All the UI config gets stored in your config directory (under .storage sub directory)
@amber gull do you know of any standalone Zigbee managers like deCONZ, but for ZHA. I like that ZHA is very tightly integrated with HA, but would love to have better insight in terms of what's going on.
https://www.lidl.ch/de/p/smart-home/kabellose-tuerklingel/p57249
Yo... I need that Lidl Doorbell
@mighty river Start with looking at the visualization built into the HA 2020.12 release
Then enable debug logging https://www.home-assistant.io/integrations/zha/#debug-logging
and see if you can catch a slow response -- for example a motion sensor triggering a light
and look through the log, and note the routing path -- post here if you need help
Hey guys, just received my LIDL (Silvercrest HG06467) (https://www.zigbee2mqtt.io/devices/HG06467.html) and i really like how the community already reverse engineered the effects etc. How would i go about showing a list of possible effects, and can i add "controls" to the home assistant ui to change the effect parameters json posted to mqtt (speed of effects, n different colors based on effect)?
Is it zigbee2mqtt's fault that effects are not listed in ha because they don't report them in the discovery? Can anybody point me into the right direction?
{
"effect": {
"effect": "carnaval",
"speed": 100,
"colors": [
{
"r": 102,
"g": 0,
"b": 204
},
{
"r": 255,
"g": 204,
"b": 51
}
]
}
}
Hi people, I have a question for you. I replaced Deconz with ZHA and while I’m satisfied with how this integration works (much, MUCH easier to configure, and no phantom devices).
The issue I have is that I lost the remote_button_long_release trigger type for my Ikea Tradfi remotes, and I have a lot of automation relying on it.
In the dev tools, if I listen to zha_event, I can definitely see that the remote sends a signal for this action, and that HA indeed receives it.
Is it possible to add a custom trigger type for my remotes based on this?
Hi Zad -- the issue is that you see a generic zha_event instead of a long_release event?
I get this https://paste.ubuntu.com/p/2v49ZhRWpw/
exactly
Both the dim up and dim down long press actions send the same "command": "toggle", which isn’t an issue for my use case, but this event isn’t on the list when I create an automation with a remote as the trigger
If you go to Config > Integrations > ZHA > Devices > Remote -- what quirk is listed as matching
Let me see
I’m not sure if I understood the question well, but I have Quirk: zhaquirks.ikea.fivebtnremotezha.IkeaTradfriRemote if that’s what you asked
Here is the quirk for that remote, that creates the events
Not familiar with that remote, but it looks like you should get COMMAND_MOVE_ON_OFF and COMMAND_MOVE with long press on dim up/down
Sorry but I can’t find how to use this file
Doesn't look like the quirk is doing anything funky with that remote
So not sure why the remote is sending a toggle
Can you press some of the other buttons and see what zha_events you get?
Yep already did, the command and args fields in data are the main things, let me get you a pastebin
This is the full list of available events
The only button that doesn’t have a long press/release event is the power, but that’s because it’s reserved for synchronizing the remote
Hi Guys I have a cc2531, and the green light is so bright, is there anyway to turn it off? i'm using ZHA
Zad, looks like you received the right event
{
"event_type": "zha_event",
"data": {
"device_ieee": "bc:33:ac:ff:fe:94:e5:be",
"unique_id": "bc:33:ac:ff:fe:94:e5:be:1:0x0008",
"device_id": "dc48265b0779a0db2bd9024def0d939b",
"endpoint_id": 1,
"cluster_id": 8,
"command": "move_with_on_off",
"args": [
0,
84
]
why the axe emoji :S
I think it means unsolder the LED 😄
Or maybe use some tape to hide the light
@amber gull I do receive all events (and I even discovered that the remote does send a different event when I long press the left and right arrows buttons with this)
But you're missing the release? Or missing the device automation triggers?
This is the full list of triggers available : https://snipboard.io/i6Pcta.jpg
ahh, I gotcha
As you can see, there is no trigger for any release events
And there is even a trigger for a nonexistant event ("Turn on" button continuously pressed)
sorry, I don't use device automation triggers
you can code it with zha_events instead -- or you could hack the quirk to add it
Do you have more info on the first solution?
I tried to listen to events as a trigger, but I’m not really familiar with that
Amazing, this fixed my issue
zha:
zigpy_config:
znp_config:
led_mode: "off"
In my configuration file
no BRIGHT Green led 😄
Case or no case hmmmmmm
Does anybody actually run Z2M or ZHA with a CC2531 and keep the LED on by choice?
@rich igloo Looks like someone started a blueprint here https://community.home-assistant.io/t/zha-ikea-five-button-remote/255120
No release yet, but you could follow the sequences they have there with your events to add it
Covered mine with black electrical tape when I got it.
Or you could ask in #automations-archived
It would just be matching the sequence of the generated events
I’ll try that and ask if I have trouble with getting it to work, thanks for your time that was very helpful!
I'm not sure if a blueprint lets you get that advanced or not tbh
I do have an idea though, I’ll try it 😄
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaand it works!
What did you come up with?
Yup, perfect
That’s awesome because now I have even more events to work with
It has to do with the zigbee spec -- if the remote was direct bound to a light, that's the information it would send -- first press of the button, turn on (maybe), start moving brighter or dimmer --- when button is released "stop" moving the brightness
That’s what this event will be used for (brighten and dim), I also like to do everything myself and wanted to avoid using community blueprints for this reason
Not sure this goes here.. Tomorrow I'll try to flash a Sonoff zigbee bridge. I'd love to use to with the ZHA integration and to capture 433mhz signals as well. Is that feasible? thanks in advanced
oh shit
so the black one is RF and the white one Zigbee?
I thought they both were the same
yup
@tropic depot just want to inform you that my zigbee is up again with the extension cable. Had to put it in the old usb slot as well, I had it in another one. But the extension cable did the work, didn't knew a SSD could interfere that much. Thanks a lot, have a wonderful Christmas:)
i wanted to ask @gentle flint about firmware for Elelabs-ELU013 that is here https://github.com/zha-ng/EZSP-Firmware/tree/master/Elelabs-ELU013 what is DCDC bypass and what file recommends, what version to be most stable
i watched for him to write for more then a week never sow him 🙂 maybe he sees this message
or if anyone try them / has any idea
"In addition, the dc-dc converter supports an unregulated bypass mode, in which the input voltage is directly shorted to the dc-dc output."
yes, i configured it based on this app note and based on the schematics of elelabs. I do not actually know the correct value, but the firmware would not work without it.
Hello, is someone considering making a blueprint for the HUE smart button in the near future ?
If not, has someone a procedure how I can get from listening to the device towards an automation ?
Does Zigbee work similarly to Zwave, where the devices are paired to the usb stick, and moving that stick to a new HA installation takes the devices with it?
can the db be moved easily? is it included in the HA snapshot?
(I've got a Home Assistant Blue coming, but a Conbee stick here now, debating about waiting for the Blue before moving things from Hue Hubs to the Conbee)
hmm
I think it is?
Ah yeah in that case the devices will be joined to the stick but zigpy won't know about them
Though if you power cycle the mains powered devices zigpy will think they joined and will add them
@gentle flint any suggestion to my question? please "what version to be most stable and new from all that files for Elelabs ELU013?
i don't know. Conservatively, https://github.com/zha-ng/EZSP-Firmware/blob/master/Elelabs-ELU013/efr32mg13p-v8-676-sw-115200.gbl or 677.
Although for me 6.8.2.0 works fine.
(also running 6.8.2.0 in < 10 node network no problems so far)
lets say i have around 70 zigbee entitys on ~ 35 devices
i'll try 6.8.2.0 then and go down down there if i encounter any problems
atm around 102 103 devices on 6.8.2.0.
Zigbee 3.0 smart plug and button for $10: https://www.amazon.com/dp/B08FDD99VD. Not sure about current support for ZHA, but both work in z2m (you just possibly need to modify your devices.js, not sure if it's in the latest release yet: https://github.com/Koenkk/zigbee-herdsman-converters/pull/1888)
amazing
do we know of its routing capabilities?
i have a mix of aqara, ewelink, and heiman. don't want to blow up my network
i was going to order more ewelink plugs off ali but this is faster 😛
Ikea is a pretty good deal too. You get twice as much plug for the same price.
if only the ikea plugs didn't have garbage radios in them
Should be the same little SiLabs module that's in all their other devices?
yeah i read that they have a poor antenna design or something, lots of people report problems with them
especially the ikea signal repeate
ironically
Yeah those ikea plugs are absolute units
lol
These linkind ones are a lot smaller than I thought they were which is nice
i get the ewelink sa003s off aliexpress, about 7 each
I think it's a reference design. They have a few stack lockup bugs but those will maybe get sorted out when they push new ota files
they work great as repeaters w/ my aqara devies
Hi all,
I have the following problem, all the spots in my livingroom are gu10 colored. I also have a PhilipsTV with Ambilight. Now I would only want to use the spots at the tv area with the ambilight when following video but if I have a party once covid is over I would like all the bulbs to react to audio through the tv. Is still possible to enable and disable bulbs on the fly?
Lots of text in a spot likely visible in normal use
Is that an install code I see?
Scan it if you can, it may have a different format
They added the Z-Stack command to Z2M but I don't think it was ever utilized
ahh
Or maybe it's in the web UI now
i have no problems w/ channel 26, just wanted to use it for funsies
Supposedly 26 has to operate at a lower power in the US
Supposedly
its not implemented
FCC, OPEN UP!
tx dbm didnt change w/ channel 26 on my zzh
You can use zigpy-znp to perform the scan, it doesn't touch the radio config except on some CC2531. To be safe just don't unplug it before ctrl-c ing
Hey all,
Raspbee 2, running with Hass.io on my Pi 3b+.
My temperature sensor is unreachable and after updating to the latest release through Supervisor's update prompt Phoscon app flashes to "Network not found..." after Login, just after it briefly shows my groups etc.
Anyone have any ideas of where to start?
Supervisors Hardware list still lists the device at /dev/ttyAMA0
zzh is a dev board, not FCC certified or inspected 🤪
no u
I haven't even gotten that far. The Conbee stick arrives today, I've got three Hue Hubs and 68 bulbs that are choking the hub APIs, so I'm told I need to move to a Zigbee stick
What do you recommend, ZHA or deConz?
ZHA or Zigbee2MQTT 😛
why the 😛 ? (truly curious, I've not dealt with any of these zigbee integrations yet)
which one will be least fiddly and/or not need to be replaced down the road?
(i'm only using it for Hue bulbs and strips right now)
Hrm if mainly hue deconz may be your best bet from what I understand
I think both us and z2m struggle a bit with Hue... YMMV though... @sour shadow do you have any hue stuff?
I only had the Hub
I've not heard of any major problems, but I may have missed them
The standard complaint point is Osram 😄
what are the struggles with deConz? (or, why did Tinkerer suggest ZHA or Z2M instead?)
ZHA is native to HA, which if you want least friction is good
Z2M is separate, and very actively developed too, which is you want separate is good
deCONZ has a lot of potential, and lots of folks are happy with it, but I also see that it's struggling to keep up with the pace of change of the others
interesting, and super helpful, thanks
sounds like i'll start with ZHA and see if i have issues. Any known pitfalls between ZHA + Conbee II + Hue bulbs?
Z2M is also handy if you have multiple HA instances, or otherwise want to use your Zigbee with more than one piece of software
Good to know, but I don't
That's ok, not everybody has a test instance 😛
(i probably should tho)
i'm happy to tinker endlessly with the things that happen with the devices, but I'm pretty far over being enthused to mess with the infrastructure to make them work at all
(yes, I bought a Home Assistant Blue for just that reason 😉
Tink, are you able to use the same root topic for all of the Z2M nodes, or do you have to give them unique root topics as to not collide on config/bridge status?
I give them different root topics, to avoid issues like that
Means I know which coordinator is online 😄
Can the root topic be 2 levels deep? For example, zigbee2mqtt/stack12 and zigbee2mqtt/stack30?
Probably, but I'm just going one level
zigbee2mqtt and zigbee3mqtt and zigbee2mqtt_1.2 (at some point)
https://github.com/Koenkk/zigbee2mqtt/issues/4694 @sour shadow I have been watching this incase they figure it out so we can make it better too
Yeah, I've got that remote, now I think about it - zero issues
It’d also be neat if Z2M could take its input on a unique nested topic, and output to the root topic. 😮
@dreamy tinsel i'd suggest ZHA
I don't say conbee is not a good stick or anything, but personally I'd avoid it, i had a lot of issues with it, but again some ppl here use it successfully
gah, really? that's the one i'd been recommended here
someone tricked you
I'd go zha with elu13 stick
maybe that someone had a good experience with it
i did not
Most of the recommendations were zzh! or Slaesh's stick... but never mind.
ConBee is another consumer toy, not a real board.
If the market models worked perfectly, people wouldn't go to the effort of designing alternative dev boards.
Hard to call any of this consumer, but I get what you're saying
Can buy off Amazon and is advertised as plug-and-play = consumer.
Have to upload your own firmware = not so much
Have to know whether your serial device path is /dev/ttyACM0 or /dev/ttyAMA0... prosumer?
Mine shows up as ttyUSB0 on here 🤷♂️
I don't pretend to understand the wizardry that goes on in Linux boxes.
i'm just joking; nothing in Home Assistant feels like it qualifies as consumer grade
at least, that's what the glazed over eyes of everyone i talk to about it tell me
/dev/serial/by-id/...
Yeah, HA is great but I wouldn't recommend it to my parents.
Great efforts have been made to make it more user-friendly but it still takes a decent amount of tech know-how.
You will have noticed from a lot of the questions that get asked on this server that many people are overwhelmed by the technical aspects.
Yep, it's come a lonnng way since I even started messing with it. But there's only so much HA itself can do to make it simpler. The hardware layers are the real complexity traps.
To be fair, some of those folks are also overwhelmed by the concept of flashing an SD Card
I deal with this all the time at work too (I'm an infosec product designer); we lose people when it takes this much effort to just get things to square one
I'm not even to all the fun complexity
I'll tinker forever in NodeRed to make cool things happen; but if i never had to know how to flash an SD card, or monkey with Zigbee sticks, it wouldn't change my HA usage experience one bit (except getting me to the fun complexity quicker)
thank you for coming to my ted talk
What do you mean? My dad is using Home Assistant 😜
my dad... the software engineer? 😉
I don't think we share the same father then.
Hahah, yeah it's a bit of tongue in cheek.
My dad isn't a software engineer but is good with microelectronics and is interested in gadgets and building up stuff with Raspberry Pis
my dad wants to do this stuff so bad, and is just smart enough to be dangerous, but when something breaks and i have to talk about firmware and DHCP, we both get rightly annoyed
If I mention docker he's going to think I'm talking about sailing
hahahaha
We set up everything with Docker so at least we didn't have that issue
And yeah, he's using my second zzh! Stick so he was able to fuse together Tradfri, Aqara and Trust together into one network
(if somebody remembers I accidentally flashed the wrong firmware on one zzh Stick so I had to buy another one with the debug adapter)
I flashed the sniffer software from TI which probably flipped the flag to disable the serial bootloader
Ah
So, trying out this Conbee cause I have it. I'm getting 'failed to connect' errors on the serial device path field
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2250415-if00
2020-12-17 17:39:34 WARNING (MainThread) [zigpy_znp.zigbee.application] Failed to probe ZNP radio with config {'path': '/dev/ttyAMA0', 'flow_control': None, 'baudrate': 115200}
First field dropdown, I chose /dev/tty/AMA0
Second field I chose the deConz radio option
"Failed to probe ZNP" it is not using deconz
Third field I paste in that /dev/serial info and get the failed to connect error
I've had the same issue with a CC2531. ZNP was kicking in instead of CC
I ended up manually editing the config-entries.json file :/
you only have the deconz stick connected?
shouldn't be the problem :/
ZHA tries every radio library in order. This warning is expected, since it's not a TI radio
so if that's expected, why the failure?
ah! but I remember it asking me for the radio type
Same here, and I selected the deCONZ/Conbee radio selection
I think it does that after it can't auto detect the radio type
Some of the newer TI radios didn't like being probed by EZSP first at a different baud and needed special handling. Maybe the Conbee is the same way? I think it's like third or fourth on the list.
evening all
I have an ecosmart remote that was broadcasting to NR, before I rebuilt my HA
now I get it to do much of anything
I turned on zha_events listener and I get this: 2020-12-17 18:20:51 WARNING (MainThread) [zigpy.zcl] [0x75b5:1:0x0008] Data remains after deserializing ZCL frame
i didn't get that before rebuild
i just removed and re-paired it too
Are there better ways of doing zigbee light groups than the config light group yaml? I get such flakey behavior in HA when changing bulbs colors on a light group (brightness jumps, different bulbs change more than others)
(Using a new Conbee stick with 4 Hue bulbs. The Hue hub adjusted things buttery smooth...)
With ZHA you can create a zigbee group which contains all the lights. it's under the ZHA config panel and the groups tab
Ah got it, cool
What would create a better zigbee network, 15+ CC2531 units in every room, or 2 CC2652R units? This example is for a 4000 sq foot, 3 story home (incl. basement).
Are you talking about the USB coordinator sticks?
Yes
the Texas Instruments ones, coordiantor/router sticks
CC2531 is the old, cheap one. CC2652R are the new, more powerful ones. I'm wondering which creates a better mesh zigbee network.. many of the CC2531s, or fewer of the CC2652R.
Are you not planning on installing any routers other than these?
Only battery-powered sensors?
Using Zigbee lightbulbs or installing Zigbee dimmers for existing bulbs would give you well-placed routers in each room. I'm having a hard time imagining how 15+ CC2531s are going to hide in a single room 😆
Okay the lock and unlock button works and battery status seems to work but actually knowing if the lock is locked or unlocked does not display is there any way to fix this here's a link to the model https://zigbee.blakadder.com/Yale_YRL220-HA.html
ok so can anyone help me with zha_events
I just paired my hue remote and even that isn't pushing events
if I do a test fire_event I get the payload in NR
but none of my remotes are firing ZHA events then it seems?
I get this in the log from the ecosmart remote: 2020-12-17 23:53:18 WARNING (MainThread) [zigpy.zcl] [0x0ea4:1:0x0008] Data remains after deserializing ZCL frame
but nothing in ZHA Events
i did that
press remote buttons
OMG
if you se no events fired then they are not paired ok
😛
i've been staring at this for hours
you can use that in triggers
yah
ok i'm at the end of my night now
select just one, the one that you need
@red walrus congrats, i wish you a good night sleep and you are at the beginning of the journey so gl
I'm struggling with binding ikea motion sensor to a bulb, sucessfully binded with GUI but it doesn't trigger bulb? Any ideas?
zigbee2mqtt
Perhaps it doesn't work, and everyone just uses HA to listen for state change and trigger the bulb that way, seems silly though.
Ahh never mind, it doesn't work like this, I would need to unpair the sensor from the coordinator and pair it directly to the bulb, which defeats the point.
Does not sound like intended solution.
Binding should work together with coordinator.
Yeah its disappointing, lots of conflicting info on zigbee2mqtt site too. It's suggested that the sensor can only be bound to a group (which for sure it cant), and somewhere else I read that one has to pair the bulb with z2m coordinator, then pair the sensor to the bulb?!
It's not a massive problem, I can just create an automation in HA. Just seems a little counter-intuitive, and would have been nice to have the bind so that it still works if HA goes down etc.
I'm shifting my HA across to Docker Compose and want to set up healthchecks for each service. Does anyone have a suggestion of what I could use as a healthcheck for my Z2M container? I've tried nmap -p 8080 IP_ADDRESS and get no response (from looking at the code, I thought 8080 was the default port for the UI).
this.port = settings.get().frontend.port || 8080; in lib/extension/frontend.js
Hmm there was some mention of port 8880 from outside?
I can see where I went wrong (or at least part of it). For some reason, I have the port set as 8099 in my live HA and I copied that config across 🤣
I'm not convinced it likes using nmap as a healthcheck test though. Another container is reporting as unhealthy despite nmap saying the port is up.
But that's a Docker Compose thing, not a Z2M thing 🤷♂️
Yeah... 'unhealthy' even though nmap reports up 😦
Any other ways I could build a healthcheck for Z2M?
curl/wget?
Good shout
Once I have working healthchecks on every container, tonight's task will be to automate emails when the health changes.
I'm glad I'm moving from OS to container. So much more flexibility.
It's funny... I wasn't sure how to approach email alerts based on Docker Compose healthchecks and came across this: https://dummylabs.com/post/2018-08-15-monit/
In the first paragraph, they mention HA 🤣
It's a shame you can't tell it to auto-restart failed containers
Hmm. curl gives unhealthy too. I'll have a closer look when I'm not supposed to be working.
Thanks for the tip. At least I know I'm doing something stupid somewhere else instead.
Well, maybe, we'll find out when I test my own 😄
If you try it and get it working, could you let me know how?
Will do
Bit of a hack, but could you not poll your coordinator, and generate "unhealthy" from that?
That would mean having an mqtt client involved. I'm trying to do this natively with the Docker Compose tools and no changes to the z2m image.
gotcha
That could be a fallback if I can't do it natively though, thank you
Hi!
I was just about to try to change my Zigbee channel.. Have HA in Docker (ZHA). So I entered the container and run: bellows info. It seems not to work very well...
Many Python errors..
https://pastebin.com/LeDMqRBb
Do I need to first stop something? ZHZ stop?
Anyone know of zigbee devices that could be used as fan controllers? Need a 0-10v output basically
Variable? Maybe a dimmer?
have you checked the list of devices on zigbee2mqtt? There's this one, not sure its what you're after though https://www.zigbee2mqtt.io/devices/NUE-ZBFLB.html
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8123"]
interval: 1m30s
timeout: 10s
retries: 3
``` That's what I just added for my test HA container, worked fine @dry fossil
Just verifying on my semi-live one 😄
@dry fossil @heavy latch something like this but I can’t find it anywhere other than 1 listing on ebay (at a silly price lol)
Yeah, curl works for my HA container too but not for mosquitto or z2m.
That's why I'm puzzled
The frontend does load?
Ahh yeah, lots of stuff like that on aliexpress if you can stomach the shipping wait!
I don’t mind the wait but A) I can’t find it on Ali and B) I’m not sure how much I trust them lol
It does a redirect to /#/, so I'll add that to my curl just in case
No change
Is it the container? I just tried docker exec /bin/bash and it couldn't find it. That means it won't have curl either 😅
what do you use zigbee2mqtt for mainly? @dry fossil
I'd be guessing zigbee 😛
It's an alternative to ZHA and deconz
Or are ZHA and deconz alternatives to zigbee2mqtt 🤔
We will never truly know
Actually, the're all alternatives to Z-Wave...
I seem to remember someone saying the zigbee map being part of the 2020 release? I cant seem to find any traces
did it not make it?
Yeah theres a map in the gui of zigbee2mqtt
I do seem to recall seeing a map in deconz, but didn't like it so ended up going zigbee2mqtt
now I think I'll just give up and hardwire everything
yh I know how it feels, trying to find a replacement for my zwave but battery life is just not there with most of the interesting zha devices
I wonder if "thread" is going to be the answer to all of our woes
In the meantime I might just go back to using hue hub, since I honestly see no advantage from using zigbee2mqtt
What issues are you having with zigbee2mqtt?
binding motion sensors to bulbs, specifically ikea motion sensors
O I C
Of course I can just use HA to turn on the bulb when it receives status change from the sensor, but that's just adding point of failure, whereas I didn't have that before
Trying to get Zigbee2MQTT going but getting errors starting up:
Zigbee2MQTT:info 2020-12-18 09:30:54: Starting Zigbee2MQTT version 1.16.2 (commit #1.16.2)
Zigbee2MQTT:info 2020-12-18 09:30:54: Starting zigbee-herdsman (0.13.37)
CREATED DECONZ ADAPTER
Zigbee2MQTT:error 2020-12-18 09:31:05: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2020-12-18 09:31:05: Failed to start zigbee
Zigbee2MQTT:error 2020-12-18 09:31:05: Exiting...
Zigbee2MQTT:error 2020-12-18 09:31:05: undefined
reset your stick/controller
Ugh, I've had this thing for all of about 3 hours
What stick?
Conbee II
Well, that's better than it could be then 😄
If all of these 'consumer' sticks are such crap, why are they recommended ones on Home Assistant's own docs?
and surely 'working at all' isn't such a high bar that the only recommendation can't always be 'get different hardware'
Zigbee2MQTT has no HA docs 😉
i tried using it in ZHA first
And I don't think the ZHA docs list recommended sticks, just options
Could be wrong though
ZHA ISTR recommends _EmberZNet _
Not in the docs though, just here
deCONZ should work though
Known Working
I've heard a lot of people use ConbeeII
same here
There's a lot of folks here who use it with ZHA and deCONZ
Less using it with Z2M as support there is relatively new
so to reset this thing, is that a hardware reset, or something that has to be done in software
well it didn't work very well in ZHA either
Z2M support for the conbee is experimental
in regards to resetting, I had the same error but with a totally different device (one of TIs) and a reset did the job, perhaps a different problem in your case however
Have you tried deconz? I had a play with it some months ago (and then @sour shadow suggested a TI board)
Z2M FTW 😄
I simply used a rpi with raspbian or whatever its called these days and installed deCONZ, had it working in minutes
can there please just be one good list of recommended stuff that people know works well together and isn't always in such an experimental state?
Not if you're using HA there isn't 🤣
i'd really like to tinker with the automations themselves, and not constantly be wrestling with the hardware stack
That said, I've had no issues with Z2M and the ZZH
Same
I wish for that too, but I think a lot of it is reasonably new. fighting myself with zigbee bindings so I feel some of your pain
i started out with Insteon stuff like 10 years ago and I feel like everything has only gotten more flaky since.
HA has come a long way like, I think generally zigbee isn't as solid as we'd like it to be
And probably never will be
But, it's cheap and retrofitable
Zigbee has been great for me tbh. I used to use the HUSBZB-1 with ZHA and a few months ago switched to ZZH with deconz
I ordered an ELU013, but I can't keep buying new bullshit just to get basic things working. I'm technical enough to monkey with this stuff, but I'm really not looking to be flashing firmware and stuff all the time.
Still use the hue hub for lighting though (inb4 "hubs 🤢")
I recently moved house, used hue hub exclusively in the last house, and wanted to get rid of it in new house, but yeah they do "just work"
I'm still convinced @sour shadow had a defective one
I've had one in service for almost 4 years
I have three, they worked great until I tried using them with Home Assistant
In Hubitat, I had Zwave switches set up to dim Hue bulbs, worked smoothly every time
I think you mean two defective ones @lilac wharf 😛
Damn
Given that both stopped talking to their own damn app
In HA, I try doing the same workflow, and the whole system chokes
Pretty sure Hubitat is no more powerful than the RPi4 I've got HA on
yeah that should be no problem in HA, although I have no experience with more than one hub
even with one hub
What do you mean by "the whole system chokes"?
some kind of polling issue clogging everything up?
Massive delays in the lights doing anything, then suddenly a rash of adjustments
Then HA slows to a crawl
frontend and everything
Is this with Zigbee through a hub or Z-Wave?
Speaking of hue, apparently hue API v2 will be out soon and... || it supports push instead of polling 🎉 ||
that was through the Hue hub and the Conbee with ZHA
Yeah if the frontend slows down then you probably have some bigger issue
The radio hardware really doesn't matter that much, since at this point they all more or less do the same thing. It'll just limit your maximum concurrency, your receive sensitivity, and occasionally make it harder for you to work with weird devices.
HA is heavily reliant on the single event loop driving the entire Python application so if something is slowing it down then everything will grind to a halt
i had dozens of timeouts polling Hue devices through the HA integration
and they're within feet of the bulbs
I'd check the size of your SQLite database and if your Pi has other hardware issues
I set up HA OS in a VM on an old macmini and it's been fantastic to be honest, now I need to find a use for this rpi4
I'm waiting on my Home Assistant Blue for one last dance before either doing something on a Mac Mini or bailing altogether
the last thing i have energy for now is monkeying with VMs and all the connectivities issues between containers and such
Yep, I know what you mean, and I'd put it off for months. I was shocked when I got it all working in half an hour
can I just send you my Mac Mini? 😉
Even the z2m, just passed through the usb port and it worked. (after that aformentioned reset)
Heh you probably could, but I'm away for 8 weeks working from next week 😦
I used this tutorial: https://dummylabs.com/post/2020-01-20-hassio-for-virtualbox/
morning peeps
Good morning @red walrus do you use ikea motion detectors?
Do you use bind with them to specific lights or groups?
Just use their state within HA to do stuff yeah
looking for specific events in an event.state node
Aye that's what I've done, but thought it would be nice to bind them for some fallback so as not to rely on HA
not really
then you'd have to try and bind them at the sensor level in the real world not in the HA world
and I doubt you can bind more than a couple together
nor can you bind multiple PIR to the same globe
indeed, that's what I've discovered. There is the options in zigbee2mqtt but it doesnt work alas
They /should/ work by binding to a group, but it doesnt
I have them working in NR no problem, but was expecting to bind sensor to bulb or group
oh I mean zigbee group
oh.. I haven't made any of them
I am letting HA control groups so I can have multiple types of device in the same group
Yeah
in one group I have Zigbee and Tuya lights
and I'll add a z-wave switch later when I install it
Aye in that case your solution totally makes sense
I also have 3 motion sensors in a single flow
so it knows direction you're walking in?
no, so it catches coming in and out of each entrence to a hallway
aha
I have 2 hallways, bedroom hallway which connects the bedrooms, and a main hallway that connects the bedroom hallway to the front door entrance and the rest of the house
my wife wanted all the hallway lights to come on no matter how you enter the hallway
i'll be adding a door sensor to the front door as well to catch coming in the house
and a door locking flow to turn off all of the lights in the house if no member presence detected
good idea yeah
all in good time
I haven't taken my door lock off of ST yet
that's literally the last device to come off it
hmm hallways are a good place for motion detection, I just moved home so thanks for your inspiration 🙂
I have a problem with my daughter and switches
she turns off the ones she shouldn't and leaves on the ones she should turn off
hehe
it's mind bending
my wife does similar things, I have to just remove the switches, and replace with some kind of remote switches (in the case of zigbee bulbs)
This time I've ran neutrals to all of the switches, so hopefully soon will find a nice solution.
What type of switches do you have?
thats the best I can come up with short of deleting all the leg wires from switches
leviton z-wave
but those suckers are $40 per
reliable though?
so I've been investigation localtuya so I can use cheaper wifi switches
yeah so far, I had one that seemed bung OOTB
but I was never sure if it was the switch or the wiring
so I finally got around to tighting up the wiring in that switch box, ran it for a few days and it was the switch
so i bought another, changed out the face plate and I'll return the bung one
i bought it over a year ago LOL
hehe, was up really early to let plasterer/drywall guy in, he's just left, so perfect opportunity before wife finishes work
Has anyone had success with actually using the HUE Switch dimmer for actual dimming of an entity? Using Z2M > HA
I set up an Aqara motion sensor and 3x GU10 bulbs from Ikea last night, bathroom light cord has officially been tucked away, fully automated now. Really impressed with the Aqara stuff.
And which of the many Zigbee integrations are you using (aka, please read the channel topics)
ok fixed
I'm working on that today
OK thanks both, I also found this article im reading now https://smartyhome.io/using-a-hue-dimmer-remote-with-home-assistant/
Let me know what u find out @red walrus
That uses the Hue hub...
it's pretty simple really.. trap the button
yea i just got to that part
Which you aren't, so ... not gonna work 😄
and now i have to close it xD
https://www.home-assistant.io/cookbook/dim_and_brighten_lights/ is another approach that'll work
use NR to send the data where you want
I doubt I will use the actual dimmer as a dimmer tho
Ok, I havent set it up yet will do. The reason I was confused is because when i add it in "Trigger" it only shows "turned on, turned off, battery level change, link qualityvalue change " but il check out links from tinkerer
i am probably going to use the dim buttons to cycle through "scenes"
much like the on button used to do
we don't dim many lights
I figure its nice for guests i dont wanna be the guy with so much smart stuff that is mostly just confusing for guest. it should be usable
Device triggers don't cover everything 😉
I don't have any guests LOL
oh then its great haha
and it's my house so screw em ROFL
https://github.com/DubhAd/Home-AssistantConfig/blob/live/automation/living_room/dimmer_on.yaml is one of my automations for Zigbee2MQTT and that device
i still haven't implemented MQTT
i still don't completely understand what it actually is LOL but then again I haven't really looked into it
ok good code, i cant exactly see where each button is processed but i will dive into it soon
Magic message transfer protocol
That's just one button - pressed in one way
It's the action attribute that holds the magic
I just tried to use bellows to scan the for the best channel (using #zigbee-archived message).
But it didn't work well.
I got the following timeout error:
https://pastebin.com/ATZUB7Th
But first. Are my USB adapter compatible with bellows at all?
I have: https://phoscon.de/en/conbee2
ahh i understand what it does now. If its off and you click it it will dim, if its in dim and u click it it will start your day on. if its in ON and you click it it will excecute night on
if none of the above, night on
anyway have to run be back later
bellows controls only Silicon Labs radios
It won't communicate with your Conbee
If you have any CC2531s or other Texas Instruments radios you can use zigpy-znp to perform the same scan, but other than that I'm not aware of any other radios that can be used for this purpose
@sour shadow Got there in the end:
---------------------------------------------------------------------
appdaemon ./dockerStart.sh Up (healthy)
homeassistant /init Up (healthy)
mariadb docker-entrypoint.sh mysqld Up (healthy)
mosquitto /docker-entrypoint.sh sh - ... Up (healthy)
nginx /init Up (healthy)
zigbee2mqtt docker-entrypoint.sh sh -c ... Up (healthy)
For the Z2M container, specify a command instead of allowing it to call the predefined entrypoint:
command: sh -c "apk --no-cache add curl & npm run start"
and then curl in the healthcheck
Same approach but with nmap for my Mosquitto container.
The version of Linux these Docker containers are set up with don't have curl or nmap (or even bash) out of the box.
wget?
Yeah, coulda used that too. The problem was making those tools available inside the container in the first place.
Running those commands from the host was fine but that's not what Docker Compose does for the healthchecks.
Even wget was missing from the container?
Didn't think to check. wget appears to be there. I'm a Linux newbie 🙂
hi! how change entity domain in zha?
need to use zigpy yaml config
I think there are examples on the forum
I don't have any off hand
Thanks for explaining and sorting it out! 🙂 The action I'm about to do is just to try to change the Zigbee channel, as the default ZHA are right between WiFi channel 1 and 6. So both channels are affected.
How can I do this with my device (Conbee 2)?
the default channel is fairly clean
I would recommend doing an energy scan b4 you do anything
now that I can easily see groups all in one place, I've got a bunch of "No name group 0xXXXX" groups - what are they used for? Do I need them, should I rearrange them in a specific way?
Channel 15 was chosen because it's between 1 and 6. Channels 15 20 and 25 (and 26) sit between WiFi 1 6 and 11, which is what most recent wireless routers will pick when creating a network
At the moment there's no way to do a scan with the Conbee
like I have ZHA on 15 w/ 127 devices... 2 amplifi Aliens on channels 1 and 11 (2.4 obv) and I have 2 camera hubs operating on channel 6 with no issues... I will add that I have no neighbors though
Zigbee transmissions are also like background noise compared to wifi. I wouldn't expect interference to happen due to Zigbee radios.
I think folks are generally more worried about their WiFi killing their Zigbee
but in practice I haven't seen any interference issues
Anybody know any more details about the new Network Visualization in ZHA settings? I was using zha-map with zha-network-visualization-card and removed both since this has replaced it. But it isn't live right? Anybody know the update interval or how to force update? with zha-amp there was a service but zha doesn't have it so it seems.
does anyone have experience with the IKEA (fyrtur kadrilj) roller shutters? to integrate into deCONZ? i'm pretty stuck. 😩
update interval is 4 hrs
it is configurable.... but not documented
the service will not return but a button will be on the visualization and in the general config panel as well
there are PR's opened already to also add filtering and zooming to node
oh nice!
animated gif in PR: https://github.com/home-assistant/frontend/pull/7913
dont let the lack of lines fool you... that's my dev
I'm also noticing that not all nodes show lines. Even after 4 hours. should I open an issue for that?
nope
it happens
remotes tend to not always be in a neighbor table
you can have nodes that are off on their own from time to time
@gentle flint ^^ I am correct about this last point right??
so any way to force them? also any way to alter the neighbor table? I see nodes which connect to another node far away while there is another one physically very close by.
i don't understand the question... if they are not in a current table they just aren't.... zoom in and tell me what type of devices they are?
It'll be at 100+ nodes in a few days 😇
i'm currently at 127
and growing
good to know things are working well for you tho
what coordinator do you have?
wow!
sorry. I'm dutch. what I meant is that I see devices connected to routers which are far away from them. they could better join other routers much closer to them.
not under your control
you can try manually pairing them to the router that is closest
but the network balances on its own
too bad. I tried that. didn't work. does the add from this device on a device page really work? might that force them?
ah ok. so it auto balances over time? so it doesn't mather then 😛
oh missed the question. I'm using a Conbee2 with usb extension cable
cool
trying to use deConz in deconz.. and I get connection refused. Log says this:
error: [Errno 111] Connection refused
Phoscon gives me bad gateway issue
I went nuts to fast with this. started with a couple of zigbee devices. it worked fine on a hue bridge. so then connected everything to deconz with conbee2. also worked but then put everything on zha after seeing some posts on the forum it being better in several ways. and then I went nuts adding all the rest of the devices in a matter of several weeks. but now I'm seeing reconnects of devices in the logs. 😦
what do you mean?
reconnects to the conbee?
are you losing devices? or is everything working?
@river dome only deconz addon installed right? nog also zha or z2m. because you can only use one.
only deconz
oh is share map picture day https://imgur.com/a/iBHwKIG 🤪
well sometimes I have that a device doesn't work. like a light not turning off, or a sensor not detecting movement. or a little too late. most of the time everything works.
Good lord @molten linden
like this: 2020-12-18 21:24:52 INFO (MainThread) [homeassistant.components.automation.light_motion_eettafel] [light motion] Eettafel: Executing step wait template
2020-12-18 21:25:00 INFO (MainThread) [homeassistant.components.automation.light_motion_keuken] [light motion] Keuken: Executing step device automation
2020-12-18 21:25:00 INFO (MainThread) [homeassistant.components.automation.light_motion_keuken] [light motion] Keuken: Executing step delay 0:00:10
2020-12-18 21:25:06 INFO (MainThread) [zigpy_deconz.zigbee.application] New device joined: 0x268e, 00:17:88:01:08:65:00:d1
2020-12-18 21:25:06 INFO (MainThread) [zigpy.application] Device 0x268e (00:17:88:01:08:65:00:d1) joined the network
2020-12-18 21:25:10 INFO (MainThread) [homeassistant.components.automation.light_motion_keuken] [light motion] Keuken: Executing step device automation
2020-12-18 21:25:11 INFO (MainThread) [homeassistant.components.automation.light_motion_eettafel] [light motion] Eettafel: Executing step delay 0:03:50
2020-12-18 21:25:14 INFO (MainThread) [homeassistant.components.automation.light_motion_eettafel] [light motion] Eettafel: Restarting
interesting, the automation restarts... what causes / controls that?
oh that's intended. I have the automation configured as restart. it's triggered on motion.
the (re)joining of the network seems to happen a lot with devices. I have loads of these in the logs; 2020-12-18 21:27:59 INFO (MainThread) [homeassistant.components.automation.light_motion_hal] [light motion] Hal: Executing step wait template
2020-12-18 21:27:59 INFO (MainThread) [homeassistant.components.automation.light_motion_bovenste_verdieping] [light motion] Bovenste Verdieping: Executing step delay 0:00:20
2020-12-18 21:28:00 INFO (MainThread) [zigpy_deconz.zigbee.application] New device joined: 0x268e, 00:17:88:01:08:65:00:d1
2020-12-18 21:28:00 INFO (MainThread) [zigpy.application] Device 0x268e (00:17:88:01:08:65:00:d1) joined the network
2020-12-18 21:28:01 INFO (MainThread) [zigpy_deconz.zigbee.application] New device joined: 0x268e, 00:17:88:01:08:65:00:d1
2020-12-18 21:28:01 INFO (MainThread) [zigpy.application] Device 0x268e (00:17:88:01:08:65:00:d1) joined the network
2020-12-18 21:28:04 INFO (MainThread) [homeassistant.components.automation.light_motion_keuken] [light motion] Keuken: Executing step device automation
2020-12-18 21:28:04 INFO (MainThread) [homeassistant.components.automation.light_motion_keuken] [light motion] Keuken: Executing step delay 0:00:10
so it's not apparant to that automation
No! I just read that you are the actual creator of the network and visualization card. Nice work! 👌
so will you be maintaining it in ha since it's integrated? and will the network card also be moved?
nice! so where should I file suggestions for the network visualization now? they addition of the filtering you mentioned earlier looks nice, hope it gets added really soon. hope that it also filters the connection lines (hiding the ones not selected as filter) because in a large network it's too big of a spider web 😛
to see what is connected to what
Whelp, things sure do run faster on a 3.6GHz quad-core Mac Mini with an SSD then they do on a Raspberry Pi 4 with an SD card
Usually devices may leave and rejoin, but I don't think those are supposed to be dis-associated from the network for long periods of time.
Missing links, most likely some routers do not report neighbor tables.
Yeah, my XBEE doesn't implement the ZDO stuff at all
@dreamy tinsel What are your HA restart times like now?
only joining seems to be reported in the logs, not leaving. how to check if it's for a long period? and can I find out which don't report their neighbor tables? I have hue, innr and lidl bulbs. hope it's the innr bulbs since I'm thinking of replacing them since they all have brightness problems when set with turn_on if the brightness was another value when turned off.
with ConBee you won't see device leaving, as it does not report it to the app
Ah fantastic, did you find it easier to set up than expected?
Anyone have any experience with binding, zigbee2mqtt?
Guys! Is it possible to change the domain of a zigbee device?
I got a sonoff mini (zigbee) and ZHA added it as a light domain.
I'd like to change that.
Yes, plan was to install the 15 CC2531s across the house, not in a single room. They're USB powered, operating as routers. All my other zigbee devices are battery xiaomi and ikea devices. So (2) CC2652R better than 15 CC2531s?
15 CC2531's? Holy crap.
Might as well get Zigbee outlets if you're that desperate for routers.
Pull 589 looks amazing Adminguia -- could do some really cool vis stuff with that too
try changing the device class under Customizations in HA config panel.
Hi guys, I'm looking forward to purchase a Aqara Single button Switch in aliexpress
will it work in europe with conbee II?
There is no device class for lights. I'd like to change the domain
Little gross, but you could make a template switch. I thought I saw dmulcahey say something earlier about changing it another way
There is no way to change directly , right?
Like I said I thought I saw dmulcahey say something about that earlier but I can't find it
Is it inappropriate to mention him?
Generally. I must have been imagining things though
But yeah, as a workaround, a template switch and template fan would work
Thanks buddy
I think I'll leave it as light for now
The ideia was to organize my entities better and make a blueprint for fans
I'm familiar with the devices. CC2531s don't make good Zigbee 3.0 routers because they barely run Zigbee 3.0 firmware. CC2652R router firmware was released (announced?) very recently so I wouldn't count on it being super stable. The dev kits are also $30-$40 each so they're not very cost effective in that regard. For $60 you can get six IKEA outlet switches, leave them plugged in somewhere and never utilize them, and have a decent mesh.
Depending on the composition of your walls and the number of sensors, may be able to get away with fewer. Routers (and your coordinator) also have limits on the number of children they accept so if you're planning on like 100 sensors you'll need more routers.
Got it. I have 8 ikea routers right now and they're not reliable IMO, hence why I've ordered one cc2652R
Which ones?
My entire mesh is Xiaomi and IKEA bulbs/switches and I've had zero issues in terms of routing
Though I think I've heard some people say they had problems with the IKEA repeaters
Ikea tradfri signal repeaters is what I'm using
It might be just positioning, I'll experiment this weekend. Figured I had so many repeaters it didn't matter.
hey guys, any idea if i can connect the wyze sensors directly to ZHA without using wyze's bridge?
Afaik they don't use Zigbee. So the answer is no
was that answer to me?
Yes
wyze isn't zigbee?
Could've been something usable but they wanted to save a few bucks 🤷♂️
Not wise. Or making sense.
Anyone know if these tradfri wireless dimmers work z/ deconz Zigbee? i cant seem to get it to be recognized
Just woke up and all my sonoff motion sensors show as “unavailable”?!??!!
(ZHA)
hm, they still work tho. after first detection they show up properly
do they have some "deep sleep" after a lot of hours?
thank you!
I've had pretty mixed experiences with the Ikea repeaters. Better with the Xiaomi wall plugs, although they seem to need power cycling every so often.
Got it thanks. I assumed the cc26x was just so powerful I wouldn't need to worry but didn't realize the consensus here was it might be unstable bc it's so new
I’d really like a better setup - all my zigbee devices are battery, and with a zzh and a couple of ikea and xiaomi wall plugs it’s still not perfect
Overall the Xiaomi seems to have better coverage
ZNCZ02LM
After reboot, ZHA isn't working with all of my Aqara sensors. It's unavailable.
Any ideas?
hello, I have two Ikea ON/OFF buttons, where one of them have problems in registering correctly in HA. I am using deconz, and when using nodered, is there no problems in registring events, but it does not trigger in my Automatisations.
How can I debug this zigbee devise? Also, this one does not show battery level, where the other button which work fine in HA does.
can I remove and re-add it? I can't see how I can remove a device
Anyone here who is using zha and knows if it is possible to change the sensitivity of a hue motion sensor?
I have. Within cluster settings you should be able to do so
@tight jackal great! Never used the cluster settings but will look in to this.
does moeshouse 2 gang zigbee switch works with ZHA/deconz? does zigbee switch needs to be flashed with tasmota like wifi switch?
@tropic swallow tasmota is only for devices that use the ESP82xx WiFi module, so no, Zigbee devices cannot be flashed with it
Np. I checked for you. Its under the OccupancyCluster. The cluster setting is Sensitivity. With sensitivity_max you see the max supported. For indoor version you can set 0 to 2. For outdoor it is higher. 3 or 4 I believe.
Thanks for your research, will order them.
Did you test if changing the value really makes a difference?
just updated my firmware to this firmware made by @gentle flint:
Elelabs_EzspFwUtility: Adapter: ELR023
Elelabs_EzspFwUtility: Firmware: 6.8.2-42
Elelabs_EzspFwUtility: EZSP v8
Whats the best settings for it regarding this: CONFIG_APS_UNICAST_MESSAGE_COUNT: 20 and source_routing: false (should be true?)
the rest is set like here: https://github.com/zha-ng/EZSP-Firmware/tree/master/Elelabs-ELU013
IMO You should be increasing aps message count only if you get MAX_MESSAGE_LIMIT errors from ezsp during startup. Although I don't know if there are any ill effects, there definitely will be more memory usage on the stick. Maybe start more conservatively, about 15?
will do
and source_routing:
i have this at this moment:
ezsp_config:
CONFIG_APS_UNICAST_MESSAGE_COUNT: 15
CONFIG_MAX_END_DEVICE_CHILDREN: 32
CONFIG_SOURCE_ROUTE_TABLE_SIZE: 200
CONFIG_ADDRESS_TABLE_SIZE: 16
# source_routing: false
is this ok @gentle flint ?
ok i'll leave source_routing: disabled then
thank you
Source routing should be outside of ezsp_config, under the zigpy_config ident. Try with and without source routing if you notice a difference
Hello everyone, I have an ELELABS stick and around 90 devices (of which 40+ routers). I'm using ZHA to connect to HA. I've been experiencing some problems with some devices (not going on/off). I've tried to route a significant portion through routers by using "add device via this device". Now after checking with wireshark, it looks like all devices directly communicate with the coordinator instead of using the router(s). Can someone tell me what i'm doing wrong ?
@ivory hound posted a code wall, it is moved here --> https://paste.ubuntu.com/p/yFJ5Jky8pY/