#354

  Переглядів 212,517

Andreas Spiess

Andreas Spiess

3 роки тому

Tasmota and ESPHome, together with Home Assistant (Hassio) are covered in many videos for Home Automation. Most of them concentrate on flashing and integrating readily available devices and sensors. But which framework is better also for our do-it-yourself sensors, for ESP32 boards, and for deep-sleep? Tasmota or ESPhome? Or none? You will know the answer at the end of the video
I am a proud Patreon of @GreatScott!, @Electroboom, @Electronoobs, @EEVblog, and others
Links:
ESPhome: esphome.io/
Tasmota: github.com/arendst/Tasmota
VEML6070/75 UV: s.click.aliexpress.com/e/_dZs...
TCS34725 RGB/IR: s.click.aliexpress.com/e/_d6K...
TSL2561 Lux: s.click.aliexpress.com/e/_d7y...
ESP32 board used for this project: www.aliexpress.com/item/32845...
The links above usually are affiliate links which support the channel (no additional cost for you).
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com/sensorsiot
My Patreon Page: / andreasspiess
Discord: / discord
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
My Amazon.com shop: www.amazon.com/shop/andreassp...
For Banggood bit.ly/2jAQEf4
For AliExpress: bit.ly/2B0yTLL
For Amazon.de: amzn.to/2r0ZCYI
For Amazon UK: amzn.to/2mxBaJf
For ebay.com: ebay.to/2DuYXBp
profile.php?...
/ spiessa
www.instructables.com/member/...
Please do not try to Email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases
#nomidrollads

