=================
**Version:**
This ioBroker adapter allows the integration of XSense devices into the ioBroker smart home system.
It is designed to receive data from XSense smoke detectors, CO detectors, and other compatible devices, making them available in ioBroker for automation and monitoring.
The adapter communicates with the XSense cloud server and provides an easy way to integrate XSense devices into existing ioBroker setups.
An XSense Bridge SBS50 is required.
the Orginal Python Code is from theosnel .. big THX for
The adapter is not intended for alarm purposes — it is primarily for monitoring the device battery status.
- Smoke detectors
- Carbon monoxide detectors
- Heat detectors
- Water leak detectors
- Hygrometers
- Base stations (if supported)
- An XSense account with registered devices
- Internet connection for cloud communication
Since XSense does not allow simultaneous login from the app and third-party software, it is recommended to follow this procedure:
-
Create a second account in the XSense app
-
Log in with the new account, then log out
-
Log in again with your original account
-
Share the desired devices from the main account with the new account
-
Log back into the new account and accept the invitation
-
Finally, enter the new account credentials in the adapter settings
Alternatively: You can use only one account, with the drawback that you will constantly be logged out of the app.
It must be an official and publicly released Python version.
💻 Windows
- Install Python
- Download: https://www.python.org/downloads/windows/
- During installation, enable “Add Python to PATH”
- Then verify:
python --version pip --version
- Afterwards, in the objects under
xsense.0.info.callPython, enterpython(default value ispython3).
🐧 Linux / Docker
- This happens automatically — just select the preferred version in the adapter settings.
If the correct version is installed but the adapter has already fetched the wrong one,
first delete the environment:
rm -Rf /home/iobroker/.cache/autopy/venv/xsense-env
Then restart the adapter. If it still doesn’t work, check the file /home/iobroker/.cache/autopy/venv/xsense-env/pyvenv.cfg. It lists the Python versions relevant to the environment — adjust if necessary. If the file does not exist, you did not wait long enough for the adapter to start.
Error Message after install
[XSense] Cannot find package '@mongodb-js/zstd'
check your Node version. zstd has a problem wit Node 24
or if you have a VM on proxmox check your CPU settings

- (arteck) add XS0D-MR
- (arteck) fix link to readme
- (arteck) fix load bridge as first
- (arteck) !!!!!!!!!!!!!!!!!!!!!!! new tree structure, delete all old devices
- (arteck) fix for more bridges
- (arteck) fix for more devices than 15
- (arteck) fix error message
- (arteck) fix
- (arteck) improved query handling
- (arteck) add Test button with answer message
- (arteck) shorter request interval (min 10 sec)
- (arteck) fix time state from device
- (arteck) Dependencies have been updated
- (arteck) Dependencies have been updated
- (arteck) add forceRefresh button for manual refresh of device data
- (arteck) add checkbox for windows
- (arteck) add timeout for python
- (arteck) fix state roles
- (arteck) fix io-package
- (arteck) fix util
- (arteck) fix util missing
- (arteck) pip auto install for linux
- (arteck) fix callPython Object
- (arteck) add callPython Object
- (arteck) new error message
- (arteck) serialnumber is a string
- (arteck) fix language
- (arteck) modify Debug method
- (arteck) initial release
- (arteck) initial release
MIT License
Copyright (c) 2025-2026 Arthur Rupp arteck@outlook.com,
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

