I now have the lights coming on.
Went back to basics and made the lights come on via the YAML by putting a “driver” section in the YAML.
I had assumed that the device had remembered the way it was set from earlier command line invocations of bp but either it had not remembered or that is not how it works.
Anyway - now that I have the lights switching on, I can change them via REST.
For anyone else struggling with this, here is what I did.
I made 2 yaml files
init.yaml and strip.yaml
Contents as follows:
(8787 is the default port number so is not needed but I put it there as a reminder for when I look at it in the future when trying to work out what is going on/wrong)
(where 0,0,0 is all LEDs off)
Then started BiblioPixel with
bp init.yaml + strip.yaml
Then can change colours simply by sending URLs to it in form
to set R=50, G=0, B=0
to turn them off
So … I know this is way too basic for AllPixel devices but I think I will now be to make it to drive some cupboard lighting from Home-Assistant which should in turn also mean driving it from Alexa.