Skip to content

Comments

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

Open
amadeo-alex wants to merge 16 commits intoLAB02-Research:mainfrom
hass-agent:feature-device-sensors
Open

Feature: internal device sensors (light sensor et. al.)#21
amadeo-alex wants to merge 16 commits intoLAB02-Research:mainfrom
hass-agent:feature-device-sensors

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