{"id":20841460,"url":"https://github.com/iotexproject/generate-pebble-data","last_synced_at":"2026-04-18T05:03:04.281Z","repository":{"id":46166933,"uuid":"390610122","full_name":"iotexproject/generate-pebble-data","owner":"iotexproject","description":"This is a Pebble Tracker verifiable data generator: it generates a set of data for an hypotatycal Pebble Device, accounrding to the user rules, then it signs the data as a area device would do and transmits the data to the IoTeX network for use in Dapps.","archived":false,"fork":false,"pushed_at":"2023-10-25T14:50:01.000Z","size":506,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-12T10:23:14.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://brewmy.info","language":"TypeScript","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/iotexproject.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}},"created_at":"2021-07-29T05:25:29.000Z","updated_at":"2023-10-25T06:12:43.000Z","dependencies_parsed_at":"2022-09-14T13:40:32.447Z","dependency_job_id":null,"html_url":"https://github.com/iotexproject/generate-pebble-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iotexproject/generate-pebble-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotexproject%2Fgenerate-pebble-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotexproject%2Fgenerate-pebble-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotexproject%2Fgenerate-pebble-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotexproject%2Fgenerate-pebble-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iotexproject","download_url":"https://codeload.github.com/iotexproject/generate-pebble-data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotexproject%2Fgenerate-pebble-data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31957158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":"2024-11-18T01:20:10.902Z","updated_at":"2026-04-18T05:03:04.197Z","avatar_url":"https://github.com/iotexproject.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pebble Data Generator\n\nThis is a [Pebble Tracker](https://docs.iotex.io/secure-hardware/pebble-tracker) verifiable data generator: it generates a set of data for an hypotatycal Pebble Device, accounrding to the user rules, then it signs the data as a area device would do and transmits the data to the IoTeX network for use in Dapps.\n\nThis tool is available at [https://brewmy.info](https://brewmy.info])\n\nThis is app is created using [Blitz.js](https://github.com/blitz-js/blitz).\n\n## For users\n\n### Prerequisites\nPlease contact an admin on our Discord channel and request a pre-registered Pebble Tracker identity (IMEI \u0026 Private key)\n\n### Use the data generator\n1. Access the web tool at brewmy.info\n![image](https://user-images.githubusercontent.com/11096047/131354629-a4eb5a46-2605-4f60-86c2-43b705892f62.png)\n\n2. Set the GPS route\nYou can either select one of the pre-defined routes from the combo box, or set your own start and end points for your route. If you set your custom route, click \"Create path\" to generate the GPS locations\n\n3. Set the timestamp range\nSet the start and end time for your dataset, make sure the end time is after the start time! The timestamps will be generated to be equally distributed along all data points.\n\n4. Set the generator for each sensor\nFor each sensor data, set and configure the generator. At this moment, only a constant value or a random value generator are available (feel free to [hack the web tool to add more generators](#for_developers)!). \n\n**Constant generator**: you can pick the value for that sensor, and it will be replicated along the entire dataset\n\n**Random generator**: you can pick the minimum and maximum value for that sensor, and a random value included in [min, max] will be generated forit along the entire dataset\n\n5. Export the dataset\nIf you intend to \"hack\" your dataset (e.g. introduce over/under-temperature, mechanical shocks, ambient light over the threshold, etc...) you can:\n- Export the dataset by selecting CSV in the \"Type\" dropdown\n- Edit your CSV by introducing your custom \"events\"\n- Reimport the CSV by clicking the \"Import\" button\n\n6. Send the data to the network\nOnce your dataset is ready, you can use the web tool to transmit the data to the network by clicking the \"Submit to TruStream\" button:\n![image](https://user-images.githubusercontent.com/11096047/131355306-50b7fd5d-5d0f-4abd-9e09-a6b060d92877.png)\n\n\nThe tool will ask for the IMEI and private key of your \"simulated device\" (please ask in our discord channel if you need a device identity), input the data and confirm.\nAt the end of the transmission, your dataset will be \"ingested\" and verified by the network and, eventually, indexed in the TruTream Graph node ready to be pulled by your Dapp (see the Fetch Device Telemetry section).\n\n## For Developers\n\nRun this tool locally in the development mode:\n\n```\nblitz dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nCheck out the [Blitz! framework](https://github.com/blitz-js/blitz#readme) for more.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiotexproject%2Fgenerate-pebble-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiotexproject%2Fgenerate-pebble-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiotexproject%2Fgenerate-pebble-data/lists"}