Developer Office Hour: 4/16/14

Please join members of the SmartThings team to chat about the platform, devices, app, and more on this recurring video call that happens every other Wednesday.

WHEN: Today from 4pm to 5pm EST
WHERE: https://bluejeans.com/574546266

AGENDA:

  • SmartThings Platform Status Update (Ben)
  • Upcoming Labs Release (Urman)
  • Firmware Updates (Urman)
  • iOS Development Update (Kyle)
  • Build Site Migration Update & Invitation (Ben)
  • Additional topics and questions as they arise (you)

Please join with video if possible, audio as a fall back, text-only if you really must :)

To join the Meeting:
https://bluejeans.com/574546266

To join via Browser:
https://bluejeans.com/574546266/browser

To join via Phone:
1) Dial:
+1 408 740 7256
+1 888 240 2560 (US or Canada only)
(see all numbers – http://bluejeans.com/numbers)
2) Enter Conference ID: 574546266

Video will be posted later today.

Developer Office Hour: 4/2/14

Please join members of the SmartThings team to chat about the platform, devices, app, and more on this recurring video call that happens every other Wednesday.

WHEN: Today from 4pm to 5pm EST
WHERE: https://bluejeans.com/574546266

AGENDA:

  • SmartThings Platform Status Update (Ben)
  • Weekly Deployment Schedule Overview (Ben)
  • Upcoming Labs Devices (Urman)
  • Build Site Migration Update (Ben)
  • Documentation Updates (Ben)
  • Additional topics and questions as they arise (you)

Please join with video if possible, audio as a fall back, text-only if you really must :)

To join the Meeting:
https://bluejeans.com/574546266

To join via Browser:
https://bluejeans.com/574546266/browser

To join via Phone:
1) Dial:
+1 408 740 7256
+1 888 240 2560 (US or Canada only)
(see all numbers – http://bluejeans.com/numbers)
2) Enter Conference ID: 574546266

Device Metadata Changed Deployed (but with a small bug)

The device metadata changes were deployed earlier today. Unfortunately a small bug was introduced in device type versioning when running in the IDE simulator. This bug shows up when you make a change to the source code in the simulator and click the Publish -> For Me menu item. What you’ll notice after updating is that the simulator is now running an older version of the code. Making an edit and clicking Save corrects the problem and you are back to running the most recent code in the simulator.

We’ll be deploying a fix soon, but in the meantime you can avoid this problem by just not publishing to self when running in the simulator. You’re probably in the habit of doing that because you used to have to in order to see your changes take effect in the parse() method.  But with this release you no longer have to publish to self while testing your code, even if you’re running the simulator with a real device. Just click Save and your most recent changes will take effect for both the parse() method and command methods, for whatever device you are running in the simulator.

Changes to Device Type Metadata

This week’s release will extend the device type metadata section to completely define the properties of a device type in the code. Where you previously had to edit properties such as name, author, capabilities, and fingerprints in the Web UI, you will now be able to declare them in the code itself in a metadata definition section. For example, the SmartSense Multi metadata section now looks like:

metadata {
    definition (name: "SmartSense Multi", author: "SmartThings") {
        capability "Three Axis"
        capability "Contact Sensor"
        capability "Acceleration Sensor"
        capability "Signal Strength"
        capability "Temperature Measurement"
        capability "Sensor"
        capability "Battery"

        fingerprint profileId: "FC01", deviceId: "0139"
    }...
}

You can also specify custom commands and attributes. Take a look at the example device types for more information. The primary motivation for this change is to be able to bootstrap a device type completely from the source code. It also makes development easier since you don’t have to toggle back and forth between the edit form and editor source code display to add or remove capabilities, commands, and attributes.

Creating new device types works the same way as before. You click New SmartDevice and enter the name, author, capabilities, etc. in a form. After you click create and go the the code editor view you’ll see that the code template includes a definition section with the information you just entered. The device edit form has gone away. To change any of this information you just edit it in the code and click Save.

We’ll be doing something similar for SmartApps very soon. At that point both apps and device types will be able to be created from just their code, with no additional data required. A little later we’ll be rolling out GitHub integration.  Stay tuned.

UPDATE 3/31/2014 – This change went live on Friday, 3/28. There were a couple of IDE bugs introduced at that time that were fixed this morning.

In addition to now being able to completely define device types in code, you no longer have to publish devices to self when running in the simulator in order to see your changes to the parse() method. Just click Save and your most recent changes will take effect for both the parse() method and command methods, for whatever device you are running in the simulator.

Spam and the Migration to a New Community Site (Feedback Requested)

I wanted to give everyone one an update on the state of the Build site. I understand the frustration with the registration plug-in we are using and how it is stopping people from being registered. Today we relaxed that restriction for a few hours and had hundreds of spammers hit the site, create accounts, and attempt to post bogus posts. The server was even brought down for a minute under the crush of the all the bots.

We know this is a problem and we are evaluating solutions up to and including making registration approval a completely manual process where a human at SmartThings approves each registrant.

Additionally, I wanted to announce that a migration project is underway for this site. We would like to maintain a lot of the spirit of this site but add some additional features, improve usability, and reduce spam. We are looking at a number of options including: Discourse, Vanilla, vBulletin, Moot, Bbpress, Hoop.la, Vbulletin, Axero, Lithium) and are evaluating these in tern. We have some hard requirements (Single Sign On, Localization, Recognition and Role improvements, and more) and would prefer a solution we do not host and maintain but are open to suggestions and feedback from everyone here. Please add your comments below. What has worked well? what have you seen elsewhere? what could be lost without much disruption?)

Developer Office Hour: 3/19/14

Please join members of the SmartThings team to chat about the platform, devices, app, and more at this standing video call.

TIME: Today from 4pm to 5pm EST
WHERE: https://bluejeans.com/574546266

AGENDA:

  • New Android App release (Andrew R)
  • Recent HTTP/HTTPS Issue (Urman)
  • Updated device capability definitions in the IDE (Bob)
  • Documentation Updates (Ben)
  • Additional topics and questions as they arise (you)

Please join with video if possible, audio as a fall back, text-only if you really must :)

To join the Meeting:
https://bluejeans.com/574546266

To join via Browser:
https://bluejeans.com/574546266/browser

To join via Phone:
1) Dial:
+1 408 740 7256
+1 888 240 2560 (US or Canada only)
(see all numbers – http://bluejeans.com/numbers)
2) Enter Conference ID: 574546266

============= UPDATE =================

API Documentation

Developer Office Hour: 3/5/14

“Impromptu” Office Hour today. No Agenda. Ask us anything!*

* Cannot promise we will know a good answer :)

To join the Meeting:
https://bluejeans.com/574546266

To join via Browser:
https://bluejeans.com/574546266/browser

To join via Phone:
1) Dial:
+1 408 740 7256
+1 888 240 2560 (US or Canada only)
(see all numbers – http://bluejeans.com/numbers)
2) Enter Conference ID: 574546266

================

Got started with recording a bit late. Didn’t miss much.

Developer Office Hour: 2/19/2014

Developer office hour will we hosted every other Wednesday from 4 to 5 PM EST. Please join us!

Topics today are yet to be determined, but you can expect a healthy dose of SmartThings Labs talk – specifically around SONOS. We can also talk about some of the “edge” integrations occurring right now.

To join the Meeting:

https://bluejeans.com/574546266/browser

To join via Phone:
1) Dial:
+1 408 740 7256
+1 888 240 2560 (US or Canada only)
(see all numbers – http://bluejeans.com/numbers)
2) Enter Conference ID: 574546266

—–====== UPDATE: VIDEO ADDED =====—–

YouTube Preview Image