Skip to main content

the network is the game

I've just discovered Sun's gaming strategy which is probably a bit slow, but I think it was an easy thing to miss which is my excuse. The games (non Sun Java) that get noticed have large product launches and snazzy graphics, fast computer requirements and heaps of advertisements and some freebies (which the high price of the game probably pays for).

However, according to Sun, "the network is the game". Sounds familiar? Because they also say "the network is the computer". I bet if they had to do something else like refrigeration, they would most likely say "the network is the fridge".

To Sun, games are java based and have generally bad graphics. Its almost back to the stone age to start at the beginning, but it does make sense as these games can be addictive and I do know a couple of people who play these Java games. Not everyone can rely on a keen sense of instincts and reaction times which are what all these fast paced action games are. And these games are sometimes better thought out for logic.

Still, most people still tend to fall prey to marketing and fancy boxes. (e.g. I just bought the Kane edition metal box for C & C Tiberian wars). Fancy graphics is what I like, Hollywood special effects and watching massive battles which I can control. Still Supreme Commander is another computer upgrade and I might actually give that a miss. :(

So a reliance on fast computers isn't the way to go either as its basically a selfish act for people who can afford expensive consoles and workstations. *drat*

I think Sun's key strength is portability and usability on all platforms. Yes the company that tries too hard to play well with others. Where as their competitors just tell you to suffer and pay the price of their bad design by trying to get faster computers that are never fast enough. (bad code)

In this demanding world, although going back to basics is necessary, it seems that the money generators is the gaming population that needs the fancy graphics and gore. For the record, I think THQ's Dawn of War does a pretty good job at keeping the graphics descent and playability on mid range machines possible.


Check out these websites for the java stuff.

http://java.com/en/levelup/index.jsp
http://java.com/en/games/

Comments

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…