Skip to content

arteck/ioBroker.xsense

Repository files navigation

Logo

ioBroker.xsense

=================

NPM

NPM version Downloads GitHub last commit GitHub issuesLicense


**Version:**

Number of Installations Beta Stable

XSense Adapter for ioBroker

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


❗ WARNING

The adapter is not intended for alarm purposes — it is primarily for monitoring the device battery status.


🔧 Supported Devices

  • Smoke detectors
  • Carbon monoxide detectors
  • Heat detectors
  • Water leak detectors
  • Hygrometers
  • Base stations (if supported)

⚠️ Requirements

  • An XSense account with registered devices
  • Internet connection for cloud communication

📦 Preparation

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.


🚀 Installing Python (if not already installed)

It must be an official and publicly released Python version.

💻 Windows

  1. 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, enter python (default value is python3).

🐧 Linux / Docker

  • This happens automatically — just select the preferred version in the adapter settings.

❗ Troubleshooting

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 grafik



grafik grafik

Changelog

0.2.2 (2025-12-03)

  • (arteck) add XS0D-MR

0.2.1 (2025-10-30)

  • (arteck) fix link to readme
  • (arteck) fix load bridge as first

0.2.0 (2025-10-21)

  • (arteck) !!!!!!!!!!!!!!!!!!!!!!! new tree structure, delete all old devices
  • (arteck) fix for more bridges

0.1.3 (2025-10-20)

  • (arteck) fix for more devices than 15

0.1.2 (2025-10-06)

  • (arteck) fix error message

0.1.1 (2025-10-04)

  • (arteck) fix

0.1.0 (2025-10-04)

  • (arteck) improved query handling
  • (arteck) add Test button with answer message
  • (arteck) shorter request interval (min 10 sec)

0.0.18 (2025-09-06)

  • (arteck) fix time state from device

0.0.17 (2025-09-06)

  • (arteck) Dependencies have been updated

0.0.16 (2025-09-06)

  • (arteck) Dependencies have been updated

0.0.15 (2025-08-17)

  • (arteck) add forceRefresh button for manual refresh of device data

0.0.14 (2025-08-16)

  • (arteck) add checkbox for windows
  • (arteck) add timeout for python
  • (arteck) fix state roles

0.0.13 (2025-08-03)

  • (arteck) fix io-package

0.0.12 (2025-07-30)

  • (arteck) fix util

0.0.11 (2025-07-30)

  • (arteck) fix util missing

0.0.10 (2025-07-30)

  • (arteck) pip auto install for linux

0.0.9 (2025-07-30)

  • (arteck) fix callPython Object

0.0.8 (2025-07-30)

  • (arteck) add callPython Object

0.0.6 (2025-07-29)

  • (arteck) new error message

0.0.5 (2025-07-29)

  • (arteck) serialnumber is a string

0.0.4 (2025-07-28)

  • (arteck) fix language

0.0.3 (2025-07-28)

  • (arteck) modify Debug method

0.0.2 (2025-07-28)

  • (arteck) initial release

0.0.1 (2025-07-27)

  • (arteck) initial release

License

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.

About

iobroker Integration for X-Sense devices (Smokedetector, CO2)

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 3

  •  
  •  
  •