Step-by-step setup for the Xiaomi Plant Flower Care

Here’s a walkthrough for setting up the Xiaomi Plant Flower Care BLE device on an Android device.

  1. Unpack the device from the packaging
  2. Install theĀ free Mi Home App (Google Play Store/iTunes App Store)
  3. Turn Bluetooth on your Android device
  4. Open the Mi Home App
  5. Sign in or create a new Mi Home account
  6. From the opening My Devices screen click the top right “+” (plus) symbol
  7. Select “Add device” from the dropdown menu
  8. Pull the exposed plastic tab from the Xiaomi Plant Flower Care device to turn it on, if you have previously done this open the cover and unset/re-set the battery
  9. When the “Flower care” device appears select it
  10. Wait while the Bluetooth connection is established and the latest device firmware is installed
  11. From the initial Devices tab select the Flower Care device

That’s it! You’re good to go!

Screenshots

Configuring WordPress after installing on Google Cloud Platform using Click to Deploy

Following on from Fixing Installation Failed message on Bitnami WordPress and Google Cloud Compute EngineĀ I recently tried installing WordPress within Google Cloud Platform using Google Click to Deploy.

As always the installation and initial setup is a breeze, open up Google Cloud PlatformĀ and within the search bar type in “WordPress”, one of the available options is called “WordPress – Click to Deploy”, select that then enter the following details:

  • Deployment name (this cannot be changed so think about it…)
  • Zone (where you want your instance to exist; us-west1-b is my favourite)
  • Machine Type (small 1 shared vCPU is plenty to start with and can be changed at any time without affecting site downtime)
  • Administrator E-mail (your e-mail address)
  • whether you want phpMyAdmin installed (if you’re using WordPress then this is very handy to have access to)
  • Disk type and size (Standard Persistent Disk and 10 GB is plenty to start with)
  • Automatic firewall rules for HTTP/HTTPS traffic (turn this on or you’ll need to do it later)

Then hit Click Deploy and away it goes, a minute or so later a set of logins are provided including a default admin WordPress User and login details, if phpMyAdmin was selected a default root User login is provided.

By default a dynamic IP is allocated to your WordPress instance so you’ll need to open Menu > Networking > External IP address and change the type to Static for persistent WordPress sites.

If you intend to manage your WordPress site via SFTP (FTP over SSH) then you’ll need to adjust your SSH user so that it can create and edit files within the base WordPress directory, to do this open the Google Cloud Shell within your WordPress instance by opening Menu > Compute Engine > VM Instances > under the Connect column beside your WordPress instance click SSH.

id
sudo useradd -G visser www-data

(replace visser with your SSH user name displayed when you enter id)

Adjust the file permissions and ownership of wp-config.php within your base WordPress directory then create a new .htaccess file.

sudo chown www-data wp-config.php
sudo chgrp www-data wp-config.php
sudo chmod 664 wp-config.php
sudo touch .htaccess
sudo chmod 664 .htaccess
sudo chown www-data .htaccess
sudo chgrp www-data .htaccess

Lastly let’s change the WordPress URL from the IP address allocated (e.g. http://35.197.92.168 to http://visser.io) and turn on Permalinks.

To change your WordPress URL open the WordPress Administration using the logins provided when your WordPress instance was created then open the Settings > General screen. Change only theĀ WordPress Address (URL) field to your preferred URL – do not change theĀ Site Address (URL) field – then hit Save Changes.

To enable Permalinks open up the General > Permalinks screen, within theĀ Common Settings section change the radio button selector toĀ Custom Structure and within the text input field paste the following (or your preferred Permalink structure):

/%year%/%monthnum%/%day%/%postname%/

Hit Save Changes to apply changes.

That’s it šŸ™‚

Same site, minus the professionalism

Hi there, I’m setting up my new personal site to showcase my hobbies, interests and aspects ofĀ personal life that weren’t suitable on visser.com.au; now a dedicated storefront for Visser Labs and our free/Premium Plugins for WordPress.

I’ll beĀ focusingĀ on the following topics:

  • Random projects
  • Other random projects
  • Some more random projects

Jump over to the About page for more information or go straight to Tools.