The Tree API service configuration is found in the chapter14/tree_api_service/config.py file. There are many configuration options in this file, and they mostly relate to the configuration of the APA102 (discussed in Chapter 8, Lights, Indicators, and Displaying Information) and the servo (discussed in Chapter 10, Movement with Servos, Motors, and Steppers). You will find this file and the configuration options well commented.
The default configuration will be adequate for running an example locally on your Raspberry Pi; however, the one configuration parameter you should check is APA102_NUM_LEDS = 60. If your APA102 LED strip contains a different number of LEDs, please update this configuration appropriately.
Let's run the Tree API service program and create some light (and movement)!