New “Lhings Ready” product: The Thinker!

It’s our pleasure to show you some features of the The Thinker, a new “Lhings Ready” product which is an intelligent control host created by GeekLink. Claimed as the next generation universal remote for smart home, GeekLink has achieved a successful campaign in Kickstarter!


Behind the intelligent features of this product, it’s important to highlight its capacity of making other not-internet-connected products to be accessed remotely, even from your Smartphone. To be more specific, it acts as an universal remote. It could learn RF and IR codes in order to communicate with them and somehow link them to network and the cloud.

Fortunately, Geeklink has decided to include Lhings compatibility, as well as other cloud services as IFTTT. We are ansious to receive our first sample and make our air conditioner, an old model that works with an old remote, to be controlled directly from our Smartphone anywhere and play with other Lhings compatible products!

We hope you find this product interesting. We will keep you informed about other products and projects that are starting to use Lhings and get ready in the market.

Lhings Mobile App

Lhings Team has been working on a new app that allows you to interact with your devices using your mobile phone. Yeah, as you have just read, now with Lhings Mobile you will be able to view the status of your devices and control them from anywhere you are. You can download the app for iPhone/iPad here or for Android here.


Lets have a look at what we can do with this app. We have a gadget we use to control our lights, let’s call it Light Controller. It is connected to Lhings, so we can interact with it from anywhere. When you enter in Lhings Mobile, it shows you a list of all your devices, like this:


Lhings Mobile differentiates between online and offline devices. We will be able to interact only with those which are online.

By tapping on the device name, we access its control panel. The control panel shows us the current status of the device and all the actions we can perform with it. In the case of the Light Controller, we see it has 3 Actions to control each of the 3 lights, two in the bedrooms of Tom and Sam, and the third in the kitchen. Also, the status tells us if the lights are on or off.


So, in this image above we have the information related to our Light Controller. As you can see, our avalilable actions are called:

Bedroom Tom
Bedrom Sam
Kitchen (not shown)

If we want to turn on the light from Tom’s we just have to tap of the first action, “Bedroom Tom”, and it will take us to the bottom that we can trigger to turn on/off our light:


Once we press on the button, we get redirected back to the actions list and the status will be updated:


As you can see, its really intuitive and simple to control any device, from anywhere you are. Download the app, connect your devices to Lhings and start enjoying the benefits of the connected life!

Using Analytics Module

In this post we would like to talk about the Analytics Module that we just made public few weeks ago.
The idea behind this module is that any status can be saved in Lhings platform. Once you have save it, you will be able to visualize them in the site or even get different records to visualize them yourself.

If you have developed and app and would like to save the values and use the Analytics Module, you can have a look at the API Reference that stores values and the API Reference for retreiving values

In our example, what we did is we measured the temperature in Barcelona for 1 month and saved this data. We had a Raspberry Pi that would measure the temperature,make an average of the day and then saves this data. We would also save in the server if it was raining that day.

Lets have a look at the graphics we got from our data:

1- First of all we have the Date selector. Here you will be able to adjust the data you want to show between the dates you have saved the values.

We selected all the days that we have saved the values, that means, for 1 month.

2- After selecting the days, you will see that for each value/status saved, you have its representative chart. The first one we see is the chart of the climate, where we see if in those days the weather was COLD, MEDIUM or HOT. We made this values depending on the temperature of the day.

3- Next values that we see are the values referred to the Temperature. For each day, we saved the medium temperature of the day.

4- Finally we see the final chart referring to the rain status.

