Skip to main content

Data Inheritance Part II

I was about to type a comment on a friend's blog but as this response would be too long, I decided to put a post on my own. Refer to Data Inheritance.

To try to make this point easier, pick a school of thought.

Optimist: Of course data will be stored forever and easily assessible via web interfaces on your refrigerator

Pessimist: Data is will be lost before you die due to some stupid virus or a hardisk failure. And you curse and swear

Tecnologist: Adequate information lifecycle management strategies can be implemented using archival, backup and content management tools.


The Optimist

Harddisks are getting bigger and cheaper right? When you upgrade machines, just copy stuff from one to the next leaving lots of spare. you might end up with a horrid number of old harddisks like myself that will confuse the wife, but its just the part of parcel of upgrades.

You can also utilise a host of external storage media, external enclosures and network attached storage and varied distributed and redundant file systems if you have an amazing amount of free time.


The Pessimist

For the people who believe that "We are all going to die", or simply those who had experienced several blackouts and had their computer power turn off while working. Trust me it is super irritating. Actually the dumbest incident I experienced was when i decided to plug my computer into a server room UPS not knowing maintenance was taking place, suffice to say I did lose some emails and documents I was typing several times. Also not forgeting the recent incidents when my collegue accidentally plugged out the main cable to my workstation that was under his desk. Maybe this was all some kind of karma for the time I accidentally unplugged a server's power to test a zip drive. Occupational hazzards for working in unknown environments.

Not sure if anyone remembers the CIH virus, but when I was in Uni, that wiped out my FAT partition table and I lost all my data. Thankfully, since then I've not lost much. Experienced multiple harddisk failures but that have been overcome by Linux's powerful will read everything attitute and multiple copies of data.

So in short, shit happens.


The Tecnologist

The fabled technologist with his infinite wisdom and astounding number of jargon and abbreviations, spurning out lingo like ILM and resilence. So, WIIFM aka. "what's in it for me"? In most cases I believe that care, common sense and courtesy will give people the ability to run any system. I actually got that 3 Cs from my boating instructor and thought thats incredibly simple and it is. This means that being a technogist isn't as far fetched as it sounds. Just ignore the show offs, get into a boat and start practising.

What is common sense in data management? Read my previous disk management post.


This is the end

In summary, I think data is a very important and integral part of people who spend half their lifes typing into various machines. It characterises people and I will not be suprised if in the future, our descendents will study cultural revolutions and argue whether web publishing and blogging was an important step in our cultural changes, evolution and education.

Data, more correctly described as 'information' (interpretated data in the useful form) is intangible making it immortal, however media is tangible and hence has a life expectancy.

Data conversion does take place, much like it has over the centuries and even vital information that may have been lost may be resurrected by modern archeologist. The only thing we can do is be responsible for our own information. I'm sure other than the junk we leave behind on the net on a daily basis, we should be responsible for ourselves and be the technologist with backup.

Comments

Anonymous said…
Hi Nice Blog. We Offer a wide range of back office and I.T Enabled data conversion services Which match the high global standards in terms of efficiency and accuracy.

Popular posts from this blog

Multiple Broadlink RM mini 3 integration using MQTT

Broadlink now has quite a lot of integration options almost out of the box. If you enable Broadlink IHC, you can directly link it to Alexa by giving the device a unique name.

There is a homebridge plug in for homekit integration but I haven't tried or tested this. https://lprhodes.github.io/slate/

I wanted to put the device in domoticz so I can have more control over what can trigger my broadlink. I decided to use broadlink-mqtt for this, which is a fairly easy method to trigger from any source.

Setup Instructions for broadlink-mqtt

1. git clone https://github.com/eschava/broadlink-mqtt

2. vi /home/pi/broadlink-mqtt/mqtt.conf

3. Update the mqtt.conf file with the device type set as multiple_lookup

device_type = 'multiple_lookup'
mqtt_multiple_subprefix_format = '{type}_{mac_nic}/'
4. Start the python script and check that it started and detected all the RM devices.
Check the log file to see what the IP / MAC addresses are. DEBUG Connected to RM2 Broadlink device at …

Fibaro HCL Virtual Device Slider

How to setup Fibaro home center lite (HCL) slider for virtual devices.

As the Fibaro HCL does not support LUA. The question was how to update the number value of the slider to send to the HTTP string. Thanks to this site which is a really good reference https://www.vesternet.com/resources/application-notes/apnt-88/

The 2 use cases here are;

Sonos HTTP API Volume

To allow for volume control for all Sonos devices, add a virtual device with the IP address for SONOS HTTP API and specify the default port to 5005. Create Slider and put the following text into the string.

GET /volume/_sliderValue_ HTTP/1.10x0D0x0A0x0D0x0A


Domotiz Virtual Devices

GET /json.htm?type=command&param=switchlight&idx=XX&switchcmd=Set%20Level&level=_sliderValue_ HTTP/1.10x0D0x0A0x0D0x0A

Replace XX with the device ID.

Restart Fibaro HCL when it stops working automatically

It seems that the Fibaro HCL seems to hang every now and then. Instead of trying to restart it regularly, which doesn't really work, as it's almost impossible to predict when this will happen.

This method checks that the HCL is actually running and in the event it stops working, trigger a script that will restart it.


1. Get a non Fibaro controlled power plug and scripts to control it.

I used a wifi smart plug, TP-link HS100 and downloaded the scripts from

https://blog.georgovassilis.com/2016/05/07/controlling-the-tp-link-hs100-wi-fi-smart-plug/

2. Create a bash script to restart the Fibaro, e.g. restart_fibaro.sh

#!/bin/bash

ip_addr=
scripts=

$scripts/tplink-smartplug.py -t $ip_addr -c off
sleep 10
$scripts/tplink-smartplug.py -t $ip_addr -c on


3. Create a test global variable in the Fibaro HCL

Go to the variables panel and create a test variable, e.g. Test


4. Add a cron entry to test that the Fibaro API is still working and restart if it's not.

The cron script is scheduled ev…