How bright are Philips Hue light bulbs?

Philips Hue offers different ranges of brightness in its smart bulbs so that you can get the perfect amount of light for any room in your home. Use this guide to learn more about lumens and smart bulbs, how to convert from lumens to watts, and how to choose the right brightness.

What are lumens?

Lumens measure how much light the human eye can see coming from light source — the brightness of a light bulb, for example. The higher the lumen rating, the brighter the light appears. This measurement is different from watts, which indicate the input power of a light bulb rather than its light output.

Model 1600 : Up to 1521 lumens

The brightest smart bulb from Philips Hue, this range comes in WhiteWhite ambiance, and White and color ambiance. Light up larger areas of your home, such as the garage or kitchen, with bright light for functional tasks, or dim down to set the mood. This range comes in standard A60/A19 bulbs with E26/E27 bases.

Looking for 100 W? If you want a bulb that’s as bright as a 100 W incandescent bulb, this is your pick.

Model 1100 : Up to 1055 lumens

This range offers powerful light in WhiteWhite ambiance, or White and color ambiance that fully illuminates medium-sized spaces, such as hallways — yet can still be dimmed to a low glow. You’ll find this range in standard A60/A19 bulbs with E26/E27 bases. 

Looking for 75 W? When converting lumens to watts, this bulb is the equivalent to a 75 W bulb.

Model 800 : Up to 806 lumens

The most common Philips Hue brightness, the 800 range of Philips Hue bulbs are available in WhiteWhite ambiance, and White and color ambiance. You’ll see this in the standard shape (A60/A19) and base (E26/E27). 

Looking for 60 W? This bulb is equal to how many lumens are in an incandescent 60-watt bulb.

Read more here

Copy live WordPress Site and Run inside Docker container

I am going to copy this site and run inside Docker Container.

STEPS

1-Pull WordPress and MySQL images using docker-compose, I am going to use docker-compose file.

version: '3.7'

services:
  db:
    # If you really want to use MySQL, uncomment the following line
    image: mysql:8.0.27
    command: '--default-authentication-plugin=mysql_native_password'
    container_name: wp-db
    volumes:
      - ./data/wp-db-data:/var/lib/mysql
    networks:
      - default
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: supersecretpassword
      MYSQL_DATABASE: db
      MYSQL_USER: dbuser
      MYSQL_PASSWORD: dbpassword

  wordpress:
    depends_on:
      - db
    image: wordpress:latest
    container_name: wordpress
    environment:
      WORDPRESS_DB_HOST: db:3306
      WORDPRESS_DB_NAME: db
      WORDPRESS_DB_USER: dbuser
      WORDPRESS_DB_PASSWORD: dbpassword
    volumes:
      - ./data/wp-content:/var/www/html/wp-content
      - ./data/wp-html:/var/www/html
    networks:
      - traefik-public
      - default
    restart: always
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.wordpress.entrypoints=http"
      - "traefik.http.routers.wordpress.rule=Host(`wp.dk.tanolis.com`)"
      - "traefik.http.middlewares.wordpress-https-redirect.redirectscheme.scheme=https"
      - "traefik.http.routers.wordpress.middlewares=wordpress-https-redirect"
      - "traefik.http.routers.wordpress-secure.entrypoints=https"
      - "traefik.http.routers.wordpress-secure.rule=Host(`wp.dk.tanolis.com`)"
      - "traefik.http.routers.wordpress-secure.tls=true"
      - "traefik.http.routers.wordpress-secure.service=wordpress"
      - "traefik.http.services.wordpress.loadbalancer.server.port=80"
      - "traefik.docker.network=traefik-public"

volumes:
  db-data:
    name: wp-db-data

networks:
  traefik-public:

3-Open container wordpress site and install “All-in-One WP Migration” plugin.

4-Go to source wordpress site and install “All-in-One WP Migration” plugin.

5-Create a File backup on source site.

6-Try to restore backup on target site

7-You will see following error;

<<ERROR>>

Increase size for All in one plugin;

8-We need to increase restore size. Search for .htaccess file in your linux root file system;

# find / -type f -name .htaccess*

9-Use nano editor to open this file;

# nano .htaccess

place the following code in it after # END WordPress commentd line:

php_value upload_max_filesize 2048M
php_value post_max_size 2048M
php_value memory_limit 4096M
php_value max_execution_time 0
php_value max_input_time 0

10-Save file. Open plugin and you will see that you are allowed to restore 2GB data.

11-Open WordPress container site. Do a comparison with online site.

Congratulations! You’ve done it. You can now easily import any file you’d like using this amazing plugin. Migrating your sites are not a hassle anymore!

Video

References

How to increase the all-in-one-wp-migration plugin upload import limit

https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/wordpress_migration_linux_appservices.md

Upgrade Debian from bullseye to bookworm and PVE7 to PVE8

Here is a short checklist to upgrade Debian to latest bookworm version;

Proxmox update goes with Debian Latest stable version. I am running BullEye and need to upgrade to BookWorm.

Run checklist (a small script that comes with Proxmox):

