LightBlog

vendredi 13 janvier 2017

Smart Home & Home Automation Protocols Guide: Creating Your IoT Paradise

Smart home popularity has risen substantially over the past few years, and even the past few months. CES 2017 set the scene for another small explosion of these devices as Apple, Google, and Amazon all expanded their smart home ecosytems – albeit at different rates – with Amazon's Alexa assistant boasting the most growth.

Thrust into the spotlight by the success of voice-assistant enabled speakers such as the Amazon Echo and Google Home, the devices which they control have now taken center-stage. Sharing that attention, is the all too obvious struggle to maintain continuity between these technologies. With so many systems and protocols employed in the pursuit of home automation, the plight of the consumer is much like that of the creators – find a lasting and useful standard.

In the ongoing effort to help technologies find their proper homes, here's the definitive guide to the IoT enabled home – as it stands today. Let's start with a breakdown of the five main technologies being used to create these ecosystems.

 1. Wi-Fi

Pros: No central hub required. Supports AES 256-bit encryption.

Cons: As always, speed and signal strength are dependent on your router and your internet service provider – a dependency that may not be ideal for some. It's also the most resource-heavy protocol, demanding more power, and consequently larger size from products which are often battery powered and require a small footprint.

Notable devices/platforms: WeMo Philips Hue Apple HomeKit Samsung Smartthings Insteon*

*Insteon uses a combination of RF and power lines, aiding reliability in the event of an obstructed pathway. Unfortunately, this benefit isn't applicable to devices such as door locks, which must work on RF only. Security and interoperability are chief concerns here. On this subject, Insteon says the following:

"Possible encryption methods include rolling-code, managed-key, and public-key algorithms. In keeping with INSTEON's hallmark of simplicity, rolling-code encryption, as used by garage door openers and radio keyfobs for cars, is the method preferred by INSTEON."

Insteon

2. Bluetooth/Bluetooth LE

Pros: No central hub required. AES 128-bit encryption.

Cons: Bluetooth/BLE is limited to its usual 30-foot radius, not only creating the issue of dead zones but also disqualifying it from controlling any devices which are not within its range, i.e. turning off lights or locking doors when the user isn't home.

Notable devices/platforms: Apple HomeKit

3. Z-Wave

(Communicates via the 908MHz and 916MHz frequencies)

Pros: Uses a mesh network which means more devices, more coverage and no signal degradation. Utilizes AES-128 symmetric encryption, and an open source code.

Cons: Central hub required. May lose support as protocols advance.

Notable devices/platforms: Samsung Smartthings Over 1,500 interoperable devices, including a host of light switches, locks, and sensors.

4. Zigbee

(Communicates via 915MHz and 2.4GHz frequencies)

Pros: Uses a mesh network. Utilizes AES-128 symmetric encryption, and an open source code. Built on the IEEE 802.15.4 radio standard, Zigbee potentially has a leg up in future compatibility with IP-based protocols.

Cons: Central hub required.

Notable devices/platforms: Nest Samsung Smartthings Over 1,100 interoperable devices, including some set-top cable boxes, and a host of light switches, locks, and sensors.

5. Thread

Speaking of compatibility and future protocols, Google (and a fair amount of other companies) have entered into development of what they hope will become the standard smart home protocol – Thread.

Pros: Uses a mesh network and AES-CCM cryptography. Built on the IEEE 802.15.4 radio standard, Thread has a version of open source code and natively supports IPv6, allowing it to be controlled by internet protocols such as LTE, Wi-Fi, and Ethernet. Using an adaptation layer called 6LoWPAN, Thread can communicate with non-IP devices, namely those using Zigbee – not only offering a level of backwards compatibility but also potentially eliminating the need for a hub.

Cons: Not yet released – seemingly dependent on the successful rollout and integration of other Google services, specifically Android Things and Weave.

