Skip to content

Instantly share code, notes, and snippets.

View velaar's full-sized avatar

Vlad Rurukin velaar

  • Calgary, Canada
View GitHub Profile
@velaar
velaar / README
Created February 23, 2023 16:29
Delta VoiceIQ API for homeassistant
Delta VoiceIQ API for homeassistant via Rest integration
Requirements:
2 Secrets:
Both can be retrieved from https://device.legacy.deltafaucet.com/#/home
* delta_device_id - click on usage - it will be in the URL https://device.legacy.deltafaucet.com/#/device/usage/<your_device_id_here>
delta_device_id: <your device id>
* delta_token
@velaar
velaar / waze.py
Created April 24, 2016 21:25 — forked from StatusReport/waze.py
Simple Waze wrapper for querying route cross time with / without real time data. More work is required with parsing the JSON returned from the server to extract the textual route information, but it should be pretty straightforward.
import json
import urllib
class WazeLocationNotFoundException(Exception):
pass
class Waze(object):
_BASE_URL = "http://www.waze.co.il/"
def __mozi(self, query):