Changed the event name to 'counter-changed' to match the Arduino/mbed/rpi example code