Over the last few years of compiling Sonoff builds with the Arduino IDE and lately PlatformIO, I've come to realise that I've just got lazy. This is simply the fastest and easiest way to flash a Sonoff board with either ESPEasy, Espurna or Tasmota. If your new to this flashing stuff, this will make things real easy!
Find the downloads below. The ESPEasy zip file is the one that has the two tools you need.
Simplest way to flash ESP8266 and Sonoff | No command line here!Pete Stothers2018-02-26 | [UPDATE Feb 2020] Tasmota now has its own flashing tool. Check it out here github.com/tasmota/tasmotizer
Over the last few years of compiling Sonoff builds with the Arduino IDE and lately PlatformIO, I've come to realise that I've just got lazy. This is simply the fastest and easiest way to flash a Sonoff board with either ESPEasy, Espurna or Tasmota. If your new to this flashing stuff, this will make things real easy!
Find the downloads below. The ESPEasy zip file is the one that has the two tools you need.
Oooh, and if you liked this video, please give it a thumbs up.DIY Type C Adapter for AA BatteriesPete Stothers2021-10-30 | My simple hack using 20mm conduit joiners and 20mm flexible conduit to adapt a NiMH AA battery into a type C for use in my Sureflap Cat Door. Works a treat!
Use my affiliate links below (at no cost to you) to help the channel grow and allow me to buy more gadgets to test and break!
Support my channel by choosing to rackmount your gear 30% faster using Rackstuds! Amazon USA: amzn.to/2Ec4jpz Amazon Canada: amzn.to/3g0vEsk Amazon UK: amzn.to/3aCLisQDJI Osmo Mobile 2 Gimbal Battery ReplacementPete Stothers2021-10-30 | Somewhat difficult to do as the unit is sealed but I show you how to do it with minimal case damage. Did a couple of hours of filming with it today so repair is a screaming success.
Support my channel by choosing to rackmount your gear 30% faster using Rackstuds! Amazon USA: amzn.to/2Ec4jpz Amazon Canada: amzn.to/3g0vEsk Amazon UK: amzn.to/3aCLisQCytron SmartDriveDUO-60 motor controller unboxingPete Stothers2021-01-25 | A quick look at the Cytron dual motor driver. This thing is awesome if you need differential control of two motors at up to 48VDC and 60A! I have a special project in mind and Cytron were kind enough to send me a sample to test. Video of the motor controller in action in the pipeline.
Cytron motor controllers are made in Malaysia and available through their awesome maker store cytron.io or at Amazon using my affiliate link below.
Support my channel by choosing to rackmount your gear 30% faster using Rackstuds! Amazon USA: amzn.to/2Ec4jpz Amazon Canada: amzn.to/3g0vEsk Amazon UK: amzn.to/3aCLisQ Amazon Germany: amzn.to/3kTU6PxHow I built my Home Assistant touchscreenPete Stothers2020-08-23 | A quick overview of the low-cost approach I used to mount a Samsung Galaxy Tab into a picture frame for a family friendly Lovelace based home automation touchscreen.
Support my channel by choosing to rackmount your gear 30% faster using Rackstuds! Amazon USA: amzn.to/2Ec4jpz Amazon Canada: amzn.to/3g0vEsk Amazon UK: amzn.to/3aCLisQ Amazon Germany: amzn.to/3kTU6PxHow to turn a Chromecast into a Chromecast Audio for under $6Pete Stothers2020-08-17 | A quick video on how to get audio from a standard Chromecast using a HDMI audio extractor for less than $6! Audio output (at least with this variant) is Toslink, Coax and 3.5mm analogue. Bonus tip at the end of the video.
With the Chromecast Audio being end-of-life, getting Google audio into your speakers and audio systems is a lot more difficult. Here is a workaround though that may even be a better solution.
1. Home Assistant Config add-on 01:50 2. Atom Keymap add-on 04:00 3. Indent Rainbow add-on 05:20 4. Rainbow Brackets add-on 06:15 5. Home Assistant Tools 07:10 6. Home Assistant config in action 08:20 7. Global Search 11:30 8. File Search 14:05 9. Managing Tabs 15:10
P.S For those wanting mdi icon auto-complete like the VSCode Home Assistant add-on, simply search the extension library for materialdesignicons-intellisense and install that. Wait about 2 minutes for it to update and now when you type icon mdi: it will start searching the MDI icon library. Cool.
Oooh, and if you liked this video, please give it a thumbs up.Home Assistant MariaDB Inspection with phpMyAdminPete Stothers2020-04-11 | A quick video to show you how to see what entity state changes are filling up your Home Assistant database if you're using the MariaDB add-on. Sorry about the soft voice. Was very late at night. :)
Paste the code below into the SQL query box: select entity_id,count(*) from states group by entity_id order by count(*) desc;
And if you're using the internal home-assistant_v2.db instead, you can use the SQLite Web add-on to achieve the same thing.
Oooh, and if you liked this video, please give it a thumbs up.A great dashboard for Home Assistant (HomeHabit)Pete Stothers2020-01-10 | A quick overview of some of the key features and functions of the excellent HomeHabit Android App. I'm my opinion, it's one of the most feature rich and functional dashboards out there and is relatively easy to set up with a remote config editor and them ability to save an restore configuration files so you can upload them to other devices.
The developer is also fairly active and responsive which is real nice too!
Oooh, and if you liked this video, please give it a thumbs up.How I made an IP65 Zigbee Sensor for Home AssistantPete Stothers2019-10-09 | I use four of these sensors around the property connected to a Conbee II Zigbee stick and of course Home Assistant. By adding an additional reed switch I was able to squeeze the Xiaomi window/door sensors into the smallest possible box.
Furthermore, by utilising a rare earth magnet, I was able to increase the range achievable between the magnet and reed switch while keeping it all waterproof.
Oooh, and if you liked this video, please give it a thumbs up.Home Assistant | Using a Shelly PM1 to make a dumb device smartPete Stothers2019-09-30 | In this video I explain how to track the power a device consumes using a Shelly PM1 to report it states correctly in Home Assistant. In my use case, I've made a 433Mhz fan that had no feedback smart by tracking its power consumption including correctly reporting the fan speeds.
Oooh, and if you liked this video, please give it a thumbs up.Making an outdoor motion sensor smart with a Shelly 1Pete Stothers2019-08-03 | I figured out you can fit a Shelly 1 inside the case of many outdoor motion sensors. Coupled with that fact that recently, Shelly added a feature to de-couple the switch from the relay so they act independently, makes this a great combo! Simply wire the output of the PIR motion sensor (the wire that normally goes to your outdoor light) to the switch input of the Shelly and wire the lightbulb to the L output of the Shelly.
Then, in the Shelly app or directly via the devices webpage, select the button type as 'Detached Switch' and use the code link below to make it work normally in Home Assistant (packages).
Don't forget to adjust the daylight sensitivity to full daylight if you want the motion detection to work 24/7
Oooh, and if you liked this video, please give it a thumbs up.Installing HassOS on Intel NUC [No Sound]Pete Stothers2019-01-17 | This is a real time account of the installation process for copying the Hassio image to a NUC's SSD using the Linux DD command. Sorry, used my HDMI screen recorder for the 1st time so no sound on this one. Use this method when you can't remove the drive and connect it to your main computer for flashing. I left it in real-time so you can see how long it takes. Last bunch of commands is after I pushed the power button.
• Copy the gz file here to a USB drive (home-assistant.io/hassio/installation) • Boot your NUC with any Linux Live Distro ( I used Parted Magic) • With File Explorer, note the drive the GZ file is located on (mine was /media/sdc1) • Use the following command to image the NUC’s SSD assuming it is sda.
gunzip -c /home/ubuntu/Downloads/hassos_intel-nuc-2.5.img.gz | sudo dd of=/dev/sda as he had downloaded the GZ using a live Ubuntu install instead. Both methods work.
Oooh, and if you liked this video, please give it a thumbs up.How To Use Synology Chat with Home AssistantPete Stothers2018-11-15 | Get notifications and now images sent to your mobile from Home Assistant so you can keep an eye on your house. If you own a Synology NAS, this is a totally free notification option with no file limits. Awesome! Thanks to @cmsimike for the addition of the file_url support.
Oooh, and if you liked this video, please give it a thumbs up.Shelly2 killer feature | 2-way switchingPete Stothers2018-09-30 | A hard to find feature at this price level for wall switches. Having a 'live' switching input allows you to add the Shelly to existing house wiring with traditional 2-way, 3-way switches. Simply set the Shelly's relay to 'Edge' switching.
Oooh, and if you liked this video, please give it a thumbs up.Shelly2 GUI overview and API control using POSTMANPete Stothers2018-09-28 | A quick overview of the GUI in the Shelly2 and how to turn relays on and off with POSTMAN, an add-on for Chrome.
Shelly1 on Amazon amzn.to/2Qdexag Shelly2 on Amazon amzn.to/2Io5aSf Robs config for Home Assistant github.com/thehookup/shelly1tasmota/blob/master/Shelly2YAML.yamlShelly2 WiFi Double Relay Switch | Quick OverviewPete Stothers2018-09-28 | A quick look at connecting a standard light switch (NZ/AU) to a Shelly2 and how that relates to its WAF. Very impressed with this tiny device and thanks to Rob at the Hook Up for his recommendation and assistant with the API. Will be buying more when back in stock.
Oooh, and if you liked this video, please give it a thumbs up.DIY vacuum tube solar pool heating part IIPete Stothers2018-08-16 | Sitting in the sun this time and trying to heat the pool. I automated this in Home Assistant and measured the in and out temperatures and controlled the pump with a PWM output so I could vary the flow rate.
Sadly, not enough surface area here to make even the tinniest dent in my pool. Lots of coils of irrigation hose on the roof it is!Using MQTT Dashboard to create a button or switch in less than 5 minutesPete Stothers2018-02-26 | My follow-up video that shows you how to add an active button or switch to MQTT Dashboard to allow you to control something like a Sonoff flashed with ESPEasy, Espurna or Tasmota.
Now that my channel is no longer monetised, help me out by using my affiliate link on Amazon. Cost you nothing but helps me buy gadgets to test and review.
Oooh, and if you liked this video, please give it a thumbs up.How to build a home automation dashboard in less than 8 minutesPete Stothers2018-01-21 | The follow-up video to my mqtt_statestream video on Friday. Today I show you how to build an easy to read dashboard on your tablet in under 8 minutes. No PC or Mac required.
Seen my invention yet? rackstuds.comHow to use mqtt_statestream in Home AssistantPete Stothers2018-01-19 | I'm back! Moved to a new house 7th December and still can't get in the garage. Left my whole home automation set up behind and starting again...heh. 2km of wiring to run over the next 6 months and full-on into Hass/Node-Red this time.
This video shows you how to initially 'sniff' all of the topics Home Assistant is automatically broadcasting to your MQTT broker for you. Very nice of them. Makes building dashboards using MQTT clients like MQTT Dashboard extremely easily. Next video will show you how I made the dashboard itself.DIY (sort of) vacuum tube solar pool heatingPete Stothers2017-11-21 | Purchased this open vacuum tube array on our local trading site for $300 bucks and in my first test, it heats the water to 32.4C/90F in one hour from 18.9C/66F so working pretty good. I used a 12~24VDC circulating pump with a flow rate of around 11 litres per hour (3gpm) like this one here http://amzn.to/2iCAaSP.
Very impressed so far and somewhat easier than trying to make my own poly pipe array? Now to try and heat 19,000 litres to 30 degrees!
Of course, going forward the pump with be controlled using MQTT with two temperature probes, one in the pool and one in the hot side of the solar array. With some Home Assistant automation, I'll keep the pump circulating as long as the sun is up and the hot side of the solar array is hotter than the pool.Sonoff configured as 2-way switchPete Stothers2017-06-30 | A quick overview of how I used the rules capability in ESPEasy to create a sudo 2-way circuit leveraging MQTT. Here are the rules to make it happen.
## Sonoff1 ## on button#state do if [relay#state] = 0 GPIO,12,1 else GPIO,12,0 endif endon
on relay#state do if [relay#state] = 1 gpio,13,0 Publish /sonoff2/gpio/12,1 else gpio,13,1 Publish /sonoff2/gpio/12,0 endif endon
## Sonoff2 ## on button#state do if [relay#state] = 0 GPIO,12,1 else GPIO,12,0 endif endon
on relay#state do if [relay#state] = 1 gpio,13,0 Publish /sonoff1/gpio/12,1 else gpio,13,1 Publish /sonoff1/gpio/12,0 endif endon
Enable rules under Tools, Advanced near the bottom. Great video on how to use ESPEasy rules here youtube.com/watch?v=Hq253MiRjPs
Oooh, and if you liked this video, please give it a thumbs up.Sonoff GPIO high current control using PWM and Mosfet PCBPete Stothers2017-06-27 | A quick overview on how to use an external MOSFET board to allow a GPIO pin to control a higher current. In my example, I control the MOSFET board with a PWM signal which is ideal. The MOSFET boards are available on AliExpress for less than $1.20!
To control an ESPEasy GPIO pin using MQTT with PWM use /devicename/pwm/gpiopinnumber and a value between 0 and 1024. To turn the GPIO on or off (assuming GPIO 13) use /devicename/gpio/13 and a payload of 0 or 1.
http://xbmcnut.blogspot.co.nzHow to enable SSH on Hass.io using encrypted keysPete Stothers2017-06-26 | How to access your Pi with Hass.io installed using public and private keys under SSH. Contains a trick for ensuring that the keys get pasted correctly.
Oooh, and if you liked this video, please give it a thumbs up.How to add HomeBridge easily to Hass.io for Siri controlPete Stothers2017-06-16 | The HomeBridge plugin github.com/nfarina/homebridge allows control of Home Automation devices with IOS and Siri. This hass.io port of the plugin allows you to install HomeBridge on your Home Assistant instance running under hass.io in under 2 minutes flat with no command line stuff whatsoever. Brilliant.
http://xbmcnut.blogspot.co.nzVoice control of a H801 WiFi LED ControllerPete Stothers2017-06-14 | A quick overview of my flashed ESP8266 based H801 WiFi LED controller. After flashing, control via MQTT is possible. I flashed espurna-1.8.1-h801-debug.bin after compiling it myself to run as a RGB controller only. The default bin file has it defined as RGBW.
Get the H801 on AliExpress at the Tomshine lighting Store using this link http://s.click.aliexpress.com/e/vVNBM7E. Search 'H801 WiFi'. Buy it using the AliExpress app to save even more.
To control via MQTT, publish a color code (e.g. #FF0300) to /test/switch/your_device_name/color to set the color. You can get the color values here w3schools.com/colors/colors_picker.asp.
Voice control is possible by adding MQTT commands to ha-bridge and then by adding shortcuts inside the Google Home app to modify the standard ha-bride command of 'Hey Google, turn on...to just 'Island Red' in my case to turn the LED's around my kitchen Island red. Much more wife friendly!
To quickly flash the H801 with espurna-1.8.1-h801-debug.bin, download it using the link above and also download the latest zip from github.com/letscontrolit/ESPEasy/releases. Unzip the downloaded ESPEasy zip somewhere and pop the espurna-1.8.1-h801-debug.bin inside the ESPEasy_vx.x.x folder with the other bin files. Run the 'FlashESP8266.exe', pick your com port and then select the espurna-1.8.1-h801-debug.bin file instead of one of the ESPEasy files and you're good to go.
One assumes you mounted pin headers to your H801 and put it in flash mode.
http://xbmcnut.blogspot.co.nzTopping VX2 Digital Amplifier ReviewPete Stothers2017-06-14 | A quick overview of the Topping VX2 digital audio amplifier being used with an optical input from a Google Chromecast audio. The perfect little amplifier with a very good signal-to-noise ratio for creating a Google Home audio zone in your house.
Buy from the TZT Trading store on AliExpress using this link http://s.click.aliexpress.com/e/fyzZnQr . Search for 'VX2'.
Specs: - Maximum output power: 40W (RL=4Ω, THD+N=10%); 35W (RL=8Ω, THD+N=10%) - Output resistance: less than 0.84Ω - Minimum THD+N: 0.052% - THD+N(@1kHz): 0.076% - Frequency response: 20-20kHz ± 1.7dB - Digital input: Coaxial & Optical (24bit/192kHz); USB (24bit/96kHz)
http://xbmcnut.blogspot.co.nzQuick overview of Hass.io from Home AssistantPete Stothers2017-06-05 | A quick (croaky) run through of the newish Hass.io build of Home Assistant that makes it much easier for noobs to manage Home Assistant. Liking it very much so far. More info on Hass.io here: home-assistant.io/hassio
P.S Sorry about the voice. Vocal cords had some surgery on Monday!Running ha-bridge inside LibreELEC on your Pi2/3Pete Stothers2017-03-06 | Note: DO NOT use 'localhost' as the IP address shown in the video. Use the IP of your Pi instead.
Yes seriously! You can now run the excellent ha-bridge software on LibreELEC inside a Docker container. Wow...this is great. Full write up on how to do this here:
If you liked this video, please give it a thumbs up :)Controlling Imperihome pages using HTTP GET requestsPete Stothers2016-11-30 | A quick (and rough) video on how to control the pages on your Imperihome Dashboard using a HTTP GET request. Enable the HTTP server inside the Imperihome settings and then use the Chrome plugin 'Postman' to test. Send the following:
phoneip:8080/api/rest/dashboard/gotopage?pageIdx=0 to go to the homepage phoneip:8080/api/rest/dashboard/gotopage?pageIdx=1 to go to the 2nd page and so on.
You can also send a GET request to make Imperihome talk! Try this: your_device_ip:8080/api/rest/speech/tts?text=Hello
Of course, ensure to put http:// in front (I removed them to make the whole URL visible).
Knowing all this, you can then use ha-bridge to to create a GET request to control the pages via Alexa or Google Home! Will also allow you to interface your dashboards into your smart home system to call them on demand...cool.
getpostman.com github.com/bwssytems/ha-bridgeWanhao Duplicator i3 Plus quick unboxingPete Stothers2016-09-15 | A quick look at what comes in the box when you buy from AliExpress direct. I was pleasantly surprised. Arrived in 5 days via UPS even though the seller said it would go via EMS.
The printer is currently on sale @ 13% off ($329.73) but if you download the app and do the actual purchase there, you'll get another $7 off which is a great deal.
Shipping to NZ was $98 USD where as the standard i3 was $120 for some reason so it only cost me $59 NZD extra to get this improved model with a touch screen and standard SD card reader.
Next video will show it assembled (hopefully) with a small print underway.Batch renaming photos using photo date and time with the FREE Irfanview programPete Stothers2016-07-06 | How to use the batch rename feature in Irfanview pulling the date and time from the photo (EXIF data) and automatically sorting them into folders based on the year the photo was taken. Sort your photo library in seconds for free!
Here is the code to use for the "Name Pattern" $E306(%Y%m%d-%H%M%S)-####
Here is the code to append to your "Output Directory" $E36868(%Y)
Download Irfanview here http://www.irfanview.com/main_download_engl.htm. The 64bit version (which I used) is here http://www.irfanview.com/64bit.htm.5 touchscreen home automation controller for under $100Pete Stothers2016-05-26 | How I turned a $90 smart phone into a Vera touchscreen home automation controller. Not pretty (wife was none too happy) but until I get a 3D printer, it will do just fine.Aeon Labs touch panel light switch - quick reviewPete Stothers2016-04-15 | A quick review of the Aeon Labs touch dimmer. Very cool and very happy with the purchase. Will get more in the future. Despite the instructions, works with any Z-Wave frequency as it's just a switch folks but needs a micro Z-Wave dimmer in behind it. You can get them on Amazon for under $20 http://amzn.to/1TVrofS. Micro dimmers to go behind the wall switch are here http://amzn.to/2aangYE.[SOLVED] Dremel 3000 stopped working (Part 2)Pete Stothers2015-12-10 | Repairing the stator winding to the switch connections.
If you liked this video, please give it a thumbs up :)Dremel 3000 test run after repair (Part 3)Pete Stothers2015-12-10 | Does it fire up after my stator repair? Yes it does!
If you liked this video, please give it a thumbs up :)Dremel 3000 just stopped working (Part 1)Pete Stothers2015-12-10 | A look inside my Dremel to see if I can find out why it just suddenly stopped.
If you liked this video, please give it a thumbs up :)
Need a new one? Get that here http://amzn.to/2qvGBccXBMC on Raspberry Pi using Xbian and CEC control with a Sony TV RemotePete Stothers2013-07-05 | A quick overview of XBMC with Xbian (1.1Beta) using CEC control over HDMI to control the Pi. Remapped coloured buttons to provide Context menu, Info, Update (video) library and Clean (video) library. Shows how well it works as a media centre albeit with a little delay when the GUI changes. More than usable though and a very effective and totally silent HTPC with seamless integration through the Sony TV Remote.