So, we saw the charts, but… how do we save this data? In the support documentation, we can see how this data is stored, check this link.
What we did was an application for Raspberry Pi that would save the values every time we specify. We did it in Java using our Java Library (available in GITHUB) and doing some webservice’s calls. Given this example from the Support Page:
Screen Shot 2014-07-07 at 13.55.32
We made:
Screen Shot 2014-07-07 at 13.58.23
Some notes about this code:
- UUID_app : this value is a string that has the UUID from the current device created. To get this UUID, you can call the method uuid() from LhingsDevice (remember, this is JAVA). Here is the JavaDoc
- timeStamp : This is not compulsory, if you don’t put it, it will save it to the current day.
- apikey : this is your api key. You will find your api key in your user profile inside Lhings platform.
- json_s : this is the body you will send to be saved. It’s a string formatted JSON. In our case looks something like:

“{ \”climate\”: \””+this.climate+”\”, \”temperature\”: “+this.temperature+”,\”rainy\”: “+this.rainy+”}”;

We hope this tutorial was helpful for you. If you have any doubts or comments, please drop us a line here. We are looking forward to hear from you and see what your project is about!

The Connected Table

After our great success in the Oracle IoT Developer Challenge (read our previous post to know more about this), we wanted to share how we made the Connected Table.

The idea of the project was to create a work place that could recognize you and set the environment to your needs and preferences. All workplaces have tables, so we selected the table as the central element of the experience, which was thought as a coworking space where we would have several tables, one for each user. We thought also to connect different devices from the space to be accessible and controlled by Lhings. This way we could, for example, know when and how many times a person had a coffee to be able to charge him at the end of the month and free them from the fact of having to pay each time like in a vending machine.

Elements of the “Connected Table”

To showcase the concept of the connected table we connected to it several elements. Two Philips Hue lamps were used, one to provide illumination and the other to act as status light that changed color depending on the user being busy or not, so that other people in the space could know when is a good moment to disturb him. The user interacts with the table using special RFID cards that allowed him, to change the status light, inform the table about his arrival, etc. To this end, a RFID reader was also attached to the table. All these devices were controlled by a Raspberry Pi board, that served also as gateway to Lhings.

We also had a second Raspberry Pi with another RFid Reader to be able to make the coffee. When the reader detects the personal RFID card of the user, a relay turns on the coffee maker and notifies the coworking space that a certain user is preparing a coffee. This way, at the end of the month the coworking space can charge the users for the amount of coffees taken.

Both Raspberry Pi boards were programmed using the Lhings Java Library, what made developing the connectivity features a breeze.

In addition, we developed an App called PlugLhings (availabe in the AppStore and PlayStore) that was used to notify the user about the different events. A JavaFX application was also developed to allow the user to control all the environment from his own laptop.

Finally, all these devices are held together and commanded by Lhings, so that the coworking space has full control of the elements that make it up, monitoring what is happening, who is using the devices and making it more efficient for its users.

For more details about the project, check the video we did in our YouTube Channel.

Lhings, winner of the Oracle IoT Challenge

The Lhings team is very happy this week. We are one of the winners of the Internet of Things Developer Challenge sponsored by Oracle. This challenge awarded IoT projects demonstrating new and innovative ways of using Java Embedded that met a bussiness need. Lhings presented its project Connected Table which showcased how a shared working space, like an office, could benefit of IoT technologies by connecting its tables to the Internet.

This prize also means that Lhings will attend the Java One Conference, which will be held in late September in San Francisco. Java One is the biggest conference in the world related to Java technology, and Lhings will be there as the IoT cloud platform that supports Java Embedded for connecting devices.

Soon we will explain in detail, right here, how our connected table works. Meanwhile, you can get a taste of it viewing the video below. This project was developed using Lhings and is an example use case”. You can also create your own “Connected Table” using Lhings, just sign up at

Special thanks to José Pereda, from the University of Valladolid, who worked hard and closely with Lhings team to make this happen.

Access to Lhings is now Open!

Lhings Beta has been working for several months under a rigid access control in order to study its behavior and guarantee the best service. Now that we are confident in its solid base, we are ready to open it to anybody who wants to explore and enjoy the benefits offered by this connectivity tool.

Don’t you have a Lhings account yet? Well, then it’s time to SIGN UP and start connecting your first Device!

Connect your first Device: PlugLhings App

