Things Gateway 0.5 packed full of new features, including ex资料
本文为去找网小编(www.7zhao.net)为您推荐的Things Gateway 0.5 packed full of new features, including experimental smart assistant，希望对您有所帮助，谢谢！
Today the Mozilla IoT team is excited to announce the , which is packed full of new features including customisable devices, a more powerful rules engine, an interactive floorplan and an experimental smart assistant you can talk to.
A powerful new “capabilities” system means that devices are no longer restricted to a predefined set of Web Thing Types, but can be assembled from an extensible schema-based system of “capabilities” through our newschema repository.
This means that developers have much more flexibility to create weird and wacky devices, and users have more control over how the device is used. So if you have a , a , or a , you’re not limited by restrictive device types.
This also provides more flexibility to developers who want to build their own web things using theThings Framework, which now also has support for , and .
When a user adds a device to the gateway they can now choose what main function they want to use it for and what icon is used to represent it.
You can even upload your own custom icon if you want to.
Custom Web Interface
In addition to the built-in UI the gateway generates for devices, web things can now provide a link to a custom web interface designed specifically for any given device. This is useful for complex or unusual devices like a robot or a “ ” where a custom designed UI can be much more user friendly.
Actions & Events
In addition to properties (like “on/off”, “level” and “color”), the gateway UI can now represent actions like “fade” which are triggered with a button and can accept input via a form.
The UI can also display an event log for a device.
Powerful Rules Engine
The rules engine now supports rules with multiple inputs and multiple outputs. Simple rules are still just as easy to create, but more advanced rules can make use of “if”, “while”, “and”, “or” and “equals” operators to create more sophisticated automations through an intuitive drag and drop interface.
It’s also now possible to set colours and strings as outputs.
The floorplan view is even more useful now that you can view the status of devices and even control them from directly inside the floorplan. Simply tap things to turn them on and off, or long press to get to their detail view. This provides a helpful visual overview of the status of your whole smart home.
Smart Assistant Experiment
A feature we’re particularly excited about is a new smart assistant you can talk to via a chat style interface, either by typing or using your voice.
You can give it commands like “Turn the kitchen light on” and it will respond to you to confirm the action. So far it can understand a basic set of commands to turn devices on and off, set levels, set colours and set colour temperatures.
The smart assistant is still very experimental so it’s currently turned off by default, but you can enable it through Settings -> Smart Assistant UI.
Other new features include developer settings which allow you to view system logs and enable/disable the gateway’s SSH server so you can log in via the command line.
It’s also now much easier to rename devices and you can now also add devices that require a pin number to be entered during pairing.
How to Get Involved
To try out the latest version of the gateway,download the software image from our website to use on a Raspberry Pi. If you already have a gateway set up, you should notice it automatically update itself to the 0.5 release.
As always, we welcome yourcontributions to our open source project. You can provide feedback and ask questions onDiscourse and file bugs and send pull requests on .
以上为Things Gateway 0.5 packed full of new features, including experimental smart assistant文章的全部内容，若您也有好的文章，欢迎与我们分享！