1 week ago

Blog In A Box: WordPress with Pi Camera, SenseHAT and GPIO

Automattic, the creators of WordPress.com, build Raspberry Pi blogging platform with Pi Camera, SenseHAT and GPIO access

Blog In Box is a new tool for Raspberry Pi from Automattic, the development company behind WordPress.com.

It is a graphical interface that builds an installer image for the Raspberry Pi. This software turns your Raspberry Pi into a blogging platform, that serves up a website (similar to WordPress).

However, Blog In a Box takes full advantage of the Raspberry Pi hardware. You can automatically capture photographs from the Pi Camera or access data from the SenseHAT.

Click here to download the installer tool and start using Blog In A Box.

Blog In A Box: WordPress meets Raspberry Pi

Set up Blog In a Box

Setting up Blog In a Box

“We wanted to do something with the Raspberry Pi,” said team member John Godley.

He told us: “We decided we’d really like an easy single package that would put a fully working WordPress system onto a Raspberry Pi in a way that will be useful for people to experiment and learn with.”

“We like to tinker ourselves,” he told us.

WordPress with electronics: Raspberry Pi camera, SenseHAT and GPIO

Blog In a Box SenseHAT readings

Blog In a Box SenseHAT readings

Blog In a Box enables makers to “connect up to Pi sensors and hardware, and have it all viewable in a smart looking way,” said John.

The installer tool is available for macOS, Windows and Linux. Using it, you configure the settings for your Raspberry Pi (wifi details, admin password). It then burns an image file direct to an SD Card.

Boot this card, and you have a working WordPress system with MySQL, PHP, and Nginx all installed and configured,” explains John. “When it’s finished booting WordPress is immediately available at bloginabox.local.

“The WordPress plugin and tools give you access to anything you connect to your Raspberry Pi. “We’ve added built-in support for the Camera Module and a SenseHAT, both of which can be controlled from WordPress and set to capture data and post it automatically.”

Nick told us: “Everything is open source and we’re hoping people can use it as a good base for all kinds of purposes.”

Edit: This story has been updated to mention that Automattic developed WordPress.com rather than WordPress/WordPress.org.

  • Nigel Young

    Interesting project if only i could actually log in to the darn thing. The instructions fail to mention this part.
    tried every log in i can think of plus all the generated passwords to no avail.
    Im sure i missed some point. After it boots it asks for “login” what is this???
    I know what the password is.
    Nothing I saw on installation asked what your login is.
    It mentions host name, which i tried but no go.
    New to this so if someone with more brain cells than me can shed some light i would be eternally thankful.
    Nigel

  • There are log-ins for all kinds of things on the final screen. I took a screenshot of it so I didn’t miss anything important. Re-do the install and you’ll catch all the log-ins next time.

  • Nigel Young

    Thanks Russell , I did the same, just printed a screen dump. Where it asked for login, then password. What format did you use for the login part?
    At first I thought it “biab” as that’s the default at least for some of the stuff.
    I suspect it’s something like “myblog@something maybe???

    Nigel

  • Andreas

    Also having trouble with login at the boot prompt, tried numerous reinstalls.
    Login to WordPress works fine but I cant get into the Pi after boot-up. The Pi Settings part lists a hostname and password, I guess that Hostname is the username?

  • Andreas

    Try using ‘pi’ as username and it should work. For some reason the installation tool never mentions this.

  • Nigel Young

    Jeez, how dumb am I? That works, Now to figure out how to use it.
    Thanks Andreas.

    Nigel