Earthquake Monitor v2.0.1 released

Dear readers,

2 weeks ago I have released v2.0.0 of the earthquake monitor. A lot has changed in this release.

Today v2.0.1 is released with some little bug fixes!

  • Added a new variable {tsunami}. When enabled in menu and added to the template it shows a tsunami icon when a major event in an oceanic region has occured.
  • Added a new variable {type} that will display the type of event (earthquake ,quarry, chemical explosion e.t.c.)
  • Added shortcode [eqmonitor] to add (multiple) earthquake lists in pages or posts (more details in the Shortcode examples and parameters section of this readme)
  • Switched to Semantic Versioning MAJOR.MINOR.PATCH
  • All links that take care of JSON data-exchange are now HTTPS (SSL)
  • All links to PHP documentation are now HTTPS
  • Adjusted the yellow pager color to be a bit more darker (and readable on white backgrounds) (This can be altered in the CSS)
  • You can now use this widget multiple times on the same site. Each widget has an unique identifier and uses it’s own unique cache.

You can try it out here : https://nl.wordpress.org/plugins/earthquakemonitor

Oh, and here is a live example of the shortcode that has been added.

  1. M 7.0 - 118km E of Kimbe, Papua New Guinea 1 month ago Tsunami Icon
  2. M 7.5 - 70km N of Palu, Indonesia 2 months ago Tsunami Icon
  3. M 7.9 - 102km ESE of Suva, Fiji 2 months ago Tsunami Icon
  4. M 7.1 - 202km WNW of Ile Hunter, New Caledonia 3 months ago Tsunami Icon
  5. M 7.1 - 140km WNW of Iberia, Peru 3 months ago
  6. M 7.3 - 24km ENE of Rio Caribe, Venezuela 3 months ago Tsunami Icon
  7. M 8.2 - 286km NNE of Ndoi Island, Fiji 3 months ago Tsunami Icon
  8. M 7.5 - 83km SW of Porgera, Papua New Guinea 9 months ago Tsunami Icon
  9. M 7.2 - 3km S of San Pedro Jicayan, Mexico 9 months ago Tsunami Icon
  10. M 7.9 - 280km SE of Kodiak, Alaska 10 months ago Tsunami Icon

Subnetinfo new WordPress Addon

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.

Will become

Address IPv6: 2001:485:7a2:1200:a285:c66f:fb56:1d77 / 64 Netmask: ffff:ffff:ffff:ffff:0000:0000:0000:0000 Wildcard: 0000:0000:0000:0000:ffff:ffff:ffff:ffff HostMin: 2001:0485:07a2:1200:0000:0000:0000:0001 HostMax: 2001:0485:07a2:1200:ffff:ffff:ffff:fffe 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 Netmask: 255.255.255.0 Decimal IP 3232261130 Heximal IP 0xC0A8640A Binary IP 11000000101010000110010000001010 Binary Subnet 11111111111111111111111100000000 Wildcard: 0.0.0.255 Network: 192.168.100.0 Broadcast: 192.168.100.255 HostMin: 192.168.100.1 HostMax: 192.168.100.254 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/

Earthquake Monitor v1.85 released

Thanks to the feedback from the community ( https://bigislandlearning.com ) by e-mail or using the support forum on wordpress ( https://wordpress.org/support/plugin/earthquakemonitor ) 2 bugs are removed in the v1.85 edition of this plugin.

I am going to add some new features in a future release. Not yet sure which new features or when it will be released, but i will look into the possibilities.

Earthquake monitor v1.81 released

Just on the edge of 2016 a new update (v1.81) for the Earthquake monitor has been deployed. This release fixes some minor bugs and code to be compliant with WordPress recommendations. Also the plugin is prepared for internationalization. A dutch language pack is included and the template (*.pot) file to create your own language pack is added.

You can send other language packs to me and I will add them in the code. Credits ofcourse to the translator!

You can find the new release here : https://wordpress.org/plugins/earthquakemonitor/

And the change log below :

1.81

  • Added Dutch translation files
  • Added translation Template for potential other language translations
  • Minor bug fixes

1.80

  • Plugin is prepared for internationalization.
  • Fixed some bugs that caused warnings / errors due to obsolete code.
  • Tested with WordPress 4.8-alpha-39657
  • Various code improvements

 

 

Secure thanks to Let’s Encrypt (Free SSL Certificates)

Let's encrypt logo

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

cd /opt/letsencrypt

Encrypt your domain

./letsencrypt-auto --apache -d www.yourwebsite.com

Follow the instructions and finaly test your installation here

https://www.ssllabs.com/ssltest/analyze.html?d=www.yourwebsite.com&latest

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)

./letsencrypt-auto renew

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

Antenna mod for my WMR-200 weather station.

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

2015-07-05 00_00_09-Stadspolders Dordrecht, NL Weekly weather summary

 

 

 

 

 

 

 

2015-07-05 00_01_07-Stadspolders Dordrecht, NL Current Weather Conditions

 

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.

Earthquakemonitor Widget v1.7 released

2015-06-30 22_03_40-WordPress › Earthquakemonitor Widget « WordPress Plugins

Hooray again 🙂

Earhquake monitor v1.7 is released. This release has a total new cache structure and also a new feature is added.

 

PAGER (Prompt Assessment of Global Earthquakes for Response) background

PAGER (Prompt Assessment of Global Earthquakes for Response) is an automated system that produces content concerning the impact of significant earthquakes around the world, informing emergency responders, government and aid agencies, and the media of the scope of the potential disaster. PAGER results are generally available within 30 minutes of a significant earthquake, shortly after the determination of its location and magnitude. However, information on the extent of shaking will be uncertain in the minutes and hours following an earthquake and typically improves as additional sensor data and reported intensities are acquired and incorporated into models of the earthquake’s source.

Corresponding fatality thresholds for yellow, orange, and red alert levels are 1, 100, and 1,000, respectively. For damage impact, yellow, orange, and red thresholds are triggered by estimated losses reaching $1 million, $100 million, and $1 billion respectively.

2015-06-30 21_59_59-PAGER - Background

 

 

 

 

 

Further this is the changelog :

 

  • Need PHP v5.3 or higher
  • If the earthquake is located in the middle of no-where (not in or near a city or area) it will display the Flinn-Engdahl Region name. This prevents empty rows with only a magnitude showing.
  • Added optional display of PAGER (Prompt Assessment of Global Earthquakes for Response) color codes. ( See http://earthquake.usgs.gov/research/pager/ )
  • Bug fix when names with ‘ appeared in TITLE link.
  • Prefixed function-names to be more Unique.
  • JSON Feed error is only visible in source code (so it won’t destroy layout)
  • Cache function improved (now using database instead of /tmp directory)
  • Automatic refresh cache when feed properties are changed.
  • New screenshots frontend and backend.
  • Uninstall script present.
  • Various readme.txt adjustments.

You can download the new version here : https://wordpress.org/plugins/earthquakemonitor/