{"id":23925527,"url":"https://github.com/mhwlng/fipha","last_synced_at":"2025-04-12T03:41:21.329Z","repository":{"id":48878508,"uuid":"517066413","full_name":"mhwlng/fipha","owner":"mhwlng","description":"Home Assistant integration with HWINFO, MQTT and optionally Logitech Flight Instrument Panel","archived":false,"fork":false,"pushed_at":"2024-04-24T15:45:21.000Z","size":180,"stargazers_count":32,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-25T23:14:23.075Z","etag":null,"topics":["fip","flight-instrument-panel","home-assistant","hwinfo","logitech","mqtt","saitek"],"latest_commit_sha":null,"homepage":"https://community.home-assistant.io/t/home-assistant-integration-with-logitech-flight-instrument-panel-hwinfo-mqtt/443045","language":"C#","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/mhwlng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2022-07-23T13:33:13.000Z","updated_at":"2025-01-31T07:05:17.000Z","dependencies_parsed_at":"2023-12-01T12:21:46.691Z","dependency_job_id":null,"html_url":"https://github.com/mhwlng/fipha","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhwlng%2Ffipha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhwlng%2Ffipha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhwlng%2Ffipha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhwlng%2Ffipha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhwlng","download_url":"https://codeload.github.com/mhwlng/fipha/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514217,"owners_count":21116899,"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":["fip","flight-instrument-panel","home-assistant","hwinfo","logitech","mqtt","saitek"],"created_at":"2025-01-05T20:14:38.466Z","updated_at":"2025-04-12T03:41:21.292Z","avatar_url":"https://github.com/mhwlng.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fip-ha\n\nHome Assistant integration with [Logitech Flight Instrument Panel](https://www.logitechg.com/en-us/products/flight/flight-simulator-instrument-panel.945-000027.html), HWINFO, MQTT\n\n- Now Playing Display for Home Assistant Media Players\n- Sensor History Display\n- [HWInfo](https://www.hwinfo.com) integration into Home Assistant, via MQTT\n\n**If only the HWINFO integration with Home Assistant is needed, then NO Flight Instrument Panel needs to be connected and no drivers need to be installed. The haUrl / haToken keys in appsettings.config can be made empty to disable this feature.**\n\nIf only the Now Playing Display / Sensor History is required, then no HWINFO or MQTT server needs to be set-up or running (in that case, remove mqtt.config).\n\nHWINFO Sensor Entities will be AUTOMATICALLY added to Home Assistant via the MQTT Discovery process.\n\n# Now Playing\n\n![Screenshot 1](https://i.imgur.com/UNOTXH2.jpeg)\n\nThe S1 button opens the menu.\n\nThe last selected menu option is reloaded at startup.\n\nUse the right rotary encoder to scroll vertically.\n\nEverything is configured via the data\\mediaplayer.json file.\n\n```\n[\n  {\n    \"menuName\": \"PC\",\n    \"entityId\": \"media_player.plex_plexamp_dev5\"\n  },\n  {\n    \"menuName\": \"MAC\",\n    \"entityId\": \"media_player.plex_plex_htpc_for_mac_mac_mini\"\n  }\n]\n\n```\n\nUp to 5 media player pages can be defined, selected via a pop-up menu.\n\nEach page has a menu name and a caption name. \nIf the captionName is not defined, then the name from Home Assistant will be used.\n\nOn the now playing screen :\n\nWhen supported by the mediaplayer: S2,S3,S4 buttons will allow play/pause, next/previous track.\n\nedit appsettings.config with the Home Assistant URL and the Long-Lived Access Token that can be created in the profle screen in Home assistant.\n\n```\n\u003c?xml version=\"1.0\" encoding=\"utf-8\" ?\u003e\n\u003cappSettings\u003e\n  \u003cadd key=\"EnableWindowsFormsHighDpiAutoResizing\" value=\"false\" /\u003e\n  \u003cadd key=\"haUrl\" value =\"http://192.168.2.34:8123/\" /\u003e\n  \u003cadd key=\"haToken\" value =\"awsdfljhsdjkfhs...........3zFHM\" /\u003e\n\u003c/appSettings\u003e\n```\n\nWorks with these 64 bit Logitech Flight Instrument Panel Drivers (currently not with older saitek drivers) :\n\nhttps://support.logi.com/hc/en-us/articles/360024848713--Downloads-Flight-Instrument-Panel\n\nSoftware Version: 8.0.134.0\nLast Update: 2018-01-05\n64-bit\n\nhttps://download01.logi.com/web/ftp/pub/techsupport/simulation/Flight_Instrument_Panel_x64_Drivers_8.0.134.0.exe\n\n\n# Sensor History\n\nAny (numeric value) sensor that has [history integration](https://www.home-assistant.io/integrations/history/) enabled in home assistant, can be displayed on the flight instrument panel, on up to 5 pages, selected via a pop-up menu.\n\n![History1](https://i.imgur.com/arcd2Ve.png)\n\n![History2](https://i.imgur.com/ifRNKa6.png)\n\nNote that the HWINFO values are not used for this. The sensor history data is retrieved from Home Assistant.\n\nEverything is configured via the data\\sensors.json file.\n\n```\n[\n  {\n    \"menuName\": \"PC\",\n    \"captionName\": \"PC\",\n    \"sections\": [\n      {\n        \"name\": \"USAGE\",\n        \"sensors\": [\n          {\n            \"entityId\": \"sensor.dev5_usage_cpu\"\n          },\n          {\n            \"entityId\": \"sensor.dev5_usage_gpu\"\n          }\n        ]\n      },\n      {\n        \"name\": \"FAN SPEED\",\n        \"sensors\": [\n          {\n            \"entityId\": \"sensor.dev5_fan_speed_chipset\"            \n          },\n          {\n            \"entityId\": \"sensor.dev5_fan_speed_gpu\"\n          }\n        ]\n      },\n  },\n]\n```\n\nUp to 5 pages can be defined.\n\nEach page has a menu name and a caption name.\n\nEach page can have any number of sections, each with a name. (If there is only one section, then no name is needed)\n\nEach section can have any number of sensors. The entityId from Home assistant is required. Also, a name can be defined. (otherwise the name from Home Assistant will be used)\n\nIf the sensor value is non-numeric, or you don't want a chart, you can add \"chart\": false to only show the current value.\n\nBy default the chart for the last 6 hours is displayed. This can be overruled, per sensor, via \"chartMinutes\": 360\n\n\n# HWINFO\n\nThe 'Shared Memory Support' setting in HWInfo must be enabled.\n\nWhen HWInfo64 is detected, ALL the available sensors will be written at startup to the data\\hwinfo.json file.\n\nThe HWINFO.inc file must be modified, to configure what will be sent to MQTT.\nThe HWINFO.inc file has the same format as used by various [rainmeter](https://www.deviantart.com/pul53dr1v3r/art/Rainformer-2-9-3-HWiNFO-Edition-Rainmeter-789616481) skins.\n\nNote that you don't need to install rainmeter or any rainmeter plugin.\n\nA configuration tool, to link sensor ids to variables in the HWINFO.inc file, can be downloaded from the hwinfo website [here](https://www.hwinfo.com/beta/HWiNFOSharedMemoryViewer.exe.7z) :\n\n![hwinfo tool](https://i.imgur.com/Px6jvw4.png)\n\nThe HWINFO sensor data can be sent to an MQTT server that is configured in mqtt.config (this file can be deleted if MQTT is not required)\n\nThe polling interval is defined in the mqttPollingInterval field\n\n```\n\u003c?xml version=\"1.0\" encoding=\"utf-8\" ?\u003e\n\u003cconfiguration\u003e\n  \u003cmqtt\u003e\n    \u003cadd key=\"mqttURI\" value=\"192.168.2.34\" /\u003e\n    \u003cadd key=\"mqttUser\" value=\"mqttusername\" /\u003e\n    \u003cadd key=\"mqttPassword\" value=\"secretpassword\" /\u003e\n    \u003cadd key=\"mqttPort\" value=\"1883\" /\u003e\n    \u003cadd key=\"mqttSecure\" value=\"False\" /\u003e\n    \u003cadd key=\"mqttPollingInterval\" value=\"5000\" /\u003e\n  \u003c/mqtt\u003e\n\u003c/configuration\u003e\n```\n\n![MQTT1](https://i.imgur.com/KackkpM.png)\n\n![MQTT2](https://i.imgur.com/p5S3FWw.png)\n\n![MQTT3](https://i.imgur.com/AJBazTy.png)\n\n![MQTT4](https://i.imgur.com/tkaNJDd.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhwlng%2Ffipha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhwlng%2Ffipha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhwlng%2Ffipha/lists"}