I have been working on a new little plugin to make life a bit easier.
This addon uses a shortcode to parse IPv4 and IPv6 addresses in nice detailed boxes.
Address IPv6: 2001:485:7a2:1200:a285:c66f:fb56:1d77 / 64
IP Addr. full: 2001:0485:07a2:1200:a285:c66f:fb56:1d77
Heximal ID: 0x2001048507a21200a285c66ffb561d77
Type address: Global Unicast RFC2928
Address IPv4: 192.168.100.10 / 24
Decimal IP 3232261130
Heximal IP 0xC0A8640A
Binary IP 11000000101010000110010000001010
Binary Subnet 11111111111111111111111100000000
Usable hosts: 253
Network Class: C (Private Network RFC1918 )
This is all it does for now. Suggestions are welcome ofcourse.
Here you can see it in action. The plugin is currently in review mode @wordpress , if it is released, you can find it by the name : subnet-info ( Or : https://wordpress.org/plugins/subnet-info/
I want to thank Let’s Encrypt and their sponsors for providing a free solution for securing the web!
If you want to try it yourself. Check it out here : https://letsencrypt.org/
How to secure your debian LAMP website :
(If you have no git installed)
sudo apt-get install git
Download the letsencrypt Client
sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
Go To the letsencrypt directory
Encrypt your domain
./letsencrypt-auto --apache -d www.yourwebsite.com
Follow the instructions and finaly test your installation here
Oh, and don’t forget. Your certificates are valid for 3 months (90 days) unless you renew them. To automate this renewal process you can add the letsencrypt-auto renew command to your crontab.
If you check every 60 days you will never run out of valid certificates.
To run the script manualy (from the /opt/letsencrypt directory)
Add to crontab :
sudo crontab -e
and add this rule
30 2 * * 1 /opt/letsencrypt/letsencrypt-auto renew >> /var/log/le-renew.log
Logs for the renewal will be stored at /var/log/le-renew.log
I was having a lot of problems with the default mounted antenna of my Oregon Scientific WMR-200
Weatherstation. This resulted in not receiving the temperature sensor. The distance between my temperature sensor and the receiver is aprox. 20 meters (line of sight) but this was enough to allow interference stop receiving the signal for a long time (usually all night)
You can see that in some historical records
This resulted in a lot of N/A readings.
Today I have removed the original antenna from my WMR-200 and I have mounted a new antenna with a better gain. Since the signal is tranmitted over 433.92 Mhz I ordered an antenna that is suitable for this job.
So, i will tell you what materials I used for this little modification.
1 x High gain antenna (suitable for 433.92 Mhz) (Diamond RH9541S)
1 x SMA Male to SMA Female RG316 Cable
1 x Solderering Iron
1 x Little piece of wire
A little bit of Teflon tape (or other tape)
Continue reading Antenna mod for my WMR-200 weather station.
If you woke up tomorrow, and your internet looked like this, what would you do?
Imagine all your favorite websites taking forever to load, while you get annoying notifications from your ISP suggesting you switch to one of their approved “Fast Lane” sites.
Think about what we would lose: all the weird, alternative, interesting, and enlightening stuff that makes the Internet so much cooler than mainstream Cable TV. What if the only news sites you could reliably connect to were the ones that had deals with companies like Comcast and Verizon?
On September 10th, just a few days before the FCC’s comment deadline, public interest organizations are issuing an open, international call for websites and internet users to unite for an “Internet Slowdown” to show the world what the web would be like if Team Cable gets their way and trashes net neutrality. Net neutrality is hard to explain, so our hope is that this action will help SHOW the world what’s really at stake if we lose the open Internet.
If you’ve got a website, blog or tumblr, get the code to join the #InternetSlowdown here: https://battleforthenet.com/sept10th
Everyone else, here’s a quick list of things you can do to help spread the word about the slowdown: http://tumblr.fightforthefuture.org/post/96020972118/be-a-part-of-the-great-internet-slowdown
Get creative! Don’t let us tell you what to do. See you on the net September 10th!
via Battle For The Net.
I bought myself a Plugwise system. The reason for this is that I can monitor my total power-usage, but I cannot see the details. I.e. : What is my refrigerator using? What is the freezer using? I can only see the sum of the total.
Plugwise made some nice hardware that allows you to monitor each device (or multiple devices behind on the same power-socket) to give you clear insight in the usage. Unfortunate sending and logging the information online will cost you a subscription.. I think for the price of the plugwise this should be a free service to store your data online for at least 2 years.
Continue reading Plugwise DIY monitoring PHP
It has been a while since my last post. But I have been working on something I waited for so long. I have a real smart-meter (instead of my previous Iskra ME162 digital meter that has no I/O ports that are active (infrared) or any other useable way to read out the meter without breaking the seal)
Continue reading DIY monitor for Smartmeter
As promised some time ago here is the post explaining how I use my Raspberry PI to monitor my SolarPanel Output. I use PHP for this mather.
When I bought my solar panels back in november 2012, I knew that i wanted a Raspberry to communicate with the Solar inverter and read out the values to store them in a database. My preferred language to use was PHP. I will show you how I did this.
First a summary of the equipment I used :
Continue reading PHP Solarpanel monitoring via Rasperry PI
Welcome back to part 3 already with DVB-T Fun with a Raspberry PI. In this part I will show you how you can profit from receiving all the data of your neighbors fancy wireless weather station data and use it for your own benefits.
Weatherstations with wireless sensors are very common and cheap now-a-days. Prices vary from 80 euro to a few hundred euros. What most of them have in common is the use of the LPD433 (Low Power Device 433 MHz) or unlicensed ISM band/SRD bandfrequency to transmit the data on air. (Among with wireless doorbells, cheap wireless alarms, car key-locks e.t.c…)
The maximum transmission power for these devices is 10mW max. This will cause you will be receiving only weather stations that are in your direct vicinity (depending on your antenna set-up of course)
Continue reading DVB-T Fun with a Raspberry PI – Weatherstations (Part 3)
Hello and welcome back! Part 2 of the series “Fun with Raspberry and DVB-T”
In this series we are going to use our previous setup to receive aircraft information with dump1090 . What aircraft is flying where? What altitude? Where is it heading to? All this information from the airplanes near the reach of your antenna can be grabbed from the air (1090Mhz) .. and all this with your little Raspberry and a cheap DVB-T Dongle.
Continue reading DVB-T Fun with a Raspberry PI – Airtraffic (Part 2)
In this chapter : Playing Radio with a Raspberry PI and a DVB-T Dongle.
You have probably heard about the cheap little USB Dongles made to receive digital Television and / or radio. They come in many shapes and forms (and prices) but you can find some cheap ones around the net. You can score one for around 10 € easy on ebay.
Continue reading DVB-T Fun with a Raspberry PI – Playing Radio with Linux (Part 1)