Showing posts with label MQTT. Show all posts
Showing posts with label MQTT. Show all posts

Saturday, December 30, 2017

My Connected Car: display car position on a Map

I'm currently working on the Python module that is in charge to read data from OBDII and send data to the MQTT broker.

In the meanwhile, I'm exploring how to add position (latitude, longitude from GPS) and display these positions on a Map.
Till now, I don't have a working GPS module on my RPI (I have two available, still in test phase).

But, since I have decided to use a SmartPhone to provide connectivity to Internet, one solution I have found (for now) is to use  OwnTracks.

In addition, I have added WorldMap to my NodeRED instance. And, with a simple flow, I'm able to show the current position of my Car on a Map.

Amazing...




In release 2 of my project, I'll integrate it with Oracle IoT Fleet Management. With this integration enabled I'll get many more features. An example is the view shown below, that shows cars' locations on a map.



Stay tuned.

Friday, December 29, 2017

My Connected Car project

If you want to follow my progress on the project here some information.

I have started the development of the code that will run on the RPI 3.

Here is the link to the github repository:


If you have any suggestion, comments or want to contribute to the code, let me know.

Thursday, April 27, 2017

My Android Things

AndroidThings

Android Things is the new name that Google has adopted for its OS for Internet of Things. Before, the code name was “Brillo”.
Google has made available Android Things to developers, as a developer preview, at the end of 2016.
At the beginning of April 2017 (06/04), Google has released the DP3, adding for example BLE support, and it has been generally made available.

See the announcement here:


What is interesting is that it can be installed on a set of prototyping boards, such as Raspberry PI 3 (RPI3) and Intel Edison and therefore you can easily test it (obviously if you have one of these boards available).

Tuesday, December 20, 2016

Home Automation (6): IoT Cloud Integration

As part of my learning voyage, I have decided to give a close look to Samsung Artik Cloud and its capabilities.

My Home Automation System collects every 30 sec. readings from devices in each of the rooms, with several kinds of information, received through MQTT from the Gateway.

In the Gateway I have set-up a process that collects all these information, aggregates, and every 10 min. send the value (for now only temperature) to Artik Cloud, again using MQTT.
(The rate is limited because I'm using a free account on Artik, with a maximum rate, per device, of 1 msg every 10 min.).

This is the snapshot of the charts, taken today. Each chart shows the variation in time of the temperature, for each room.



And this is the NodeRED flow that integrates with the Artik Cloud



The flow is started every 30 sec., read the values of temperatures of four rooms (T1, .. T4), calling a REST API,  join in a single message and sends the message to Artik using MQTT.

(updated 30/12/2016)