Automated bulk command execution on SSH enabled hosts and devices
In the lockdown period, during pandemic, there is nothing much to do over weekend 😏. Was just thinking of writing ✍️ something, something useful…. then came up with an idea to address a common problem that many sysadmins and netadmins come across. At times, we want to run set of commands on many devices, hosts […]
3D model of my house
I had designed 3D model of my house long time back, I guess in 2007 or so. Today, while browsing my old data I found couple of “kmz” files. And was glad to see one of them was a 3D model I prepared in sketchup tool more than 10 yrs ago :). You can view […]
IoT switch using relay operated by micropython based NodeMCU
IoT is gaining market rapidly. In recent years, many appliance, automobile manufactures have started adding “connected” features in their product line. Most basic IoT implementation you can think of is, switching on|off an appliance over internet. Let us see how this works and how you can build a IoT switch under 7 USD. You need […]
Multi topic IoT subscriber model
In a typical IoT model, you have many IoT sensors publishing data to IoT broker. You may want to collect data from all these IoT nodes in a database for visualization and further analytics. I have couple of IoT nodes installed in two houses in two different cities. And I collect data from all IoT […]
Air quality monitor using GP2Y1010AU0F sensor on micropython based NodeMCU
I had purchased GP2Y1010AU0F sensor about 6 months back. Finally, found time to hook it with NodeMCU controller. Firstly, let me list things you need. NodeMCU (ESP8266) controller (~300₹). GP2Y1010AU0F dust/smoke sensor(~450₹). 150k ohm resistor. 220 µF capacitor. breadboard with some connecting wires. Here is the connection schema of circuit. Since solution is based on […]
Transmit weather stats from DHT22 using MQTT on micropython
In my previous article about DHT22 sensor, I had used arduino based programming to collect and transmit weather stats over MQTT. But that time I was wondering, how can I make it flexible by having WiFi, sensor and MQTT parameters configurable. Now, with micropython, I can prepare a simple json config file having all parameters […]
Publish IoT messages from micropython based client
Micropython is quite capable firmware to build prototypes and do experiments. Paired with ESP8266 micro controller board, it builds a perfect IoT client, which can be further interfaced with variety of sensors, motors, relays etc. Fundamental of IoT is data collection from sensors and connected IoT nodes. You can also establish machine to machine communication […]