Today I bought two IP-cameras with Wifi from Biltema (Norway). Price: 649 kr ($79,78) each. Sensor: 1,0 MP / 25FPS CMOS LED range: 20 meters RTSP URL: rtsp://< IP-ADDRESS>:<PORT>/11 Other articles: Kameraovervåkning hjemme (Norwegian) Hardware The hardware looks like a basic “china-camera” and has the same wall mount as my YianTime …
Buying, installing and testing ConiuGo GSM LAN Modem with Diafaan SMS Gateway
We decided to try the ConiuGo GSM LAN Modem (dead link – removed) at my workplace, as the USB-devices we use now, is a bit tricky running on virtual machines and the virtual COM-ports isn’t always stable. Diafaan has also written a review about this modem. This article is an expanded version of the Diafaan review, with all the details I struggled with. …
Backup-script for MySQL
Shell script for backing up MySQL database. I am running this on a Centos 7 DB-server with MariaDB, but should work on most OS and MySQL installations. This is only an example, and the script is without any warranty. Create a .sh file Edit the .sh file The basics Delete old backups in folder: Where +3 is number of days. …
Testing Netatmo Weather station and using PHP API
We just bought some Netatmo devices (Weather station components) at work, to monitor the air-quality in our office. After using it for 3 days, I am a bit stunned over how much you can use this devices for. The data itself are interesting enough, but when integrating this data in to a smarthome, you can actually «see» where the people …
Open garage-port with Telldus
If you want to control your garage doors with Telldus, you need a wireless receiver and connect it with your garagedoor-motor push-button input. I bought RX-multi from portspesialisten in Norway.
The PHP Benchmark
Just found a PHP Benchmark page that can be helpful when writing PHP. In most cases you don’t gain much if your writing a while-loop instead of a foreach, but you can gain some in bigger applications. See PHP Benchmark results here: http://www.phpbench.com/ (Be aware that these results are live, so they will change in every refresh).
Change Windows 8.1 lock screen timeout
Every time I leave my computer alone, I lock it! Or else a colleague change my background to a fat lady or facerape me – as I would have done to them as well 🙂 Weaking up the computer in Windows 8.1 isn’t always flawless, especially if you have multiple monitors. Almost every time I wake my computer up, I …
Crontab (Linux/CentOS 7) – More frequent than 1 minute
Setting up crontab Open and edit crontab file Add this line (Change the path to your own) This will open the cronscript.sh every minute. Create a new shell-script file The .sh script will open the cron.php every 15 secounds. PHP cronjob manager THIS IS NOT NEEDED TO USE CRONTAB – It’s just my own little crontab manager …
Linux (CentOS 7) cheat sheet
This is mostly a cheat sheet for myself that and it would be updated frequently. Find packages
HTML5: Take photo with webcam
I needed a simple way to take product images on a local webpage. Instead of taking a picture with you phone, send image to your computer and upload it – why not use a simple webcam?