{"id":17000808,"url":"https://github.com/klein0r/fhem-abstracttable","last_synced_at":"2025-04-12T06:12:36.579Z","repository":{"id":47670035,"uuid":"173922559","full_name":"klein0r/fhem-abstracttable","owner":"klein0r","description":"Renders all numbered readings of a given FHEM device","archived":false,"fork":false,"pushed_at":"2021-08-18T18:41:10.000Z","size":99,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T06:12:28.096Z","etag":null,"topics":["fhem","fhem-module","perl","smarthome"],"latest_commit_sha":null,"homepage":"https://haus-automatisierung.com/","language":"Perl","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/klein0r.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGED","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-05T10:09:18.000Z","updated_at":"2021-11-09T17:49:09.000Z","dependencies_parsed_at":"2022-08-21T13:50:09.689Z","dependency_job_id":null,"html_url":"https://github.com/klein0r/fhem-abstracttable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klein0r%2Ffhem-abstracttable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klein0r%2Ffhem-abstracttable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klein0r%2Ffhem-abstracttable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klein0r%2Ffhem-abstracttable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klein0r","download_url":"https://codeload.github.com/klein0r/fhem-abstracttable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525138,"owners_count":21118619,"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":["fhem","fhem-module","perl","smarthome"],"created_at":"2024-10-14T04:13:06.514Z","updated_at":"2025-04-12T06:12:36.555Z","avatar_url":"https://github.com/klein0r.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AbstractTable FHEM Module\n\nThis module can render device with numbered readings as a table. (e.g. CALVIEW, PROPLANTA, Wunderlist, Todoist, CALLMONITOR, allergy, DBPlan, ...)\n\nBut: This module is still under development. Please report any issues.\n\n## Installation\n\n```\nupdate add https://raw.githubusercontent.com/klein0r/fhem-abstracttable/master/controls_abstracttable.txt\nupdate check abstracttable\nupdate all abstracttable\n```\n\n## Usage\n\nDevice is the source of the readings\n\n```\ndefine \u003cname\u003e abstracttable [device]\n```\n\nYou have to specify at least ```table-rowtemplate```. This attribute must contain a comma seperated list of readings. You have to add the placeholder for the number in each reading.\n\nExamples:\n\n- ```t_%d_age,t_%d_summary``` will try to get the reading ```t_0_age``` for the first column and ```t_0_summary``` for the second column.\n- ```t_%03d_age,t_%02d_summary``` will try to get the reading ```t_000_age``` for the first column and ```t_00_summary``` for the second column.\n\nYou can use all conversions supported by [sprintf](https://perldoc.perl.org/functions/sprintf.html).\n\nThe iteration will stop when no column for the current row has returned a value.\n\n## Examples\n\n### CALVIEW-Device\n\n```\ndefine tabelle_birthdays abstracttable GeburstagsKalenderView\nattr tabelle_birthdays table-header Date,Days,Age,Who\nattr tabelle_birthdays table-rowtemplate t_%03d_bdate,t_%03d_daysleftLong,t_%03d_age,t_%03d_summary\nattr tabelle_birthdays table-startindex 1\n```\n\n### Wunderlist\n\n```\ndefine table_wunderlist abstracttable Wunderlist\nattr table_wunderlist table-header ID,Title\nattr table_wunderlist table-rowtemplate Task_%03d_ID,Task_%03d\n```\n\n### FB_CALLLIST\n\n```\ndefine table_calllist abstracttable Anrufhistorie\nattr table_calllist table-header connection,duration,number\nattr table_calllist table-rowtemplate %d-connection,%d-duration,%d-number\nattr table_calllist table-startindex 1\n```\n\n### allergy\n\n```\ndefine table_allergy abstracttable OUT_Allergie\nattr table_allergy table-header Wochentag,Maximum,Erle,Hasel,Roggen\nattr table_allergy table-rowtemplate fc%d_day_of_week,fc%d_maximum,fc%d_Erle,fc%d_Hasel,fc%d_Roggen\nattr table_allergy table-startindex 1\n```\n\n### DBPlan\n\n```\ndefine table_bahnhof abstracttable OUT_BahnBahnhof\nattr table_bahnhof table-header Linie,Umsteigen,Typ,Abfahrt,Dauer,Verspätung,Ankunft,Ziel,Preis\nattr table_bahnhof table-rowtemplate travel_vehicle_nr_%d,plan_travel_change_%d,plan_connection_%d,plan_departure_%d,plan_travel_duration_%d,plan_arrival_delay_%d,plan_arrival_%d,travel_destination_%d,travel_price_%d\nattr table_bahnhof table-startindex 1\n```\n\n### Screenshot\n\n![FHEM Style](https://raw.githubusercontent.com/klein0r/fhem-abstracttable/master/preview.png)\n\n## License\n\nMIT License\n\nCopyright (c) 2019 Matthias Kleine\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklein0r%2Ffhem-abstracttable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklein0r%2Ffhem-abstracttable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklein0r%2Ffhem-abstracttable/lists"}