set volume to 20

This commit is contained in:
akdeb 2025-10-23 00:57:10 +01:00
parent 6628378e27
commit 6632e51285
5 changed files with 7 additions and 7 deletions

View file

@ -33,11 +33,11 @@ volatile bool sleepRequested = false;
*/
#ifdef DEV_MODE
const char *ws_server = "10.2.1.195";
const char *ws_server = "192.168.68.119";
const uint16_t ws_port = 8000;
const char *ws_path = "/";
// Backend server details
const char *backend_server = "10.2.1.195";
const char *backend_server = "192.168.68.119";
const uint16_t backend_port = 3000;
#elif defined(PROD_MODE)

View file

@ -12,8 +12,8 @@
// Pick one of the following (DEV_MODE, PROD_MODE, ELATO_MODE) , comment the rest
// For ELATO_MODE, you will need to register your DIY Hardware on the Elato website
// #define DEV_MODE
#define PROD_MODE
#define DEV_MODE
// #define PROD_MODE
// #define ELATO_MODE

View file

@ -167,7 +167,7 @@ void touchTask(void *parameter) {
void setupDeviceMetadata() {
// factoryResetDevice();
resetAuth();
// resetAuth();
deviceState = IDLE;

View file

@ -58,7 +58,7 @@ wss.on("connection", async (ws: WSWebSocket, payload: IPayload) => {
ws.send(
JSON.stringify({
type: "auth",
volume_control: user.device?.volume ?? 5,
volume_control: user.device?.volume ?? 20,
is_ota: user.device?.is_ota ?? false,
is_reset: user.device?.is_reset ?? false,
pitch_factor: user.personality?.pitch_factor ?? 1,

View file

@ -25,7 +25,7 @@ export const connectToGemini = async (
// Initialize Google GenAI
const ai = new GoogleGenAI({ apiKey: geminiApiKey });
const model = "gemini-2.5-flash-preview-native-audio-dialog";
const model = "gemini-2.5-flash-native-audio-preview-09-2025";
const config: LiveConnectConfig = {
responseModalities: [Modality.AUDIO],
systemInstruction: systemPrompt,