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 line is added to create a gist. Empty file is not allowed. |
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 is a Python template for Alexa to get you building skills (conversations) quickly. | |
""" | |
from __future__ import print_function | |
from iota import Iota | |
api = Iota('https://nodes.devnet.iota.org:443') |
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/env python | |
# Import PyOTA library | |
import iota | |
from iota import Address | |
# Import time | |
import time | |
# Import the INA3221 library |
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/env python | |
# Import INA219 library | |
from ina219 import INA219 | |
from ina219 import DeviceRangeError | |
# Import time | |
from time import sleep | |
# Import PyOTA library |
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
7030019532240 | 10 | |
---|---|---|
7310070786937 | 25 |
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
# import the necessary packages | |
from __future__ import print_function | |
from PIL import Image | |
from PIL import ImageTk | |
import tkinter as tki | |
from tkinter import scrolledtext | |
from pyzbar import pyzbar | |
import threading | |
import imutils | |
import cv2 |
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
# import the necessary packages | |
from rvm_lib import ReverseVendingMachine | |
from imutils.video import VideoStream | |
import time | |
# Select web cam. or PiCam | |
vs = VideoStream(src=0).start() | |
# vs = VideoStream(usePiCamera=True).start() | |
print("[INFO] warming up camera...") |
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/python | |
# Imports some Python Date/Time functions | |
import time | |
import datetime | |
# Import requests library | |
import requests | |
# Import json library |
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
from phue import Bridge | |
b = Bridge('YOUR HUE BRIDGE IP') | |
b.connect() |
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/python | |
# Imports some Python Date/Time functions | |
import time | |
import datetime | |
# Imports the phue library | |
from phue import Bridge | |
# Create a Hue Bridge object |
NewerOlder