Wi-FI Remote for MI TV using ESP8266

I got an MI Smart TV and was pretty much interested in including that in my Home Automation system (OpenHAB). It is supposed to be controlled so that it can be turned on or off based on profile and scene. Although the TV does support MI TV remote over Wi-Fi, it is not able to turn on the TV when it is off. The easiest way to do so is to replicate the remote to an ESP8266 board is having an IR LED and Wi-Fi. By using it everything that…

Read More

Cheap LoRa Gateway using Pi & RAK831

RAK831 LoRa Gateway

Lately, I have been working with LoRAWAN and I don’t have Lora gateway around. As you might be knowing LoRAWAN network requires a gateway to push data to the internet. As Lora is not an IP based protocol the gateway helps it in doing so. Basically, multiple LoRAWAN nodes transmit data to the gateway and the gateway transfers the concentrated data to server backend. Server backend which resides in the cloud contains a network server which helps in managing the network and the application server which is responsible for the data and…

Read More

RPi GPIO Programming using Arduino Web IDE

RPi GPIO Programming using Arduino Web IDE

Recently Arduino has launched support for programming ARM-based SBCs by using the Arduino web editor and Raspberry Pi is one of the SBCs in the list. This video is all about the basic setup to get started with the programming of the Raspberry Pi GPIOs by using Arduino codes. The setup is pretty simple and will help you if you are more comfortable in the Arduino ecosystem as compared to python. More depth functionalities are yet to be checked.  

Read More

Arduino: String to Array Conversion based on delimiter

arduino_logo-wallpaper-1920x1200

This is a simple sketch on how to convert any String to Array in Arduino based on any token or delimiter. Whenever you are working on any project which involves data transfer between Arduino and Other devices/micro-controllers using serial or Wi-Fi or Ethernet you might need to transfer chunks of data and usually the data are not mapped unless you are using JSON or XML. Use of JSON and XML works fine, but proper parser needs to be added to the micro-controller to parse the encoded data.  So if required…

Read More

OpenHAB2 Installation on Ubuntu Server (16.04)

Ubuntu and OpenHAB

 In my last post about the installation of Zulu JDK to Ubuntu 16.04 server, I covered how to do so and was required so that OpenHAB can run on my server. This post is in the line of my last post and is about the installation of OpenHAB to ubuntu 16.04 server. This post is all about installing OpenHAB to Ubuntu 16.04 using the manual method. I tried with apt-get, but that didn’t work for me.   STEP 1 (Download OpenHAB runtime): Navigate to a folder where you can download files…

Read More

Install Zulu JDK on Ubuntu

ZULU JDK on Ubuntu

Recently I moved my server to Ubuntu from windows. I went with Ubuntu 16.04 server edition as it is lightweight as compared to desktop edition and comes preloaded with some server tools. As I am running OpenHAB for my home automation system I wanted to install it on the server but the server edition doesn’t come with JAVA/JDK pre-installed. As per OpenHAB, Zulu JDK is the recommended JAVA platform and performs better as compared to OpenJDK. Though Oracle JDK can be installed, I thought of trying ZULU. So let’s see…

Read More

Setting up Amazon Echo Dot (Indian Variant)

Amazon Echo Dot

Recently we got the Indian variant of the Amazon Echo Dot which Amazon has started shipping this Nov in India.  Being a Home Automation Enthusiast I was eagerly waiting for that and is desperately into checking out the features of the Echo Dot with my DIY Home automation System. But before publishing video around Echo Dot with OpenHAB and my Automation System this post is about setting up the Echo Dot when you are using it for the first time, which is actually pretty easy.  So stay tuned for upcoming…

Read More

Access Watchdog Timer of Raspberry Pi using JAVA

This tutorial is all about using the watchdog timer of Raspberry Pi by using JAVA. For this, we are going to use Pi4J library. Watchdog Timer: “A watchdog timer (sometimes called a computer operating properly or COP timer, or simply a watchdog) is an electronic timer that is used to detect and recover from computer malfunctions. During normal operation, the computer regularly resets the watchdog timer to prevent it from elapsing, or “timing out”. If due to a hardware fault or program error, the computer fails to reset the watchdog, the timer will elapse and generate a timeout signal.…

Read More

Programming Linkit Smart 7688 DUO using Arduino IDE

Linkit Smart 7688 DUO

In this tutorial, we will see how to program the Atmega324 controller of Linkit Smart 7688 DUO module using the Arduino IDE. The boards come in two flavors, Linkit Smart 7688 and Linkit Smart DUO. The difference between both is that the DUO has an ATMEGA324 controller apart from the main MPU which can be programmed using Arduino. In DUO module GPIOs of both the MPU as well as MCU are exposed and some are even multiplexed. The MCU can also be interfaced or controlled using the MPU but in…

Read More