Uncategorized

Uncategorized

Step 1: Download PHP Download PHP from here: https://www.php.net/downloads.php, click on Windows downloads. I just downloaded the .zip file at the top: VC15 x64 Non Thread Safe (2020-Mar-17 16:16:15)Zip [24.78MB]sha256: 1a1a90e07dfcc3b5b0f1847c2de58c7bf5386e5dd4616d680fe8bee27a24985e Extract .zip file I extracted it to C:/data/php-7.4.4-nts-Win32-vc15-x64 Step 2: Add environment path I found this article with some nice images: …

For a long time, the disk on Home Assistant box has been slowly filling up. I found that is was the MySQL DB docker container that took up all the space. My setup My Home Assistant runs in docker on an old Dell 7010 with Ubuntu 18.04. Data is recorded in another MySQL docker container. The HA container is running …

Home Assistant

Home Assistant is probably the most flexible and powerful smart home-gateway at this moment!

Using Adldap2

I have been using Adldap v4.x at my work for a while now. After installing a test-server with PHP7, I found that the Adldap needed to be updated. I started with Adldap 5.x, but in the middle of the testing, it looked like the Adldap-project wasn’t maintained anymore. So I had to jump over to Adldap2, which wasn’t as straight …

Today I released a new version of Infoplakat.no, which is a web-application for digital signage (info screen). The application is only available in Norwegian at this moment, but are hoping to translate in to other languages in the future.

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 …

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?

This is a short guide for creating to virtual hosts on Apache with CentOS 7. For detailed description, see source at the bottom. Use sudo in front of the commands if your not root. Create folders Give users permission to the folders Modify permissions to www-root Create a index.php file with some content on the web-folders we created. Create …

Hysnes fort

Søndag 14.09 tok jeg noen runder over Hysnes fort med dronen. Beklageligvis var batteriet til FPV-brillene flatt, så måtte fly sånn sett innenfor synsrekkevidde til en vær tid uten å se hva jeg egentlig filmet. Filmen ble derfor litt kortere og dårligere enn forventet, men fikk gjort det beste ut av det 🙂 Det er mye mer å se på …

Denne artikkelen er viderepublisert fra min tidligere nettside/blogg, da den er/var en av de mest leste. Artikkelen er opprinnelig publisert 14.02.2012! Del 1 Rundt sommer/høst perioden ble jeg oppringt av en person som sa at jeg hadde vunnet en premie i forbindelse med spørreskjema som jeg hadde fylt ut. Da jeg bruker å fylle ut slike skjema fra selskaper som …

Siste innlegg

Outdoor temperature vs. heating

I wanted to create a simple chart to show electricity consumption vs. the outdoor temperature. Prerequisites: There are a lot of guides and videos of how to install HACS and ApexCharts if you don’t already have it. Just Google it 🙂 Summary Measure power usage I have a lot of different heating options, like floor-heating, heat pump and panel oven. …

Install (Upgrading) ESXi on my server

After a power failure today, my ESXi server didn’t boot. I ran my ESXi installation from an USB-stick and the screen just went to black when trying to boot from it. As my setup is almost default, the easiest fix is just to re-install it from scratch. Getting newest available version of ESXi Look like VMware is still greedy and …

Home Assistant Glow

Testing Home Assistant Glow for reading my electricity usage in Home Assistant.

Uppy file uploader and proxy = headache

While testing the Uppy.io file uploader I struggled with some CORS-errors. Almost the whole day was wasted troubleshooting and debugging. Trying different headers, debugging network-traffic and reading stack overflow. The browser returned a CORS-error and Uppy itself returned a network traffic error. 99% of all issues and google-results pointed to an api/server issue with my headers. The weird part was …

Docker proxy with self-signed certificates for local development

Found some great docker-images to use in local projects. It’s well documentet in github here: https://github.com/sebastienheyd/docker-self-signed-proxy-companion Here is an example of docker-compose from the github repo: This guide can help you to add the certificate in Chrome: https://www.pico.net/kb/how-do-you-get-chrome-to-accept-a-self-signed-certificate/

Kategorier