This button is part of my next video! I was having a lot of trouble with this button until I realized there was a firmware update. After that, it's fairly responsive! Great tutorial! The Shelly cloud part that lets you use this when you're not in your home network... That's pretty cool!
@BeardedTinker
3 жыл бұрын
What version where you on? 1.10, or 1.09? I think I still haven't updated mine to 1.11, that was just released few weeks ago (1-2 days after I recorded that video).
@makeitworktech
3 жыл бұрын
@@BeardedTinker I never thought to write it down or record it! I want to say the date was from 2020.
@shia_labeouf
9 ай бұрын
This was super helpful. I'm new to MQTT in HA so this was great. Also, I really love your accent, it's weirdly soothing. Subscribed for more.
@BeardedTinker
9 ай бұрын
Thanks for subbing! And compliment :)
@dc857
Жыл бұрын
I just got this working. It only worked after I used the shelly discovery script and it does not show single, double, triple or long press as entities but when you create an automation with the button after discovery in MQTT it works as it should.
@BeardedTinker
Жыл бұрын
Yes, there was a change after video was recorded how HA sees the events (or presents them). Glad you got it working!!!
@MichaelAlderete
2 жыл бұрын
In the Shelly configuration details, you show configuring both CoIoT and MQTT. And then in Home Assistant, you show the differences in the entities that appear for each of the two integrations (built-in Shelly, which is based on CoIoT, and MQTT). But you don't say whether you need both, and I don't think you do. And while the built-in integration has fewer entities, it's not clear that's actually a difference in functionality. The built-in integration is based on events, rather than entities. So automations check the _type_ of the event (single, double, etc.), instead of watching for specific, different entities going on. To my eyes (squinting at the screens in your video), it appears that the only things you get with MQTT that aren't in the built-in integration are the button's IP address on the Wi-Fi network (which I can look up elsewhere), and the availability of a device firmware update (which is useful, but secondary). Could you perhaps provide additional details of the differences between the two integration approaches, advantages and disadvantages, and so on? Any reliability differences that you know of? Is one more responsive than the other? Is one more reliable than the other?
@BeardedTinker
2 жыл бұрын
Hi! No, you don't need both of them. Using just internal/CoIoT is enough (or MQTT). As for what to go for - it's matter of preference. If using CoIoT, you can often get unavailable, as device state goes to sleep, while you can avoid that with using MQTT and retain option there. But that's just matter of personal preference... Device will in both cases operate the same in terms of functionality from what I recall. I use it with MQTT as I like to have devices available even during HA restarts.
@ansheos
Жыл бұрын
Thanks for the overview, now let’s play for a bit! 😁
@BeardedTinker
Жыл бұрын
Any time!
@ansheos
Жыл бұрын
Haha, saw your older comment about some helping scripts, trying that
@ronaldvargo4113
3 жыл бұрын
This would be a great replacement of the Samsung buttons which are now Aeotech and getting expensive. The price of these Shelly buttons are good and no batteries to replace.
@BeardedTinker
3 жыл бұрын
Just be aware of delay from button press to action. That's the only downside that I see in this one. There is new firmware in works that could/should reduce this for a fraction of time, but we have to wait for it.
@ronaldvargo4113
3 жыл бұрын
@@BeardedTinker I have a couple of Button1's in my possession now. If you let the button "sleep" the press after say 30 minutes of non-use is really quick to connect to the AP and trigger automations, if you try another button press within say 2-3 minutes, the wifi AP connect will timeout but eventually it will connect and the command will be sent out. You can tell by the led colors, white will flash for 3 to 5 seconds, then red, then finally green. That second button event can be up to 5 to 8 seconds as it re-associates with the AP and sends commands. I don't know if it due to AP settings or their firmware or both. If you run the button on USB power it always stays connect and thus none of this delay.
@KrastyoKrastev
2 жыл бұрын
Thanks for the great video
@BeardedTinker
2 жыл бұрын
Glad you liked it Krastyo!
@abwino
2 жыл бұрын
Hi, thanks very much for this great and very useful video! Did you have to define the button actions etc in your configuration file to make MQTT work, or does it 'auto discover'? I can't work out how to expose all the entities via MQTT. Thanks - Andrew
@BeardedTinker
2 жыл бұрын
I have Shellies Discovery script installatied. It helps with proper setup of MQTT Shelly devices. Did you try that one? github.com/bieniu/ha-shellies-discovery
@abwino
2 жыл бұрын
@@BeardedTinker Ahhh!! Thank you so much, I didn't know anything about the scripts. All installed and working perfectly. Thanks again for replying and pointing me in the right direction. I learn something new about HA thanks to guys like you.
@BeardedTinker
2 жыл бұрын
That's fantastic! Glad you got it working!!
@revealingfacts4all
2 ай бұрын
I wish you would have demonstrated it in actual use so I could get an idea of the reaction time...
@jloo001
Ай бұрын
Great video, thank you very much! I installed MQTT mosquitto (add-on & integration) in HA just because of how you automated it, however for some weird reason I'm not able to have HA auto-discover it. I followed all the steps on MQTT config on the shelly button but still nothing. Is there any other step that might be needed and it is not in the video?
@magicmanchloe
23 сағат бұрын
same issue, you ever figure it out?
@Ipeacocks
3 жыл бұрын
Does wifi devices provide better reaction? I mean smaller delay for actions.
@BeardedTinker
3 жыл бұрын
That's not easy to answer - depends. If the WiFi device is always powered on and connected to WiFi, then it should be - of course depending once again on signal quality and network load. If it's battery powered, it has to connect to wifi and send action after that so it can take longer time. Other protocols such as Zigbee or Z-wave can be faster in that case. But once again, depending on the network. For button, it will be a bit slower as it is battery power operated device.
@instructeurke
3 жыл бұрын
Hi, I see You are using Configuration.Yaml 4 MQTT. I have Mosquito. Can you tell what are the differences and what is best to use to have an easy life?
@BeardedTinker
3 жыл бұрын
I think that this configuration.yaml is leftover from when Home Assistant internal integration was done via configuration.yaml. I use now mostly MQTT version of integration, and that's easiest way of adding them, but you need to add one Python script (github.com/bieniu/ha-shellies-discovery) - this will add all existing or new devices properly formatted to Home Assistant. In my opinion this is very fast in terms of response and should also handle well any Home Assistant restarts if any sensor data is changed while it was offline.
@instructeurke
3 жыл бұрын
@@BeardedTinker thanks for the Quick reply. I’ll lookup how to manage those python’s since this is all new to me. Have my HA up and running with a simple node red implementation to achieve my goals, but maybe there is a way to make it more responsive with Mqtt in stead of using the binary sensors I now use.
@alienJIZ1990
3 жыл бұрын
@@BeardedTinker thx for the link - I've switched back and forth between Shelly and ShellyforHass for a long time now trying to reduce the press delay and this seems to work the best so far. After upgrading to the latest firmware it's now between a 1-10 second delay rather than a 4-10 second delay. The problem is it's about 1-2 seconds the first time I press it - if I push the button immediately after the blue light on the button goes off (i.e. to turn a lamp back off/on) it seems to have a sort of cooldown where if I keep doing that, it will become longer and longer until I can press the button again without a delay. Are you experiencing this at all by chance or is it just my config?
@Marco-jp2rm
11 ай бұрын
Hi, please can you help me. When i go to my Homeassistant the Adressbar shows 192.168.178.60:8123 But i dont know what to type into ColoT peer and Mqtt Server by the shelly button?!
@BeardedTinker
11 ай бұрын
For CoIoT, use IP address of home assistant (192.168.178.60) with port 5683 - full address is 192.168.178.60:5683 . MQTT is not needed if you use CoIoT and also if you don't have it installed.
@Alfredplender
2 жыл бұрын
Can you only conttrol shelly lights, or also other “tuya wifi” lamps
@BeardedTinker
2 жыл бұрын
I don't have any Shelly lights, controling IKEA and Elgato lights with it.
@MichaelAlderete
2 жыл бұрын
It depends on what you're using to respond to clicks on the button. If you're using it with Home Assistant, then the buttons can control anything that you've connected to Home Assistant. The only limitation is your skill with automations.
@Jay750719
2 жыл бұрын
I use Mosquito(MQTT) that can't find this button. Is this the reason?
@BeardedTinker
2 жыл бұрын
It should work with MQTT without any issue. Just configure MQTT server in device configuration.
@paul454
2 жыл бұрын
I don't get all the push options in my system. Just power on/off, battery, etc. It's showing as a switch, not a button. Any advice?
@BeardedTinker
2 жыл бұрын
How did you connect it - using internal Shelly integration or by using MQTT?
@paul454
2 жыл бұрын
@@BeardedTinker Thanks for your response! I have both the MQTT/Mosquitto and the Shelly integrations. There are a couple of MQTT entities for the buttons, but nothing for short/long presses, just power on/off, battery level, and one or two more that are not useful.
@paul454
2 жыл бұрын
@@BeardedTinker Well, thought I would follow up with this... I appears that my configuration was corrupted. I restored the original backup I made right after I initially logged in for the first time. I updated the core and started re-adding the integrations. Interestingly, I am getting no entities for MQTT now (even though it is seeing the messages when I press the buttons). However, the new Shelly integration sees single, double, triple, and long presses now. So at this point, I am going to leave it there and use the Shelly integration.
@BeardedTinker
2 жыл бұрын
@@paul454 Glad you got it working, although not the easiest way...
@jayemess6622
3 жыл бұрын
so it is not possible to turn the LED light on and off from home assistant?
@BeardedTinker
3 жыл бұрын
Sorry, didn't catch you - what light? LED ring light on button?
@jayemess6622
3 жыл бұрын
@@BeardedTinker yes, the led ring, can you turn it on and off from remote?
@BeardedTinker
3 жыл бұрын
@@jayemess6622 unfortunately, as far as I know - no, you can't disable it from Home Assistant.
@bassbo1
3 жыл бұрын
I think these "simple" devices are still way too expensive.... 10USD would be OK
@BeardedTinker
3 жыл бұрын
Yes, they are a bit expensive, have to agree on that.
@bassbo1
3 жыл бұрын
@@BeardedTinker you can build that for $5 from AliExpress, still, mass production capabilities of Shelly and bump the price to $10 and you make double anyway and you will crush the competition in the process.
@SirMarco80
11 ай бұрын
Thanks for the video! I have integrated the shelly button via MQTT. the shelly discovery script is also running. but I can't see the entities for short press, long press etc. kzitem.info/news/bejne/rZtp155obHdyhY4 do i need to configure this extra?
@JonnyBergdahl
3 жыл бұрын
What are you talking about, I love micro USB.
@BeardedTinker
3 жыл бұрын
Me too, when I'm sober. 😂
@oudoulj
3 жыл бұрын
Maybe you meant you had preferred USB-C ?
@stefanschrodl5506
2 жыл бұрын
I'm having a bit of a hard time here. Freshly setup both the button and Mosquitto, when I listen to # in Mosquitto, the button show up e.g: Nachricht 4 empfangen auf shellies/shellybuttonvz/input_event/0 um 13:32: { "event": "S", "event_cnt": 10 } But entities are added to Home Assistant. Am I doing something wrong?
@BeardedTinker
2 жыл бұрын
Are you using Shellies Discovery script? It needs this script if you are adding Shelly devices via MQTT to Home Assistant. github.com/bieniu/ha-shellies-discovery You need to follow few steps from here to get it working enable python_script, copy *.py file and add 2 automations to Home Assistant - if I remember correctly.
@thomaskeeling390
2 жыл бұрын
@@BeardedTinker This was missing from the video - very pleased to find the answer in the comments - many thanks
@billjuv6010
Жыл бұрын
@@BeardedTinker That would have been useful information a couple of hours ago (>; I’m a relatively new HA user and was trying to figure out why I only had one entity, and only three old devices connected to a MQTT… had me puzzled for way too long. I finally gave up and just started adding an automation to the button and then I could see the single, double, triple press choices. Easy peezy.
Пікірлер: 61