{"id":18594,"date":"2012-06-14T18:54:59","date_gmt":"2012-06-14T18:54:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/chirphub-widget\/"},"modified":"2012-06-16T00:24:13","modified_gmt":"2012-06-16T00:24:13","slug":"chirphub-widget","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/chirphub-widget\/","author":9651551,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2","stable_tag":"1.2","tested":"3.4.2","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"ChirpHub Widget","header_author":"Joel Pearson, ChirpHub.com","header_description":"","assets_banners_color":"","last_updated":"2012-06-16 00:24:13","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/ChirpHub.com\/","header_plugin_uri":"http:\/\/ChirpHub.com\/plugins.html","header_author_uri":"http:\/\/ChirpHub.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":991,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.2":"<p>Any HTML entered into the status format field that was previously encoded using \nsquare brackets ( [  and  ] ) and single quotes ( &#039; ) should be changed to \nnormal HTML angle brackets (&quot;&quot;) and double quotes. In other words,\njust enter normal HTML.<\/p>","1.1.1":"<p>Minor update, no changes necessary.<\/p>","1.1":"<p>This release is backwards compatible with version 1.0, so no changes should be necessary.\nTo prepare for future releases, it is recommended that you replace your ChirpHub URL \nwith your ChirpHub device ID instead.\nIt is also recommended that you make use of variables in your status format. For example,\nto maintain the same format as in version 1.0, add &quot; $body.&quot; to the end of your status format.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[17373],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-18594","plugin","type-plugin","status-closed","hentry","plugin_tags-chirphub","plugin_committers-chirphub"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/chirphub-widget.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>ChirpHub is a service that allows users to connect sensors and other devices to the internet.<\/p>\n <p>The ChirpHub WordPress widget allows ChirpHub users to format and display information from their devices on their WordPress blog.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n <ol>\n<li>Upload <code>chirphub-widget.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place <code>&lt;?php do_action('plugin_name_hook'); ?&gt;<\/code> in your templates<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>How do I add variables to my status message?<\/h4>\n <p>Variables are special words that start with a \"$\" character. These words are replaced by the value of the variable when the status is displayed.<\/p>\n <p>For example, to have your device status shown as:<\/p>\n <pre><code>We are open as of Monday 8:30 AM. <\/code><\/pre>\n <p>your status format should look like this:<\/p>\n <pre><code>We are $message as of $day_of_week $time. <\/code><\/pre>\n <h4>What variables are available to add to my status format?<\/h4>\n <p>All of the ChirpHub variables that apply to your device are available through this widget. At present, the list includes:<\/p>\n <ul>\n<li><strong>$a00<\/strong> through <strong>$a07<\/strong> are analog sensor values (range 0.00 to 100.00)<\/li>\n<li><strong>$d00<\/strong> through <strong>$d12<\/strong> are digital port values (either 0 or 1)<\/li>\n<li><strong>$date<\/strong> is the date in \"mm\/dd\/yyyy\" format<\/li>\n<li><strong>$day_of_week<\/strong> is the day of the week (range \"Sunday\" to \"Saturday\")<\/li>\n<li><strong>$message<\/strong> is either \"open\", \"closed\", or \"lunch\"<\/li>\n<li><strong>$signal_strength<\/strong> is the WiFi received signal strength (range 0 to 100)<\/li>\n<li><strong>$time<\/strong> is the time of day in \"hh:mm AM\" format<\/li>\n<li><strong>$wakeup_reason<\/strong> is either \"2\" for timer-triggered or \"3\" for manually triggered<\/li>\n<\/ul>\n <h4>Can I add HTML to the status message?<\/h4>\n <p>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:<\/p>\n <pre><code>We are &lt;div style=\"font-size: 50px;\"&gt; $message &lt;\/div&gt; as of $day_of_week $time. <\/code><\/pre>\n\n<!--section=changelog-->\n<h4>1.2<\/h4>\n <ul>\n<li>Allow raw HTML to be pasted directly into the status message format field.<\/li>\n<\/ul>\n <h4>1.1.1<\/h4>\n <ul>\n<li>Improved backwards-compatibility with version 1.0.<\/li>\n<\/ul>\n <h4>1.1<\/h4>\n <ul>\n<li>Added user-formatted status messages.<\/li>\n<\/ul>\n <h4>1.0<\/h4>\n <ul>\n<li>Initial version.<\/li>\n<\/ul>","raw_excerpt":"This widget allows users of ChirpHub.com to format and display\ninformation from their internet-connected devices on their WordPress blog.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=18594"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/chirphub"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18594"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18594"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18594"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18594"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18594"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}