Meant to be a standard operating system for smart home devices, Android Things (formerly Brillo) is the stripped-down version of Android which Google hopes to implement underneath Thread-enabled devices. On top of this, they hope to integrate Weave as the bonding agent for other radio and smart device technologies, new and old.

It may sound like a tall order, but if the success of Android Things meets Google's expectations, the layering of this, Thread, and Weave would provide an infrastructure wherein API's are shared across platforms and updates can be rolled out by developers OTA – enabling a level of support and security heretofore unseen by most smart home devices.

Notable devices/platforms: Nest Samsung Smartthings

Voice Assistants

Amazon Echo, Google Home, and other voice-assistant-enabled devices can be both useful and fun as standalone products. Providing users with everything from current events, weather, and note taking, to music, interactive games, and shopping – all done through voice – these assistants are no doubt capable and ripe for expansion.

Google Tops Amazon in Search, No Surprise.

Right now, Google Assistant commands an unsurprising lead over Alexa in search functionality, not only finding more answers but also enabling the user to ask follow-up questions in a more conversational manner. For instance, asking Google Home "Who is the President of the United States?" gives you the answer "Barack Obama." As a follow-up question, you can ask "Does he have any children?" In response, Google Home will provide you the appropriate answer. Unfortunately, you must preface any follow-up question with the wake-up command "OK Google" – an already clunky phrase which serves to degrade this feature, especially. Topic-specific focus can continue for a series of questions with Google's assistant. Attempting this same line of questioning with Alexa, however, will require you to restate the subject in the question each time. This aside, the search functionalities are relatively equal.

Amazon Takes the Lead in IoT

When it comes to compatibility and support, however, Alexa has some distance between it and the pride of Mountain View. Having been released nearly 18 months ago, the Amazon Echo and Alexa are 16 months older than Google Home and its built-in assistant. In that time, Amazon has taken every opportunity to allow Alexa to be developed and integrated – free of cost, which has certainly paid off. In addition to being freely integrated by any manufacturer who's interested, Alexa has enjoyed over 5000 new skills made by developers via the Alexa Skills Kit (ASK). These skills added a wealth of abilities, including additional device fluencies and expanded app integration.

This past November, Amazon also granted developers access to Amazon Lex, which facilitates creation of Amazon-connected chatbots by leveraging the speech recognition and natural language processing technologies on which Alexa is built. Though Google has recently taken similar actions, Amazon's earlier start remains evident in the Echo's device compatibility and widespread use of its Alexa service.

Meanwhile, the fight for Google Assistant on non-Pixel smartphones rages on. As of yet, unwilling to extend support to OEM Android phones, Google appears to be taking the opposite approach with their voice-assistant. The company does invite developers to create for the platform but does not offer free implementation as Amazon does – only recently announcing integration with the handful of devices running (or soon to be running) Android TV. Google has hinted at upcoming implementations of their proprietary assistant, though how quickly and widespread this may be remains to be seen.

"Over time, you'll also see the Assistant come to other new surfaces, like smartwatches running Android Wear 2.0, Android-powered in-car infotainment systems and many other types of devices…"

Sascha Prueter, Director Android TV

Communication With All Devices

Unfortunately, neither the Echo nor Google Home possess smart home connectivity beyond Bluetooth and Wi-Fi. As such, a communication hub of some kind is needed for most setups. When picking a hub, it's important to consider your goals, be they simplicity or customizability. A hub worth considering should, at the very least, be compatible with Wi-Fi, Zigbee, and Z-wave to offer the best range of compatibility. Samsung's Smartthings Hub is popular for this very reason. Although a handful of others exist, Smartthings offers the most customization and the most partnerships. A lesser known competitor may be the Wink Hub, offering the same protocols at a slightly lower price. The Wink hubs greatest asset, however, is also its greatest weakness, as its simplicity results in less customization. Again, choosing the proper hub will come down to your personal preference, but for all intents and purposes the Smartthings hub will not disappoint. Pair this with some Zigbee/Z-wave outlets and light switches, and you're well on your way. You can also add in motion sensors, water leak sensors, door locks, and Wi-Fi cameras all with specified rules and actions defined within the Smartthings app. One such rule may include instructions to turn off the lights, lock the doors, and enable a security camera when a specific phone leaves the house.

