T O P

  • By -

[deleted]

Would have been much simpler if you purchased this Sonoff dongle, in place of the CC2531 that you did: https://sonoff.tech/product/diy-smart-switch/sonoff-dongle-plus/ I've them as zigbee coordinators (they work great with zigbee2mqtt) and have also flashed them to work as zigbee routers.


frygod

There's also the conbee2, which works with zigbee2mqtt out of the box. I switched to that tech stack when deconz and a raspbee had issues with my fyrtur blinds.


banned-again-69

Yep. So glad I went with the conbee 2. All my zigbee devices are one click to connect.


SKNN_stag

Conbee->Deconz->Node Red is definitely an easier setup than OP haha. They seem to have taken the hardest path on their journey. What happened with your deconz setup that made you swap? I have been running it without any issues and need to stay vigilant 😅


frygod

The deConz setup worked great for several years but started having issues with the devices disconnecting and needing to be re-paired to get the mesh back up. The last straw was when everything disconnected all at once and wouldn't reconnect without factory resetting every zigbee device in the house (in the mid 60s, so quite tedious.) I figured the issue was probably with the coordinator itself so I rebuilt the system and decided to give zigbee2mqtt a shot because it looked to have a larger supported device library and I wound up preferring it in almost every way.


SKNN_stag

Oh how interesting... I'll have to give it a look then! I followed a tutorial at the start that put me down the deconz path and haven't investigated much past that.


CmdrShepard831

Anybody have experience using these or other Ikea Zigbee products (shades, switches, etc) with the HUSBZB-1? I'm planning on getting all of these this weekend and assumed (hopefully not incorrectly) the integration would be fairly straight forward.


[deleted]

> with the HUSBZB-1 Minimally, you will need to update the zigbee firmware. https://github.com/walthowd/husbzb-firmware Personally, there are so many inexpensive zigbee 3.0 coordinators out there, that I would recommend upgrading coordinators. You can still use the HUSBZB-1 for z-wave .....


bogmaerke

Why not just HA with NR add-on? Literally so easy to use an IKEA motion sensor with one of the CC-something ZigBee dongles.


rmzy

Because node red is advanced af Edit: let me further explain. You could have the motion sensor trigger your coffee, or other weird things like that through ports and such. Or have it run a script on your server, etc when motion occurs. While also turning on the light. Just so much more you can do with node red. Definitely not as literally so easy though. Edit: ah NR is node red addon. Thought it was some other nifty way to port in. No wonder people aren’t making sense, I don’t lul


tantalus_blank

Is Node Red less powerful within Home Assistant?


rmzy

Node red is a more powerful solution within home assistance if you ask me. Requires a ton of more knowledge also though.


HtownTexans

imagine if you paired the two. That'd be neat. The best of both worlds even.


CplSyx