pve7to8

Fix errors and warnings reported by above script.

Next change repositories for Debian and Proxmos;

1. update the configured APT repositories
   apt update
   apt dist-upgrade
   pveversion

   This should report at least 7.4-15 or newer version.

2. CEPH
   nano /etc/apt/sources.list.d/ceph.list
   make sure there is just one entry.
	

3. Bulleye to BookWorm
   nano /etc/apt/sources.list
   or better, run this command to search and replace bullye to
   bookworm

   sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
   Output
   ------
   # security updates
   #deb http://security.debian.org bookworm-security main contrib

   # My repo changes
   deb http://deb.debian.org/debian/ bookworm main contrib non-free
   deb http://deb.debian.org/debian/ bookworm-updates main non-free contrib
   # security updates
   deb http://security.debian.org/debian-security bookworm-security main contrib non-free

   # PVE pve-no-subscription repository provided by proxmox.com,
   # NOT recommended for production use
   deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

4. APT Repositorys
   I don't have special repositories here. so don't worry about this.

Install this package if using EFI to boot box;

apt install grub-efi-amd64

To clear CEPH warnings, reset Ceph monitor on VM.

Remove any used packages with this command;

apt autoremove

Re-run scan;

pve7to8

Make sure to disable enterprise library if using evaluation version;

modify enterprise repo;

nano /etc/apt/sources.list.d/pve-enterprise.list

and add a # at the beginning. Save this file 

Restart your nodes one by one.

References

https://pve.proxmox.com/wiki/Upgrade_from_7_to_8

https://pve.proxmox.com/wiki/Ceph_Nautilus_to_Octopus

Video Recording

I am looking for a simple audio / video recording solution that can help me to record computer screens with audio.

I am planning to use OBD software. It’s free and open source. Here is a good tutorial on this tool.

download from here; It’s free.

https://obsproject.com

Set base resolution = 30fps, video will be crisp. I am leaving it to default.

OBS file extension is mkv. We need to remux to get MP4. The reason mkv is default, a lecture of 2 hours terminates after 1 hour then we would have the video up-to the point of failure. If we set default to MP4 then risk of loosing 2 hour lecture is very high. Leaving it to default. You will be Happy doing remux as a second step.

OBS start and stop buttons are visible. We can edit it in editing software or we can use shortcuts to start and stop the video. We can add Hot keys if we want. The path is Settings -> Hot Keys. Add your favorite keys here; Press

ALT + F2 = Start/Stop

ALT + F3 = Pause/Resume

#-1. To resize video of me, click on Video Capture device, press ALT key and resize. This will crop the image.

#-2. To record a specific area of screen, Click on Display Capture, Press ALT and zoom in to screen area. This will record that screen area.

#-3.   I can add a logo by dragging and dropping inside recording screen. I can make it smaller or larger.

#-4. To add a border around my face, add color source that match up with my logo. Add a color source.

#-5. To hide source from video, simply click (toggle) on the eye and my video or color source will go away.

#-6. To lock items, simply click on lock and now all of my sources are locked.

#-7. To have a cleaner interface, click on video, logo and color and make a group. Press shift, select sources and select “Group selected items”. Name them “Logo and Video”. This helps organizing my resources a little bit better.

#-8. This is trick. I am explaining and doesn’t want my face to show up. Click on Scene on the top. This will just show the desktop. When I am done with full desktop and wanted to bring back my face on the desktop, I can click on my focused scene “Proxmox performance – IPERF3”.

#-9. When I switch screen from scene to scene, it makes a hard cut. What if I want to add a transition? Click on Scene transitions and pick “Swipe”.

#-10. I don’t want OBS to shift my scene. Create following hot keys. Alt + F5.

#-11. I can add audio filters for example “Noise suppression”. This can help to suppress the noise of dog or lawn mower outside.

#-12. I can transform my resource. Click on the group and you can see transformation there.

#-13. We can re-arrange UI. To reset UI, click on View and Reset UI.

#-14. We can create profiles. Profile will store video specific scenes, for example “YouTube profile” etc.

#-15. Studio mode help us to preview without recording. The left side is live recording and right side is preview. We can make changes to the right side and when done click to swipe it to live view.

Now comes Video editing part;

There is another open source audio / video editing software, DaVinci Resolve. Here is the URL

https://www.blackmagicdesign.com/products/davinciresolve

This can be installed using admin account but wouldn’t be visible to user’s other than Admin. To make it visible to say Shahzad user account, copy admin profile to a user-defined folder e.g c:\video\blackmagic folder. Open folder and run it from there. took me some time to figure out this work around.

This one talks about cut page

pexals.com has free videos and audios that I can use in my videos.

Dafonts.com can be used to download fonts.

Here is  a 2 start. This one talks about adding text.

This one has more views;

Here is how to add audio on existing recording

https://www.makeuseof.com/davinci-resolve-how-to-record-voiceover-audio

The best thing is to use your iPhone for voice recording. Laptop voice sucks. In my simple case, I don’t need to buy any voice recorder.