A custom Homebridge plugin to control Sensibo air conditioning devices through Apple HomeKit. This plugin allows you to control your Sensibo devices using Siri, the Home app, and other HomeKit-compatible applications.
This plugin was inspired by and builds upon the excellent work of the homebridge-sensibo-ac plugin.
Key differences from the original plugin:
- Simplified configuration for specific use cases
- Custom polling and error handling optimizations
- More logging and debugging capabilities
This plugin must run on your local network (same WiFi as your iPhone/iPad) for HomeKit pairing to work. HomeKit uses mDNS discovery which only works on local networks.
Recommended Setup: Raspberry Pi - The most popular and reliable way to run Homebridge 24/7.
- Multiple Device Support: Control multiple Sensibo devices from a single plugin
- Full HomeKit Integration: Each device appears as a separate accessory in HomeKit
- Thermostat Control: Set target temperature, switch between heating/cooling modes
- Humidity Monitoring: View current humidity levels from your Sensibo devices
- Real-time Updates: Automatic polling for device state changes
- Local Network Operation: Runs reliably on your home network
- Raspberry Pi (recommended) or always-on computer on your local network
- Node.js 18.15.0 or higher (Node.js 22 recommended)
- Homebridge 1.3.0 or higher
- Sensibo API key (get yours from Sensibo Developer Portal)
- Active Sensibo devices connected to your account
- Node.js 18.15.0 or higher
- Homebridge 1.3.0 or higher
- Sensibo API key (get yours from https://home.sensibo.com/me/api)
- Install Homebridge globally:
npm install -g homebridge
- Clone this repository:
git clone https://github.com/yourusername/homebridge-sensibo-custom.git
cd homebridge-sensibo-custom
- Install dependencies:
npm install
- Link the plugin for development:
npm link
- Copy the example configuration:
cp config.json.example ~/.homebridge/config.json
- Edit the configuration file and add your Sensibo API key:
{
"platforms": [
{
"platform": "SensiboCustom",
"name": "Sensibo Custom",
"apiKey": "YOUR_SENSIBO_API_KEY",
"pollingInterval": 30000,
"debug": false
}
]
}
apiKey
(required): Your Sensibo API key from the developer portalpollingInterval
(optional): Device status check interval in milliseconds (default: 30000)debug
(optional): Enable detailed logging (default: false)
Start Homebridge in debug mode:
homebridge -D
Or use the npm script:
npm start
- Open the Apple Home app on your iOS device
- Tap the "+" button and select "Add Accessory"
- Scan the QR code displayed in the Homebridge logs
- Your Sensibo devices will appear as separate accessories
-
Start Homebridge:
# Start Homebridge (will run in foreground) homebridge # Or start as a service (recommended) sudo systemctl enable homebridge sudo systemctl start homebridge
-
Find the QR Code: Look in the Homebridge logs for a QR code and PIN
-
Scan with iPhone:
- Open the Home app on your iPhone/iPad
- Tap the "+" button
- Select "Add Accessory"
- Scan the QR code from the logs
- Enter the PIN if prompted
-
Your Sensibo devices will appear as separate accessories in HomeKit!
- "Accessory Not Found": Make sure your iPhone and Raspberry Pi are on the same WiFi network
- QR Code Not Working: Try entering the PIN manually in the Home app
- No Devices Found: Check your Sensibo API key and internet connection
-
Clone this repository:
git clone https://github.com/yourusername/homebridge-sensibo-custom.git cd homebridge-sensibo-custom
-
Install dependencies:
npm install
-
Create
.env
file:echo "SENSIBO_API_KEY=your_api_key_here" > .env
-
Test the plugin:
npm test
-
Run local HomeKit test:
node test-homekit.js
- Sensibo Sky
- Sensibo Air
- Sensibo Air Pro
- Any Sensibo device that supports the v2 API
- Thermostat: Temperature control and AC mode switching
- Humidity Sensor: Current humidity readings
- Accessory Information: Device details and firmware version
-
"API Key is required" error
- Make sure you've added your API key to the configuration
- Verify the API key is correct at https://home.sensibo.com/me/api
-
Devices not appearing in HomeKit
- Check the Homebridge logs for errors
- Ensure your Sensibo devices are online and connected to WiFi
- Try restarting Homebridge
-
Commands not working
- Verify your API key has the necessary permissions
- Check if the Sensibo app can control the devices
- Enable debug logging to see detailed API responses
Enable debug logging in your configuration:
{
"platforms": [
{
"platform": "SensiboCustom",
"debug": true
}
]
}
Or set the environment variable:
export DEBUG=true
The Sensibo API has rate limits. This plugin:
- Uses gzip compression to increase rate limits
- Polls devices every 30 seconds by default (configurable)
- Batches API calls when possible
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
- homebridge-sensibo-ac - The original and more feature-rich Sensibo plugin
- Homebridge - The bridge that enables HomeKit support for non-HomeKit devices
- Sensibo API - Official Sensibo API documentation
If you encounter issues:
- Check the Homebridge logs for error messages
- Verify your Sensibo API key and device connectivity
- Consider trying the original homebridge-sensibo-ac plugin if you need more advanced features
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
See the LICENSE file for details.