SodaqOne version 2 LoRa kit

First try at LoRa

 

I am a backer for The Things Network, but at the moment (december 10, 2016) the hardware isn’t ready yet. So I bought a LoRa node from Sodaq to try and see if I can get it to succesfully send messages to a TTN gateway. Here’s a log so far:

  • Bought kit from Sodaq, connected antennas and plugged in micro USB
  • Downloaded Arduino IDE from https://www.arduino.cc/en/Main/Software
  • Set http://downloads.sodaq.net/package_sodaq_index.json as additional board manager URL in preferences of Arduino IDE
  • Installed Sodaq SAMD Boards in Arduino IDE’s Board Manager and set board type to SODAQ ONE with OneBASE SPI
  • Re-plugged USB power which reset the board. A new ‘usbmodem’ port appeared and showed some data on the serial monitor. LoRa settings not yet correct. USB is disabled after a while. red led stays on, yellow led blinks as if showing data. Then all leds go off (sleep?)
  • Reading http://support.sodaq.com/sodaq-one/
  • Followed http://support.sodaq.com/sodaq-one/connect-to-the-things-network/ creating application on https://staging.thethingsnetwork.org/applications
  • Set Arduino monitor to 57600 baud and NL&CR
  • Completed settings. No OTAA activation succeeded yet and no messages.
  • Some hours later, got my first GPS fix. It happened after I opened a window, which may indicate that my windows are coated and bad for radio? Wouldn’t surprise me at all.
  • Second succesful GPS fix was with window closed 🙂 No LoRa activity yet. Probably no nearby gateway, anyway and today I won’t be leaving the house to try elsewhere.
  • Compiled and uploaded current version of the tracker from https://github.com/SodaqMoja/SodaqOne-UniversalTracker
  • Interesting article from someone who also uses the SodaqOne with TTN: https://vanderzee.org/blog/article-160730-181003

Fortitude Pro Cycling

Today the new female pro cycling team around Marianne Vos was announced: Fortitude Pro Cycling. In a way, this is the successor of the Rabobank-Liv team but there are some new names and some riders left #RaboLiv for other teams.

News articles:

http://cyclingtips.com/2016/09/riders-and-name-announced-for-marianne-vos-2017-team/ 

http://www.wielerrevue.nl/2016/09/29/opvolger-raboliv-fortitude-pro-cycling/

http://www.mariannevos.nl/media?mediaId=24486275

Fortitude Pro Cycling, nieuwe ploeg voor Yara Kastelijn

 

The official website at http://fortitudeprocycling.com appears to be offline at the moment. The official Twitter account looks to be https://twitter.com/fortitudeprocyc

Controlling Marantz (and Denon) AVR’s

I have created an app for the Homey by Athom to control Marantz AVR’s over ethernet (I have the NR1604 model myself). See https://apps.athom.com/app/nl.marcovandenhout.marantz (version 0.0.1 has been published, 0.0.2 is in review)

This page is meant to provide some generic links and information about the protocol used. Bugs or feature requests for the app itself can be added at https://github.com/hilvarenbeek/nl.marcovandenhout.marantz/issues

PDF with possible commands (written for Denon AVR’s): http://www.awe-europe.com/documents/Control%20Docs/Denon/Archive/AVR3311CI_AVR3311_991_PROTOCOL_V7.1.0.pdf

Found out that Marantz has quite extensive documentation on their own website, for example go to http://us.marantz.com/us/Support/Pages/Manuals.aspx and you can download Excel sheets with the command lists, and also which model supports which command 🙂

Models to add:

  • Marantz NR1604 (I have this one myself, and Homey forum user MennoVanGrinsven)
  • Marantz SR5007 (Homey forum user Floris)
  • Denon AVR X2200W (Homey forum user RobertLijkendijk)
  • Denon AVR X4000 (Homey forum user JacquesHeijnders)
  • Denon AVR X2100W (Homey forum user MarkVanDerHeijden)
  • Denon AVR X1200W (Homey forum user Panda)
  • Denon AVR X1000 (Homey forum user Bart)

Athom Homey

On the 10th of February, 2016 I received my Homey by Athom. It’s a home automation hub which listens to you and speaks back, and can control all kinds of devices. It has just been released, which means there’s still quite some bugs. So I will list here what has worked for me, and what hasn’t.

Currently on version 0.8.39 (started on 0.8.17)

