Skip to content

Instantly share code, notes, and snippets.

$Excel = New-Object -comobject Excel.Application
# Parameter for old and new datasource
$OldDatasource = "."
$NewDatasource = "Someserver"
# Get all Excel files in current working directory and subfolders
$Dir = Get-Location
$List = Get-ChildItem -Path $Dir -Include *.xlsx -Recurse
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include "gcm.h"
#include "mbusparser.h"
#define DEBUG_BEGIN Serial.begin(115200);
#define DEBUG_PRINT(x) Serial.print(x);sendmsg(String(mqtt_topic)+"/status",x);
#define DEBUG_PRINTLN(x) Serial.println(x);sendmsg(String(mqtt_topic)+"/status",x);
const char* ssid = "<SSIS>";
type: custom:apexcharts-card
graph_span: 48h
header:
title: Electricity prices Today (kr/kWh)
show: true
span:
start: day
now:
show: true
label: Now