Settings & Configuration

Configure Sanaya's voice, intelligence, health monitoring, and system behavior.

Identity & Voice

Owner info, assistant persona, TTS voice engine

Used in greeting and persona prompts.

The name Sanaya identifies as.

Edge TTS neural voice for speech synthesis.

Relative rate modifier for edge-tts. e.g. +22%, -10%

Trigger phrase to activate listening mode.

Google Speech Recognition language code.

Higher = more sensitive but more false positives. (0–100)

Minimum energy for speech detection (default: 380).

GPT Model Config

AI model selection, tokens, temperature, system prompt

Model used for all AI responses.

Maximum tokens per GPT response.

How many prior messages to retain.

Controls randomness. 0 = deterministic, 1 = creative. Recommended: 0.6–0.8 for Sanaya's personality.

0 — Precise1 — Creative

Defines Sanaya's personality and constraints for every GPT conversation.

179 chars

Stored in environment variable. Changes here update the active session only.

Never commit API keys to version control. Use environment variables in production.

Health Monitor

Water reminders, eye breaks, battery warnings

Water Reminder

How often Sanaya reminds you to drink water.

Current setting

Reminds every 60m — approx. 24 times/day

Eye Break Monitor

How often to force a screen break.

How long the screen dims during break.

Screen brightness while resting eyes.

Brightness restored after break ends.

Battery Warning

Alert when battery drops below this level.

Alert fires when

Battery ≤ 20% and unplugged

Background Tasks

Ad skipper, health monitor daemon, logging

YouTube Ad Skipper

Auto-clicks skip button using screen image match

pyautogui locateOnScreen confidence threshold.

30% — Loose95% — Strict

How often to scan the screen for the skip button.

Path to the skip ad reference screenshot.

Health Monitor Daemon

Background thread polling interval

How often the health thread wakes up to check conditions.

Thread check rate

Wakes every 300s12x/hour

Logging Configuration

Minimum severity level to write to sanaya_master_v28.log

Log files older than this are auto-deleted.

System Permissions

Enable or disable Sanaya's access to system resources

8/8 active
Screen Brightness ControlOnlinelow risk

Allows Sanaya to adjust display brightness via screen-brightness-control.

sbc v0.14.0 — Active

System Volume ControlOnlinelow risk

Allows Sanaya to get and set master system volume via pycaw/comtypes.

pycaw v20230407 — Active

Microphone AccessOnlinemedium risk

Continuous microphone polling for wake word detection via speech_recognition.

sr v3.10.4 — Listening

Camera Access (OpenCV)Degradedmedium risk

Webcam access for selfie capture and posture detection via cv2.

cv2 — Lag detected (340ms)

Keyboard & Mouse ControlOnlinehigh risk

pyautogui access for screenshot, volume keys, and ad skipper clicks.

pyautogui v0.9.54 — Active

Filesystem Write AccessOnlinemedium risk

Write access to Gallery, Notes, Projects, Config, and Logs directories.

All 5 dirs accessible

Network & Web AccessOnlinelow risk

Outbound requests for GPT API, speedtest, Wikipedia, IP lookup, and WhatsApp.

Outbound only — Active

System Commands (Shutdown/Lock)Onlinehigh risk

Execute OS-level commands: shutdown, restart, lock workstation via ctypes.

ctypes.windll — Active

Changes take effect on next Sanaya restart.

Danger Zone

Irreversible actions — proceed with caution

Clear Chat History

Permanently deletes all GPT conversation context. Sanaya will lose memory of prior conversations.

Reset All Configuration

Resets every setting to factory defaults. All custom thresholds, voice settings, and API keys will be wiped.

Export All Logs

Download sanaya_master_v28.log and all session logs as a compressed archive.

Clear Sanaya Gallery

Permanently deletes all screenshots and selfies saved in Sanaya_Gallery/.

Clear Diary & Notes

Permanently deletes all entries in Sanaya_Notes/diary.txt. All saved notes will be lost.

All destructive actions require explicit confirmation. Most cannot be undone.