RandomShocks

How it works

RandomShocks is a system that randomly triggers a PiShock device based on your settings. Here's how it works:

Use the Validate tab to check your settings before running, or use the Execute tab to start the system immediately.

Your settings are NOT stored on the server. They are only kept in memory for the duration of the session.

Disclaimer: To ensure safety, do not wear the shocker on the neck, spine or chest. This system is not responsible for any damage to your device or body. Use at your own risk.

Validating...
Executing...

Example

{
    "username": "your_username",    // PiShock username
    "sharecode": "your_sharecode",  // PiShock sharecode
    "apikey": "your_api_key",       // PiShock API key
    "startup_delay": "60s",         // Duration to wait before starting (e.g. "60s", "5m", "1h")
    "lifetime": "60m",              // Duration to run before stopping (e.g. "30m", "1h", "2h")
    "schedule": {
        "min_delay": "30s",          // Minimum delay between shocks (e.g. "30s", "1m", "5m")
        "max_delay": "60s",          // Maximum delay between shocks (e.g. "60s", "2m", "10m")
        "trigger_probability": 30,   // Chance to shock after delay (0-100)
        "vibrate_before_shock_probability": 100,  // Chance to vibrate before shock (0-100)
        "beep_before_shock_probability": 0,       // Chance to beep before shock (0-100)
        "vibrate_options": {
            "min_duration": 1,       // Minimum vibrate duration in seconds (1+)
            "max_duration": 1,       // Maximum vibrate duration (>= min_duration)
            "min_intensity": 20,     // Minimum vibrate intensity (1-100)
            "max_intensity": 20      // Maximum vibrate intensity (>= min_intensity)
        },
        "beep_options": {
            "min_duration": 1,       // Minimum beep duration in seconds (1+)
            "max_duration": 1,       // Maximum beep duration (>= min_duration)
            "min_intensity": 10,     // Minimum beep intensity (1-100)
            "max_intensity": 10      // Maximum beep intensity (>= min_intensity)
        },
        "shock_options": {
            "min_duration": 1,       // Minimum shock duration in seconds (1+)
            "max_duration": 1,       // Maximum shock duration (>= min_duration)
            "min_intensity": 5,      // Minimum shock intensity (1-100)
            "max_intensity": 15      // Maximum shock intensity (>= min_intensity)
        }
    }
}