Posts by favoriot

UBI and ABCs of the Driver Using IOT

June 30th, 2017 Posted by BLOG, HOW-TO, SMARTCITY 0 thoughts on “UBI and ABCs of the Driver Using IOT”

steering-wheel-801994_1920.jpg

Introducing UBI in Malaysia

 

Following the libe­rali­sation of motor insurance tariffs set to take effect on July 1, the insurance companies are expected to take into account a motorist’s driving history to calculate their Premiums. This includes several factors such as the age of the driver, age of vehicle, gender of driver, driver’s claim records and traffic violations record. This mechanism of calculating the premium is called “Usage-Based Insurance” or UBI.

However, it will be more accurate in understanding their profile if the above factors are calculated with the actual driving behavior of the driver. One of the ways to capture their driving pattern is via Internet of Things (IoT) whereby sensors are embedded into the car or the using driver’s smartphones. Basically, we will be able to capture the ABC of the driver i.e. A – acceleration, B – braking and C – cornering.

There’s a company in Malaysia, Katsana, has launched a smartphone application called “DriveMark” (Download from iOS App Store). I have been using for nearly 2 weeks and you can see my driving pattern below.

How will it benefit consumers?

  1. Promote safe driving culture
  2. Low-risk drivers enjoy lower premiums
  3. More options to suit one’s needs
  4. Get to shop for the best coverage and value
  5. Competitive prices in the long term

It is a welcome news for the IoT industry in Malaysia. The move towards usage-based insurance will help to spur the growth of IoT with connected cars which in return will help to introduce other IoT applications and benefits other industries.

About the Author

Dr. Mazlan Abbas is currently the Co-Founder and CEO of FAVORIOT Sdn Bhd. He is an IOT Evangelist and a Thought Leader. He received an award as 50 Most Impactful Smart Cities Leaders by World CSR 2017. He is ranked No. 20th Thought Leader in IOT by 2014 Onalytics Report – “The Internet of Things – Top 100 Thought Leaders”, ranked Top 10 in IoT Top 100 Influencers by Postscapes 2016/2017, ranked Top 100 in Smart Cities Top Experts by Agilience Authority Index May 2016. He is also a Global Vision Board Member. You can reach him on LinkedIn or Twitter. Check all his presentation slides HERE.

MQTT for Embedded Devices Now Supported by FAVORIOT

June 28th, 2017 Posted by IOT PLATFORM 0 thoughts on “MQTT for Embedded Devices Now Supported by FAVORIOT”

If you aren’t familiar with MQTT, the Message Queuing Telemetry Transport (MQTT) is a publish/subscribe protocol aimed specifically at low-powered embedded devices. MQTT targets low-powered embedded device environments where resources are scarce.

You can either check the section below or see the full documentation here.

This section explains on how to use MQTT protocol to connect to FAVORIOT platform.

The MQTT broker is hosted on the following domain:

Host : mqtt.favoriot.com

The standard ports for MQTT are:

Port : 1883 and 8883 (for secure connection using TLS/SSL)

Use your API-Key as username and password to connect to the platform.

The topics that a user can publish and subscribe to are in the following format:

