Mote pHAT wierdness


I am trying to apply the tutorial for Using Mote with Homekit and Siri to the mote pHAT but it’s behaving a bit strangely, when I test it using - curl -i it works fine - 16 blue lights. Same curl -i - 16 green lights. But if I put anything in for red - curl -i I get only 8 red lights. If I do - curl -i a second time the rest of the lights will turn red!

The only changes are instead of - from mote import Mote - I have - import motephat as mote and left out mote = Mote() apart from that it is the very same as the api in the tutorial. Can anyone help me with this please?