Category Archives: Uncategorised

How to add Cleverio lights to Home Assistant

Hi guys, long time since posting, so here is a simple little guide!

Today i’m going to walk you through the (very basic) process of adding Cleverio lights into Home Assistant, it’s very straight forward, thought that i could create an article for this so more people know that it works. Not everyone affords Philips Hue, right? 😉

Can be any Cleverio light, GU10, E27 or E14, in my case i will be using GU10 RGB, which were very affordable, about $8.5.

We will begin by adding the light to an app called TuyaSmart (Link -> android, iOS). Why should i install Tuya instead of SmartLife that Cleverio actually recommends you may ask? Because SmartLife app isn’t compatible with Home Assistant unfortunately. (it’s basically the same app with a different skin)

Anyway, here we go:

  1. In TuyaSmart app, go to lighting and click on Lighting (Wi-Fi) (on Swedish belysning) (register an account first obviously)


2. Follow the instructions on-screen, which basically is, wait for the light to flash.

3. When the light is successfully added to Tuya go to Home Assistant

4. In Home Assistant, go to Configuration > Integrations > click the + icon > Search for Tuya > Add

5. Finished!


Couldn’t be more simple, right?


Questions? Comment down below




Home Assistant – How to configure the SMTP component (Gmail)

Morning guys!

Today im going to show you how to configure the SMTP-component so that you can send e-

mails from Home Assistant! My other article shows some examples of what you can use the SMTP-component for.

  1. The first thing that you have to do is enable the SMTP-component – start by copying the code below and add it to your configuration.yaml file.

Make sure to change sender, username, password and recipient before you save your configuration. If you use another provider than gmail you will have to change the smtp-server and port also.

Another heads-up is that if you have 2-factor authentication enabked on your Google account you’ll need to create an app password to use instead of your ordinary password – how do i create an app password?



  - name: gmail
    platform: smtp
    port: 587
    timeout: 15
    encryption: starttls
    password: SECRETPASSWORD
    sender_name: Home Assistant


2. Restart Home Assistant (make sure that you don’t get any errors after the reboot)

Done! Now you can use this in your automations to notify you about stuff!

This article covers how you can send notifications base on the state of your robot vacuum



Home Assistant – Roborock Automations

Hello Roborock enthusiasts!

In this little guide i will share with you how to get the most basic notifications from your Roborock vacuum using automations.yaml in Home Assistant!

I will add more automations as i keep using the Roborock S5, so stay put on some more useful automations!


You will need the following:

Make sure to change notify.ios_device to your own notification service.

And then add the following to your automations.yaml file and restart Home Assistant.

Cleaning started:

- id: 'Vacuum_started'
  alias: Vacuum Started Notification
  - entity_id: vacuum.xiaomi_vacuum_cleaner
    from: docked
    platform: state
    to: cleaning
  condition: []
  - data:
      message: Roborock started to clean!
    service: notify.ios_device

Cleaning completed:

- id: 'Vacuum_complete'
  alias: Vacuum Complete Notification
  - entity_id: vacuum.xiaomi_vacuum_cleaner
    platform: state
    to: docked
  condition: []
  - data:
      message: Cleaning complete - Charging
    service: notify.ios_device


For more information about how to get started with Home Assistant click the link below:

Retrieve full download URL in Google Chrome

Hello geeks!

What do you do when the Copy link address button isn’t there?

Today i’m going to show you how to retrieve the full download URL (with file extension) for any download in Google Chrome. WGET for example requires the “true” download url, with file extension in order to download the file.

I’m guessing that you’ve already know that you can press “Copy link address” on many Download buttons to retrieve the download URL, if not, know you know.


But what if you’re not seeing the “Copy link address” button, like this?

Or what if the link you get when pressing Copy link address is a redirect or just not the direct download path to the file?

Then you simply do this:

  1. Press the Download button
  2. Open Downloads (CTRL + J)
  3. Right click the downloaded file, and press copy link address


Or if you want to dig down deeper, you could extract the URL using inspect-mode:

    1. Start Google Chrome, and have your download button ready, don’t press it yet.
    2. Open Inspect-mode (CTRL + SHIFT + I)
    3. In Inspect-mode, select Network
    4. Press your Download button
    5. Now immediately after, press Stop recording network log (CTRL + E)
    6. Now you should see the raw file under Name, in this example ChromeSetup.exe
    7. Right click on ChromeSetup.exe -> Copy -> Copy link address (see picture below)
    8. Now you should have copied something like this

I hope that this was helpful & feel free to comment down below if you have any questions 🙂


1 0


Free Public Pi-hole DNS-servers

What is Pi-hole?

TL;DR: Pihole is basically a filter that your internet traffic goes through, and if ads is detected, they will get filtered out. Unfortunately not all ads will get removed (Youtube ads for example) but it does a very good job at ordinary webpages. Watch the video of a more indepth explanation.


Long list of public pi-hole servers:

Guide on how to change DNS-server on Windows 10:

Continue reading

[PS] Set Print Layout or Web Layout to default in Word 2016

Registry value:


PreferredView (0) = Print Layout

PreferredView (1) = Web Layout


Creating a scheduled task that sets Web Layout or Print Layout at login:

1. Create PS file with the following content, and save it somewhere

 New-ItemProperty -Path "Registry::\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Word\Options" -Name "PreferredView" -PropertyType DWORD -Value "0" -Force 

2. Create a task schedule that runs this Powershell-script att login.

FontInstall – A simple tool that can install fonts on remote computers


One of my first created softwares/tools that i actually have real use of, is FontInstall it is a simple tool that you can use to install fonts to a another computer in your corporate network silently.


  • Windows 10
  • Launch the program with an account that has administrative access to the remote computer

Current drawbacks:

  • Only works with .ttf and .otf files currently
  • One .ttf/.otf file at a time
  • Kinda slow

Click here to download


0 0