Publish : {Your-API-Key}/*

Example : {Your-API-Key}/Home/Temperature

Subscribe : {Your-API-Key}/*

Example : {Your-API-Key}/Home/Temperature

FAVORIOT platform accepts JSON data from a MQTT device. The format is in the following format if using mosquitto_pub command from CLI:

"{\"device_developer_id\":\"deviceDefault@mqtttest7\",\"data\":{\"humidity\":\"10\"}}"

MQTT QoS supported by Favoriot platform

  • QoS 0: received at most once
    • The message is delivered at most once, or it is not delivered at all which means the delivery across the network is not acknowledged. The message is NOT stored. The message might be lost if the client is disconnected, or if the server fails.
  • QoS 1: received at least once
    • The message is always delivered at least once. If the sender does not receive an acknowledgment, the message is sent again with the set until an acknowledgment is received. As a result, receiver can be sent the same message multiple times and might process it multiple times.

Establishing secure MQTT connection

In order to establish a secure MQTT connection to the platform, create ca.crt file, copy and paste the following certificate inside it.

-----BEGIN CERTIFICATE----- MIIDmTCCAoGgAwIBAgIJAMPWVA80Rf38MA0GCSqGSIb3DQEBDQUAMGMxGzAZBgNV BAMMElNlY3VyZSBNUVRUIGJyb2tlcjERMA8GA1UECgwIRmF2b3Jpb3QxDDAKBgNV BAsMA0lvVDEjMCEGCSqGSIb3DQEJARYUc3VwcG9ydEBmYXZvcmlvdC5jb20wHhcN MTcwNjIwMDcxMjQyWhcNMzIwNjE2MDcxMjQyWjBjMRswGQYDVQQDDBJTZWN1cmUg TVFUVCBicm9rZXIxETAPBgNVBAoMCEZhdm9yaW90MQwwCgYDVQQLDANJb1QxIzAh BgkqhkiG9w0BCQEWFHN1cHBvcnRAZmF2b3Jpb3QuY29tMIIBIjANBgkqhkiG9w0B AQEFAAOCAQ8AMIIBCgKCAQEAw6jfao9GPyXR2oIjFseVN2wGHHf321VaOB21NwS9 hobsh7o37mOJUurDon2j2cnwj3PzRLxr5+1jtMlTh18KR7YvtI4QNVC0yZ1kfeYw doTVZ0JMm7kKqcwG75/HYTNehFTnTOKlCHcNG/lALOBUaF0Q8gccuP8w7mKsB/WY Kct7sG3Kom09vHpg14QML/4BqfBso3nMy2UpilmFqkd3iBZOc3OP93wbfoMdv+TY f3NuMC8GvjVj6w3y/ThVT5v9nW0hIOxnH0Z7/Z+StpKf66LEYrVK6wqrE+QOyPbt 7egm7xzufeMFYRG9D8yq1cdkgv91D+d0WZcGJ1WuhGmyGQIDAQABo1AwTjAdBgNV HQ4EFgQU92lSlWRQCgYvnDR+yKqbrJhXH8cwHwYDVR0jBBgwFoAU92lSlWRQCgYv nDR+yKqbrJhXH8cwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQ0FAAOCAQEAA0HF TipnY6COyJX9fPH9ZCW9+FitArf0liTJTOci2Wga6f7AWAvaqgEAYtOEwGmARTK8 i8MkAnf3rncvy/tegHIlklkmVHAnE8DaJIw+GwIQqg+CG+zW96M9ZicE2gP78I2d oMTKznk4POPzZOs5GnsFD50y49TY/gy7YEsmRhsyegnew9Ny45ZvAEsI1CD4QDZN nifCffGE5nNp7gcIlW5u66FvQ32deO9/Ag/83Qzj+MKvXtdkW+2PTG++g8qZnuZ6 51NjwKNY6DApQ5f7QN9WZHRs82s/SrWkMxv9HgIHMyQ6PxiRYZfaLdjTKgwv92P6 cDpPSjaUgpEJwiMvpQ== -----END CERTIFICATE-----

After saving the certificate in ca.crt file, provide the path to the certificate in the programme used to send MQTT data. See the sample code in the right column.

If you are having issues connecting your device to our platform, please contact us at support@favoriot.com.

Using IoT to Capture the Stars

June 22nd, 2017 Posted by BLOG, NEWS 0 thoughts on “Using IoT to Capture the Stars”

milky-way-923801_1280.jpg

What if you can use Internet of Things (IoT) to capture the perfect photos of the stars? What if it can ease your Astronomical instrumentation operation? These are some of the questions we asked ourselves when Shahrin Ahmad of Falak Online came to visit FAVORIOT, we explored several opportunities how IoT can play a role in Astronomy landscape. Shahrin is a creative Astronomy speaker for outreach events.  He is an experienced System developer for integrating astronomical instruments (telescopes, mounts, imagers ) and software, specifically on .NET framework. He had done many strategic consultations works on Astronomy to local agencies, universities, and schools. Shahrin is also the Owner and content provider for Malaysia’s Astronomy web portal, FalakOnline.

The possibilities of applying Internet of Things in different industries are endless. When you connect your most important asset, it will benefit not only the maker of the asset but also the users, other products and it’s surrounding environment.

Literally, watch this “Space” in the future.

IMG_9312.JPG

About the Author

Dr. Mazlan Abbas is currently the Co-Founder and CEO of FAVORIOT Sdn Bhd. He is an IOT Evangelist and a Thought Leader. He received an award as 50 Most Impactful Smart Cities Leaders by World CSR 2017. He is ranked No. 20th Thought Leader in IOT by 2014 Onalytics Report – “The Internet of Things – Top 100 Thought Leaders”, ranked Top 10 in IoT Top 100 Influencers by Postscapes 2016/2017, ranked Top 100 in Smart Cities Top Experts by Agilience Authority Index May 2016. He is also a Global Vision Board Member. You can reach him on LinkedIn or Twitter. Check all his presentation slides HERE.

Copyright © 2025 All rights reserved