Updated My Journal (2019W30)

Had a small vacation went to Finland. Got my pi0-docker-cluster working. And some research on psvr and physical ixbar3k.

New Approach to Docker

The RPi0’s docker issue doesn’t seem to fix itself, but apparently there are images that I can try. HypriotOS seems to do the job. Let’s hope so.


With etcher extracted and +x’d, it should be simple as 1-2-3 to flash.

… Why can’t things just work!


Ok, let’s try with flash. Editeddevice-init.yaml and config.txt and:

flash --userdata 1/device-init.yaml --bootconf 1/config.txt hypriotos-rpi-v1.10.0.img

Well… almost. The device appears on the router so WiFi works, but I can’t ssh into it. Hooked the device to my main screen to see some debug messages and now I can ssh into it! So it just needed a reboot (flashing the other two SD-cards proved this.).

Hello World!
It Works!

Inky pHAT

Docker seems to work, SD’s are flashed, time to try inky pHAT.

$ sudo pip install inky | bash

~50 min later.

$ python name-badge.py -t "phat" -c "red" -n "IX"
 Inky pHAT/wHAT: Hello… my name is:
 Use Inky pHAT/wHAT as a personalised name badge!
 Traceback (most recent call last):
   File "name-badge.py", line 29, in 
     inky_display = InkyPHAT(colour)
   File "/usr/local/lib/python2.7/dist-packages/inky/phat.py", line 27, in init
   File "/usr/local/lib/python2.7/dist-packages/inky/inky.py", line 74, in init
     self.eeprom = eeprom.read_eeprom()
   File "/usr/local/lib/python2.7/dist-packages/inky/eeprom.py", line 103, in read_eeprom
     i2c = SMBus(1)
   File "/usr/local/lib/python2.7/dist-packages/smbus2/smbus2.py", line 253, in init
   File "/usr/local/lib/python2.7/dist-packages/smbus2/smbus2.py", line 265, in open
     self.fd = os.open("/dev/i2c-{}".format(bus), os.O_RDWR)
 OSError: [Errno 2] No such file or directory: '/dev/i2c-1'

yeah… next failure. Maybe I have the old version?

curl https://get.pimoroni.com/inkyphat | bash

15 min later. This time it works! Finally all works. (I just hope that my docker stuff still works).

Swarm time!

One of my main reasons on this RPi0-cluster was to create a cluster of these. Docker uses Docker Swarm officially to do this. Going through the tutorial.

$ docker node ls
 ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS      ENGINE VERSION
 14pmm84o605we30jfmqoqx080 *   Enigma-1            Ready               Active              Leader              18.06.3-ce
 p3z0ghdb7wkdrova3xws154iz     Enigma-2            Ready               Active                                  18.06.3-ce
 5yaatiw6f46ihi0nipbg5tjyz     Enigma-3            Ready               Active                                  18.06.3-ce


While playing around I noticed that grafana failed to run. Apparently it was built for ARMv7 and RP0 has ARMv6. So that failed. There are .deb, but that requires updating reposistories and since docker doesn’t work with the latest raspian, I’ll pass this (for now).



With Alita coming soon as 3DBR, I was thinking use my PSVR as PCVR and apparently, YES! There’s Littlstar on PS, but that is rather expensive and buggy.

Of the above I will try Trinus and GoProPlayer someday. Setting up the cables and booting to W10 is not a high priority on me. There are also rumors that VLC will support PSVR and may even get a release on PS! That would be epic.

Other PS Stuff

Finished Bloodstained and there’s a new patch for DoAX3! It’s nice to get DoAX updates, but scary as Sony moved their HQ to the uppity parts of the US.

Physical ixbar3000 has been on my mind recently. Started planning that, but more research is required since I haven’t built computer for 15 years. I also need to prepare the software for it.