{"id":15102120,"url":"https://github.com/kenny1342/e-panel","last_synced_at":"2026-02-10T03:33:25.642Z","repository":{"id":244400158,"uuid":"815106105","full_name":"kenny1342/E-Panel","owner":"kenny1342","description":"Energy Monitor Display using a Shelly EM device and ESP32 board","archived":false,"fork":false,"pushed_at":"2024-07-01T06:22:44.000Z","size":5116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T22:37:03.193Z","etag":null,"topics":["arduino","energy","esp32","lilygo-tdisplay","monitor","platformio","shelly","shelly-api","shelly-em","tft-display","ttgo-t-display"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kenny1342.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-06-14T11:13:52.000Z","updated_at":"2024-06-28T13:09:23.000Z","dependencies_parsed_at":"2024-12-18T17:53:34.616Z","dependency_job_id":null,"html_url":"https://github.com/kenny1342/E-Panel","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"4aaf336d25743ca38cf8c86c18e96ee922682f81"},"previous_names":["kenny1342/e-panel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenny1342%2FE-Panel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenny1342%2FE-Panel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenny1342%2FE-Panel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenny1342%2FE-Panel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenny1342","download_url":"https://codeload.github.com/kenny1342/E-Panel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332523,"owners_count":20921852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["arduino","energy","esp32","lilygo-tdisplay","monitor","platformio","shelly","shelly-api","shelly-em","tft-display","ttgo-t-display"],"created_at":"2024-09-25T18:47:20.796Z","updated_at":"2026-02-10T03:33:25.612Z","avatar_url":"https://github.com/kenny1342.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- ABOUT THE PROJECT --\u003e\n## Energy Monitor Display using a Shelly EM device and ESP32\nArduino project to display real-time energy data from a Shelly EM device on a TFT display connected to an ESP32 module.\u003cbr /\u003e\nIt uses the Shelly Cloud API, make sure device is cloud-connected (it is by default). \u003cbr /\u003e\nShelly API returns JSON formatted data, we parse it using ArduinoJson library.\u003cbr /\u003e\nThe JSON contains *alot* of information from the devices, the whole JSON object is printed to serial output.\u003cbr /\u003e\n\nI made this as a starting point for an electrical info display for my own smart-house setup.\u003cbr /\u003e\nThis is just my personal hobby project, but maybe it's useful for someone else too.\n\n(I have left the very first test sketch in extras/ folder, for quick test using Arduino IDE)\n\n\u003cimg src=\"epanel_ttgo.png\" alt=\"Logo\" width=\"400\" height=\"220\"\u003e\n\u003cimg src=\"epanel_ttgo2.png\" alt=\"Logo\" width=\"400\" height=\"220\"\u003e\n\n### Components used\n\n* [https://www.shelly.com/en/products/energy-metering] (Any Shelly device with Energy Metering)\n* [https://www.aliexpress.us/item/1005003680319016.html] (LilyGo TTGO T-Display (ESP32 module with TFT)\n* [https://platformio.org/install/ide?install=vscode] (PlatformIO IDE for Arduino development in VS Code)\n\n### Setup\n\n* Rename include/secrets.h.example to secrets.h and fill it with your device details\n  ** MAKE SURE NOT TO COMMIT THIS IN PUBLIC GIT REPO (secrets.h must be in .gitignore)\n* Configure lib/TFT_eSPI/User_Setup_Select.h for your display\n\n### Planned features\n* Connect directly to Shelly device API over local LAN (Initial development was done off-site, only cloud possible)\n\n### Possible TFT_eSPI issue (if using IDE installed version instead of included lib/TFT_espi version)\nNote: I use a local copy of TFT_eSPI library in my projects to easily use different displays across my projects.\n\nUsing TFT_eSPI driver 2.5.43, I first got compile errors:\n```\nIn file included from c:\\Users\\andersen.32\\Documents\\Arduino\\libraries\\TFT_eSPI\\TFT_eSPI.cpp:24:\nc:\\Users\\andersen.32\\Documents\\Arduino\\libraries\\TFT_eSPI\\Processors/TFT_eSPI_ESP32.c: In member function 'void TFT_eSPI::begin_SDA_Read()':\nc:\\Users\\andersen.32\\Documents\\Arduino\\libraries\\TFT_eSPI\\Processors/TFT_eSPI_ESP32.c:72:3: error: 'gpio_set_direction' was not declared in this scope\n   72 |   gpio_set_direction((gpio_num_t)TFT_MOSI, GPIO_MODE_INPUT);\n```\nI fixed this by adding\n```\n#include \"driver/gpio.h\"\n#include \u003crom/ets_sys.h\u003e\nto Processors\\TFT_eSPI_ESP32.h\n```\n\n## Acknowledgments\n* It uses Timemark.h from Mikael Patel\n  \n## Contact\nKen-Roger Andersen [https://www.linkedin.com/in/kenny1342]","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenny1342%2Fe-panel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenny1342%2Fe-panel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenny1342%2Fe-panel/lists"}