Open
Conversation
…a Spire configuration
…types in VybraSpire device initialization
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
…al variable for improved readability
…he authentication check directly
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
…and simplify function loading
…ry string conversion
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
… add-vybra-spire
…or VybraSpire to inherit from it
…ency and readability
…ability and validation
…roved encapsulation and readability
…e for improved error handling and readability
… add-vybra-spire
… add-vybra-spire
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces the integration of the Vybra Spire device into the RPi-AI project. The most important changes include adding the
tinytuyadependency, updating the installation script to handle new environment variables, and implementing a new module for interacting with the Vybra Spire device.Dependency updates:
pyproject.toml: Addedtinytuyato the list of dependencies.Installation script enhancements:
release/install_rpi_ai.sh: Modified the script to prompt for Vybra Spire-specific environment variables if they are not set. [1] [2]release/install_rpi_ai.sh: Removed the instruction to add theGEMINI_API_KEYto.bashrcfrom the README generation section.Vybra Spire device integration:
src/rpi_ai/function_calling/devices/vybra_spire.py: Implemented a new module with classes and methods to control the Vybra Spire device, including turning it on/off, setting modes, and retrieving the current temperature.src/rpi_ai/functions.py: Added the Vybra Spire functions to the list of available functions in the RPi-AI system.