We prepared everything to make your first experience with Lhings as easy as possible and it has to be with your Smartphone! PlugLhings is a Mobile App that will let your Smartphone to connect to Lhings. It will be your first Device! So, your Smartphone will be able to send “Geofence” Events and receive “Notification” Actions.

In short, with PlugLhings App your Smartphone could order your Air Conditioner to turn on when approaching home or receive notifications when someone opens the door.

PlugLhings is now available for Android and iOS.

Try out the new features!

Lhings is full of new features to enhance the way you interact with your devices. The following is a highlight of the most exciting:

  • The new Alerts App will let your devices send email notifications when something important happens.
  • The user interface has been greatly improved and now is much more pleasant and usable.
  • For developers: Now you can store data from your devices in Lhings. It will be shown as a nice graph in your control panel!
  • For developers: the REST API has been greatly improved, with a lot of added features. Yes! The data of your devices can be accessed via API.
  • For developers: The documentation has been greatly improved. In any case contact us if something is not well explained.
  • Last but not least, several changes have been introduced to improve the overall performance of our servers. Faster Lhings.

What’s next?

There are many exciting features coming and new Lhings compatible products that will be available in the market to start building your own connected experiences.

Meanwhile, feel free to send us your feedback and help us to improve:

  • Let us know which Device you would be crazy to have.
  • Is there an App that you feel vital?
Enjoy Lhings!

Oven, our new test app for Processing

We are launching our new test app that uses Processing. Processing is a tool for creative coders that helps developers to create applications in a really simple way. In Lhings, we wanted to join the huge community of Processing, so we made an example application that works like an oven, using processing libraries and Lhings Java Library.
To get started, you can download it here.
Lets have a look at how it works. When you launch your application, first thing you can see is the login screen.

Once you login, you will be able to visualize your new Oven device in your dashboard of Lhings. From your dashboard you will be able to manipulate your Virtual Oven. If you can’t see your device, please refer to our support site or write us an email. This is how your Virtual device should look like:

To test it, you can trigger the Action Bing that will play a sound. You can also set a temperature and a time and then trigger the LetsBake Action. Your application, the Virtual Oven, should start making noise and changing the display:

And that’s it! You have just added a virtual device!
For more updates, keep following the blog or Lhings’ site.

The Internet of Things Enhances User Experiences

Author: Tom Young

When we boil the Internet of Things down to basics, it is all about user experience. The Internet has always been about utility. It was first designed to foster communication between American scientists during the Cold War but has since blossomed into a worldwide platform shared by ordinary people as well as movers and shakers. We can live entire lives online, socializing, communicating, and consuming just as we would outside of the Internet’s digital confines.

But those confines have not remained static. Wi-Fi and mobile technology have been pushing the limits of the Internet in the physical world. By 2018, estimates suggest that there will be 18 billion Internet-ready devices in the world. By comparison, the UN projects that the world population will reach 7.6 billion by that time. More than two online-capable devices for every inhabitant of Earth? It’s coming.

A large part of this boom in connectivity is expected to come from “dumb” devices becoming “smart.” Manufacturers are recognizing the impact the Internet has had on consumer expectations and are scrambling to build devices that integrate into the web-saturated world.

If you examine the types of changes manufacturers are making, it is clear they have customizable services and remote access at the center of their decisions. Both of these features have positive customer experiences at their center.

Devices that fix themselves
In the past, tech support has been an expensive and time-consuming ordeal for device manufacturers. Identifying the problem is often the biggest hurdle, requiring clear communication between support technicians and customer’s unfamiliar with the inner workings of the device. Failure to properly resolve a situation can result in lost customers.

Samsung has tried to overcome this hurdle by releasing Smart Care. The app empowers customers to take ownership of the care and maintenance of their devices. Smart Care works by automatically sending product care and maintenance alerts to a user’s cell phone, bypassing the customer service phone call and improving a customer’s overall experience.