Sadly, IR capability is one feature you won't yet find in these hubs, effectively excluding entertainment systems from basic home-automation. For now, an additional hub – the Logitech Harmony Hub – is required. To console you for buying this extra hub, Harmony made sure to make it worth your while. Able to learn every function for nearly any IR device in existence, the Harmony Hub can control air conditioning, heaters, lights, sound systems and more – essentially sweeping up any devices left over by the Smartthings or Wink hub.

Once you have all your devices plugged in and configured, simply run a discovery in the Alexa app and everything you've connected can now be controlled via voice-command – even changing channels –  thanks to the Smartthings, Wink, and Harmony Skills made for Alexa. Currently, Google Home only supports one of these hubs – Smartthings and as such requires a few IFTTT recipes to bridge some of the gap. In the instance of the Harmony Hub, IFTTT can only add the ability to turn your entertainment system on or off. Channel/volume control, and other IR devices cannot be controlled. Though it's to be expected that Google will soon add Harmony Hub support, as of right now, it remains on the sizeable list of devices that the Echo has and Google Home doesn't.

Speaking of IFTTT, if you don't already use it, you may want to get familiar. IFTTT can enable some stunningly seamless automation from your phone, Echo, or Google Home. For instance, a simple IFTTT recipe for Alexa can create a Google Docs spreadsheet of every song you play through the Alexa app. Or you can tell Google Home to block out an hour on your calendar. Using Evernote or Onenote? Set up IFTTT to take dictated shopping lists from Alexa and save them instantly into your preferred note-taking app. Through IFTTT [almost] all things are possible.

But what about Apple HomeKit?

Ah, yes. HomeKit. Though this year's CES saw a flurry of new HomeKit-enabled devices (and surely many more to come) Apple is still quite far behind. Lacking support for Zigbee, Z-wave, or any of the aforementioned hubs, HomeKit is relegated to proprietary systems like Insteon (who provide their own HomeKit-enabled hub) or other HomeKit-specific devices. Running only on Wi-Fi and Bluetooth LE, HomeKit devices do not require a hub unless the user desires device control when away from home. For this, the user must have a third-generation Apple TV (or higher) set up as their HomeKit Hub. The creation of a proper Siri Hub remains to be seen.

The Fragmentation of Things

Though the Internet of Things still has a fair amount of fragmentation, this does not preclude a fully working, useful smart home solution. There are currently thousands of reliable and easy-to-set-up devices on the market and most of them have a "Z" in their name. Not so coincidentally, the hub you'll need to control them is internet connected. Add in voice-controlled AI, and you have all the workings of the smart home that science fiction always promised us. Might a new standard come along and banish these devices to the land of obsolescence? Not any time soon. At this juncture, it seems the winning horses have already been picked, earning the coveted prize of future interoperability. If you choose wisely, you can share in that glory. Or, if you'd like to be a part of it now, follow the links below to begin developing.

Think another winner is set to emerge? Please share in the comments below.

Useful Links



from xda-developers http://ift.tt/2iQGAfa
via IFTTT

HTC Will Only Release 6 or 7 Phones in 2017

At the recent launch of the HTC U Ultra and U Play in Taipei, Engadget's Richard Lai interviewed Chialin Chang, HTC's President of Smartphone and Connected Devices business. During the interview, Mr. Chang confirmed that HTC is only planning to release 6 to 7 smartphones during 2017.

The move will be a significant drop in the number of phones launched by the company compared to recent years. Chang reports that the idea behind this is to allow HTC to focus on the core features of their phones, and therefore release higher quality products to contend with other manufacturers. Chang went on to say that the main selling point of these devices would be their machine learning integration, which several OEMs are currently experimenting with. No other major Android device manufacturer produces so few phones each year, as Samsung for example released over 30 phones in 2016.

