-
Create an empty file to prevent the service from starting
sudo touch /etc/cloud/cloud-init.disabled
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
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"; |
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
""" | |
configuration.yaml | |
sensor: | |
- platform: zeversolar_inverter | |
host: IP_ADDRESS | |
port: 80 | |
scan_interval: 10 | |
resources: | |
- elecsolar |
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 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, |