Products and services that talk amongst themselves
The Internet of Things is also being used to seamlessly integrate devices and services. While this is an age-old manufacturing tactic, usually typified by creating intuitive, easy to use designs, it is taking on new life in the age of IoT. Device automation and integration into existing systems is now the name of the game. Not only does a product need to work well on its own, it also has to fit into an existing web of personal products and services managed by a specific user.

Companies have responded to this challenge differently. For example, ADT, the largest home security provider in the United States, has taken an approach that integrates its Pulse product with other major systems. The company recently chose to partner with Ford SYNC and McAfee in an effort to tie together products already being used by its customers. The McAfee partnership is an effort to create a unified security experience control and monitored inside the Pulse product. And by working with Ford, ADT is expanding the number of locations a customer could safely use the Pulse product. ADT is seeking to improve the experience of its product by integrating with other major brands in its industry to create a unique experience for its users.

Another approach is to create a system that integrates and manages all your smart devices for you. This design is more flexible than direct integration and allows users the ability to customize their experience and automate tasks based upon their preferences, reducing the time they spend thinking about their devices and increasing the enjoyment they received when things work as expected.

It’s all about the experience
When you boil the IoT down to basics, it is all about user experience. What are you most interested in seeing from a fully automated and integrated experience of your things?

One Thing Leads to Another – An Event based Approach for the Internet of Things.

Everyday somehow our routines are driven by the occurrence of events. But what does it have to do with the Internet of Things?

Events are things that happen and as a consequence we take decisions and actions. Even people who are not exposed to the free will, where one thing leads to another, and prefer to schedule every task of the day, are driven in this case by time.

So, if our daily lives are somehow driven by these sequences of events and actions, would it be possible for our homes, cars or cities to “live” a routinely life?

Our homes would adapt to our conditions and preferences, or even our cities would lower costs by optimizing their resources as a living organism regulates its metabolism: if those trash cans are empty, then the cleaning truck should not take that route; if that zone is empty at night, then lower the light brightness; if that happens, then do that action; and so on.

The Internet of Things emphasizes that one of its key features is the ability to communicate and share data among devices or objects, so they would be able to even make decisions or actions by their own. New Cloud platforms are appearing in order to manage the huge amount of data from all those devices. However, that vision of the connected entity, the home or city that we could talk to, may appear too far.

In this context, Lhings has adopted the event-action approach as the basic architecture of its platform:

This architecture, as simple as it is, has demonstrated to achieve very big goals. It is not only easy to understand by users who establish the logic conditions (When this happens, then do that action), but also simplifies significantly technical complexities as communication and compatibility issues. This makes it easy to add new objects into an ecosystem where anyone can talk to anyone.

So, talking to our homes and cities is not that far. Stay tuned!


Starting to build the Programmable World

Lhings beta has been released for makers!

This is a testing stage where makers and developers interested in using Lhings for their projects are helping us to improve and adapt the platform. As those are promising and visionary projects that rely on the Internet of Things to provide new services, we would like to make reference to the Wired article “Welcome to the Programmable World”.

According to the three stages described in the article to build the Programmable World, the first is getting more devices onto the network. For makers, though each day there are more connected devices available in stores, they prefer to build or adapt them to their needs. Last month we could experience that at first hand at the Mini Maker Faire Barcelona. It was the first maker faire in Spain and was organized by MOB who did a great job! There were really great projects which demonstrated that simple things could impress you by just adding a touch of creativity.

The second stage deals with device connectivity, where coordinated actions could be carried out without human intervention. This is precisely one of the most important constraints that makers and developers need to tackle in order to build their applications. In this context, Lhings is the solution they were looking for. From the feedback received so far from our beta testers, device discovery and action automation are the key features provided by Lhings which have helped them to build their applications. Then, they implement their own behavior to their system which is the third stage to build their own programmable world.

Do you have an interesting project? Does it need to connect devices and coordinate actions? Please, contact us!