GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Already on GitHub? Sign in to your account. Enhance debug logging for ZHA Lights. Fixes Hey there dmulcaheyAdminiugamind taking a look at this pull request as its been labeled with a integration zha you are listed as a codeowner for?
Continue to review full report at Codecov. Last update b Read the comment docs. Skip to content. Dismiss Join GitHub today GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Sign up. New issue. ZHA Light debug logging. Conversation 3 Commits 1 Checks 1 Files changed. Copy link Quote reply. Fixes Checklist: The code change is tested and works locally. Local tests pass with tox.
Adminiuga requested a review from dmulcahey as a code owner Apr 5, This comment has been minimized. Sign in to view. View changes.
Can merge when build passes. Hide details View details dmulcahey merged commit 8dfbfae into home-assistant : dev Apr 5, 13 checks passed. Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment.The idea behind it was to provide a convenient way to connect the hardware and devices to web-based services and software.
It was solving a problem of creating IoT eco-system that is connected and controlled in the real world. The basic premise is to decompose the problem up into several components: data, processes, and the network. In FBP the applications are the collections processes, which linked using data Information Packets that travel between processes though defined connections. Compared to the usual way of thinking about the coding, flow-based programming is much more visual and you can almost draw the code.
This makes it easy to learn and especially great for applications that need more mass adoption. The main way it uses to create automation is YAML files and if you ask any beginner they will tell you that it is complicated and intimidating. In addition, although it is a very flexible language, creating complicated automation rules might be very difficult and error-prone.
Home Assistant handles all the integrations, state management, and action engine, while Node-RED utilizes environment awareness to trigger rules and execute actions. You need to do a couple of things to get going — install it on your hardware of choice, understand the basics and install some related nodes.
This is the easiest way to install, configure and start using it. There are a number of things frenck did so it just the simples one-click installation process:. You can do it using docker cli, or in my opinion prefered option using docker-compose. Labels are for Traefik reverse proxy. Once you installed Node-RED, you need to add nodes.
Node-RED nodes are pre-configured modules that add functionality to expand what the system can do. Note that Hassio Add-on already has many of the below added by default.
Ok, you have your Node-RED installed. The next is to understand what are you looking at. Most likely you will have something like below once you logged into Node-RED:.Sonoff in itself is a great outlet and can be use independently with the useful app.
But to unlock its true potential, you can flash custom firmware and connect it to your Home Assistant configuration. Do not worry if any error messages, just check that you have done all the steps above 2. Time to flash! Now focus! This might not be very easy to start with, but once done you will be very proud of yourself.
Disconnect from Mains!
It is very important that you disconnect your Sonoff from main. It can shock you if you did not do that! Please add your comments below so we can help you further or improve the content. Your email address will not be published. SmartHome University is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.
Sonoff and Home Assistant are made for each other — both practical and reliable. Especially if you use customer firmware. This is a detailed guide how to make them work together. This will give you just one option which you need to install. Download and customise Sonoff Firmware. I did it in my Arduino IDE folder. Do not worry if any error messages, just check that you have done all the steps above. Big respects if you managed to do it in the first go took me at least 10 attempts.
Customise Shit out of it! Well done on following all the steps! That is it.GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Already on GitHub?
Sign in to your account. With a new install of Hass. Adding the strings for zwave work fine as well. When the zha strings are added, the web ui is inaccessible. As mentioned, this is not an Hassio issue, but a Home Assistant related issue. Therefore closing this one. Skip to content. Dismiss Join GitHub today GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Sign up. New issue. Jump to bottom.
Copy link Quote reply. This comment has been minimized. Sign in to view. Please open a issue on Home-Assistant repository. Hi, Is this issue fixed? Sign up for free to join this conversation on GitHub.
Already have an account? Sign in to comment. Linked pull requests. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window.This post may contain affiliate links.
Please see our disclaimer for more info. These are open communication protocols that define how these devices should talk with each other. For one, they are standards in the industry meaning that finding compatible devices is much easier.
However note that Z-wave is very standardized across the industry whereas Zigbee is not as strict.Home Assistant, DuckDNS and Google TTS: Working
This means that a Zigbee device from one manufacturer may not be completely compatible with a Zigbee product from another manufacturer even though they are speaking more or less the same language. This is more of an issue with trying to have devices control the a hub vs devices connect to the hub. If you are unsure, do some googling to find what others have found. Z-Wave vs Zigbee. Whereas Philips has an ecosystem of smart devices called Phillips Hue. These are all actually just Zigbee devices.
For me, I wanted both because I wanted to be able to use both products. What about WiFi smart devices? WiFi does not go as far unless you have a real beefy router.
WiFi operates at 2. With radio signals, higher frequencies have greater bandwidth; higher frequencies also have lower range. This also means that Z-Wave has lower date throughput, but this is a non-issue for low bandwidth smart devices.
In addition, your router is the center point of contact so your outlet in the garage may not have enough range to reach your router. Z-Wave creates a mesh network. This means that signals can bounce from one device to the other vs every device only being able to communicate with the hub.
This means that you have have a Z-wave device be connected to your network even though is very far from the hub. You are relying on a z-wave device closer to the hub to repeat the signal to a device out of range from the hub. Just about every plugged in vs battery powered Z-wave device will act as a repeater.
Zigbee operates on the 2.JuanMTech is supported by you. I may earn an affiliate commission when buying through links on the site. Node-RED is a programming tool for creating automations more visually. It provides a browser-based Editor where you can create flows, aka, automations using a wide range of nodes.
So, instead of writing automations in Yaml, you can simply wire together nodes to create a flow. The Node-RED editor also has a dark theme available. Click on Saveand before you start the add-on, toggle the switch under Sidebar. So, the browser-based Editor is separated in several sections. At the top, you have the Headerwhich has the Deploy button and the Menu. On the left, you have the Palettecontaining all the available Nodes that you have installed.
Install Home Assistant Hass.io as VM in VMware Workstation
In the middle, you have the Workspace where you can drag and drop nodes and wire them together to create a flow. On the right, you have the Sidebar which contains panels that provides useful tools. For example, the information panel which shows details about a selected node. There is also the Debug panel which displays messages that are passed to a Debug node connected to a flow.
The Events: state checks for a state change on a specific entity, and then it outputs that change to trigger a particular command in a flow.
The Call service is used to send a request to Home Assistant to trigger a service. For example, to toggle a light on and off. The Current state gets the last known state of an entity and can be used to trigger different commands depending on that state.
Kind of like using an IF statement. To listen for a change in the state of an entity, you can use the Events: state node. So, drop the node in the Workspace and then double click it to open the configuration panel. Set up a Name for the node. The Server is already configured to connect to Home Assistant so no need to configure that.
Then, enter the Entity ID to check for a state change. In this case, it would be the computer switch. To save the changes, click on Done. Making it easy to select the right information.One of the most compelling reasons for using a universal hub is avoiding vendor dependencies. Most smart home products lock you to a single ecosystem, but a universal hub mitigates this problem.
That said, as I expanded the size of my network, I experienced numerous stability issues to the point of being unusable. For starters, with ZigBee, there are three basic terms to keep in mind. You can deep dive into ZigBee here. Because of this, congestion may be an issue depending on variables such as the number of devices, placement, and specific channel your ZigBee network operates on.
One of my favorite aspects of Home Assistant is its interoperability. Enterprises change direction all the time. For example, there was much angst and anger when Google Home recently pivoted to Nest.
To that end, there are at least three widely available options for ZigBee integration with Home Assistant.
Yes, there are more that I have listed here, but these three are, at the time of this post, the most comprehensive solutions available.
How to get started with Node-RED and Home Assistant
Zigbee2mqtt worked fine until the network grew too large. The ZHA experiment lasted less than a day as devices would drop after restarting, and performance was too slow for my use case. This worked fine in my last apartment, but when I moved into my home, which is significantly larger, I started experiencing numerous stability. Since I prefer running services via Docker containers, I added the community developed deCONZ container to my Docker compose file and spun it up see below for an example.
In deCONZ terminology, 3 types of devices can be set up: lights, switches, and sensors. I chose the latter route, and integration was painless. This made it challenging to keep everything straight between Zigbee2mqtt and Home Assistant, especially as the number of devices grew. In the Phoscon UI, you can easily specify groups and then place devices in them.
Node-RED and Home Assistant (YAML or Not To YAML)
For example, in my office, I have a light fixture with 5 bulbs. This is beyond helpful for troubleshooting any faulty or slow connections and just to check on the health of the entire system. When pairing some Xiaomi climate sensors, it took a few tries which is to be expected as Xiaomi uses a semi-custom ZigBee library that requires a device-specific quirks handler. Everything else, such as motion sensors and lights, are exposed as regular Home Assistant entities.