Admin

Python Script for MySensors WiFi/Ethernet Gateway

Python Script for MySensors WiFi/Ethernet Gateway: To communicate with MySensors WiFi/Ethernet gateway I’m using Python script which run as cron job on my controller (Raspberry pi). Python script is used to receive all incoming and sending all out going commands through serial gateway to all MySensors nodes. You can start python script to check all communication is working fine and script can communicate with MySensors WiFi/Ethernet Gateway. Installing Dependencies Login to your raspberry pi via ssh and issue following commands…

0
Read More

Python Script to Communicate with Serial Gateway

To communicate with mysensors serial gateway I’m using Python script which run as cron job on my controller (Raspberry pi). Python script is used to receive all incoming and sending all out going commands through serial gateway to all mysensors nodes. MySQL Table to For  Incoming Messages First you need to create table in MySQL database so we can save all incoming messages from wireless sensors to MySQL database. Simply create table or copy and past this script to create…

1
Read More

One Wire Temperature Sensor – DS18B20 to MySQL/MariaDB Database

If you followed instructions on how to connect One Wire DS18B20 to Raspberry pi gpio then next step would be how to take temperature readings from DS18B20 1-Wire digital temperature sensor and store these readings to MySQL/MariaDB database. As you may know that each DS18B20 1-Wire digital temperature sensor has a unique 64-bit serial number wonderful part that we can have more then one DS18B20 1-Wire digital temperature sensor connected to same 1-Wire bus. MySQL/MariaDB Table Structure In order to…

20
Read More

Install Apache, PHP 7.0 and MySQL/MariaDB on a Raspberry Pi (LAMP) with phpMyAdmin

LAMP is an acronym that stands for Linux Apache, MySQL/MariaDB and PHP. i have LAMP installation post for PiHome but i see lots and lots of people are looking for setting up php 7 with phpMyAdmin and MariaDB on raspberry pi and there isn’t any comprehensive set of instruction that covers this all for PHP 7, MariaDB on raspberry pi. If you are looking for Raspberry pi SD card image for LAMP (Apache, PHP 7.0 and MySQL/MariaDB on a Raspberry…

21
Read More

Download LAMP (Apache, PHP 7.0 and MySQL/MariaDB and phpMyAdmin) Server IMG File

Download LAMP (Apache, PHP 7.0 and MySQL/MariaDB and phpMyAdmin) Server IMG File that I have prepared for Raspberry pi and it will fit on 8GB SD card, this image comes with the LAMP stack and including Apache, PHP 7.0 and MySQL/MariaDB and phpMyAdmin pre installed and configured, you can download this image and burn it on SD card (minimum 8GB sd card required). if you need help with how to copy img file to sd card please check this OS…

23
Read More

Auto Reconnect WiFi on Raspberry Pi

My Raspberry Pi 3 Wi-Fi isn’t very reliable even after disabling power management my RPI still manages to lose connection to  my Wi-Fi router and i don’t have any keyboard or screen connected to it and its not advisable to do hard reset i.e unplug the power as it may corrupt your SD card. I’m going to cover writing a short script that Auto Reconnect WiFi on Raspberry Pi to a Wi-Fi network. The script will run as cron job…

21
Read More

How to setup OpenVPN on Raspberry Pi

Raspberry Pi OpenVPN is a great way to access a home network from a remote location. In addition it can be used to secure network communications when connecting to public Wi-Fi. Since the RPi is very low-powered single board computer it is ideal for setup your own Raspberry VPN server with OpenVPN. OpenVPN comes with Easy_RSA, a simple package for using the RSA encryption. Let’s find out how you can how to setup OpenVPN on Raspberry Pi device. Why VPN?…

4
Read More

WiringPi Installation

The WiringPi is required to interact with Raspberry Pi’s GPIO pins, it plays very important part to control zoned heating system, In this post i will show you how to install WiringPi on your Raspberry Pi. With WiringPi we can control multi zone heating system and your boiler relay that is connected directly on your Raspberry pi GPIO pin. if you want to build wireless zoned heating system then follow Wireless Arduino Multi Zone Controller Relay with nRF24L01.  Install WiringPi…

5
Read More

Raspberry Pi WiFi setup

I prefer to use WiFi on Raspberry Pi as it makes RPi portable and limits the numbers of cable attached to this small mighty computer lets do Raspberry Pi WiFi setup to have less cables attached to this might computer. Setup WiFi on Raspberry Pi Lets setup wifi on raspberry pi so we can go wireless, First you need to scan for wifi networks, use the command sudo iwlist scanning wlan0 scan to list all available wifi networks in your…

6
Read More

Enable Reboot/Shutdown RPI from Web

You can not simply run command from php file to Reboot/Shutdown Raspberry Pi as you would from shell and it wouldn’t be very convenient to login to shell and issue Reboot/Shutdown command each time you need to bring reboot or shutdown your Raspberry Pi. You need to write script that would reboot Raspberry Pi. Some OS configuration changes to allow the reboot command from web application. Php page to execute script to shutdown or reboot Raspberry Pi. Python Script for…

0
Read More