According to Phandroidthe number of devices that HTC has released in previous years are as follows:

  • 2016: 15 Phones
  • 2015: 25 Phones
  • 2014: 34 Phones

It is no secret that HTC has been struggling financially and this move could help assuage the problem. Q3 for 2016 saw the Taiwanese company make operating losses of NT$2 Billion ($63.3 million USD) and net losses after tax of NT$1.8 billion ($57 million USD).

It will be interesting to see how this works for HTC and hopefully they can release a few great phones rather than a large number of average ones. The U Ultra and U Play look to be a good start for HTC though and if you are interested in either device be sure to visit the HTC U Ultra and U Play forums!

Source: Engadget



from xda-developers http://ift.tt/2jscP51
via IFTTT

Google Adds Private Channel Apps to the Managed Play Store

Towards the end of last year, Google rebranded their Google Apps for Work platform into G Suite. They've been doing this to a few of their technologies lately, for whatever reason, but things have been business as usual for the Mountain View tech giant.

They recently announced App Maker for their G Suite customers, acquired a company to help improve the audio quality of their Hangouts users, and this week they've announced a change to the managed Play Store.

Google allows companies who pay for G Suite services to develop unique applications for their employees. This is where the App Maker came into play as it helped these businesses deploy an application much faster than before. These applications were considered private, but were still available in the Play Store application. They were just hidden in a secret tab that was labeled the same name as the company.

Google wanted to make these applications easier to access, so they have moved them into a category called Work Apps. Instead of being the last category within the Play Store, this category has moved into the 3rd position (which is right after Top Charts and Games). They want to use this Work Apps category as a place to store all the applications your employee may need in order to get their job done.

So instead of only listing private applications here, the G Suite admins will be able to add in a list of public applications as well. Google has also made it so that there is no longer a need to manage different access controls for employees. The controls for the private and public applications within this Work Apps category will be consolidated in the managed Play Store and there will be a simplified whitelisting process for mobile applications.

Source: G Suite



from xda-developers http://ift.tt/2iPTxpu
via IFTTT

Galaxy S7 & S7 Edge are Finally Receiving their Android 7.0 Nougat Update (Currently for Beta Testers)

Samsung has been doing a beta test for their Nougat update for a couple of months now. Many people hoped that they would have started this beta test earlier (since Android 7.0 officially released in August of last year, after all), but they didn't announce their first beta test of the update until around November.

This seemed a big strange since Google began doing developer tests of the update all the way back in March of last year.

Google did this to let Android developers test out the new software and get their apps ready for the update, but they also did it so that OEMs could get their hands on the update faster. Their attempt to help OEMs push out the major update wasn't as successful as they had hoped, though. Samsung waited a little over 2 months after the official release to even publicly beta test their update, and it took them an additional 2 months to start the official roll out.

But thankfully that time has come. We're starting to see screenshots circulate around the community that show the new OTA update is being pushed to them. The screenshots SamMobile has published showcase an update from the Nougat beta to the final version (which is just under 215MB in size). We haven't seen any screenshots showing that they are pushing out the Nougat update to current Marshmallow users though. If you were on Marshmallow and received the Nougat OTA update, we would love to hear from you.

So even though Samsung delivered the update later than some were hoping for, they actually beat their own schedule. The beta software team over at Samsung said they were planning on rolling out the update sometime around the 17th of this month. This could be when Marshmallow Galaxy S7 and Galaxy S7 Edge owners start getting their OTA update, but either way it looks like they were done a week early.

Source: SamMobile



from xda-developers http://ift.tt/2jfcV2M
via IFTTT

jeudi 12 janvier 2017

What Do You Look Forward to in 2017?

