This file contains hidden or 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
#!/bin/bash | |
SDHSTAT="/opt/service-discovery-helper/sdh.stat" | |
CURLOPTIONS='-s -i -XPOST -u youruser:yourpasswd https://your.influxdb.server:8086/write?db=event --data-binary' | |
re='^[0-9]+$' | |
function toInflux { | |
if [ ! -z $2 ]; then | |
echo $1:$2 | |
curl $CURLOPTIONS $1',event=DHDE17 value='$2 >/dev/null |
This file contains hidden or 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
<?php | |
/* This is a simple PHP example to host your own Amazon Alexa Skill written in PHP. | |
In my Case it connects to my smarthome Raspberry pi Cat Feeder with two intents; | |
1: Dispense Food to the cats. | |
2: When did the Feeder last time feed the cats? Return a spoken time / date | |
This Script contains neccessary calls and security to give you a easy to use DIY example. | |
v2016.12.29 | |
Details in my Blogpost: https://solariz.de/de/amazon-echo-alexa-meets-catfeeder.htm | |
*/ |
This file contains hidden or 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/python | |
## License: CC0 | |
## Author: Marco Goetze | |
## Web: http://solariz.de | |
## Version: 1.2 | |
## DIZ: | |
## Little Helper Script for Linux to make my KeePass Copy and Paste cooperate again with | |
## Chrome Browser. | |
## You need to have the latest keepass version and XSEL installed. | |
## Tested with: |
NewerOlder