A script to fix EDID problems on external monitors in macOS.
-
Connect only the problem display.
-
Create this directory structure (if it doesn't already exist):
""" | |
configuration.yaml | |
sensor: | |
- platform: zeversolar_inverter | |
host: IP_ADDRESS | |
port: 80 | |
scan_interval: 10 | |
resources: | |
- elecsolar |
# This script will clean a Azure API Management resource. | |
# Be sure to run Connect-AzureRmAccount before running this script! | |
# Written by: Peter van Ekeren | |
# Date: 3-10-2018 | |
param ( | |
[bool]$DryRun = $false, | |
[bool]$RemoveProducts = $true, | |
[bool]$RemoveApis = $true, | |
[bool]$RemoveProperties = $true, | |
[Parameter(Mandatory=$true)][string]$ServiceName, |
const W3CWebSocket = require("websocket").w3cwebsocket; // npm install websocket | |
const host = "127.0.0.1"; | |
const port = 8123; | |
const protocol = "ws"; // ws or wss if ssl | |
// long lived access token from profile > Create Token | |
const access_token =""; | |
const entityName = "Energy Consumption"; | |
const entityId = "energy_consumption_kwh"; |