The Consumer Electronics Show in Las Vegas has just recently wrapped up, and at the event we caught a glimpse of what many key players in the industry are planning for this year.

Besides many new smartphones coming soon we'll inevitably see new versions of Android for smartphones, smartwatches, televisions, and even automobiles. Plus, we're seeing growing interest in home automation thanks to the competition between Amazon's Alexa and Google Assistant ramping up.

So, our question to you is,

What do you look forward to in 2017?

Let us know in the comments below!



from xda-developers http://ift.tt/2jp0qyR
via IFTTT

OnePlus Assures Fix for OnePlus 3/3T Bootloader Vulnerability in Next OTA

Just yesterday, we highlighted a bootloader vulnerability that affected the OnePlus 3 and OnePlus 3T. This vulnerability made use of the fastboot mode on the device to toggle SELinux status from Enforcing to Permissive.

This state toggle can be done on both bootloader locked and bootloader unlocked devices. The issue was further complicated by the absence of an SELinux entry in the 'About Phone' screen, thus giving us no easy way to figure out if a device had been manipulated.

We had reached out to XDA Recognized Developer Sultanxda to shed some light on the issue:

The way that the "fastboot oem selinux <state>" command works is that it adds an extra argument onto the kernel command line when booting Linux. The extra argument comes in the form of "androidboot.selinux=<state>", where <state> can be "permissive". There's where things get funny: "androidboot.<something>" arguments on the kernel command line are parsed by Android's init. In a normal Android production build (a "user" build), the "androidboot.selinux" argument is totally ignored and selinux is always forced to enforcing.

So this bug is composed of two issues: One, users can make the bootloader pass a flag that would normally make selinux permissive on an engineering/debugging ROM build. And two, OnePlus modified Android's init in order to honor the "androidboot.selinux" flag even for production ROM builds.

Sultanxda suggested a few ways to fix the issue. You can read up on the suggestions and more on the vulnerability in our original post.

OnePlus has responded to the existence of the vulnerability. The company has assured that the vulnerability will be patched for the OnePlus 3 and the OnePlus 3T. Both the devices will be receiving this patch as part of their next OTA update.

We value the quick response received from OnePlus. Here's hoping that the next round of OTA arrives soon for both the devices!



from xda-developers http://ift.tt/2ihZTBO
via IFTTT

Gmail 7.1.1 Hints at Integrating Tasks and Reminder Snoozing

Reminiscent of Google Inbox, a new version of Gmail is rolling out soon that hints at integrating tasks and reminders. Gmail 7.1.1 will be available soon in the Play Store, but some users have already received the update and pushed it to APK Mirror earlier today. We've taken a look inside the APK file, and there are indeed some interesting changes to note.

Although the strings and files contained in the APK hint at the inclusion of a new feature, it is always possible that Google may not actually implement these features.


Gmail 7.1.1 with Inbox Features?

Within the APK, there are some additional strings we have found that suggest two additional features will soon be integrated into Gmail. The first is Tasks integration:

