{"id":20594966,"url":"https://github.com/hackuarium/mesh-esp32","last_synced_at":"2025-07-09T17:08:19.802Z","repository":{"id":84232734,"uuid":"423209736","full_name":"Hackuarium/mesh-esp32","owner":"Hackuarium","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-03T12:00:19.000Z","size":188,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-06T14:53:25.987Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Hackuarium.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":"2021-10-31T17:05:56.000Z","updated_at":"2022-12-07T22:54:39.000Z","dependencies_parsed_at":"2023-05-24T01:45:22.932Z","dependency_job_id":null,"html_url":"https://github.com/Hackuarium/mesh-esp32","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hackuarium/mesh-esp32","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackuarium%2Fmesh-esp32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackuarium%2Fmesh-esp32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackuarium%2Fmesh-esp32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackuarium%2Fmesh-esp32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hackuarium","download_url":"https://codeload.github.com/Hackuarium/mesh-esp32/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackuarium%2Fmesh-esp32/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502167,"owners_count":23618557,"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":[],"created_at":"2024-11-16T08:11:03.963Z","updated_at":"2025-07-09T17:08:19.769Z","avatar_url":"https://github.com/Hackuarium.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Install platform IO cli\n\n`export PATH=$PATH:~/.platformio/penv/bin`\n\n```cpp\nprintf(\"Restarting now.\\n\");\nfflush(stdout);\nesp_restart();\n```\n\n`IDF_PATH=~/.platformio/packages/framework-espidf/`\n\nYou may have to add pyserial:\n`sudo pip3 install pyserial`\n\nRead device info:\n`python3 $IDF_PATH/components/esptool_py/esptool/esptool.py --port /dev/cu.usbserial-A5XK3RJT flash_id`\n\nRead partition table\n\n`python3 $IDF_PATH/components/esptool_py/esptool/esptool.py --port /dev/cu.usbserial-A5XK3RJT read_flash 0x8000 0xc00 ptable.img`\n\nWe can now check the content of the `ptable.img` file\n`python3 $IDF_PATH/components/partition_table/gen_esp32part.py ptable.img`\n\nHere is an example of the result:\n\n```bash\n# Espressif ESP32 Partition Table\n# Name, Type, SubType, Offset, Size, Flags\nnvs,data,nvs,0x9000,20K,\notadata,data,ota,0xe000,8K,\napp0,app,ota_0,0x10000,1280K,\napp1,app,ota_1,0x150000,1280K,\nspiffs,data,spiffs,0x290000,1472K,\n```\n\n## OsX\n\nYou may encounter a problem uploading the file to ESP32 that uses the new chip USB/UART CH9102x.\n\n`A fatal error occurred: Failed to write to target RAM (result was 01070000)`\n\nYou may find more information about solving this problem at:\n\nhttps://blog.squix.org/2021/08/ch9102-driver-issues-failed-to-write-to-target-ram.html\n\nIt is related to those issues:\n\n- https://github.com/espressif/esptool/issues/280\n- https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800/issues/139\n\n## FS\n\nCreate a folder at the first level called `data`.\n\nTo upload the data\n\n`pio run --target uploadfs`\n\n## Alternative web server\n\nhttps://github.com/me-no-dev/ESPAsyncWebServer#using-platformio\n\n## Searching libraries\n\nhttps://platformio.org/lib/search?query=si7021\n\n## OTA\n\npio run -t upload --upload-port square.local\npio run -t uploadfs --upload-port square.local\n\n## Test webserver\n\n```bash\nnpm i --global loadtest\nloadtest -n 1000 -c 4 http://square.patiny.com/command/A\n```\n\n## Setup\n\nZ: Layout model\nAA: 0 (RGB), 1 (BRG)\n\nCubes\n\nI: 1 (one line)\nJ: 10 (10 groups of 3 leds per line)\n\n## Flame simulation\n\nhttps://cpldcpu.wordpress.com/2016/01/05/reverse-engineering-a-real-candle/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackuarium%2Fmesh-esp32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackuarium%2Fmesh-esp32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackuarium%2Fmesh-esp32/lists"}