Sometimes lying is a form of privacy
Here’s another example of what you can do on Sen.se. Actually, the main purpose here is to show how you can use several Applications of the platform to create complex behaviors.
Withings body scales already offer the option of posting your weight on Twitter using a standard text. However, sometimes, you might not be quite happy to let everybody know your real weight. What we are going to describe here is a way to make your Withings scale tweet a custom made message with a weight you are not ashamed of even if sometimes it is not quite your actual weight.
Ingredients
Devices: 1 Withing bathroom scale
Applications: 1 Conditional branching 2 Tweet it 1 Automatic Liar
Instructions
- We assume that you have connected you Withings scale to Open.Sen.se. If not, go to Devices, click on Add Device, select Withings Body scale and follow the instructions.
- Go to Applications, then click on Add Application. In the Operators category, choose to install Conditional branching.
- Configure the first part of the Application as follows:
In the Which Feed’s values do you want to test ? select the Weight Feed of your scale. Note that the first three letters correspond to your name so you will not have the same thing as in the screenshot below.
In the screenshot below, under Define your conditions I have indicated 81. 81 is my threshold weight, under which I don’t feel ashamed to let everybody know how much I weight. You must of course replace this value by what is meaningful for you.
Make sure that your remaining settings are just as in the screenshot.
- Now jump to the second part of the Application, to the If no condition is met section. Simply copy the same settings as in the screenshot below. Then click on Save and continue, and confirm on the next page by clicking on Complete installation.
- We now have a sorting machine that takes the values sent by the scale and puts them in two separate new Feeds, one containing only my weight when it is under my threshold, and one containing values above. We are going to decide what to do in these two situations.
- When my weight is right, I have no problem tweeting it as it is. So let’s go to Applications, then Add Application and choose to install Tweet it! which is filed under Messengers and Notifiers.
- Configure the Application as shown in the screenshot below.

Note that, as an Input we have used a Feed which is not the output of a Device, but a Feed generated by another Application, in this case Conditional branching. This shows the power of the Sen.se platform, where you can not only post data from your Devices and Environments, but also generate new data that in turn will trigger new actions. - Click on Save and continue, then on Complete Installation. Tweet it! will ask you to authorize it to access your Twitter account. Once it is done, this part of the Application should be working OK. Step on your bathroom scale, and, provided that you are under the threshold weight, the following tweet should appear in your timeline: Please let me interrupt your timeline to announce that history will recall that on 03/03/2011 my weight was 79.
- Now let’s see what to do when you are a little bit overweighted. Go to Applications, then Add Application and choose to install Automatic Liar filed under Operators.
- Configure the Application as shown in the screenshot below

- Click on Save and continue, then on Complete Installation.
- Now you have a new Feed containing a new value which is your actual weight minus 15% whenever your actual weight is above decency. To tweet this new value repeat steps 6 7 and 8 except that this time the settings of Tweet it should look like this:

- So here we are. Now, when you are overweight, your weight will be minimized before made public. When your weight is decent, you will be completely transparent.
Once again, the main purpose of this example (that might actually be useful) is to show how you can chain Applications to one another to create more complex behaviors than using just one Application, and this is done without writing a line of code. It also shows (through a very basic example) how Sen.se helps you not only to store raw data, but also to generate new computed data that can be used as a new source for triggering actions or making sense.