Gmail Teardown

  <string name="mailbox_name_display_t4">Tasks</string>  <string name="t4_section_title_no_due_day">No due date</string>  <string name="t4_section_title_overdue">Overdue</string>  <string name="t4_section_title_later_this_week">Later this week</string>  <string name="t4_section_title_next_week">Next week</string>  <string name="t4_section_title_later">Later</string>  <string name="t4_section_title_done">Done</string>  <string name="t4_list_t4_due_date_label">Due %1$s</string>  <string name="t4_compose_button">Compose Task</string>  <string name="t4_detail_high_priority_label">High priority</string>  <string name="t4_detail_low_priority_label">Low priority</string>  <string name="t4_detail_body_content_description">Notes: %1$s</string>  <string name="t4_detail_notification_time_content_description">Reminder: %1$s</string>  <string name="t4_detail_recurrence_content_description">Repeats: %1$s</string>  <string name="t4_detail_mark_as_done">Mark as done</string>  <string name="t4_detail_mark_as_not_done">Mark as not done</string>  <string name="t4_toolbar_title_create_task">New task</string>  <string name="t4_toast_bar_title_mark_as_done">Marked as done</string>  <string name="t4_toast_bar_title_mark_as_not_done">Marked as not done</string>  <string name="tasks_edit_segment_title_hint">Title</string>  <string name="tasks_edit_segment_due_date_label">Due date</string>  <string name="tasks_edit_segment_reminder_label">Reminder</string>  <string name="t4_edit_segment_priority_label">Priority</string>  <string name="tasks_edit_segment_body_hint">Add note</string>  <string name="t4_edit_segment_recurrence_none">Does not repeat</string>  <string name="t4_edit_priority_label_high_priority">High priority</string>  <string name="t4_edit_priority_label_normal_priority">Normal priority</string>  <string name="t4_edit_priority_label_low_priority">Low priority</string>  <string name="t4_edit_priority_label_abbrev_high_priority">High</string>  <string name="t4_edit_priority_label_abbrev_normal_priority">Normal</string>  <string name="t4_edit_priority_label_abbrev_low_priority">Low</string>  <string name="t4_edit_error_empty_title">The task title cannot be empty.</string>  <string name="t4_edit_error_invalid_reminder_time">The reminder cannot be after the due date.</string>  <string name="t4_edit_discard_dialog_message">Discard changes?</string>  <string name="t4_edit_discard_dialog_keep_editing">Keep editing</string>  <string name="t4_edit_access_label_due_date">Due Date %1$s</string>  <string name="t4_edit_access_label_reminder">Reminder %1$s</string>  <string name="t4_view_conversation">View conversation</string>  <string name="empty_t4_folder">Nothing in Tasks</string>  <string name="t4_sync_off">"Task sync is off. Turn on in &lt;a href='http://www.example.com'>Account settings.&lt;/a>"</string>  <string name="t4_list_low_priority_content_description">Low priority</string>  <string name="t4_list_high_priority_content_description">High priority</string>  <string name="t4_list_recurrence_content_description">Repeats</string>  <string name="t4_list_reminder_set_content_description">Reminder</string>  <string name="t4_list_mail_content_description">From email</string>  

We can clearly see that Gmail will allow us to create and edit Tasks. These tasks can be set based on priority and can be given due dates. Furthermore, users will be able to set reminders to complete these tasks. At any time, a user can go in and mark the task as done or not done. If a user receives a reminder to complete a task but has not yet been able to complete it, the reminder notification will allow you to snooze the reminder as well, as evidenced by some more strings found within the APK:

Gmail Teardown

  <string name="t4_snooze_activity_label">Snooze</string>  <string name="t4_snooze_dialog_10_minutes">10 minutes</string>  <string name="t4_snooze_dialog_30_minutes">30 minutes</string>  <string name="t4_snooze_dialog_1_hour">1 hour</string>  <string name="t4_snooze_dialog_tomorrow">Tomorrow</string>  <string name="t4_snooze_dialog_snooze_button">Snooze</string>  <string name="t4_reminder_notification_snooze_button">Snooze</string>  <string name="t4_reminder_notification_done_button">Done</string>  

The notification button will expand to a dialog allowing you to snooze the reminder until 10 minutes, 30 minutes, 1 hour, or 1 day later. If you are done with the task, you can mark the task as "done" straight from the reminder notification.

We believe it is highly likely that these features will make it into Gmail, given that we found not only strings within the Strings.xml file, but when performing a diff of the files present within each APK we discovered that much of the layouts have already been included. Within /res/layout of the new Gmail APK, we found the related XML files for editing the task and creating a task from the floating action button within Gmail. Furthermore, within the AndroidManifest file, the appropriate Alarm services and receives have been defined, so that the application will be able to notify you for any reminders you have set.



from xda-developers http://ift.tt/2ipynAL
via IFTTT