Today we will add a simple user interface to our Bluemix/Node-RED/MongoDB application. We could do it in a form of a Ruby in Rails app or use another platform. But let’s assume that we want to have something up and running really fast – just for PoC purposes and as a rough prototype. That’s why I am going to use RapidApps for this purpose. Pokračování textu Home automation as a weekend project using IBM’s Clouds – part 3
Today we will connect the MQTT bus that is core part of IoT Cloud to the MongoDB using Node-RED flow.
The goal is to have the values – that are sent by our simulated device – stored in our database to be able to display them to an user.
We need to add MongoDB to our Bluemix application. Pokračování textu Home automation as a weekend project using IBM’s Clouds – part 2
In my last post I used a Ruby based device simulator publishing MQTT messages to IBM IoT Cloud. In the meantime I realized that the same can be easily achieved using Node-RED tool.
I decided to make myself familiar with the IBM’s cloud services by creating a home automation system based on these services:
- Internet of Things Cloud to interconnect sensors (temperature and motion detector) and actuators (light switches) with the application running in cloud.
- Bluemix to process the events and act in an appropriate way
- I plan to use Node-RED to feed a database with the events
- and Business rules service to implement logic.
Before implementing such a system I started by testing components that I plan to use.