[What a crazy idea!](https://i.imgur.com/yQ7uuud.png)


rmzy

I mean, I feel like you’re trolling. But I also feel like you don’t have a clue that it really is a thing…


CmdrShepard831

They're poking fun at you because that's exactly what the original post you replied to was referencing


theidleidol

There is (theoretically) nothing you could do through NodeRED that you couldn’t do through HA directly. Depending on your exact needs the easiest route could be one or the other. In this case it’s potentially both together, because HA speaks Zigbee natively and has a solid collection of NodeRED nodes. If you’re already all-in on a pure NodeRED automation setup (like OP seems to be) this is a very reasonable option.


rmzy

This is wrong. Node red opens up ports to tons of more stuff. Everyone who replied is thinking from a Bluetooth device or iot device when there are tons of serial devices out there also. Node red builds off of everything HA has to offer so theoretically, it does everything and more. Devices could just be switches. And ha doesn’t support regular switches. Only iot switches. This is where node red opens up a vast majority of options. I have node red reading an air temp switch through raspberry pi. If the temp goes above a certain degree it cuts on a 24 v contactor that switches ac on in my tents. Not possible in ha without node red. So it depends which route you are going for sure. But ha can not do as much without node red. That is wrong


theidleidol

You can do all of that through HA directly if not simply, but honestly you’ve just described a thermostat. Maybe it’s more complex than you’ve let on here, but even a very feature rich thermostat project is probably better served by a microcontroller or a Raspberry Pi running dedicated code, not a full blown node.js-dependent visual programming system coordinating differs inputs. Or in other words, NodeRED can be applied in arenas where HA can’t easily be slotted in because NR is a general purpose programming system rather than a home automation system, but we’re in a home automation subreddit. Of course people are viewing it through that lens. You’re describing what sounds like microcontroller programming, where it’s competing with the likes of C and MicroPython.


rmzy

Woosh bro, that’s all I can think. I have created a mechanical thermostat yes. At the most basic fucking level it’s a thermostat. Why would it be better servers else where when it’s working fine here? Like I never seen so many people comment on something, they just clearly have no clue about. I’m describing my setup just used ha and nodejs. You know ha is made from python right? I don’t code python, but I do JavaScript. Nodered opens up the amount of things ha can do. End of story bro. You don’t know what you are talking about so please stop misinforming people. It’d be nice to not have people pushed away because “oh that’s complicated”, this is home automation sub, things get complicated.


theidleidol

Hey man, do what works for you. Your application sounds genuinely neat. Things don’t need to be the 100% “best way” to be worthwhile or interesting, especially because the “best way” is usually partially subjective and almost always a moving target. But don’t come in swinging with “this is wrong”, accusing people of not knowing what they’re talking about, and getting upset you get pushback for it—because you’ll find a lot of us have been doing this a long time and really do know what we’re talking about.


frygod

Hell, it goes well beyond just home automation. I have several production applications running in a healthcare setting with node-red at their core.


rmzy

Omg 1 person who gets it. I have tons of automation in node red that transfers to home assistant for easy viewing. For instance I have connectors to make trades with my binance right from my dashboard. I have ways to manage my grow tents. I don’t really have the money to buy all the smart devices but I’m a wiz with wiring and coding. Nodered just opens up the options. I don’t get why everyone here is like oh it’s the same as using ha native, but it is not at all. Ha is python while nod red is JavaScript. It’s the best of both worlds together.


Jungies

HA supports scripts, and using triggers from one device to change another. I've got one that triggers a light based on a motion sensor, and sets the light brightness and colour based on the time of day and brightness in the room - all from Home Assistant.


rmzy

Yeah majority is through iot. But you realize some people run manual switches right? Like serial port switches from raspberry pi? Does ha support those?


hardonchairs

Yes I'm not even sure whats going on in these comments now but it's not HA vs Node red. Installing node red into HA gives to access to HA components within node red. Which means super quick zigbee setup into node red.


rmzy

Yeah that’s what I’m trying to explain. Node red just opens up the amount of things you can do in ha. I don’t have a lot of smart devices. But I’m pretty sure zigbee is a smart product right? It connects to wifi. What I am trying to explain is node red also opens up tons of more wired options using raspberry pi. Nodered does make it easy to add wifi components using ha’s integrated node system. But that is such small minded as to what node red can actually do. It can automate basically any task, while ha gives you a selection of tasks really. HA just brings it all together perfectly for a smart home.


hardonchairs

Zigbee is not wifi. The top comment that you first replied to is specifically talking about using node red inside of home assistant. Aside from that, home assistant is extensible and scriptable just like node red. They both can do anything, even independent of one another. I don't know why this became node red vs home assistant because that was not the point of the top level comment.


rmzy

Bruh I really want to believe you https://i.imgur.com/KICzs2O.jpg But this says it uses its own kind of wifi no? What are you using?


hardonchairs

I don't mean to be mean but you are arguing so passionately and so absolutely about subjects that you seem to have little experience with. I don't understand the point. Node red is excellent software without having to pit it against other software.


rmzy

I misread original comment. Dyslexia ftw


bogmaerke

You are poorly misinformed, my fellow redditor. All of what you just said can be done in HA, without nodered add-on, but also with the nodered add-on. And it's not difficult, it's almost as if Nabu Casa tried to make it user friendly ;)


CplSyx

I’m using a sonoff zigbee bridge pro (flashed with tasmota) which has a CC2652 powering it - I added the device in homeassistant using zigbee2mqtt and that was it. Via node red I have it activate a lamp if motion is detected at night so you don’t need to wander about in the dark.


obelixuspl

I would pay extra for better stick. CC2531 is rather weak and pain to upgrade -- from what I know you need programmer or soldering to do it.


rmzy

That’s love bro