A powerful Home Assistant custom integration that provides comprehensive support for Grandstream devices, including GDS series door access devices and GNS series NAS devices. This integration enables local control and monitoring of your Grandstream devices directly through Home Assistant.
- GDS372X: Real-time status monitoring, call status detection, device control
- GNS5004E/GNS5004R: Storage monitoring, system performance monitoring, temperature detection, device control
- GDS Devices: Phone status, available accounts, call status, ringing status
- GNS Devices: CPU usage, memory usage, storage pool status, disk health status, network traffic, temperature monitoring
- Reboot Device: Support for GDS and GNS device reboot
- Power Management: GNS device sleep, wake, shutdown functions
- Camera Support: GDS device RTSP streaming and snapshot functionality
- Real-time Updates: Local push notifications for instant device status changes
- Camera Integration: RTSP stream support for compatible devices
- Device Actions: Control devices, custom device automations and services
- Automatic Discovery: Local network automatic device detection (Zeroconf)
- Install HACS if you haven't already
- In Home Assistant, go to HACS → Integrations
- Click the "+" button and search for "Grandstream Home"
- Click "Download" and follow the prompts
- Restart Home Assistant
- In Home Assistant, go to Settings → Devices & Services → Add Integration
- Search for "Grandstream Home" and follow the setup wizard
The project provides two installation scripts that support automatic detection and installation:
# Automatically detect Home Assistant configuration directory
./install.sh
# Or specify configuration directory
HA_CONFIG_DIR=/config ./install.sh
# Uninstall integration
./install.sh --uninstall
# View help
./install.sh --help# Need to manually specify Home Assistant configuration directory
./install-simple.sh /config
# Or use other configuration path
./install-simple.sh ~/.homeassistantInstallation Script Features:
- Automatic detection of Home Assistant configuration directory
- Backup existing installation
- Permission settings
- Installation verification
- Support for uninstall functionality
- Download the latest release from the Releases page
- Extract the zip file
- Copy the
grandstream_homefolder to yourconfig/custom_componentsdirectory - Restart Home Assistant
- In Home Assistant, go to Settings → Devices & Services → Add Integration
- Search for "Grandstream Home Integration" and follow the setup wizard
- Ensure your GDS device is connected to the same network as Home Assistant
- Create a local user account on your GDS device with administrator privileges
- Default username:
gdsha - During setup, provide:
- Device IP address
- Password
- Optional: Custom port
- Optional: RTSP streaming configuration (camera functionality)
- Ensure your GNS is connected to the same network as Home Assistant
- Enable local API access in the NAS web interface
- During setup, provide:
- Device IP address
- Username
- Password
- Optional: Custom port
The integration supports automatic discovery functionality:
- Automatically identifies GDS372X and GNS devices
- Automatically configures device names and ports
If automatic discovery doesn't work properly, you can manually configure devices:
- In Home Assistant, go to Settings → Devices & Services → Add Integration
- Search for "Grandstream Home Integration"
- In the configuration interface, select "Manual Configuration"
- Enter the following information:
- Device Type: Select GDS or GNS
- Device IP Address: Device's IP address on the local network
- Click "Submit" to proceed with the next configuration step
- Phone Status: Displays current device status
unknown- Unknownavailable- Available accounts presentunavailable- No available accountsbusy- Call in progresspreview- Call previewringing- Ringing
- CPU Usage: Real-time CPU usage percentage
- Memory Usage: Memory usage percentage and total capacity
- Storage Pool Status: Storage pool health status and usage rate
- Disk Health: Disk temperature, health status and capacity
- Network Traffic: Real-time network receive/send rate
- Temperature Monitoring: CPU temperature and system temperature
- Fan Status: Fan operation status and mode
- Reboot Device: Reboot GDS device
- Reboot Device: Reboot GNS
- Sleep Device: Put GNS into sleep state
- Wake Device: Wake GNS from sleep state
- Shutdown Device: Safely shutdown GNS
- RTSP Streaming
- Snapshot Functionality
The integration provides the following services:
grandstream_home.reboot_device: Reboot a Grandstream devicegrandstream_home.sleep_device: Put a GNS device to sleepgrandstream_home.wake_device: Wake up a sleeping GNS devicegrandstream_home.shutdown_device: Shutdown a GNS device
The integration provides FFmpeg-based RTSP streaming support, mainly for image capture and streaming display
- Ensure the device is on the same network as Home Assistant
- Check if the device's local API is enabled
- Verify firewall settings allow communication between Home Assistant and the device
- Try manual IP configuration instead of discovery
- Verify the correct username and password
- Check for custom ports configured on the device
- Enable debug mode to view device logs for more specific error information
See the CHANGELOG.md for a detailed history of changes.
Please see the LICENSE file for details.