{"id":49072419,"url":"https://github.com/garybake/little_observability","last_synced_at":"2026-04-20T08:06:51.756Z","repository":{"id":72035565,"uuid":"580133654","full_name":"garybake/little_observability","owner":"garybake","description":"Somewhere to ingest data and pipe out to a tiny screen","archived":false,"fork":false,"pushed_at":"2025-04-24T17:21:51.000Z","size":105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T18:31:07.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/garybake.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-19T20:00:29.000Z","updated_at":"2025-04-24T17:21:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"8078c715-f567-4079-a92d-587e30c5beb7","html_url":"https://github.com/garybake/little_observability","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/garybake/little_observability","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garybake%2Flittle_observability","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garybake%2Flittle_observability/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garybake%2Flittle_observability/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garybake%2Flittle_observability/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garybake","download_url":"https://codeload.github.com/garybake/little_observability/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garybake%2Flittle_observability/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32038482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-20T08:06:49.001Z","updated_at":"2026-04-20T08:06:51.747Z","avatar_url":"https://github.com/garybake.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Little Observability\nSomewhere to ingest data and pipe out to a tiny screen\n\nThis is just for me to learn a few things so there won't be much quality.  \nUses poetry for package management.\n\nComponents\n==========\n\n## Hub\nIngests data from modules, stores data, output to modules.  \nBackup db to NAS regulary  \nShould run on rpi zero\n\n## Input modules\n - Energy usage - from energy supplier feed\n - Share price - price of shares/bitcoin\n - Weather - current temperature, weather\n\n## Output modules\n - Web server - something to share graphs and charts\n - Pandas server - serve data as pandas dataframes?\n - ESP8266 screen - I have some tiny screens and esp devices laying around.\n\nSetup\n=====\n\n## .env\nFill in the entries in a .env file in the root folder\n\n    # Hub settings\n    HUB_VERSION='0.1'\n    HUB_API_VERSION='v1'\n    DB_PATH='logs.db'\n\n    # Energy settings\n    ELECTRICITY_BASE_URL=https://api.octopus.energy/v1/\n    ELECTRICITY_API_KEY=***\n    ELECTRICITY_MPAN=***\n    ELECTRICITY_SERIAL=***\n    ELECTRICITY_API_URL=http://localhost:8000/api/v1/energy/electricity_consumption\n\n\n\nLinks\n=====\nTODO: Tidy this up  \n\nTo run the hub app\n\n    cd hub  \n    uvicorn main:app --reload\ntest url  \n\n    curl localhost:8000/version \n\n http://127.0.0.1:8000/docs\n\n\nElectricity Module\n==================\nFill in the .env with the ELECTRICITY variables.\nVariables can be found at https://octopus.energy/dashboard/developer/  \n\nDocs for the api can be found at  \nhttps://developer.octopus.energy/docs/api/\n\n    usage: energy.py [-h] [-r ROWS]\n\n    options:\n    -h, --help            show this help message and exit\n    -r ROWS, --rows ROWS  Number of rows to request\n\nShares Module\n=============\nTracks share prices  \ngrab an api key at https://twelvedata.com/  \n\n.env file\n\n    SHARES_BASE_URL=https://api.twelvedata.com/time_series\n    SHARES_TWELVEDATA_KEY=***\n    SHARES_WATCH_LIST=\"APPL,BRK.B\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarybake%2Flittle_observability","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarybake%2Flittle_observability","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarybake%2Flittle_observability/lists"}