Node Red + Home Assistant -Master Class 4. How to control light dimming with Zigbee light and remote

  Рет қаралды 30,312

Home Sight

Home Sight

Күн бұрын

Пікірлер
@Kaban797
@Kaban797 3 жыл бұрын
Thank you very much, even without knowing English, everything is clear and intelligible
@HomeSight
@HomeSight 3 жыл бұрын
You’re welcome!
@adamcossey9609
@adamcossey9609 2 жыл бұрын
Thanks for the turtorial. Not sure if it is just me but i have to use the following with standard brackes to allow it to work with my set up. { "entity_id": "*device*", "brightness": ((payload)) }
@akshayrajivpatil
@akshayrajivpatil 2 жыл бұрын
Was getting errors. Your comment fixed this
@rafaelbarros5276
@rafaelbarros5276 2 жыл бұрын
Thanks!!! It helped me
@jarednewall6328
@jarednewall6328 3 жыл бұрын
Thank you so much for these videos. At the end of the video you said you could use a click to change the lights you're controlling. I wanted to click my dial and switch between the 3 dimmers in my bedroom. Have you made a video that covers this, or could you recommend a node? Either way, I'll shout you a beer. Cheers!
@garysteo3398
@garysteo3398 3 жыл бұрын
Hi Nice video, question did you use ZHA or zigbee2mqtt to interface to HA
@b100pech
@b100pech Жыл бұрын
I would say that using HA in between Node Red and Z2M is inefficient*** and you have an extra part of software that can malfunction... I would suspect that using Z2M > MQTT > Node-Red (using its build in mqtt client) would eliminate the most unreliable point of failure (HA)... That aside, your tutorials are very useful and a quick 101 on using node-red! (I just added some logic going from HA to MQTT, its just a bit more work but still very helpful) Thank you! *** I could be wrong, and there could be a very good reason to use HA in between if so could someone explain?
@sven1858
@sven1858 2 жыл бұрын
Wow, that was really useful thank you
@thecatman2000
@thecatman2000 3 жыл бұрын
Useful video, thanks - but what's the rotary dial you're using??
@HomeSight
@HomeSight 3 жыл бұрын
It’s an IKEA symfonisk
@TestTypeG
@TestTypeG 4 жыл бұрын
These videos are fantastic, thanks so much! I've used them to learn how to use node-red and find uses for my ikea buttons. My only complaint is that your screen recording is a little blurry, I wish that the text and UI was a bit more crisp. One question, the message payloads you get from the buttons all have identifying words, i.e. play, pause, etc. I'm using the small two button ikea switch and the only messages it sends are numbers. Is that unique to that switch or is there something you are using that translates these codes into words? The switch is connected via a ConBee II, and my Home Assistant is running on a Pi 4 if that makes any difference.
@HomeSight
@HomeSight 4 жыл бұрын
Hi, i think I’ll have to start recording in 4K. All the Ikea ones I tried had identifiable words rather than numbers. I don’t see that it should make a difference with conbee, unless Zigbee2MQTT is doing something clever...
@TestTypeG
@TestTypeG 4 жыл бұрын
Thanks for the very quick reply! 4k might be good, but maybe not necessary as I've seen crisp 1080p screen recordings on KZbin. Or perhaps they are recording in 4k and only making it available in 1080p on youtube. I still think your videos are great though. I see, once I get more switches I'll perhaps see if there is any difference, though if I remember correctly, your two button switch didn't give numbers like mine does. But yeah, perhaps zigbee2mqtt is doing something to assign words to those numbers.
@HomeSight
@HomeSight 4 жыл бұрын
Hi, I think it’s because I’m downscaling at my end, I’m recording a high res screen and outputting at 1080p. You are correct, my 2 button did have words, it must be zigbee2mqtt being clever
@richardhall206
@richardhall206 4 жыл бұрын
Same for me with the playback resolution. Great videos, nonetheless. One thing I thought Simon might explain is why the json interpreter showed an error for {{payload}} but it worked anyway. I don't have a rotary dimmer but parse Lovelace slider values into variables to do much the same thing. Thanks, I should say, to the Home Sight node-red videos!
@HomeSight
@HomeSight 4 жыл бұрын
Hi Richard, the playback resolution on all of my newer videos is 4K, so should be all good now! The reason it errors is because the parser doesn’t see {{payload}} as an integer and therefore throws an error.
@g.m4z956
@g.m4z956 2 жыл бұрын
The reaction of the light when press a button is very long. Seems like 500ms, it's a normal behavior whit node red? it's possibile to rich a normal light behavior like normal switch?
@TheSirSpence
@TheSirSpence 2 жыл бұрын
I was following along with this and found it really useful. But my Ikea rotary dial does not have an sensor._brightness setting 🤔
@HomeSight
@HomeSight 2 жыл бұрын
Did you set that in your YAML?
@TheSirSpence
@TheSirSpence 2 жыл бұрын
I googled a bit and found your video on configuring Ikea switches. I then hit a brick wall because studio code would not accept the code from your page. I googled some more and found that there were breaking changes in a recent HASSIO update. So now not only two I have dimmable bedside lamps, but I've successfully completed my first coding in YAML. Thank you for the great video.
@TheSirSpence
@TheSirSpence 2 жыл бұрын
@@HomeSight and now I've just seen your response too :)
@xisop
@xisop 2 жыл бұрын
Great video. Thanks 😊 I recently bought 2 rotary buttons to control my Heos speakers, also using Z2M. I can't seem to keep the buttons connected to my zigbee network (or they stop transmitting their actions), therefore become quite useless. Z2M also says their is a firmware update available, but I can't push it to the button. Do you have any idea on how to attack this?
@HomeSight
@HomeSight 2 жыл бұрын
Hmm, I too had a struggle doing a firmware update, but haven’t had any reason to as they’ve been rock solid. I did consider doing the firmware update from the ikea hub… but like I said, I don’t think I have a need to.
@xisop
@xisop 2 жыл бұрын
@@HomeSight For me, unfortunately, it the absolute opposite. I hope I can find someone nearby with an Ikea hub so that I can upgrade the firmware. If not, I'm considering the option to buy one myself, just to use these 2 buttons. Anyway, thanks a lot for your response :) It also might be the edge version of Z2M I'm using. Need the edge to get my tuya plugs to work though
@victorclausson4039
@victorclausson4039 3 жыл бұрын
Amazing tutorial! This is exactly what I want. I'm running into a problem though when it's time to choose the "sensor.xxxxx_brightness" entity in Node-RED. I've added my Symfonisk through the zigbee2mqtt process and it automatically created some entities for me (I haven't added any lines in the configuration.YAML file yet), but I can't find the _brightness entity for my sensor.symfonisk device. I can only see "_action" as an entity but I see brightness, battery etc as attributes under action. How can I create the sensor.xxxx_brightness entity? Do I need to fiddle with the configuration.YAML file?
@HomeSight
@HomeSight 3 жыл бұрын
Hi Victor. Glad to help. Yes it is a Yaml thing: - platform: "mqtt" name: "Rotary1 Brightness" state_topic: "zigbee2mqtt/rotary1" value_template: "{{ value_json.brightness }}" availability_topic: "zigbee2mqtt/bridge/state" icon: "mdi:brightness-5"
@victorclausson4039
@victorclausson4039 3 жыл бұрын
@@HomeSight Thank you so much Simon! I got it working. I can't thank you enough.
@dave-j-k
@dave-j-k 4 жыл бұрын
Fantastic videos, working my way through them as i'm a total noob :) Something i can't find is how you control lights with a hue 4 button dimmer but no hue hub, i have a conbee II configured with ZHA but despite spending two days on it i cannot figure out how to access the dimmer buttons or events in node red - can you offer any help please??
@HomeSight
@HomeSight 4 жыл бұрын
Hi! I don’t use ZHA personally, I prefer the messages to come in using MQTT. From What I understand with ZHA, you should have the device natively in your device list. You should be able to put the device as an events state node. If you were to put an event state node in, you should be able to that to a debug node...
@dave-j-k
@dave-j-k 4 жыл бұрын
@@HomeSight Thanks, i have looked at trying pretty much all the options in events state nodes, nothing apart from the battery level is announced it seems. They are there in Automations but not node red, no idea why as it seems a big lump of usefulness is missing. I will have a look into MQTT. The zigbee adapter is a conbee II as that was the recommended one to use.
@valentinene
@valentinene 3 жыл бұрын
I'm using the Ikea's round remote and I was wondering how can I use Up and Down buttons to Dim up and down the lights. Something like if Up button is pressed the brightness=brightness+20 :)) Any clue how can I accomplish this?
@HomeSight
@HomeSight 3 жыл бұрын
Hi, pretty sure I cover that in this one: kzbin.info/www/bejne/kJCUeImNndKhm5Y
@valentinene
@valentinene 3 жыл бұрын
@@HomeSight Thanks Simon, somehow I've missed that part of the video (maybe because I'm using ZHA and I don't create manually entities). In the end I'm going to use up/up hold to set the brightness to 100 and 75% and down/down hold to set it to 50 and 0%. I really don't need a finer granularity for my spots :)
@AnusornChumthong
@AnusornChumthong 3 жыл бұрын
great video, thank you bro
@HomeSight
@HomeSight 3 жыл бұрын
You’re welcome!
@Kaban797
@Kaban797 3 жыл бұрын
sorry for my English
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
WIRENBOARD + NODERED
1:10:06
Wirenboard SetPoint
Рет қаралды 10 М.
IT WORKED! Moving Node-RED flows to Home Assistant Automation.
25:02
10 Best affordable Zigbee devices for your Smart Home
8:59
yoyoTech
Рет қаралды 18 М.
5 Home Assistant Automations For Better Smart Lights!
15:58
Everything Smart Home
Рет қаралды 153 М.
Motion sensing LIGHT AUTOMATIONS in NodeRed
17:10
Will Surridge Tech
Рет қаралды 23 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН