Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: internal device sensors (light sensor et. al.) #21

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

amadeo-alex
Copy link

@amadeo-alex amadeo-alex commented Aug 22, 2023

This PR:

  • adds support for internal device sensors which are often available on tablet/mobile devices running Windows

Support for the sensors is defined by the device itself as well as by the WinRT library uses, assuming device has call available sensors, the following list is supported by HASS.Agent (thumbs up means it has been tested):

  • Accelerometer (👍 )
  • ActivitySensor (👍)
  • Altimeter
  • Barometer
  • Compass (👍)
  • Gyrometer (👍)
  • HingeAngleSensor
  • HumanPresenceSensor
  • Inclinometer (👍)
  • LightSensor (👍)
  • Magnetometer
  • OrientationSensor (👍)
  • Pedometer (👍)
  • ProximitySensor
  • SimpleOrientationSensor (👍)

Following can be seen when no sensors are available:
obraz

@amadeo-alex amadeo-alex marked this pull request as ready for review August 22, 2023 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant