How zaradarz/onlyfans-notification-robot works
External Services Layer
• Gmail IMAP Server
• OnlyFans Email Notification Service
Hardware Components
• Raspberry Pi (central controller)
• Stepper Motor
• Stepper Motor Driver
• 3D Printed Penguin
• Speaker
• GPIO Pins (17, 18, 27, 22)
Software Components
• Email Monitoring Module (using imaplib)
• GPIO Control Module (using RPi.GPIO)
• Audio Playback Module (using pygame)
• Main Control Loop
Use a layered approach with three main sections
• External Layer |
• Software Layer |
• Hardware Layer |
Component Relationships
• Control flow from the Raspberry Pi to both the stepper motor and speaker
• GPIO pin connections between the Pi and motor driver
Specific technical details
• 20-second polling interval
• 512-step motor rotation sequence
A process flow section showing the sequence
1. Email Reception
2. Email Detection
3. Motor Activation
4. Sound Playback
[OnlyFans] → [Gmail IMAP] → [Email Monitor Module]
• ↓
• [Main Control Loop]
• ↙ ↘
• [GPIO Module] [Audio Module]
• ↓ ↓
• [Motor Driver] [Speaker]
• ↓
• [Stepper Motor] → [3D Printed Penguin]
Notes about key configuration requirements (email settings, sound file)
Keep the following aspects in mind:
Physical Architecture
• Physical connections between components
• Breadboard layout reference
• Power supply connections
Software Flow
• Continuous monitoring loop
• Error handling paths
• Configuration points
Integration Points
• Email server authentication
• GPIO pin initialization
• Audio system setup