This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

ChirpHub Widget


ChirpHub is a service that allows users to connect sensors and other devices to the internet.

The ChirpHub WordPress widget allows ChirpHub users to format and display information from their devices on their WordPress blog.


This section describes how to install the plugin and get it working.

  1. Upload chirphub-widget.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php do_action('plugin_name_hook'); ?> in your templates


How do I add variables to my status message?

Variables are special words that start with a “$” character. These words are replaced by the value of the variable when the status is displayed.

For example, to have your device status shown as:

We are open as of Monday 8:30 AM. 

your status format should look like this:

We are $message as of $day_of_week $time. 

What variables are available to add to my status format?

All of the ChirpHub variables that apply to your device are available through this widget. At present, the list includes:

  • $a00 through $a07 are analog sensor values (range 0.00 to 100.00)
  • $d00 through $d12 are digital port values (either 0 or 1)
  • $date is the date in “mm/dd/yyyy” format
  • $day_of_week is the day of the week (range “Sunday” to “Saturday”)
  • $message is either “open”, “closed”, or “lunch”
  • $signal_strength is the WiFi received signal strength (range 0 to 100)
  • $time is the time of day in “hh:mm AM” format
  • $wakeup_reason is either “2” for timer-triggered or “3” for manually triggered

Can I add HTML to the status message?

Yes, just write or paste the HTML code right into the status message text box. You can also put ChirpHub variables into your HTML, like this:

We are <div style="font-size: 50px;"> $message </div> as of $day_of_week $time. 

Contributors & Developers

“ChirpHub Widget” is open source software. The following people have contributed to this plugin.

Translate “ChirpHub Widget” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Allow raw HTML to be pasted directly into the status message format field.


  • Improved backwards-compatibility with version 1.0.


  • Added user-formatted status messages.


  • Initial version.