View ping2mqtt.py
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
# MIT License | |
# | |
# Copyright (c) 2022 Dennis Heitmann | |
from icmplib import ping | |
import paho.mqtt.client | |
pingHosts = ['192.168.15.194', '192.168.57.111'] | |
mqttServer = '__SERVER__' |
View viessmann-to-influxdb.py
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
# MIT License | |
# | |
# Copyright (c) 2022 Dennis Heitmann | |
import sys | |
import logging | |
import datetime | |
from PyViCare.PyViCare import PyViCare | |
from influxdb import InfluxDBClient |
View lambda_function.py
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
""" | |
Check if own MQTT server runs | |
""" | |
import json | |
import paho | |
import boto3 | |
import paho.mqtt.client as mqtt | |
import ssl | |
import time | |
import os |
View funnyCharacters.py
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
# MIT License | |
# | |
# Copyright (c) 2021 Dennis Heitmann | |
import sys | |
def funnyCharacters(inputtext=""): | |
linput = inputtext.lower() | |
def convertChar(inputchar): | |
mapping = {'a': 'α', 'b': 'в', 'c': '¢', 'd': '∂', 'e': 'є', 'f': 'ƒ', 'g': 'g', 'h': 'н', 'i': 'ι', 'j': 'נ', 'k': 'к', 'l': 'ℓ', 'm': 'м', |
View tuya-power.py
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
#!/usr/bin/python3 | |
# | |
# MIT License | |
# | |
# Copyright (c) 2021 Dennis Heitmann | |
import sys | |
import json | |
import hmac | |
import hashlib |
View corona_rolling.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View OTA_with_IotWebConf_ESP32.ino
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
#include <WiFi.h> | |
#include <ESPmDNS.h> | |
#include <WiFiUdp.h> | |
#include <ArduinoOTA.h> | |
int ota_once = 0; | |
#define HOSTNAME "ESP32TemplateSketch" | |
#include <IotWebConf.h> |
View OTA_with_WifiManager_and_MQTT_esp8266.ino
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
#include <ESP8266WiFi.h> | |
#include <ESP8266mDNS.h> | |
#include <DNSServer.h> | |
#include <ESP8266WebServer.h> | |
#include <WiFiManager.h> | |
#include <WiFiUdp.h> | |
#include <ArduinoOTA.h> | |
//#define LED_BUILTIN 2 | |
//unsigned long previousMillis = 0; |
View corona_active_infections.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View corona.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder