{"id":21002507,"url":"https://github.com/pimatic/pimatic-lcd","last_synced_at":"2025-05-15T00:31:11.667Z","repository":{"id":21450045,"uuid":"24768428","full_name":"pimatic/pimatic-lcd","owner":"pimatic","description":"pimatic support for LCD Displays using i2c serial bus.","archived":false,"fork":false,"pushed_at":"2019-03-28T19:03:24.000Z","size":99,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-05T08:06:17.084Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pimatic.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}},"created_at":"2014-10-03T18:05:45.000Z","updated_at":"2019-03-28T19:03:25.000Z","dependencies_parsed_at":"2022-08-17T16:25:28.200Z","dependency_job_id":null,"html_url":"https://github.com/pimatic/pimatic-lcd","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/pimatic%2Fpimatic-lcd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-lcd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-lcd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-lcd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pimatic","download_url":"https://codeload.github.com/pimatic/pimatic-lcd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225316759,"owners_count":17455311,"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-19T08:18:57.462Z","updated_at":"2024-11-19T08:18:58.320Z","avatar_url":"https://github.com/pimatic.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"pimatic-lcd\n===========\n\npimatic support for LCD Displays using i2c serial bus.\n\nTested with:\n* 2004 LCD Display Module HD44780 (20x4)\n* 1602 LCD Display Module HD44780 (16x2)\n\nExample config:\n--------------\n\n```json\n{\n  \"plugin\": \"lcd\",\n  \"bus\": \"/dev/i2c-1\",\n  \"rows\": 4,\n  \"cols\": 20\n}\n```\n\nIf the i2c address of the LCD Display Module is different from the default address `\"0x27\"`, the `\"address\"` \nproperty needs to be set. If the address of the module is unknown the `i2cdetect` tool can be used which is part \nof the `i2c-tools` package on Raspbian. \nNote, the addresses output by the tool are hexadecimal numbers. To set the address property of the plugin \naccordingly, the number has to be provided as a string preceded by `0x`.\n\n```json\n{\n  \"plugin\": \"lcd\",\n  \"bus\": \"/dev/i2c-1\",\n  \"address\": \"0x23\",\n  \"rows\": 4,\n  \"cols\": 20\n}\n```\n\n\nExample rules:\n--------------\n\n```\nIF $syssensor.cpu changes\nTHEN display \"CPU: {$syssensor.cpu}%\" on lcd line 1\n\n\nIF $syssensor.cpu changes or $syssensor.memory changes\nTHEN display \"CPU: {$syssensor.cpu}%\" on lcd line 1 and display \"MEM: {$syssensor.memory}MB\" on lcd line 2\n\n\nIF switch is turned off\nTHEN turn LCD backlight off\n\n\nIF switch is turned off\nTHEN display \"Bye bye\" on lcd and after 5 seconds turn LCD backlight off\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimatic%2Fpimatic-lcd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpimatic%2Fpimatic-lcd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimatic%2Fpimatic-lcd/lists"}