КОМЕНТАРІ: 642
@rcampbellbassac
@rcampbellbassac 3 роки тому
I like the way you covered these two very thoroughly. Thanks for this video!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you liked it!
@Inspironator
@Inspironator 3 роки тому
Me too.
@TheHookUp
@TheHookUp 3 роки тому
Awesome video, pretty much the same conclusions I've come to: 1. Tasmota is easy and works really well for pre-defined products 2. ESPHome can allow non-programmers to get a "good enough" configuration for their home built projects, but if you already know how to write code in Arduino you are probably still better off writing your own custom firmware. For the OTA tasmota deep sleep on the roof problem: Send an MQTT message with retain, that way when Tasmota wakes up the next time it will grab that message and prevent deep sleep. After you make your update just send a blank retained message to that MQTT topic to clear it out.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I saw the trick with the MQTT message and I thought I mentioned it in the video. The only problem is that I have to wait until it wakes up the next time. This is no problem if it is every 10 minutes... I assume not many people use these frameworks with deep-sleep. Otherwise, maybe somebody would have included this function into the administration: MQTT message sleep off, OTA, MQTT message sleep on... But anyway, I do not update my running devices that often.
@fuzzie4755
@fuzzie4755 3 роки тому
@@AndreasSpiess The only way to shorten the deepsleep is an external reset switch that you can reach. Maybe coupled with the deepsleep switch I mentioned above. To have no access to the device during the deepsleep is the nature of this feature. You can use rules to check is there is a new OTA update and go for this. But this will increase the uptime again and does not make sense in my mind.
@tfdsu
@tfdsu 3 роки тому
​@@AndreasSpiess, true, you can *deep-sleep.prevent* *on_message* and it's generally always good thing to *fast_connect: true*, unless you have really complex Wi-Fi roaming.
@maxvandenberk7506
@maxvandenberk7506 2 роки тому
You are drawing me in to creating my own sensors and actuators for my home. The structured way you explain things is very helpful. Many thanks!
@AndreasSpiess
@AndreasSpiess 2 роки тому
You are welcome!
@dl8cy
@dl8cy 3 роки тому
Nice to see that the weekly publishing is back ... thanks for the video
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome! The holiday are over ;-)
@Michaelguaylambert
@Michaelguaylambert 3 роки тому
I tried both. ESPHome is much more powerfull. You can do data treatment on the device itself before sending it to Home Assistant and avoid ugly data entering Home Assistant.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Also an interesting aspect. Thanks for mentioning
@JohnBackstrand
@JohnBackstrand 3 роки тому
Yeah, it's actually very useful for noisy and unreliable sensors!
@martyewise
@martyewise 3 роки тому
Very nice, as always, and precisely relevant to my current project. Thanks again.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad to read that it helped. I had this since quite some time on my list. It is always good if you know such things before you start to program...
@fredflintstone8048
@fredflintstone8048 2 роки тому
I wanted to take a moment to thank you for making this video. I'm running HA in a virtualbox VM at the moment while I await my pi to arrive. You provided some key information that I could not find in other videos regarding getting the first binary into my NodeMCU so that I can continue with OTA uploads. All the other videos had demos of ESPHome Add-on having ESPHome-Flash built in, which mine doesn't. You pointed me in the right direction with the download binary, and I found ESPHome-Flash executable for windows on the web and downloaded it.. All went well after that.. This NOOB thanks you very much for that, as well as the comparison which helped me to know what kind of options I have for working with these devices. I too have been writing code in C++ in the Arduino IDE for my ESP8266s and Arduinos for years doing all sorts of projects, some with web front ends. I'm just now starting to come up to speed in the world of Home Assistant, MQTT, and this way of building applications for integration of many devices not wanting to reinvent the wheel that so many others have worked so hard to build, and nicely.
@AndreasSpiess
@AndreasSpiess 2 роки тому
Thank you. You find also other videos about this topic on the channel...
@aeljandro2
@aeljandro2 3 роки тому
Hi Andreas, thanks for all these videos. I've learned a lot from you. You're a good teacher. 👍👍👍🦾
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for the compliment!
@fibranijevidra
@fibranijevidra 2 роки тому
Thanks Andreas. Fantastic analysis and presentation as always.
@AndreasSpiess
@AndreasSpiess 2 роки тому
Glad you liked it!
@eerorossi
@eerorossi 3 роки тому
Thanks for your excellent videos Andreas! Did not know about tasmota-display, but now I know✌
@AndreasSpiess
@AndreasSpiess 3 роки тому
I never used it, I just saw it during the making of this video
@olafschermann1592
@olafschermann1592 3 роки тому
Great comparison. Thank you for all your research work and sharing.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you enjoyed it!
@mr.anonymous298
@mr.anonymous298 4 місяці тому
You are really a great teacher, sir. I appreciate your efforts.
@AndreasSpiess
@AndreasSpiess 4 місяці тому
Thank you!
@TonyPowell_Munich
@TonyPowell_Munich 3 роки тому
Andreas, very much appreciate your content. Learned a lot on this one!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad it was helpful!
@TradieTrev
@TradieTrev 3 роки тому
Both projects are great IMO!; It gets you balls deep into the software engineering process. Learning the rules / automations really makes a device smart.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I had to do it for a device for my brother. But I needed help. It was too complicated for me :-(
@JohnCookNet
@JohnCookNet 3 роки тому
Thanks for sharing your observations. Well done Sir!
@AndreasSpiess
@AndreasSpiess 3 роки тому
My pleasure!
@klassichd10
@klassichd10 3 роки тому
Thanks for the great comparision. I use the old fashion method for the most of my ESP-based sensors. But I also tested Tasmota for sonoffs. ESPEasy for a simple S0 counter and ESHome for a CO2 sensor, because only here I could switch off the autocalibration of the CO2 sensor and could easily use an ESP32. All are running stable. BTW, the coolest sensor is the MLX90614ESF Far IR sensor. Using this and ambient temp , I calculate the cloudage. Helpful an unusual.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Interestingly you mention the MLX90614. I have one here, but not in the box "IR sensors" because I bought it as a temperature sensor ;-) I definitively have to try this one. Thanks.
@klassichd10
@klassichd10 3 роки тому
@@AndreasSpiess Yes, that is correct, it is a contactless temp sensor using the IR Radiation of an object.. Max Planck's groundbreaking finding and formula shows the realtionship to temp. I insert the sensor in a cable gland, facing it directly to the sky. no glass or anything else. in front of it
@klassichd10
@klassichd10 3 роки тому
Btw: I wrote more on the topic of measureing cloudage in ioBroker Forum and Homematic Forum forum.iobroker.net/topic/32195/himmelstemperatur-bew%C3%B6lkung-scheibenvereisung and homematic-forum.de/forum/viewtopic.php?f=27&t=40624&start=20#p574687
@stefanf.5439
@stefanf.5439 3 роки тому
I saw esp home some weeks ago, and had not the time to read deeply into it. Thanks for the overview.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@BachtiarDwi
@BachtiarDwi 3 роки тому
Wow! a very comperhensive comparison, thanks Sir!
@AndreasSpiess
@AndreasSpiess 3 роки тому
My pleasure!
@chellalialhcen
@chellalialhcen Рік тому
Woooow it's really a great work. Thank you so much for this detailed long video.😊❤
@AndreasSpiess
@AndreasSpiess Рік тому
My pleasure 😊
@tonysfun
@tonysfun 3 роки тому
I'm learning something new every time I watch Andreas!!! Andreas, you put smile in my heart and brain and I learn and learn more and more! Thank you for your hard work. (PS: I was under the Corona with my wife, so it took little time out of learning - that was the hardest part! Now we are like new again!)
@AndreasSpiess
@AndreasSpiess 3 роки тому
I hope everything went well! It seems that younger people generally suffer less. And now you are most probably immune, which is a good thing.
@tonysfun
@tonysfun 3 роки тому
@@AndreasSpiess At 65 I'm in the zone where it could go either way, but despite many other health problems it was "doable" and I didn't need any special medicine. If they would give me the same stuff as to the President Trump, I think I would take it. But it was like a cold and ZINC and lots of water and little food with apples and oranges helped also. Thank you very much Andreas!!!
@tonysfun
@tonysfun 3 роки тому
@@AndreasSpiess You are right, but once your age is over 65, it takes a long time to regain just most of your previous energy and brain! I'm glad not much damage so far, but it keeps testing you weeks and weeks after your main symptoms and temperature are gone.
@WacKEDmaN
@WacKEDmaN 3 роки тому
very nice and concise video Andreas..keep at it mate!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks, will do!
@domenicopalomba
@domenicopalomba 3 роки тому
As usual the scientific attitude in measuring based on real facts! Nicely done Andreas! I think an intermediate layer between ARdiuno IDE and tools like EspHome and Tasmota is the microPython. Flexible and simple enough at the same time...
@AndreasSpiess
@AndreasSpiess 3 роки тому
That was my idea when I made the video about it. But read once the comments :-(
@richard_wenner
@richard_wenner 3 роки тому
I've huge respect for the hours of work that must have gone on in the background, that allows you to display this level of experience! Well done GWTSA :) (Not my best English sentence :) )
@AndreasSpiess
@AndreasSpiess 3 роки тому
The video became a little longer than anticipated. But I was without ghost this week. So it was no problem. I had to look up GWTSA. Google said: Gamma-Weighed Two-Stream Approximation ;-)
@richard_wenner
@richard_wenner 3 роки тому
@@AndreasSpiess I'm never without my Gamma Weighted Two Stream Approximation but it will not be too long before it switches to 'guy with ....' as a tribute :)
@erich7431
@erich7431 Рік тому
Hi Andreas, first off, thanks again and again for all the content you are delivering. There's been significant development lately around both Tasmota and ESPHome. I would really love having a follow up video including those feature and your updated ranking. Also I have heard about ESPEasy but did not have time to have a deeper look. Looks like more an easy & straightforward way to integrate ESPxx...but probably not for the advanced users....
@AndreasSpiess
@AndreasSpiess Рік тому
Because I changed to Home Assistant, I usually use ESPhome. It is good enough for most cases. I think, the differences between the two platforms became very small. HA users will use ESPhome because it is so easy to setup. And the rest uses Tasmota (because it is so easy to setup) ;-) But the next video will be about another specialized platform: OpenMQTTGateway. You will see, why.
@erich7431
@erich7431 Рік тому
@@AndreasSpiess looking forward to it thanks !
@javierguerrerob
@javierguerrerob 3 роки тому
Excelent work Andreas!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you like it!
@TZ500J
@TZ500J 3 роки тому
As usual nice video :-) There is another good project especially for esp8266, called ESPeasy. There are a lot of sensors, displays etc. supported
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for the hint. I will have a look at it.
@LarryKapp1
@LarryKapp1 3 роки тому
Yes that is the one I have used - here is more info www.letscontrolit.com/forum/viewforum.php?f=1
@TZ500J
@TZ500J 3 роки тому
or here ;-) www.letscontrolit.com/wiki/index.php?title=ESPEasy
@PhG1961
@PhG1961 3 роки тому
@@LarryKapp1 Thnxs Larry ! It looks interesting !
@TD-er
@TD-er 3 роки тому
Thanks for pointing it out :) @Andreas Spiess, I am the maintainer of ESPEasy, so if you run into things, you can always ask. I will now continue watching your videos, to hopefully learn something myself as I usually do from your videos. @TZ500J, the ESP32 is also supported, even with Ethernet if you need it. Just a few more links: github.com/letscontrolit/ESPEasy ReadTheDocs: espeasy.readthedocs.io/en/latest/
@andrewlhoover
@andrewlhoover 3 роки тому
Great side-by-side video. I think you definitely captured the fundamental pros and cons of each. Personally, I think of tasmota as excellent control software (button, switch, relay devices) and ESPHome as very good data collection software (sensor nodes). I still primarily write my own software for many of my devices but have found that if I want to control something or get simple data, I gravitate to one of these two.
@AndreasSpiess
@AndreasSpiess 3 роки тому
So I think we are in line...
@terrentech
@terrentech 2 роки тому
Excellent video. Please do it again, updated for a current comparison. THANKS!
@AndreasSpiess
@AndreasSpiess 2 роки тому
So far I have no such plans. But you never know ;-)
@Mr4yda4ok
@Mr4yda4ok 3 роки тому
Thanks for the video. Previously I have used balena os for pi(grafana, mqtt, db and custom application for data processing etc) and mongoose os for esp, found it pretty easy to use. Now want to try ESPhome.
@AndreasSpiess
@AndreasSpiess 3 роки тому
It should nicely fit into your Pi tools (I made my tests with node-red).
@ShALLaX
@ShALLaX 3 роки тому
Great video, as usual. If you’re using Home Assistant, to me it seems like the logical choice is ESPHome - purely because of the integration. I really like the YAML approach. I have around 23 devices in ESPHome, however they’re mostly Shelly 1PMs. Using YAML, I’m able to create templates and then include them into the device config using a YAML directive to avoid having to copy and paste the same thing dozens of times. The individual device scripts define variables to hold the unique device parameters (such as names), and these are used as tokens in the template. I also use variables to control the logic of how the particular device behaves e.g. Does it power on after a power failure, stay off or return to its previous state? Does it automatically switch on after being switched off (useful for stuff you might want to remotely switch off, but want to guarantee it switches back on - imagine using this to switch off your modem remotely to force it to power cycle). I feel it’s all very neat, tidy and modular. The YAML also has some pretty powerful directives and logic. For example, I’m able to detect the device temperature or current draw and act on it (e.g. to shut down when the device overheats or draws too much power). I can even write persistent data to the ROM to put the device in a “fail safe” state so that it won’t reenergise the relay until the overheat condition has been cleared manually. I wouldn’t like to put this kind of automation at a higher level. It really needs to be on the device itself in case Home Assistant is unavailable for some reason during an overheat. I like that I have the YAML that defines the full functionality of the device - that’s all I need. If I lose my device, I buy a new one and reflash it with the firmware derived from the YAML, and it behaves exactly as the device it replaced. The integration with the Home Assistant native API is also excellent. No need for MQTT. Add a sensor, and it just magically shows up in Home Assistant. You can even pass data from Home Assistant back into the device (such as acting on a button being pressed on another device).
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for sharing your experience. A lot of interesting use cases to consider. I first have to get into HA. Currently I am on node-red...
@dougle03
@dougle03 2 роки тому
@@AndreasSpiess Home Assistant and Node Red work well together. Automations in Home Assistant are quite basic, whereas in NodeRed the sky is the limit. Note that you can run ESPHome in docker, so you don't 'need' to use the ingress version within Home Assistant.
@c1ph3rpunk
@c1ph3rpunk 2 роки тому
I’m interested in this templating approach in the YAML, can you share some example code or pointers to show how it’s implemented?
@ShALLaX
@ShALLaX 2 роки тому
@@c1ph3rpunk basically, split your sensors and switches out into separate files and include them all in the top-level device file: substitutions: # Unique name for the device, also acts as the host name. name: "shellypmbathroomfan" # Friendly name for display in Home Assistant. friendly_name: "Shelly PM Bathroom Fan" # Supports ALWAYS_ON and ALWAYS_OFF, however the latter is somewhat # meaningless if force_switch_back_on is true. This would cause the relay to # switch off during a reboot then switch back on after the # "force_switch_back_on" timer expires. RESTORE_DEFAULT_X are not supported # as this would require flash writes on each relay toggle, whereby reducing # the life of the device. default_mode: ALWAYS_ON # Set to true to force the switch back on after a delay when switched off. # Useful for a remote powercycle that would cause the remote client to lose # connectivity during the power cycle. force_switch_back_on: "false" # Disabling this is sometimes required for devices that consume a high amount # of current for prolonged periods. support_overheat_protection: "true" # Never a good idea to disable this as the device could catch fire or be # fried. support_overcurrent_protection: "true" ### Timer-related settings ### # Enables or disables the automated power-off timer. timer_enabled: "false" # Sets the duration, in seconds, after which the switch to turn off once # it has been turned on. default_timer_duration_seconds: "0" ### End timer-related settings ###
@p1366
@p1366 3 роки тому
Thanks Andreas, very clear and understandable video. Your videos are still the best in the business!. My favorite is Tasmota, this is where I learned all about MQTT. Tasmota documentation is also very high quality. I use my Tasmota devices with Hass.io, I really like that, as well as controlling a Tasmota device with a controller (Hass.io) you can make your device work autonomously with rules, so if the device becomes isolated from the controller, it can still be useful with working with its own rules-based "automatons" . P
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you! I also found the Tasmota documentation very useful. However, rules are not easy for a beginner ;-)
@PeterPan-yu7pe
@PeterPan-yu7pe 3 роки тому
Greart and informative video, as usual!! At 9:42, you describe, that only OTA is available. I found on my RPI4 that when I connect the ESP to the USB connector of the RPI and then restart the ESPHome service in Home Assistant, the board will show up in ESPHome and I can Choose betwenn OTA and USB update. With this method, I can program virgin Boards directly from Home Assistant
@AndreasSpiess
@AndreasSpiess 3 роки тому
Yes, with HA it is possible.
@VolkerKtnbch
@VolkerKtnbch 3 роки тому
Very good video. Saved me a lot of time researching
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad it helped
@wassfila
@wassfila 3 роки тому
Excellent content, thanks for the informative video. Both Tasmota and ESP Home are winners as they help the DIY community have more choices, which help look at the same problem from different perspectives. Maybe in the future we could look at this sensors abstraction from scripting perspective ? Python and Javascript on microcontrollers ?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe these languages will get their space also on micros. Till then we have to select between C++ and libraries or frameworks like the ones shown here.
@mulroneyp
@mulroneyp 3 роки тому
HiAndreas. Love your work! I like you and many others use both ESPHome and Tasmota, it depends on the use case. One thing I would point out for ESPHome is that if you are using Wemos D1 Mini, NodeMCU or TTGO ESP32 Cams you can use a standard micro USB to upload your ESPHome config. Just plug the USB into the Home Assistant Host and restart the ESPHome Add-On. Then you will see something like /dev/ttyUSB0 (USB2.0 - Serial) as an option for upload. This helps avoid the need for connecting jumpers to a UART connector. After that it is easy to do OTA updates.
@AndreasSpiess
@AndreasSpiess 3 роки тому
As mentioned: In my case it was a Docker customizing which prevented USB upload (I used IOTstack).
@going_somewhere1882
@going_somewhere1882 3 роки тому
if I could I'll hit to like your video ten times. Very informative!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@ronaldhofman1726
@ronaldhofman1726 3 роки тому
One can do a request to the tasmota developers to add a sensor it is frequently updated, that's really good!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good to know...
@electromatic138
@electromatic138 3 роки тому
Great Scott released a video on esphome today. What a coincidence.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I saw it, too. Amazing.
@guatagel2454
@guatagel2454 3 роки тому
If it weren't for Andreas' videos, I would never have dared to enter the world of ESPs. Now I make my own boards from ESP12F modules, both solar and battery powered. Thank you!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Great! I am glad I had a positive impact.
@indigonils
@indigonils 3 роки тому
Very well done overview! I've tried Tasmota a little bit, but found it harder to understand, and ESPhome covers my needs so far. But it's good to know how the two differ. Maybe I'll need Tasmota for something in the future. Thanks! Protip: ESPhome (in Docker) can upload over usb, but you need to first connect your ESP device to the computer running ESPhome, and then restart the ESPhome container. Then you should be able to select something like /dev/ttyUSB0 instead of OTA. (On Linux, I don't know about Windows.) And you can run the ESPhome dashboard without HA, if you install ESPhome manually with the "getting started through command line" guide. So it's not as straight forward, but possible.
@AndreasSpiess
@AndreasSpiess 3 роки тому
1. I assume it depends on the docker setup if you can use USB. I used IOTstack 2. As mentioned the video I tried to set it up but, as a Linux noob, I gave up after a while :-(
@MartinKL
@MartinKL 3 роки тому
Thanks! very informative
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad it was helpful!
@mibols
@mibols 3 роки тому
Thanks for the great video. I have not heard of tasmoadmin before. I use tasmota most often (also because of tuya-convert of several Gosund SP111 power monitor plugs). Also ESPeasy for an S0 counter.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@gunnarstoa
@gunnarstoa 3 роки тому
My google search last night: Tasmota vs ESPHome
@AndreasSpiess
@AndreasSpiess 3 роки тому
So I had a nearly perfect timing...
@dragosadriananton
@dragosadriananton 3 роки тому
Thank you very much for video, really appreciate it. One important think: how are both integrate with HA, at this point I will give a point to EspHome as it have direct integration with HA. Tasmota is using a middleman, MQTT, to do this job.
@JohnnieHougaardNielsen
@JohnnieHougaardNielsen 3 роки тому
The TSL2591 can be used on the precompiled Tasmota sensors binary by deactivating the TSL2561 driver: I2CDriver16 0
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for the tip. I will try it!
@fahnleindieselschweif5022
@fahnleindieselschweif5022 3 роки тому
Thank you very much for your videos. For battery operated sensors I would like to mention mySensors with a mqttEthernetGateway.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Mysensors support also other RF technology. Which is very good for deep sleep. Thanks for the tip!
@scorfman1
@scorfman1 3 роки тому
I use tasmota and esphome for many cots devices but I use mysensors for all my home built sensors. It has an important benefit in that it uses its own wireless mesh so only a single IP address and you don’t load your wifi with more sensors!
@carpov73
@carpov73 3 роки тому
Hello Andreas, you are always a step beyond 😊, Thank you. You did not spoke about Espurna, any reason for that?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I used it before Tasmota. It is very similar, but I thought, Tasmota is more popular amongst my viewers.
@JAAPOP8
@JAAPOP8 3 роки тому
I like to think we're of the same age and we probably have similar backgrounds in education and profession. I'm sure we share the same interests and hobbies. You always impress me by being so productive and skilled in the field. Today again! Thank you for sharing!
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome! I am 64, a trained EE with a PhD in Business Administration. An interest in computers and RF...
@JAAPOP8
@JAAPOP8 3 роки тому
@@AndreasSpiess Here is why I said ".. I LIKE to think..." 1. I am older (67) 2. I do not hold a PhD 3. Long ago I was a trained EE, but then I became a manager of large high tech development groups. I now try to do small scale what I always talked about :) I am - like you - interested in computers and electronics (digital and analog). RF is still a lot of "magic" to me.... :) Again THANK YOU for your channel! PS On being a Linux noob we can shake hands..... after Covid19 by the way. :)
@dave_dennis
@dave_dennis 3 роки тому
Nice job selecting those AMS sensors. 😉. FYI that TSL2561 was the sensor used in the first iPhone. DE N5BOC
@dave_dennis
@dave_dennis 3 роки тому
Oh and you can get IR from the TSL2561 if you read only CH1. Throw away the data from CH0.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for the advice. I have to try the trick with CH1. BTW: I programmed the redit talkgroup on my DMR radio and already talked with a US guy. So it seems to work also for DX ;-)
@dougwilkinson4624
@dougwilkinson4624 3 роки тому
I started using Tasmota after I lost IFTTT support for my lightbulbs and smartplugs. Using Tuya-convert made this possible. I went with Tasmota by default and like it so far, but have not used ESPHome or ESPEasy yet (I was too afraid of bricking my lights/plugs to explore much). As someone who has written code using Arduino/libraries for sensors/automation and then again in micropython, I was hesitant to use a framework, but didn't have a choice on these limited devices. I'll still use my own code for those things that require a more custom approach, but it's nice to let someone else worry about bug fixes for some things! And some things are just not possible with micropython for timing reasons (like IRremote) which I have to say works very well with Tasmota at least. I do as much using micropython as possible. Also use MQTT with HASS in docker. Thanks Andreas for the video and nudge to look at some of the other options!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for sharing your experience. IFTTT seems to go "pro" and "paid" anyway...
@timfoster5043
@timfoster5043 5 місяців тому
Good analysis. Thanks.
@AndreasSpiess
@AndreasSpiess 5 місяців тому
You are welcome!
@josefleyva_xizuth
@josefleyva_xizuth 3 роки тому
Your English is very clear, Hi from Mexico
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@muctop17
@muctop17 3 роки тому
Prepare for a fast ride today: "Fasten seatbelts!" 😁😮😂
@AndreasSpiess
@AndreasSpiess 3 роки тому
And still, it became long...
@BradNagelBagel
@BradNagelBagel 2 роки тому
Great Video! Thank You
@AndreasSpiess
@AndreasSpiess 2 роки тому
Glad you liked it!
@GodzillazzZ
@GodzillazzZ 3 роки тому
i love Tasmota.. thx for great info sir
@AndreasSpiess
@AndreasSpiess 3 роки тому
My pleasure
@albertroswell
@albertroswell 2 роки тому
thanks for the video!
@AndreasSpiess
@AndreasSpiess 2 роки тому
You are welcome!
@pambucol
@pambucol 3 роки тому
You have really fantastic videos.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you like them!
@michaelbatchelder
@michaelbatchelder 3 роки тому
Watch many of you guys and I appreciate the tutorials. I currently have both tasmota (shelly 1) and ESPhome (8266 with different sensors) running. Still have issues setting up stuff, actually made document explaining in my way to make it easier for me. Next project is to try to control a ceiling fan and the light associated with it. Any suggestions are welcome. I still have yet to flash my tuya smart plugs... also on my list. Another question, any smart light strip that can be run on home assistant, my current one only is recognized by Alexa. Oh and is there a way for home assistant to play announcements through Alexa?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Creating documents for installations definitively is "best practice". It saved my a... quite a few times.
@neagoecatalin879
@neagoecatalin879 3 роки тому
Thank you for sharing this! I was also trying to standardize the way how to handle the ESP32 programming. On the way I have also found this "My Sensors" using Arduino and which I like them very much when using battery and solar power because they use NRF24 radio and are very energy efficient. Regarding the ESP32 sleep mode activation from ESP Home, would`t be possible to create an automation into Home Assistant that calls the sleep mode right after receiving the data package from the sensors node? Just an idea, didn`t tried yet by myself.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I got some hints on how to do sleeping, but I did not try so far.
@randyarrasmith2013
@randyarrasmith2013 3 роки тому
Great video. All your videos are great. I did want to add to this one though: you gave a point to Tasmota in the section that discussed the OTA as the only option for ESPHome on initial flash and as a work around had to download the binary and use the flasher. Actually that is how I do it too but only because the computer running ESPHome is upstairs for me. If on the same computer running Docker, simply map the usb port to the docker container (or run in privileged mode). Then the USB device will be in the dropdown as well. Believe you also said that Tasmota has a nice one place to see all Tasmota devices but ESPhome does not, yet you show the page where the OTA drop down is which shows all the devices. It is for this reason I use a custom panel to being ESPHome in home assistant so I can see all esp devices in one place. So, anyway, just those 2 minor things I wanted to comment on. Going either route (Tastmota vs ESPhome) is 50/50 in most cases and probably will remain that way. I like ESPHome, especially being able to use any arduino library to make a custom component or even write my own.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right with Docker. I used IOTstack and it is not implemented there. Maybe they will change it in the future. It was not a big deal for me. Concerning TasmotaAdmin: I said that it shows much more information.
@jackhoffman6120
@jackhoffman6120 3 роки тому
You never cease to amaze me. Like a heroin addict I am a "knowledge addict". So just like a junkie on the streets of Amsterdam who strolls the streets (That's what they used to do in the 90's. Perhaps Amsterdam has become more genteel these days.) for their next hit, I troll the internet for my drug. Unexpectedly I discover your UKposts "hit of knowledge" just as a junkie might find a loaded syringe to feed their addiction, your video satisfied my addiction for knowledge just now. This video was very interesting and drove home how difficult it is to keep up with technology. As soon as I begin to believe that I might understand a subject, I come to the realisation how little I really know. Your videos lay the foundation for further research. I often stop your video mid stream because unintentionally you mention one little thing (such as Adafruit's I2C addresses info in this video) and I'm off making "research notes". Keep pushing your "drugs". There's plenty of addicts out there who need them. I'm sure the next "hit" is going to be as good as the last.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for your nice words. I usually have people like you in mind when I create my videos. I invest some time and you get a quick overview, but not wothout some details.
@wouladjecabrelwen1006
@wouladjecabrelwen1006 3 роки тому
You are so amazing teacher
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you! 😃
@ardahan7
@ardahan7 3 роки тому
Perfect, thanks
@AndreasSpiess
@AndreasSpiess 3 роки тому
You're welcome!
@ferencszabo3504
@ferencszabo3504 3 роки тому
I like both of them very much.My house is a mix of both devices.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I think both have advantages and disadvantages. Glad we have choice...
@SchmurtzAlex
@SchmurtzAlex 3 роки тому
EspHome allow direct upload from USB. Espeasy is great that’s true but it is quickly a complex way to do : you have to compile yourself it with some options to have the sensors that you need. The development seems less organized. But I recognize that it is powerful too since a long time.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right, if you set your containers up the right way it should work. It was no problem for me because it only has to be done once.
@madst7521
@madst7521 3 роки тому
@@AndreasSpiess There was nothing to set up with the standard raspberry pi 4 image from home-assistant.io and the community version of ESPHome. I just plugged in my ESP32 on usb and got the first image installed.
@EmilyLoebl
@EmilyLoebl 3 роки тому
Same here too, I plugged in devices and it just worked to flash via USB to ESPhome. Occasionally I've seen it where ESPHome didn't refresh the USB list, restarting the server resolves for me if that happens.
@waltersenekal4774
@waltersenekal4774 3 роки тому
Yes I also use the USB method, after you plug the USB in, just restart the esphome plug-in, to register the USB serial port, but thank for the great videos, I really enjoy your videos and find them very informative.
@ByWire-yk8eh
@ByWire-yk8eh 3 роки тому
I've never made the Tasmota firmware work reliably on any of the multiple hardware platforms I have. They hang. However, most of the more recent (a year or more) Arduino ESP8266 WiFi Server examples seem to be very reliable. I've had one that controls a single relay work perfectly for about 6 months straight. Same hardware I tried with Tasmona. But I must say I had two extended power outages (two hours and ten hours), and after power was restored, it came back up without any intervention. Also, I have another ESP8266 WiFi Server that controls 20 GE Low Voltage relays, and it's worked perfectly for about 3 months so far.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for sharing your experience. Fortunately I do not have a lot of power outages here...
@anthonycalia1317
@anthonycalia1317 2 роки тому
A lot has changed since you made this video. A new comparison may be in order as both tools have evolved significantly.
@AndreasSpiess
@AndreasSpiess 2 роки тому
So far it is not on my list. But HA is there. Maybe I will cover this aspect then.
@IvanIvan1974
@IvanIvan1974 3 роки тому
I'm very glad to hear about "the son off switches" again, thanks.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@SinnerDeveloper
@SinnerDeveloper 3 роки тому
I flasged 3 Sonoff Basic with Apple Homekit and I’m using them right from the iPhone. Also I built a neopixel strip connected to a ESP node and flashed with Apple Homekit too.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Very good!
@pentispent
@pentispent 3 роки тому
Many things changed with Tasmota 9.4 I have successfully flashed ESP32 with the latest tasmota and I see that it has support for mqtt, knx and many sensors. Already tested with RF and IR, works perfect, using mqtt and knx to control them
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for your info. Just upgraded one of my Sonoffs today...
@Palominostudio
@Palominostudio 3 роки тому
Greetings Andreas, There's a lot of hardware and software solutions for the maker to tinker with these days. I thank you for creating these in depth reviews and tutorials on what there is and how to go about it. i currently have a bme280 connected to an ESP32 which is sat outside on my windowsill upstairs. It is nice being able to see the weather outside from my browser on my pc or my smartphone. I must get act together and arrange for it to talk to Profilab, as that does data capture well and can do the controlling of actuators if need be. We had snow in the western Cape on Friday and it's interesting to see that the air pressure drops by 10 hectopascals in Johannesburg at the same time, that's 1400 km away. It takes 2 days for the cold air to reach us here afterwards. Very interesting. I also had fun doing data capture by loading a 0.5 Watt pv array with a resistor, connecting it to an esp32 analogue input and graphing the solar radiation using Profilab. Very interesting how the solar intensity varies with changing weather conditions. Anyhow, taking up your valuable time by making you read a long text. Thanks for the video, it's approved. Kind regards, Duncan
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome! We also had snow this weekend in higher altitudes and it became quite cold where I am. The idea of my light sensor is exactly to see the correlations between the different components of sunlight throughout the year and find out, which one is best to steer my awning, for example.
@Palominostudio
@Palominostudio 3 роки тому
@@AndreasSpiess Yes, you need statistical data to build your control algorithm model on. Going to be interesting.
@joba1560
@joba1560 3 роки тому
Made my day at 16:25 mentioning my i2c id plug&play idea :) If you need IR values from TSL2561, I could publish the raw values easily in tasmota. They are available anyways, since they are needed for lux calculation. Would that help?
@AndreasSpiess
@AndreasSpiess 3 роки тому
If I remember right: The 2561 worked, The 2591 was the problem.
@c1ph3rpunk
@c1ph3rpunk 2 роки тому
And once again, I go looking and you have the answer. It’s been a year since this was made but here’s a couple things I’ve found in the past few days. I have HA on a Pi 3 and under the current version you can install ESPHome firmware OTA, directly or via a serial connection (if so connected, ttyUSB, etc). It lists 4 ways to install it, can’t remember all 4 off the top of my head. I started with Tasmota on a Sonoff and a NodeMCU and discovered you can use Tasmotizer to flash the ESPHome firmware as well. I run a Pi 4 as my lab “workstation” and found that to be more reliable than every other method I tried. The ESPHome flasher won’t run on armhf/arm64/Linux, Tasmotizer does. My current complaint on ESPHome, which I do seem to prefer, is the lack of syslog support that Tasmota has. I want to centralize logging for debugging and security monitoring (using Splunk) and syslog is almost universally the glue we use to hold that all together. For the deep sleep can you force it to sleep when the work is done using the deep_sleep.enter action?
@AndreasSpiess
@AndreasSpiess 2 роки тому
1. Another viewer wrote that many things changed since I made the video. Sometimes my videos help such changes ;-) 2. If I remember right I managed to get deep sleep working. But I do no more remember, how.
@c1ph3rpunk
@c1ph3rpunk 2 роки тому
@@AndreasSpiess yea, was hoping my comments might help future content or folks watching the video, 90% of it still applies despite how fast the IoT world moves. Sleep is next up on my list to try on the NodeMCU (8266) and an ESP32 and I’m guessing you’ll have something to help. I really need to support your Patreon, excellent work my friend, excellent work.
@serranoduranmanuel
@serranoduranmanuel 3 роки тому
Excellent video!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you liked it!
@JLBaselgia
@JLBaselgia 3 роки тому
I like your IKEA box 👌
@AndreasSpiess
@AndreasSpiess 3 роки тому
It is quite new and ideal for light sensors because it is not plastic
@Thamli
@Thamli 3 роки тому
Isn't there a ESPhome admin page add-on in HASS? I've downloaded it recently but not used it yet, using Tasmota mostly and not extensively. Also a superb video, a Belgian beer goes your way sir! A typical Swiss decision at the end 🤣
@__MJ__
@__MJ__ 3 роки тому
You can display esphome in hassio menu. Base status check is innode panel - red means not working, green ok. To check another things you can use special sensors (uptime, restart node, wifi status etc.). ESHome talks to HA via API - it is better and faster then mqtt (also more reliable). Tasmota is cross platform solution. ESPHome is designed to work with HA - with all its benefits. If you using HA ESPHome is only one good choice :)
@AndreasSpiess
@AndreasSpiess 3 роки тому
I used the Home Assistant add-on. But mine did not show a lot of info. It mainly was used for the deployment of the firmware. And I based everything on MQTT because this is an open standard and many of my subscribers do not use Home Assistant.
@MoDNcA
@MoDNcA 3 роки тому
You really should have a look at ESPEasy!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Noted!
@derschnurlich1512
@derschnurlich1512 3 роки тому
Ahh , well, I thought, damn why am I using something so exotic
@fernand237
@fernand237 3 роки тому
Or ESPecial, for dynamic automation on esp32
@jedandecko5585
@jedandecko5585 3 роки тому
Great analyses, thank you. Maybe when you low on ideas for new video you can setup small system, I am guy that learn best when you show me from ground up :) I know you have done it in 5-6 separate videos, each step, but mini series or one long video will push more ppl to try it and then you can identify problems for us simple comoners :) Thank you for sharing, big fun :)
@AndreasSpiess
@AndreasSpiess 3 роки тому
This channel is not for beginners. Otherwise it would be boring for the typical subscribers :-(
@hanseich
@hanseich 4 місяці тому
Thank you so much for this very detailed video. I just started to program a sensor in Arduino. Spent days in coding, but now I’m second guessing my progress. I’d love to use ESPHome for it, because of how I think I could integrate lots of other devices, but it seems very cumbersome to get it going. Have there been any significant changes in the last three years? It looks like the supported devices by ESP Home has grown significantly since the making of this video.
@AndreasSpiess
@AndreasSpiess 3 місяці тому
If you use Home Assistant, ESPhome is a good choice (if your sensor is supported). Otherwise maybe you find support in Tasmota. And watch my video of next Sunday ;-)
@stoffl1y
@stoffl1y 3 роки тому
Good video, I use Tasmota with iobroker over MQTT this work pretty well. In Tasmota firmware i use normal sleep - for deep sleep i need to google more, to find the best practice. FOR power a normal 10 watt solar panel and a small akkupack.
@AndreasSpiess
@AndreasSpiess 3 роки тому
For most Tasmota applications, deep-sleep probably is not needed.
@patrickmaartense7772
@patrickmaartense7772 3 роки тому
andreas, there is an easy Windows ESPhome package available , either py 3 or 2.7 then serial works easy from your ws
@AndreasSpiess
@AndreasSpiess 3 роки тому
I think this is what I tried to install. But on my Pi...
@Phettsack
@Phettsack 3 роки тому
I only use tasmota and few self made projects, thanks to your platformio-video!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good choice!
@FilipeNeto616
@FilipeNeto616 3 роки тому
Is the home assistant you show in the video installed through IOTstack? I'm asking this because I've notice you have supervisor and I was not able to install it with the supervisor. Thank for sharing your knowledge with us 👍 By the way, my personal choice is tasmota compiled by myself using vscode and platformio. It's not a walk in the park, but it's also not so difficult. With the override feature you can select the sensors to be included in the compiled file.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I used standard IOTstack. And thank you for sharing your setup!
@dgusw
@dgusw Рік тому
an updated video to this topic would be really nice... a lot has changed on esphome side
@AndreasSpiess
@AndreasSpiess Рік тому
You never know. So far I have no plans.
@phinok.m.628
@phinok.m.628 2 роки тому
That's a very good summary. I also like your comparison between efficiency and flexibility, I think many people don't really realize this. For me personally, when I can, I like to use ready-made software like tasmota. But many times such software or even some libraries don't offer exactly the functionality that I want. So I end up having to write my own program. I have even written some assembly programs. But very rarely, since apart from memory and speed efficiency, assembly doesn't have many advantages compared to C. You can do almost anything you can do with assembly also with C. But assembly takes so much longer to write that for complex projects it's really not worth the time. At least not for me.
@AndreasSpiess
@AndreasSpiess 2 роки тому
When I was young we only had assembly language and we were happy when the higher languages were developed. I never looked back ;-)
@phinok.m.628
@phinok.m.628 2 роки тому
@@AndreasSpiess Yeah, I can understand that. I mean, I think assembly is actually kinda cool. Usually there aren't that many of instructions, so it's fairly easy to learn. And I like that assembly translates direction into machine code, without the need of any compiler. But on the other hand, having to learn different instruction sets for different processors is rather annoying. So yeah, in general I definitely prefer C/C++. Or even python, but not really on microcontrollers, since they usually have fairly limited resources and I consider python is just too high level to really be efficient (in my opinion). Anyway, I'm also certainly glad we have more sophisticated languages than assembly (or just writing pure machine code, as the used to do before assembly).
@AndreasSpiess
@AndreasSpiess 2 роки тому
It is not about the instruction set. Here you are right. It is about the complexity because you have no variables, only memory locations. And with the 8-bit CPUs we only had numbers up to 256. Above that you had to do all the calculations by yourself. Maybe you look at how a simple division has to be programmed in assembler ;-) And the readability of this "spaghetti code" was also horrible. Anyway, sometimes it has to be used up to today if you have special needs where you can not use a higher language.
@phinok.m.628
@phinok.m.628 2 роки тому
@@AndreasSpiess Yes I know... And if you have numbers higher than 255 you need to use two registers, which is kinda also a mess. But I guess it's still better than working with a 4 bit processors. Conditional code is also kinda annoying, cause there is no if or else, so you basically have to figure out how to get it working, by skipping instructions or jumping to a different address based on some condition. But I mean, that's the normal trade off, the way it works is simple, but it's complicated to work with. But you know, there are things about assembler I like. For example that you know exactly how much time each instruction takes to process (or can take to process). C/C++ is clearly superior when it comes to programming. But since you basically give some of the programming work to the computer (compiling the code) you lose the insight into exactly what the processor is doing at any given time. Obviously I'm not saying Assembler is better. It is quite elegant in certain ways. But assembler quickly gets to the point where the processor speed is not the bottleneck, but instead the speed of the human programmer. And at that point of course it makes sense to sacrifice some efficiency for quicker and easier programming.
@icedguy
@icedguy 3 роки тому
Man , you are the best!
@AndreasSpiess
@AndreasSpiess 3 роки тому
:-)
@paulfontaine7819
@paulfontaine7819 3 роки тому
Very interesting thanks. For sensors, would you consider a zigbee or z-wave mesh network because they can be meshed, are fast, low power and do not put load on the already unreliable WiFi network?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I made a few videos about zigbee and use it in my home. You do not get all sensors ready-made.
@RossReedstrom
@RossReedstrom 3 роки тому
Zigbee for sensors is an interesting idea. For makers, what's missing is the zigbee equivalent of the cheap esp wifi modules: a few dollars/euros for something you can program with free tools, and come with the radio comms stack already in place. The zigbee alliance is focused on manufacturers, not makers.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I use Xiaomi sensors and a dongle for a few bucks. No need for anything else for the moment. I just use available sensors. The rest is the turf of the ESPs...
@stefans9990
@stefans9990 3 роки тому
Thanks for an interesting video, Andreas. I can only really comment for Tasmota. It find it fine for simple easy jobs, and I like that they have added syslogd telemetry (syslog to UDP port 514), which is lighter weight than MQTT for interval based telemetry. But when it comes to automation on the sensor itself (not centralized via say Node-Red), I feel I want a little more flexibility. The Rules of Tasmota are a pain to edit, and they are sometimes a little cryptic. For example, if you want rules to only trigger once on change, you have to enter this command Rule 5. Doh? It's cool in ESPHome that you effectively write the C++ and upload, but that's still a pain to debug. What I actually want is an easy to use interpreter with web-based debugging/breakpoints so that I can mess with it in its installed location until I'm happy. Almost like MicroPython, but that is way too sparse to really use. The closest I have found is this Annex RDS platform (sites.google.com/site/annexwifi/home) - it's BASIC (yes really, welcome to the 1980's :-), but with a file manager, breakpoint and single-step debugging, and really cool webserver integration if you know a little about web programming. I am not involved in that project, so this is not an advertisement :-) I just find it a quite useful alternative.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for sharing your experience. You describe exactly what I wanted to say about the layering. You get different things on different levels. It is always a trade-off between "speed of deployment" and "flexibility".
@UpcycleElectronics
@UpcycleElectronics 3 роки тому
Thanks Andreas, I want to play with some of this automation stuff one day soon. This upload should help. For Linux try Fedora. Lenovo is shipping with Fedora for a reason. -Jake
@AndreasSpiess
@AndreasSpiess 3 роки тому
As I said: I am a Linux noob. This is why I stick to Raspberry and its OS. At least till I am better.
@jamesw5584
@jamesw5584 3 роки тому
I use node red for my home automation, I tried home assistant but I think you have a lot more control using node red. For instance my LoRa sensors all require some level of processing and I find this easy to do in node red and to display that information is simple. Same with the RF bridge and send and receiving raw codes. Im not sure if you can go down this far down the layers on the home assistant. The main draw back is remote access but thats no issue since I run ipsec server on my router and just dial in from my phone. Notifications are by email or text . I dont have to rely on an external systems this way
@AndreasSpiess
@AndreasSpiess 3 роки тому
It is well possible you could get everything done by HA using tricks. But as a casual user I forget a lot of these tricks. This is why I stick with Node-red for the moment. A little bit of JS is "unforgettable" for me...
@et752
@et752 3 роки тому
I peronally i use homeassistant as the central hub, but NodeRed (as an add in) for all the automations.
@SmithyScotland
@SmithyScotland 3 роки тому
I've been testing tasmota with a wemos d1 mini and wemos tft screen. Truly amazing what you can do with it. Shame the low power iot cricket by thingsonedge is closed source. Wonder if it will ever run tasmota
@AndreasSpiess
@AndreasSpiess 3 роки тому
They probably plan to make money...
@beyondcatastrophe_
@beyondcatastrophe_ 3 роки тому
8:15 they want python3, you can see that at the command below ("pip3", which indicates pip from python3)
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you! You see, I am still a Linux noob :-(
@christianskjerning4454
@christianskjerning4454 3 роки тому
Python2 has also been deprecated for almost a year, so that wouldn't make any sense to support it anymore www.python.org/doc/sunset-python-2/
@dieSpinnt
@dieSpinnt 3 роки тому
@@AndreasSpiess To add a little to the confusion about the PyPA recommended tool for installing Python packages: On Windoze: Python versions from 3.3 come with a launcher. You can do: py -3 -m pip # Run latest Python 3 found on the system with its pip. py -2 -m pip # Use latest Python 2 instead. On Linux: Your pip may be a soft-link to pip2. Check it with $ ls -l `which pip` $ ls -l `which pip2` $ ls -l `which pip3` use $ pip show pip $ pip3 show pip to get more details On a python2-free system, pip may become the same (via link or copy) as pip3. But this can also break some packages. BTW using sudo pip on distros that provide native Python packages (apt-get install python-numpy, etc.) is calling for trouble. Keep that in mind.
@TOMTOM-nh3nl
@TOMTOM-nh3nl 3 роки тому
Thank You
@AndreasSpiess
@AndreasSpiess 3 роки тому
You're welcome
@erwinkooi6669
@erwinkooi6669 3 роки тому
And as it turns out, "it depends"... 🤓 I switched from Tasmota to ESPhome a year ago, as I like to have more control over functions and scripts inside the controller. But then, I am quite well versed in programming. For people getting started in home automation, I still recommend Tasmota.
@AndreasSpiess
@AndreasSpiess 3 роки тому
So we are "on the same page"... My Tasmota works fine on my Sonoff Dual for the lab.
@BlownMacTruck
@BlownMacTruck 3 роки тому
I agree. I love ESPhome because I come from a coding background and its workflow is super convenient to me (aka I'm used to compiling / uploading all from the command line and I can easily parse and edit YAML in various IDEs / editors). It's highly extensible with a bunch of its modules as well and I like that you can talk to Home Assistant directly without running through MQTT. Tasmota is a lot more of a pain for me, but I can see how people less enamored with coding would prefer it.
@sebydocky5080
@sebydocky5080 3 роки тому
One important bonus of ESPhome is its direct integration in HA. You don't even need to pass data via MQTT. After, it's also possible to use any sensor with ESPhome as soon as there is an existing arduino lib. You need to build "custom sensor" with ESPhome.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I think I showed that there is a way to integrate new sensors. I tried it for about an hour and then gave up ;-)
@sebydocky5080
@sebydocky5080 3 роки тому
@@AndreasSpiess Well it's a bit tricky the first time but I managed to integrate like that many many I²C sensors...
@kylehase
@kylehase 3 роки тому
The Esphome add-on can flash by USB. I do this for new nodes. You just have to connect the esp device then restart the add-on for the port to appear.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right. As mentioned in the video, it is a Docker problem
@EsbenDamgaard
@EsbenDamgaard 3 роки тому
Configuring deep-sleep on esphome, you could instead of the timeout, create an automation on the device (although i have not tested this): sensor: - platform: dallas on_value: then: - deep_sleep.enter: deep_sleep_1
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks. I think I would have to wait till the MQTT messages are sent before I start deep-sleep. I will have a look at it in the future.
@marcdraco2189
@marcdraco2189 3 роки тому
Hi Andreas, one small point, for most ARM MCUs, there's no real advantage between C/C++ and assembler. This made me sit up and think and I've noticed that modern compilers can make very efficient code without having to use (very hard) C shortcuts. It makes for much more portable and readable code without sacrificing speed!
@AndreasSpiess
@AndreasSpiess 3 роки тому
And there are other languages like Micropython around the corner...
@marcdraco2189
@marcdraco2189 3 роки тому
@@AndreasSpiess LUA too for the ESP boards but I do like my C for crushing quarts into tiny spaces while annoying older C programmers by writing verbose code that compiles to almost nothing while remaining readable!
@azakowsky
@azakowsky 3 роки тому
great stuff!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks!
@haldir234
@haldir234 3 роки тому
You have the Developer tools in Home Assistant for seeing the sensors and everything else :D it is awesome check it out.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe I will do that in the future...
Beginner's Guide to ESPHome ESP8266, ESP32, Beken Devices and more
33:46
Use the very attractive new ATTINY chips for your projects
14:34
Andreas Spiess
Переглядів 189 тис.
skibidi toilet 73 (part 1)
04:46
DaFuq!?Boom!
Переглядів 30 млн
GADGETS VS HACKS || Random Useful Tools For your child #hacks #gadgets
00:35
442 9 Hurdles of Home Assistant I Had to Overcome
16:39
Andreas Spiess
Переглядів 88 тис.
Build your own CT Clamp Power and Energy Monitor with ESPHome
9:34
Speak to the Geek
Переглядів 63 тис.
#328 ESP32 Secrets: Interrupts, and Deep-Sleep under the Hood
18:57
Andreas Spiess
Переглядів 171 тис.
#363 Which ESP32 pins are safe to use?
11:53
Andreas Spiess
Переглядів 123 тис.
This is SO Much Better! Getting Started with ESPHome 2021
29:42
Everything Smart Home
Переглядів 318 тис.
Why Didn't Anyone Think Of This Sooner?
8:34
The DIY HVAC Guy
Переглядів 215 тис.
461 The Tools and Organizers I Use (with some tricks)
15:32
Andreas Spiess
Переглядів 81 тис.
#332 ESP32  OTA tutorial with tricks (incl. OTA debugging)
10:17
Andreas Spiess
Переглядів 130 тис.
Какой MacBook выбрать в 2024 - М1, М2 или М3?
24:56
I had no idea SHEIN sold PC parts…
27:10
Linus Tech Tips
Переглядів 1,4 млн