-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for smart speakers and add some profiles to the library (#…
- Loading branch information
Showing
21 changed files
with
624 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
custom_components/powercalc/data/denon/HEOS 1 HS2/model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"measure_description": "Streamed 'Armin van Buuren - Coming Around Again' using spotify, and took average measurements using the measure.py tool on different volume levels", | ||
"measure_method": "manual", | ||
"measure_device": "Shelly Plug S", | ||
"name": "HEOS 1 HS2", | ||
"standby_power": 3.99, | ||
"device_type": "smart_speaker", | ||
"supported_modes": [ | ||
"linear" | ||
], | ||
"calculation_enabled_condition": "{{ is_state('[[entity]]', 'playing') }}", | ||
"linear_config": { | ||
"calibrate": [ | ||
"0 -> 6.20", | ||
"10 -> 6.21", | ||
"20 -> 6.25", | ||
"30 -> 6.33", | ||
"40 -> 6.60", | ||
"50 -> 7.20", | ||
"60 -> 7.99", | ||
"70 -> 9.41", | ||
"80 -> 11.35", | ||
"90 -> 12.50", | ||
"100 -> 12.55" | ||
] | ||
}, | ||
"aliases": [ | ||
"HEOS 1" | ||
] | ||
} |
30 changes: 30 additions & 0 deletions
30
custom_components/powercalc/data/google/Home Mini (HOA)/model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"measure_description": "Streamed 'Armin van Buuren - Come Around Again' using spotify, and took average measurements using the measure.py tool on different volume levels", | ||
"measure_method": "manual", | ||
"measure_device": "Shelly Plug S", | ||
"name": "Google Home Mini", | ||
"standby_power": 1.65, | ||
"device_type": "smart_speaker", | ||
"supported_modes": [ | ||
"linear" | ||
], | ||
"calculation_enabled_condition": "{{ is_state('[[entity]]', 'playing') }}", | ||
"linear_config": { | ||
"calibrate": [ | ||
"0 -> 1.80", | ||
"10 -> 1.84", | ||
"20 -> 1.87", | ||
"30 -> 1.90", | ||
"40 -> 1.92", | ||
"50 -> 1.97", | ||
"60 -> 2.07", | ||
"70 -> 2.20", | ||
"80 -> 2.35", | ||
"90 -> 2.42", | ||
"100 -> 2.49" | ||
] | ||
}, | ||
"aliases": [ | ||
"Google Home Mini" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"measure_description": "Manually sampled at 10% volume increases, radio, listening to EDM. Max power is from manufacturer specs", | ||
"measure_method": "manual", | ||
"measure_device": "TP-Link Tapo P110", | ||
"name": "Google Home", | ||
"standby_power": 2.4, | ||
"device_type": "smart_speaker", | ||
"supported_modes": [ | ||
"linear" | ||
], | ||
"calculation_enabled_condition": "{{ is_state('[[entity]]', 'playing') }}", | ||
"linear_config": { | ||
"min_power": 2.4, | ||
"max_power": 3.87 | ||
} | ||
} |
Oops, something went wrong.