From ec68dc0e3fc920d6ba891a1699a8b6978ea72cd4 Mon Sep 17 00:00:00 2001 From: iloveicedgreentea <31193909+iloveicedgreentea@users.noreply.github.com> Date: Tue, 9 Jul 2024 13:03:56 -0400 Subject: [PATCH 1/4] feat: update madvr docs --- source/_integrations/madvr.markdown | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/source/_integrations/madvr.markdown b/source/_integrations/madvr.markdown index 4f822fd9cb17..8f99f64bf4ee 100644 --- a/source/_integrations/madvr.markdown +++ b/source/_integrations/madvr.markdown @@ -4,7 +4,6 @@ description: Instructions on how to integrate a madVR Envy into Home Assistant. ha_category: - Remote - Binary Sensor - - Sensor ha_release: '2024.8' ha_iot_class: Local Push ha_config_flow: true @@ -14,7 +13,6 @@ ha_domain: madvr ha_platforms: - binary_sensor - remote - - sensor ha_integration_type: device --- @@ -67,8 +65,8 @@ These are commands that have parameters with a comma separating them. The integration creates the following binary sensors: -- `Power State` is True when the device is physically on. -- `Signal State` is True when the device is receiving a signal from the source. -- `HDR Flag` is True when the device is receiving an HDR signal. This is useful to trigger automations based on the HDR flag, such as changing projector settings. -- `Outgoing HDR Flag` is True when the device is sending an HDR signal. +- `Power state` is True when the device is physically on. +- `Signal state` is True when the device is receiving a signal from the source. +- `HDR flag` is True when the device is receiving an HDR signal. This is useful to trigger automations based on the HDR flag, such as changing projector settings. +- `Outgoing HDR flag` is True when the device is sending an HDR signal. These can be used for various purposes, such as triggering your masking system based on the detected aspect ratio. From 46115157cfc817f8330c016ee98f53a675264bbe Mon Sep 17 00:00:00 2001 From: iloveicedgreentea <31193909+iloveicedgreentea@users.noreply.github.com> Date: Tue, 9 Jul 2024 13:10:00 -0400 Subject: [PATCH 2/4] fix: text --- source/_integrations/madvr.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_integrations/madvr.markdown b/source/_integrations/madvr.markdown index 8f99f64bf4ee..ea2668a2537d 100644 --- a/source/_integrations/madvr.markdown +++ b/source/_integrations/madvr.markdown @@ -65,8 +65,8 @@ These are commands that have parameters with a comma separating them. The integration creates the following binary sensors: -- `Power state` is True when the device is physically on. -- `Signal state` is True when the device is receiving a signal from the source. -- `HDR flag` is True when the device is receiving an HDR signal. This is useful to trigger automations based on the HDR flag, such as changing projector settings. -- `Outgoing HDR flag` is True when the device is sending an HDR signal. +- `Power state` is on when the device is turned on. +- `Signal state` is on when the device is receiving a signal from the source. +- `HDR flag` is on when the device is receiving an HDR signal. This is useful to trigger automations based on the HDR flag, such as changing projector settings. +- `Outgoing HDR flag` is on when the device is sending an HDR signal. These can be used for various purposes, such as triggering your masking system based on the detected aspect ratio. From 8387e7c314674f44268460e5ff1aea1fe9aa5fb6 Mon Sep 17 00:00:00 2001 From: iloveicedgreentea <31193909+iloveicedgreentea@users.noreply.github.com> Date: Tue, 9 Jul 2024 13:12:57 -0400 Subject: [PATCH 3/4] fix: capital --- source/_integrations/madvr.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_integrations/madvr.markdown b/source/_integrations/madvr.markdown index ea2668a2537d..e8c727a140e0 100644 --- a/source/_integrations/madvr.markdown +++ b/source/_integrations/madvr.markdown @@ -65,8 +65,8 @@ These are commands that have parameters with a comma separating them. The integration creates the following binary sensors: -- `Power state` is on when the device is turned on. -- `Signal state` is on when the device is receiving a signal from the source. -- `HDR flag` is on when the device is receiving an HDR signal. This is useful to trigger automations based on the HDR flag, such as changing projector settings. -- `Outgoing HDR flag` is on when the device is sending an HDR signal. +- `Power state` is On when the device is turned on. +- `Signal state` is On when the device is receiving a signal from the source. +- `HDR flag` is On when the device is receiving an HDR signal. This is useful to trigger automations based on the HDR flag, such as changing projector settings. +- `Outgoing HDR flag` is On when the device is sending an HDR signal. These can be used for various purposes, such as triggering your masking system based on the detected aspect ratio. From 934467827131e0fa785bf0ebcc521f34992b19d4 Mon Sep 17 00:00:00 2001 From: iloveicedgreentea <31193909+iloveicedgreentea@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:17:17 -0400 Subject: [PATCH 4/4] feat: add sensor --- source/_integrations/madvr.markdown | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/source/_integrations/madvr.markdown b/source/_integrations/madvr.markdown index e8c727a140e0..6d83df39d22a 100644 --- a/source/_integrations/madvr.markdown +++ b/source/_integrations/madvr.markdown @@ -4,6 +4,7 @@ description: Instructions on how to integrate a madVR Envy into Home Assistant. ha_category: - Remote - Binary Sensor + - Sensor ha_release: '2024.8' ha_iot_class: Local Push ha_config_flow: true @@ -13,6 +14,7 @@ ha_domain: madvr ha_platforms: - binary_sensor - remote + - sensor ha_integration_type: device --- @@ -69,4 +71,35 @@ The integration creates the following binary sensors: - `Signal state` is On when the device is receiving a signal from the source. - `HDR flag` is On when the device is receiving an HDR signal. This is useful to trigger automations based on the HDR flag, such as changing projector settings. - `Outgoing HDR flag` is On when the device is sending an HDR signal. + These can be used for various purposes, such as triggering your masking system based on the detected aspect ratio. + +### Sensor + +The integration creates the following sensors: + +- `MAC address`: The MAC address of the madVR Envy device. +- `Gpu temperature`: The temperature of the GPU. +- `Hdmi temperature`: The temperature of the HDMI interface. +- `Cpu temperature`: The temperature of the CPU. +- `Mainboard temperature`: The temperature of the mainboard. +- `Incoming resolution`: The resolution of the incoming video signal. +- `Incoming frame rate`: The frame rate of the incoming video signal. +- `Incoming color space`: The color space of the incoming video signal. +- `Incoming bit depth`: The bit depth of the incoming video signal. +- `Incoming colorimetry`: The colorimetry of the incoming video signal. +- `Incoming black levels`: The black level setting of the incoming video signal. +- `Incoming aspect ratio`: The aspect ratio of the incoming video signal. +- `Outgoing resolution`: The resolution of the outgoing video signal. +- `Outgoing frame rate`: The frame rate of the outgoing video signal. +- `Outgoing color space`: The color space of the outgoing video signal. +- `Outgoing bit depth`: The bit depth of the outgoing video signal. +- `Outgoing colorimetry`: The colorimetry of the outgoing video signal. +- `Outgoing black levels`: The black level setting of the outgoing video signal. +- `Aspect ratio resolution`: The resolution corresponding to the current aspect ratio. +- `Aspect ratio decimal`: The aspect ratio as a decimal value. +- `Aspect ratio integer`: The aspect ratio as an integer ratio. +- `Aspect ratio name`: The name of the current aspect ratio. +- `Masking resolution`: The resolution for the current masking setting. +- `Masking decimal`: The masking ratio as a decimal value. +- `Masking integer`: The masking ratio as an integer ratio.