Skip to content

Instantly share code, notes, and snippets.

View mmahmoodictbd's full-sized avatar
🎯
Focusing

Mossaddeque Mahmood mmahmoodictbd

🎯
Focusing
View GitHub Profile
@mmahmoodictbd
mmahmoodictbd / gist:915270d49457cabb4bb3a5b57f53c57e
Created February 6, 2023 21:13
AppDaemon app: Expose Bus Trip info as HA Sensor
# https://appdaemon.readthedocs.io/en/latest/
import appdaemon.plugins.hass.hassapi as hass
import requests
from jsonpath_ng.ext import parser
import json
import os
import time
class BusTrips(hass.Hass):
@mmahmoodictbd
mmahmoodictbd / gist:8eecf45742ad831eecece073f8b45093
Created February 6, 2023 21:09
Home Assistant and AppDaemon in Docker
version: '3.3'
services:
home-assistant:
container_name: "home-assistant"
image: homeassistant/home-assistant:latest
devices:
- /dev/ttyAMA0
healthcheck:
test: ["CMD", "curl", "-f", "http://192.168.1.244:8123"]

Keybase proof

I hereby claim:

  • I am mmahmoodictbd on github.
  • I am mmahmoodictbd (https://keybase.io/mmahmoodictbd) on keybase.
  • I have a public key whose fingerprint is 4BF0 B5B9 CB0C 72F5 8D81 E6B7 F7B0 9C42 ACBE 9401

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am mmahmoodictbd on github.
  • I am mossaddeque (https://keybase.io/mossaddeque) on keybase.
  • I have a public key whose fingerprint is 78BD B5C4 172F F3AB BE6A C24A 25E7 D6A3 5535 BBC0

To claim this, I am signing this object: