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 http://127.0.0.1:5000/mote/api/v1.0/set/0000FF it works fine - 16 blue lights. Same curl -i http://127.0.0.1:5000/mote/api/v1.0/set/00ff00 - 16 green lights. But if I put anything in for red - curl -i http://127.0.0.1:5000/mote/api/v1.0/set/FF0000 I get only 8 red lights. If I do - curl -i http://127.0.0.1:5000/mote/api/v1.0/on 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?