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
!WA:2!Dr1ZUjYrtCtCK2ioXsswLnN61h2SrYYAxRvwFxwPWqGGJSbNHXbBPib9mDnZ07o09SD3dy8TLdr(SZBaN)oXJapbJq5jWpcCiNYHu9ay7eoWu9VQ6UQF1)k1S6WQSQSB2tDvNWqnyA9do)1VVd(tnzlqwLbeeyoveelvNj5cJF9gT9A4UmqktyYXIUJ5PWGfBp2GfbXo8aPyWuJIhfbkD7xQ2iEt17Y0qFAYy6eTrLbXtzzkQHlf79M3MwziO10iOVmfquPAV39oxbfrlpJb(zHHEtqnTACYznp)ehdEWfgbcZD6m)cHUOn8RM3VETUE976vZ1ZjtWn(Pj0jGk)PlQhtnKtx7MIyrlZubqB0jduBCF6F0skKkYeufjgusq)cshbXeZ1egDY(OemHethbegqtmekjsb4d7NihtOruUqBisbqKHe7JmuINrpdmciGHC7d6fdKqAIgi9OQGyoeUpXfemItcn4dXubBF8kARnjG4f3tXZuasr3UN14KtMQtHKKJzy(5bE47fRW7m3YUnmAGktuCzxdFiWw9iv2m6G5p6WY6TQ51)0U)u)lrpCBMytTR8Cgx)(mrGHpcoKkMK(uAHS3A9NkzW)FNvylcOe0KFfl8yzT(QpaqAnmodmU2cD8TAijSOvk)ZXQQMASDaq8mKGUqeEh93EZxNw1axz6RJPyx1fR7hlL(8cWI)cLQHu0GncocmDF79Qt3BBs970ycfzhxerSLpLmnfLp4GdsR8ixuxMiv)CPsL29U1OBdsNAN71j9llaPzgj6lEqpoZe7udpUADWWVcyfGFA56zLl3eYlk0)(mTHhobjSsAqY6HGoT70UrEffsBRnZkmmOim2f)D7gwkmPvAQ4xt(LmkdtuuIN3)k5S1tllWglvSEkA60EBewhaJ4AUFcmydNF088IoNJJZ9D645150L370Ibnu1jh3UXdOD5xdpFddVVOu9rp5MG5V3Xpg4rXMp5KiPSJCS1)N5omlXWl7gKq16NL3PSJgFpRWmvrH3 |
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 <PubSubClient.h> | |
#include <ESP8266mDNS.h> | |
#include <WiFiUdp.h> | |
#include <ArduinoOTA.h> | |
#define MOTOR_IN1 D1 | |
#define MOTOR_IN2 D2 | |
#define wifi_ssid "WIFISSID" //type your WIFI information inside the quotes |
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
class DeliveriesCard extends HTMLElement { | |
set hass(hass) { | |
const entityId = this.config.entity; | |
const stateObj = hass.states[entityId]; | |
const stateStr = stateObj ? stateObj.state : 'unavailable'; | |
const items = JSON.parse(stateStr); | |
const itemCount = items.length; | |
if (!this.content) { |
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 sys, smtplib, time | |
import datetime | |
import imaplib | |
import email | |
import json | |
EMAIL = "<YOURADDRESS>@gmail.com" | |
PWD = "<YOURSECRETPASSWORD>" | |
SMTP_SERVER = "imap.gmail.com" | |
SMTP_PORT = 993 |