The block gets the last color value from the specified feed and stores it in PictoBlox. The value can be reported from the get () value block.
In this example, we will retrieve the color information from the cloud and make the Quarky lights ON and OFF with the selected color on the cloud.
In this example, we will retrieve the color information from the cloud and make the Quarky lights ON and OFF with the selected color on the cloud.
Adafruit IO Settings
- Create two new Feeds named Light and Color.
- Create a new Dashboard named RGB Light.
- Edit the Dashboard and add a Toggle Block.
- Connect the Light feed to the block and click on Next Step.
- Edit the Block Setting and click on Create Block.
- Block is added. You can try to toggle the switch.
- Next, create another block. This time select Color Picker.
- Connect to Color Feed.
- You will find the blocks on the Dashboard. Edit the layout as per your liking.
Script
The following script reads the Light feed value and makes the Quarky light up accordingly.
Output
Read More