{"id":13830621,"url":"https://github.com/BenRoe/MMM-FHEM","last_synced_at":"2025-07-09T12:30:45.052Z","repository":{"id":123385435,"uuid":"69130423","full_name":"BenRoe/MMM-FHEM","owner":"BenRoe","description":"A module for the MagicMirror, to display data from FHEM devices.","archived":false,"fork":false,"pushed_at":"2019-10-28T16:57:07.000Z","size":45,"stargazers_count":10,"open_issues_count":6,"forks_count":14,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-08-04T10:03:30.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/BenRoe.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-09-24T22:16:01.000Z","updated_at":"2023-07-11T17:40:24.000Z","dependencies_parsed_at":"2024-01-15T17:39:12.421Z","dependency_job_id":null,"html_url":"https://github.com/BenRoe/MMM-FHEM","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/BenRoe%2FMMM-FHEM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenRoe%2FMMM-FHEM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenRoe%2FMMM-FHEM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenRoe%2FMMM-FHEM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenRoe","download_url":"https://codeload.github.com/BenRoe/MMM-FHEM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225539460,"owners_count":17485337,"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-08-04T10:01:03.219Z","updated_at":"2024-11-20T11:31:04.283Z","avatar_url":"https://github.com/BenRoe.png","language":"JavaScript","funding_links":[],"categories":["Hardware"],"sub_categories":[],"readme":"# Module: MMM-FHEM\nThis [MagicMirror](https://github.com/MichMich/MagicMirror) module, shows values like temperature/humidity of [FHEM](http://fhem.de) devices.\n\n## \u0026#x1F534; This repository is no longer maintained.\n__If you are interested to maintain this project, please contact me and i will add you to this repository.__\n\n\n![Magic-Mirror Module MMM-FHEM screenshot](https://github.com/BenRoe/MMM-FHEM/blob/gh-pages/Screenshot1.png?raw=true)\n![Magic-Mirror Module MMM-FHEM screenshot](https://github.com/BenRoe/MMM-FHEM/blob/gh-pages/Screenshot2.png?raw=true)\n\n## Dependencies\n- An installation of [MagicMirror\u003csup\u003e2\u003c/sup\u003e](https://github.com/MichMich/MagicMirror)\n- [request](https://www.npmjs.com/package/request)\n- [underscore](https://www.npmjs.com/package/underscore)\n\n## Installation\n\nNavigate into your MagicMirror's `modules` folder:\n```\ncd ~/MagicMirror/modules\n```\n\nClone this repository:\n```\ngit clone https://github.com/BenRoe/MMM-FHEM\n```\n\nNavigate to the new `MMM-FHEM` folder and install the node dependencies.\n```\nnpm install\n```\n\nConfigure the module in your `config.js` file.\n\n## Update the module\n\nNavigate into the `MMM-FHEM` folder with `cd ~/MagicMirror/modules/MMM-FHEM` and get the latest code from Github with `git pull`.\n\nIf you haven't changed the modules, this should work without any problems. Type `git status` to see your changes, if there are any, you can reset them with `git reset --hard`. After that, git pull should be possible.\n\n## Using the module\n\nTo use this module, add it to the modules array in the `config/config.js` file:\n```javascript\nmodules: [\n  {\n    module: 'MMM-FHEM',\n    position: 'bottom_bar',\n    config: {\n      host: 'localhost',\n      port: '8083',\n      https: false,\n      devices: [\n                  { deviceName: 'FhemDeviceName1',\n                    deviceReadings: [\n                                      { name: 'temperature', icon: 'wi wi-thermometer', suffix: '\u0026deg;' },\n                                      { name: 'humidity', icon: 'wi wi-humidity', suffix: '%' },\n                                    ],\n                  },\n                  { deviceName: 'FhemDeviceName2',\n                    deviceReadings: [\n                                      { name: 'temperature', icon: 'wi wi-thermometer', suffix: '\u0026deg;' },\n                                      { name: 'battery', icon: 'fa fa-battery-half', suffix: '' },                                      \n                                    ],\n                  },\n                ],\n    },\n  },\n]\n```\n\n## Configuration options\n\nThe following properties can be configured:\n\n\u003ctable  width=\"100%\"\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eOption\u003c/th\u003e\n\t\t\t\u003cth width=\"100%\"\u003eDescription\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003ehost\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003eHostname/IP of the FHEM Server.\n            Is only necessary, if FHEM and Magic-Mirror is \u003cu\u003enot\u003c/u\u003e on the same machine (Raspberry Pi).\u003cbr\u003e\n            \u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003elocalhost\u003c/code\u003e or a IP\u003cbr\u003e\n\t\t\t\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003elocalhost\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eport\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003eFHEM Port\u003cbr\u003e\n                \u003cb\u003ePossible values:\u003c/b\u003e any number\u003cbr\u003e\n                \u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003e8083\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003ehttps\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003eIf your FHEM use https\u003cbr\u003e\n                \u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003etrue\u003c/code\u003e or \u003ccode\u003efalse\u003c/code\u003e\u003cbr\u003e\n                \u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003efalse\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003edevices\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003eArray of objects. Object for the different FHEM devices.\n\u003cpre\u003e\u003ccode\u003e\n{ deviceName: 'FhemDeviceName1',\n  deviceReadings: [\n     { name: 'temperature', icon: 'wi wi-thermometer', suffix: '\u0026deg;' },\n     { name: 'humidity', icon: 'wi wi-humidity', suffix: '%' },\n  ],\n},\n\u003c/code\u003e\u003c/pre\u003e\n            \u003cb\u003edeviceName\u003c/b\u003e: Go to the FHEM Web-UI, find the device under Unsorted or another room and find \u003ccode\u003eNAME\u003c/code\u003e under \u003ccode\u003eInternals\u003c/code\u003e.\n            \u003cbr /\u003e\n            \u003cb\u003edeviceReadings\u003c/b\u003e: array of objects for the device readings you want to display.\n            \u003cbr /\u003e\n            \u003cb\u003ename:\u003c/b\u003e Name of the Reading (Required)\n            \u003cbr\u003e\n            \u003cb\u003eicon:\u003c/b\u003e CSS class of an icon (\u003ca href=\"http://fontawesome.io/icons/\"\u003eFont-Awesome\u003c/a\u003e and \u003ca href=\"https://erikflowers.github.io/weather-icons/\"\u003eWeather Icons\u003c/a\u003e are pre installed)\n            \u003cbr\u003e\n            \u003cb\u003esuffix:\u003c/b\u003e any string/text\n            \u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003einitialLoadDelay\u003c/code\u003e\u003c/td\u003e\n\t\t\t   \u003ctd\u003eThe initial delay before loading. (Milliseconds)\u003cbr\u003e\n               \u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003e1000\u003c/code\u003e (1 second)\n\t\t\t\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eupdateInterval\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003eContent update interval in Milliseconds.\u003cbr\u003e\n               \u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003e1000\u003c/code\u003e (1 second) to \u003ccode\u003e86400000\u003c/code\u003e (24 hours)\u003cbr\u003e\n\t\t\t   \u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003e60000\u003c/code\u003e (1 minute)\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBenRoe%2FMMM-FHEM","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBenRoe%2FMMM-FHEM","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBenRoe%2FMMM-FHEM/lists"}