Bugs I’ve encountered myself:

  • https://github.com/athombv/homey/issues/94 – philips hue, lux lamps wont (all) turn off or on with command all lights off or on

Works:

  • Adding and controlling Philips Hue lights. I have an existing Hue setup with Hue, Hue Lux, Hue Whites, Livingwhites, Livingcolors and LivingAmbience lamps. Homey added them all very easily by pairing with the hub (I have a first generation hub). You can then place the lamps in rooms so you can tell homey “OK Homey, turn of the lights in the living room” and that actually works 🙂
  • Adding and controlling Eurodomest 433MHz remote sockets. I bought a set of 3 sockets and a remote at Big Bazar for €10. They work nicely. Homey can add a socket by copying the remote’s radio signal, or by pairing with the socket directly after putting it into learning mode (press the on-off button on the socket itself for a few seconds)
  • Asking the time (“OK Homey, what time is it?”). Other built-in commands: what version are you, what are you doing, testing 1 2 3… voice recognition isn’t as good as Siri (Apple iOS) or OK Google (Android) though.
  • Adding a flow that turns on and off a light at a specific time. The turn off card has a delay so it first turns on the light then after a few seconds turns it off again.
  • Fibaro Motion sensor FGMS-001. A device that looks like an eyeball and uses Z-Wave. It was quite easy to pair, however the pairing wizard doesn’t know it is a Fibaro Motion Sensor and in stead adds some generic device. On the Homey forum I read that it was supposed to be on association group 3. Whatever that means 🙂 I’m new to this Z-Wave stuff.

Doesn’t work (yet ;):

  • Adding a bluetooth speaker. Confirmed that it doesn’t work yet, although it is being worked on by Athom.
  • cloning IR remotes isn’t working very well. Tried to copy my Philips TV remote but it won’t register even though the tv itself does (while pointing the remote at Homey!)

LED ring color meanings:

Yellow: Homey is starting, please wait

Red: Homey is dead, please disconnect power and restart

Blue: Homey is downloading something, you can still use me

Pink: Homey is updating, do not disconnect power

Orange: Homey is listening to your voice command

White: Homey is analysing your voice online

Rainbow: Homey is operational and waiting for an event

REST API:

Find the bearer token to use with the Authorization: Bearer HTTP header in the REST API:

go to my.athom.com, log in to your account, copy the link address of the homey picture, paste as text in a text editor, write down the bearer_token

tip: use https://www.getpostman.com/ to create the proper requests

Programming for Homey

I got my first Homey app working thanks to the documentation at https://developers.athom.com/library/introduction. I am creating an app to control my Marantz NR1604 receiver over the network (using the telnet-like interface over TCP).

The app (driver) is now online 🙂 https://apps.athom.com/app/nl.marcovandenhout.marantz

It should also work for similar Denon AVR’s which have the same network interface.

 

Kringloopwinkelen

Kringloopwinkels zijn altijd leuk om even rond te neuzen en om spullen te kopen die iemand anders niet meer nodig had, maar die nog bruikbaar zijn.

De volgende kringloopwinkels heb ik bezocht:

Rotterdam 2015/01/18

Today I had a great day, seeing Marike Jager perform at ‘Kantine Walhalla’ in Rotterdam. The show was amazing, not only Marike’s awesome songs and voice, and Henk Jan Heuvelink’s expressive piano playing, but also because of the addition of a live ‘projectionist’. Visuals were not done simply using an LCD projector, but using real ‘analog’ items on an overhead projector or by actual shadow play. Just like with Audiomachinist’s machines on the ‘Here comes the night’ tour, the additions work very well.

At the show I didn’t take any pictures, but afterwards I took some while walking through the city of Rotterdam. Have a look at the slideshow!

Good company, bad company

Quite often you read about companies or shops doing ‘good’ and ‘bad’ things, like recycling materials or using sweatshops. It’s quite hard to keep track of this. So for myself I decided to make a list of products I care about and what I learn about the companies that sell them. It’s a personal list that will never be complete, but that’s not the goal.

    Other lists and organisations that help determining good and bad things about companies

  • Fair Wear Foundation
    Bad or questionable raw materials

  • Angora wool. Often plucked in a violent way from live rabbits (source: Tros TV Kassa, 2013/11/25)
  • Sheep wool is sometimes bad, e.g. when mulesing is involved.
  • Fur. Fur animals are bred only for their skin, which is worse than leather. Fur can be imitated quite succesfully using synthetic materials
  • Silk. Silkworms are boiled alive
1 2 3