Okay
I’ve created a little same idea got also that message
Do you know if if it’s also possible to ask question in telegram chat and how to build
Okay
I’ve created a little same idea got also that message
Do you know if if it’s also possible to ask question in telegram chat and how to build
For Google search you need to use the 2.5 API.
I think it can be possible to use the text in Telegram as input text for Gemini.
in the text field you can use a variable.
Not 3.5?
No that gives me the error “You have exceeded your daily quota”.
I’ll try to shed some light on the topic of models and quotas.
Google AI Studio allows you to create a free or billable API key.
The free API key is more than sufficient for generating text (send a prompt) and analyzing images (send a prompt with image), but it’s practically useless for smart home management (send a command to a smart home).
The latest Gemini models (2.5 and later) have added the ability to manage tools independently (called function calling) alongside simple text/image generation/analysis. Smart home management through Gemini is based precisely on this function, and for each individual command, Gemini uses one or more tools to complete it. For example, if you ask Gemini to turn on the kitchen light, it first calls a tool to find all the devices in the kitchen (the first tool), and once it has identified the light, it turns it on (the second tool). Furthermore, every piece of information Gemini processes consumes tokens. Therefore, the longer the list of devices in the kitchen, the greater the token consumption, and the more complicated the task, the more tools are involved, and the greater the token absorption.
For all these reasons, managing your smart home with Gemini’s free API Keys allows, at best, only a single simple command, so for everyday use, you’ll need to switch to the paid APIs. However Gemini’s token cost to manage a smart home is minimal (few euros cents per month).
Regarding models, I recommend using Gemini 2.5-flash-lite for text generation and image analysis, and Gemini 3.1-flash-lite for smart home management.
Gemini 2.5-flash-lite is the most affordable model overall, so even with a free API Key, it allows for more than adequate daily text generation and/or image analysis. On the other hand, it’s a bit limited for smart home management (it can execute basic commands, but it struggles with more structured requests).
The Gemini 3.1-flash-lite is ideal for smart home management because it’s still an affordable model, but the entire Gemini 3 family has advanced reasoning capabilities, more than adequate for managing a home.
For example, I have a second home where I only go on weekends. In the winter, I ask Gemini to check how long it took for the temperature to reach 21 degrees Celsius the last time and to set the heating to turn on accordingly. This request is successful with the Gemini 3.1-flash-lite, but it isn’t executed by the Gemini 2.5-flash-lite.
All the other, more powerful models obviously work even better, but for managing a smart home, I think they’re more than adequate.
Good idea! I could create a condition card that returns true or false if the question posed to Gemini can be traced back to a Boolean, or returns an error if it can’t.
Once I’ve finished working on the advanced flows, I’ll get to work on it.
nel primo post trovi degli esempi di utilizzo tra cui anche WhatsApp / Telegram Integration