Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[Plugin Officiel][Sujet Principal] Harmony Hub

Pour échanger sur les plugins classés en catégorie "Multimédia"
mortyre
Actif
Messages : 1247
Inscription : 17 mai 2016, 16:51

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par mortyre » 20 déc. 2018, 17:37

jared a écrit :
20 déc. 2018, 15:37
Voila comment j'ai fait :

Télécharger les fichiers ici : https://github.com/home-assistant/pyhar ... /pyharmony
Les mettre à la place dans le dossier plugin/harmonyhub/3rdparty/PyHarmony/harmony (faites une copie du dossier si ça vous rassure)
Modifier le fichier __main__.py en supprimant lignes 10 et 11 "from pyharmony" (garder la suite de la ligne)
Vérifier que vous avez bien python3 installé
Installer les dépendances python nécessaires (de mémoire je n'avais pas asyncio, websockets et aiohttp ) en lançant :
pip3 install nom_du_package
Dans le fichier plugin/harmonyhub/core/class/harmonyhub.class.php, remplacer les 4 ou 5 occurence de python par python3

enjoy ;-)
Après on est pas à l'abri que logitech bloque le port 8080 dans une future maj...
Salut Jared, après avoir remis le dernier firmware (javais fait le downgrade hier) je n'ai plus mes activités, jusque là tout va bien.

J'ai téléchargé les fichiers modifier le fichier main.py et installé les dépendances de python3 nécessaires.

Mais pourtant je n'arrive pas à récupérer mes activités dans le plugin, mais dans les logs on voit bien les activités et commandes, une idée de ce que j'aurai pu loupé ?

DAns le log pourtant je vois des choses

Code : Tout sélectionner

[2018-12-20 18:06:55][DEBUG] : Sortie console : {     "Activities": {         "-1": "PowerOff",         "20735264": "LiveBox sur TV",         "20735267": "PC sur Projo",         "20735269": "SATELLITE sur TV",         "21717930": "VERANDA-NAS",         "26244097": "Smart TV Samsung",         "26963351": "Oppo sur TV",         "27428443": "PC sur TV",         "28603831": "SACD 2 sur TV",         "31972493": "Oppo sur projo",         "32831053": "CHROMECAST TV",         "32836807": "LiveBox sur Projo",         "32836967": "Satellite sur Projo"     },     "Devices": {         "Amplificateur Classe": {             "commands": [                 "PowerOff",                 "PowerOn",                 "PowerToggle",                 "Mute",                 "VolumeDown",                 "VolumeUp",                 "DirectionDown",                 "DirectionLeft",                 "DirectionRight",                 "DirectionUp",                 "Select",                 "Menu",                 "Info",                 "Display",                 "Dolby PLIIMatrix",                 "DolbyPL2Movie",                 "DolbyPL2Music",                 "DolbyPLII",                 "DTSDigitalEX",                 "DTSNeo6",                 "DTSNeo6Cinema",                 "DTSNeo6CinemaES",                 "DTSNeo6Music",                 "DTSNeo6MusicES",                 "DTSSurroundEX",                 "F1",                 "F2",                 "F3",                 "F4",                 "Home",                 "Input1",                 "Input10",                 "Input11",                 "Input12",                 "Input13",                 "Input14",                 "Input15",                 "Input16",                 "Input17",                 "Input18",                 "Input19",                 "Input2",                 "Input20",                 "Input3",                 "Input4",                 "Input5",                 "Input6",                 "Input7",                 "Input8",                 "Input9",                 "InputNext",                 "InputPrevious",                 "LipSync",                 "Mode",                 "Mono",                 "MoviePlus",                 "MusicPlus",                 "Night",                 "PresetConfig",                 "Profile",                 "Stereo",                 "Trim"             ],             "id": "36930487"         },         "Atlas HD-200s": {             "commands": [                 "PowerToggle",                 "0",                 "1",                 "2",                 "3",                 "4",                 "5",                 "6",                 "7",                 "8",                 "9",                 "Mute",                 "VolumeDown",                 "VolumeUp",                 "ChannelPrev",                 "ChannelDown",                 "ChannelUp",                 "DirectionDown",                 "DirectionLeft",                 "DirectionRight",                 "DirectionUp",                 "OK",                 "Stop",                 "Play",                 "Rewind",                 "Pause",                 "FastForward",                 "Record",                 "SkipBack",                 "SkipForward",                 "Menu",                 "Back",                 "Teletext",                 "Favorite",                 "Sleep",                 "Green",                 "Red",                 "Blue",                 "Yellow",                 "Epg",                 "Info",                 "Exit",                 "Freeze",                 "Panal",                 "Reset",                 "Sat",                 "Stream",                 "Tv/Radio"             ],             "id": "36930490"         },         "DOTSTONE HDMI SWITCHER": {             "commands": [                 "Power Toggle",                 "InputHdmi1",                 "InputHdmi2",                 "InputHdmi3",                 "InputHdmi4"             ],             "id": "53551921"         },         "Ecran Kimex": {             "commands": [                 "DirectionDown",                 "DirectionUp",                 "Select",                 "Stop"             ],             "id": "36930493"         },         "Enregistreur num\u00e9rique Orange": {             "commands": [                 "PowerToggle",                 "0",                 "1",                 "2",                 "3",                 "4",                 "5",                 "6",                 "7",                 "8",                 "9",                 "Mute",                 "VolumeDown",                 "VolumeUp",                 "ChannelDown",                 "ChannelUp",                 "DirectionDown",                 "DirectionLeft",                 "DirectionRight",                 "DirectionUp",                 "Select",                 "Stop",                 "Play",                 "Rewind",                 "Pause",                 "FastForward",                 "Record",                 "SkipBack",                 "SkipForward",                 "Return",                 "Menu",                 "List",                 "Green",                 "Red",                 "Blue",                 "Yellow",                 "Guide",                 "Info",                 "Exit",                 "VOD"             ],             "id": "37117816"         },         "HDFury Commutateur AV": {             "commands": [                 "PowerOff",                 "PowerOn",                 "4:2:0Off",                 "4:2:0On",                 "AudioHDMI",                 "AudioJack",                 "AutoSwOff",                 "AutoSwOn",                 "AutoSwPForceOff",                 "AutoSwPForceOn",                 "AVRDemoModeOff",                 "AVRDemoModeOn",                 "BlueLedOff",                 "BlueLedOn",                 "CECHDRRepOff",                 "CECHDRRepOn",                 "CECLAAudioProc",                 "CECLAVideoProc",                 "CECOff",                 "CECOn",                 "EDID2ChOff",                 "EDID2ChOn",                 "EDID3DAllowed",                 "EDID3DRemoved",                 "EDID5.1ChOff",                 "EDID5.1ChOn",                 "EDIDAllAudioOff",                 "EDIDAllAudioOn",                 "EDIDAutoMix",                 "EDIDAutomixAlg0",                 "EDIDAutomixAlg1",                 "EDIDAutomixAlg2",                 "EDIDAutomixAlg3",                 "EDIDBT2020Off",                 "EDIDBT2020On",                 "EDIDCusTable1",                 "EDIDCusTable10",                 "EDIDCusTable11",                 "EDIDCusTable12",                 "EDIDCusTable13",                 "EDIDCusTable14",                 "EDIDCusTable15",                 "EDIDCusTable16",                 "EDIDCusTable17",                 "EDIDCusTable18",                 "EDIDCusTable19",                 "EDIDCusTable2",                 "EDIDCusTable20",                 "EDIDCusTable21",                 "EDIDCusTable22",                 "EDIDCusTable23",                 "EDIDCusTable24",                 "EDIDCusTable25",                 "EDIDCusTable3",                 "EDIDCusTable4",                 "EDIDCusTable5",                 "EDIDCusTable6",                 "EDIDCusTable7",                 "EDIDCusTable8",                 "EDIDCusTable9",                 "EDIDCustom",                 "EDIDFixed",                 "EDIDHDRDPOff",                 "EDIDHDRDPOn",                 "EDIDYCbCrAllow",                 "EDIDYCbCrRemove",                 "Hdcp1.4",                 "Hdcp2.2",                 "HDROff",                 "HDROn",                 "Input1",                 "Input2",                 "LogoLedOff",                 "LogoLedOn",                 "MatrixSwap",                 "MatrixThru",                 "MuteOff",                 "MuteOn",                 "Reset",                 "SamsungHDROff",                 "SamsungHDROn",                 "SendCECLP",                 "SendCECSP"             ],             "id": "44575807"         },         "LiveBox": {             "commands": [                 "PowerToggle",                 "0",                 "1",                 "2",                 "3",                 "4",                 "5",                 "6",                 "7",                 "8",                 "9",                 "Mute",                 "VolumeDown",                 "VolumeUp",                 "ChannelDown",                 "ChannelUp",                 "DirectionDown",                 "DirectionLeft",                 "DirectionRight",                 "DirectionUp",                 "Select",                 "Stop",                 "Play",                 "Rewind",                 "Pause",                 "FastForward",                 "Record",                 "SkipBack",                 "SkipForward",                 "Return",                 "Menu",                 "List",                 "Green",                 "Red",                 "Blue",                 "Yellow",                 "Guide",                 "Info",                 "Exit",                 "VOD"             ],             "id": "36930488"         },         "Oppo UDP-205": {             "commands": [                 "PowerOff",                 "PowerOn",                 "PowerToggle",                 "0",                 "1",                 "2",                 "3",                 "4",                 "5",                 "6",                 "7",                 "8",                 "9",                 "Clear",                 "Mute",                 "VolumeDown",                 "VolumeUp",                 "DirectionDown",                 "DirectionLeft",                 "DirectionRight",                 "DirectionUp",                 "Enter",                 "Stop",                 "Play",                 "Rewind",                 "Eject",                 "Pause",                 "FastForward",                 "ChapterPrev",                 "ChapterNext",                 "Return",                 "TopMenu",                 "Pop-UpMenu",                 "Subtitle",                 "Audio",                 "Repeat",                 "RepeatA-B",                 "Setup",                 "Green",                 "Red",                 "Blue",                 "Yellow",                 "Info",                 "PageDown",                 "PageUp",                 "Zoom",                 "Dimmer",                 "Goto",                 "Home",                 "Input",                 "Light",                 "Option",                 "PictureMenu",                 "PureAudio",                 "Resolution"             ],             "id": "45560926"         },         "TV Samsung Salon": {             "commands": [                 "PowerOff",                 "PowerOn",                 "PowerToggle",                 "-",                 "0",                 "1",                 "2",                 "3",                 "4",                 "5",                 "6",                 "7",                 "8",                 "9",                 "Mute",                 "VolumeDown",                 "VolumeUp",                 "ChannelPrev",                 "ChannelDown",                 "ChannelUp",                 "DirectionDown",                 "DirectionLeft",                 "DirectionRight",                 "DirectionUp",                 "Select",                 "Stop",                 "Play",                 "Rewind",                 "Pause",                 "FastForward",                 "Record",                 "Return",                 "Menu",                 "Subtitle",                 "TTX/Mix",                 "TeletextSize",                 "C",                 "B",                 "D",                 "A",                 "Green",                 "Red",                 "Blue",                 "Yellow",                 "Guide",                 "Info",                 "Exit",                 "AD",                 "ChannelList",                 "EManual",                 "InputAv1",                 "InputComponent",                 "InputExt",                 "InputHdmi1",                 "InputHdmi2",                 "InputHdmi3",                 "InputHdmi4",                 "InputTv",                 "SmartHub",                 "Source",                 "TeletextCancel",                 "TeletextHold",                 "TeletextIndex",                 "TeletextMode",                 "TeletextNextPage",                 "TeletextPreviousPage",                 "TeletextReveal",                 "TeletextStore",                 "TeletextSubPage",                 "Tools"             ],             "id": "36930492"         },         "Vid\u00e9oprojecteur": {             "commands": [                 "PowerToggle",                 "DirectionDown",                 "DirectionLeft",                 "DirectionRight",                 "DirectionUp",                 "Enter",                 "Menu",                 "Back",                 "Info",                 "Ratio",                 "3D",                 "AcuMotion",                 "Bright",                 "Cont",                 "Freeze",                 "Gamma",                 "HDR",                 "Hide",                 "InputHdmi/Mhl",                 "InputVga",                 "Mode",                 "Sharp",                 "Source",                 "SuperRes"             ],             "id": "53551604"         },         "Yamaha rx-v681": {             "commands": [                 "PowerOff",                 "PowerOn",                 "PowerToggle",                 "NumberEnter",                 "0",                 "1",                 "2",                 "3",                 "4",                 "5",                 "6",                 "7",                 "8",                 "9",                 "Mute",                 "VolumeDown",                 "VolumeUp",                 "DirectionDown",                 "DirectionLeft",                 "DirectionRight",                 "DirectionUp",                 "Enter",                 "iPodStop",                 "iPodPlay",                 "iPodRewind",                 "iPodPause",                 "iPodFastForward",                 "iPodPreviousTrack",                 "iPodNextTrack",                 "OnScreen",                 "FM",                 "AM",                 "PresetPrev",                 "TuneDown",                 "TuneUp",                 "PresetNext",                 "Sleep",                 "Info",                 "Display",                 "InputPandora",                 "DSPEnhancer",                 "DspMovie",                 "DspMusic",                 "DspPureDirect",                 "DspStraight",                 "DspSurDecode",                 "HdmiOut",                 "InputAirplay",                 "InputAudio1",                 "InputAudio2",                 "InputAv1",                 "InputAv2",                 "InputAv3",                 "InputAv4",                 "InputAv5",                 "InputAv6",                 "InputBluetooth",                 "InputHdmi1",                 "InputHdmi2",                 "InputHdmi3",                 "InputHdmi4",                 "InputHdmi5",                 "InputNet",                 "InputNetRadio",                 "InputRhapsody",                 "InputServer",                 "InputSirius",                 "InputSpotify",                 "InputTuner",                 "InputUsb",                 "InputV-Aux",                 "Mode",                 "Option",                 "Party",                 "ProgramDown",                 "ProgramUp",                 "SceneBd/Dvd",                 "SceneNet",                 "SceneRadio",                 "SceneTv",                 "TunerBand",                 "TunerMemory",                 "UsbFastForward",                 "UsbNextTrack",                 "UsbPause",                 "UsbPlay",                 "UsbPreviousTrack",                 "UsbRewind",                 "UsbStop"             ],             "id": "38368553"         }     } } {     "activity": [         {             "VolumeActivityRole": "36930487",             "activityOrder": 3,             "activityTypeDisplayName": "Default",             "baseImageUri": "https://rcbu-test-ssl-amr.s3.amazonaws.com/",             "controlGroup": [                 {                     "function": [                         {                             "action": "{\"command\":\"0\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "0",                             "name": "Number0"                         },                         {                             "action": "{\"command\":\"1\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "1",                             "name": "Number1"                         },                         {                             "action": "{\"command\":\"2\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "2",                             "name": "Number2"                         },                         {                             "action": "{\"command\":\"3\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "3",                             "name": "Number3"                         },                         {                             "action": "{\"command\":\"4\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "4",                             "name": "Number4"                         },                         {                             "action": "{\"command\":\"5\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "5",                             "name": "Number5"                         },                         {                             "action": "{\"command\":\"6\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "6",                             "name": "Number6"                         },                         {                             "action": "{\"command\":\"7\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "7",                             "name": "Number7"                         },                         {                             "action": "{\"command\":\"8\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "8",                             "name": "Number8"                         },                         {                             "action": "{\"command\":\"9\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "9",                             "name": "Number9"                         }                     ],                     "name": "NumericBasic"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"Mute\",\"type\":\"IRCommand\",\"deviceId\":\"36930487\"}",                             "label": "Mute",                             "name": "Mute"                         },                         {                             "action": "{\"command\":\"VolumeDown\",\"type\":\"IRCommand\",\"deviceId\":\"36930487\"}",                             "label": "Volume Down",                             "name": "VolumeDown"                         },                         {                             "action": "{\"command\":\"VolumeUp\",\"type\":\"IRCommand\",\"deviceId\":\"36930487\"}",                             "label": "Volume Up",                             "name": "VolumeUp"                         }                     ],                     "name": "Volume"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"ChannelPrev\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Prev Channel",                             "name": "PrevChannel"                         },                         {                             "action": "{\"command\":\"ChannelDown\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Channel Down",                             "name": "ChannelDown"                         },                         {                             "action": "{\"command\":\"ChannelUp\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Channel Up",                             "name": "ChannelUp"                         }                     ],                     "name": "Channel"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"DirectionDown\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Direction Down",                             "name": "DirectionDown"                         },                         {                             "action": "{\"command\":\"DirectionLeft\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Direction Left",                             "name": "DirectionLeft"                         },                         {                             "action": "{\"command\":\"DirectionRight\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Direction Right",                             "name": "DirectionRight"                         },                         {                             "action": "{\"command\":\"DirectionUp\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Direction Up",                             "name": "DirectionUp"                         },                         {                             "action": "{\"command\":\"OK\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Select",                             "name": "Select"                         }                     ],                     "name": "NavigationBasic"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"Stop\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Stop",                             "name": "Stop"                         },                         {                             "action": "{\"command\":\"Play\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Play",                             "name": "Play"                         },                         {                             "action": "{\"command\":\"Rewind\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Rewind",                             "name": "Rewind"                         },                         {                             "action": "{\"command\":\"Pause\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Pause",                             "name": "Pause"                         },                         {                             "action": "{\"command\":\"FastForward\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Fast Forward",                             "name": "FastForward"                         }                     ],                     "name": "TransportBasic"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"Record\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Record",                             "name": "Record"                         }                     ],                     "name": "TransportRecording"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"SkipBack\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Skip Backward",                             "name": "SkipBackward"                         },                         {                             "action": "{\"command\":\"SkipForward\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Skip Forward",                             "name": "SkipForward"                         }                     ],                     "name": "TransportExtended"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"Menu\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Menu",                             "name": "Menu"                         },                         {                             "action": "{\"command\":\"Back\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Back",                             "name": "Back"                         }                     ],                     "name": "NavigationDVD"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"Favorite\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Favorite",                             "name": "Favorite"                         }                     ],                     "name": "NavigationDSTB"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"Epg\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Guide",                             "name": "Guide"                         },                         {                             "action": "{\"command\":\"Info\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Info",                             "name": "Info"                         },                         {                             "action": "{\"command\":\"Exit\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Exit",                             "name": "Exit"                         }                     ],                     "name": "NavigationExtended"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"Sleep\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Sleep",                             "name": "Sleep"                         }                     ],                     "name": "Setup"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"Green\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Green",                             "name": "Green"                         },                         {                             "action": "{\"command\":\"Red\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Red",                             "name": "Red"                         },                         {                             "action": "{\"command\":\"Blue\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Blue",                             "name": "Blue"                         },                         {                             "action": "{\"command\":\"Yellow\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Yellow",                             "name": "Yellow"                         }                     ],                     "name": "ColoredButtons"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"Teletext\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Teletext",                             "name": "Teletext"                         }                     ],                     "name": "Teletext"                 }             ],             "enterActions": [],             "fixit": {                 "36930487": {                     "Input": "Input 3",                     "Power": "On",                     "id": "36930487"                 },                 "36930488": {                     "Power": "Off",                     "id": "36930488",                     "isRelativePower": true                 },                 "36930490": {                     "Input": "TV",                     "Power": "On",                     "id": "36930490",                     "isRelativeInput": true,                     "isRelativePower": true                 },                 "36930492": {                     "Input": "HDMI 2",                     "Power": "On",                     "id": "36930492"                 },                 "36930493": {                     "Power": "Off",                     "id": "36930493"                 },                 "37117816": {                     "Power": "Off",                     "id": "37117816",                     "isRelativePower": true                 },                 "38368553": {                     "Power": "Off",                     "id": "38368553"                 },                 "44575807": {                     "Power": "Off",                     "id": "44575807"                 },                 "45560926": {                     "Power": "Off",                     "id": "45560926",                     "isRelativeInput": true                 },                 "53551604": {                     "Power": "Off",                     "id": "53551604",                     "isRelativeInput": true                 },                 "53551921": {                     "Power": "Off",                     "id": "53551921",                     "isRelativePower": true                 }             },             "icon": "userdata: 0x4454c8",             "id": "20735269",             "imageKey": "Activity/A648AC27-8B04-4CAD-A2B2-82A83BCDB741.png",             "isAVActivity": true,             "isMultiZone": false,             "isTuningDefault": false,             "label": "SATELLITE sur TV",             "roles": {                 "ChannelChangingActivityRole": "36930490",                 "DisplayActivityRole": "36930492",                 "VolumeActivityRole": "36930487"             },             "rules": [],             "sequences": [],             "suggestedDisplay": "WatchTV",             "type": "VirtualTelevisionN",             "zones": null         },         {             "VolumeActivityRole": "36930487",             "activityOrder": 10,             "activityTypeDisplayName": "Default",             "baseImageUri": "https://rcbu-test-ssl-amr.s3.amazonaws.com/",             "controlGroup": [                 {                     "function": [                         {                             "action": "{\"command\":\"0\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "0",                             "name": "Number0"                         },                         {                             "action": "{\"command\":\"1\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "1",                             "name": "Number1"                         },                         {                             "action": "{\"command\":\"2\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "2",                             "name": "Number2"                         },                         {                             "action": "{\"command\":\"3\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "3",                             "name": "Number3"                         },                         {                             "action": "{\"command\":\"4\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "4",                             "name": "Number4"                         },                         {                             "action": "{\"command\":\"5\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "5",                             "name": "Number5"                         },                         {                             "action": "{\"command\":\"6\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "6",                             "name": "Number6"                         },                         {                             "action": "{\"command\":\"7\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "7",                             "name": "Number7"                         },                         {                             "action": "{\"command\":\"8\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "8",                             "name": "Number8"                         },                         {                             "action": "{\"command\":\"9\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "9",                             "name": "Number9"                         }                     ],                     "name": "NumericBasic"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"Mute\",\"type\":\"IRCommand\",\"deviceId\":\"36930487\"}",                             "label": "Mute",                             "name": "Mute"                         },                         {                             "action": "{\"command\":\"VolumeDown\",\"type\":\"IRCommand\",\"deviceId\":\"36930487\"}",                             "label": "Volume Down",                             "name": "VolumeDown"                         },                         {                             "action": "{\"command\":\"VolumeUp\",\"type\":\"IRCommand\",\"deviceId\":\"36930487\"}",                             "label": "Volume Up",                             "name": "VolumeUp"                         }                     ],                     "name": "Volume"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"ChannelPrev\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Prev Channel",                             "name": "PrevChannel"                         },                         {                             "action": "{\"command\":\"ChannelDown\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Channel Down",                             "name": "ChannelDown"                         },                         {                             "action": "{\"command\":\"ChannelUp\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Channel Up",                             "name": "ChannelUp"                         }                     ],                     "name": "Channel"                 },                 {                     "function": [                         {                             "action": "{\"command\":\"DirectionDown\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Direction Down",                             "name": "DirectionDown"                         },                         {                             "action": "{\"command\":\"DirectionLeft\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Direction Left",                             "name": "DirectionLeft"                         },                         {                             "action": "{\"command\":\"DirectionRight\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}",                             "label": "Direction Right",                                      
[2018-12-20 18:07:02][DEBUG] : Execution de :sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
EDIT : du coup comme je n'arrive pas à faire fonctionner j'ai downgrader à nouveau
Dernière édition par mortyre le 20 déc. 2018, 19:56, édité 1 fois.
PROD: NAS1815+ VMM Buster 10.2 / Jeedom 4.0.31 / MariaDB 10.3.18 / PHP 7.3.9
DEV: DIY Odroid C2 16gb Strech 9.11 / Jeedom 4.x Alpha / MariaDB 10.1.41 / PHP 7.0.33

fleproust
Timide
Messages : 91
Inscription : 07 sept. 2017, 08:19

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par fleproust » 20 déc. 2018, 18:16

Bonsoir à tous,

Alors je n'ai vraiment pas de chance mes les boutons restore restent grisés.

Rien de possible.

Essayé sur Mac et PC :-(((((((

GuillaumeDieppe
Actif
Messages : 635
Inscription : 27 janv. 2017, 10:53

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par GuillaumeDieppe » 20 déc. 2018, 19:30

Bruno0406 a écrit :
18 déc. 2018, 21:09
Pour revenir a la version d'origine
Ca fonctionne bien

EDIT2: Successfully downgraded my hub to 4.15.193 and restored API access. Full repro:
1. Launch MyHarmony app on PC.
2. Press Alt+F9 to open the advanced tools menu
3. Scroll the window to find your Harmony model.
4. Select "Factory Reset" for the appropriate model. This does not do anything immediately.
5. Steps 1-4 will be displayed for completing a Factory Reset. We are only doing Step 1. "Restore" here means "Rollback".
6. Connect your Harmony hub to the PC via micro-USB.
7. Within a few minutes, it will be detected by MyHarmony and display Remote Model, Firmware Version, and Hardware revision. The Restore button will be enabled.
8. Click "Restore" and wait. (Now is the first time that it actually describes that it's a rollback!)
9. When it completes, you should be on Firmware Version 4.15.193. Disconnect the hub from the PC and return it to its original location.

J'arrive bien en mode "advanced tool menu" mais Harmony Hub n'est pas dans la liste des devices, lequel faut il choisir ?
Jeedom Smart
Protocoles : Z-wave, Zigbee, Wifi et IR
Objets : Qubinos, Fibaros, Xiaomis

olivvvv
Timide
Messages : 378
Inscription : 16 janv. 2016, 11:34

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par olivvvv » 20 déc. 2018, 19:44

GuillaumeDieppe a écrit :
20 déc. 2018, 19:30
Bruno0406 a écrit :
18 déc. 2018, 21:09
Pour revenir a la version d'origine
Ca fonctionne bien

EDIT2: Successfully downgraded my hub to 4.15.193 and restored API access. Full repro:
1. Launch MyHarmony app on PC.
2. Press Alt+F9 to open the advanced tools menu
3. Scroll the window to find your Harmony model.
4. Select "Factory Reset" for the appropriate model. This does not do anything immediately.
5. Steps 1-4 will be displayed for completing a Factory Reset. We are only doing Step 1. "Restore" here means "Rollback".
6. Connect your Harmony hub to the PC via micro-USB.
7. Within a few minutes, it will be detected by MyHarmony and display Remote Model, Firmware Version, and Hardware revision. The Restore button will be enabled.
8. Click "Restore" and wait. (Now is the first time that it actually describes that it's a rollback!)
9. When it completes, you should be on Firmware Version 4.15.193. Disconnect the hub from the PC and return it to its original location.

J'arrive bien en mode "advanced tool menu" mais Harmony Hub n'est pas dans la liste des devices, lequel faut il choisir ?
Prends le nom de ta télécommande

GuillaumeDieppe
Actif
Messages : 635
Inscription : 27 janv. 2017, 10:53

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par GuillaumeDieppe » 20 déc. 2018, 19:58

Je n'ai que le Harmony Hub
Jeedom Smart
Protocoles : Z-wave, Zigbee, Wifi et IR
Objets : Qubinos, Fibaros, Xiaomis

olivvvv
Timide
Messages : 378
Inscription : 16 janv. 2016, 11:34

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par olivvvv » 20 déc. 2018, 20:05

ba si tu prends une au hasard ?
Harmony ultimate ?

JBLSteeve
Timide
Messages : 100
Inscription : 30 juin 2014, 22:07

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par JBLSteeve » 20 déc. 2018, 20:11

J'ai fais la modification des fichiers, et j'ai résolu le problème.
Merci
Jeedom stable sur Odroid C2
Z-Wave + Xiaomi Hub + Harmony hub + Cartes I2C

GuillaumeDieppe
Actif
Messages : 635
Inscription : 27 janv. 2017, 10:53

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par GuillaumeDieppe » 20 déc. 2018, 20:12

Je viens de tester avec Harmony Elite au pif et ça semble avoir fonctionné ! Sur l'interface Freebox OS j'ai mis un contrôle parental sur l'ip de mon HUB pour qu'il ne se connecte plus a internet, je devrais être tranquille
Jeedom Smart
Protocoles : Z-wave, Zigbee, Wifi et IR
Objets : Qubinos, Fibaros, Xiaomis

jax24fr
Timide
Messages : 467
Inscription : 24 juil. 2014, 22:41

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par jax24fr » 20 déc. 2018, 20:44

GuillaumeDieppe a écrit :
20 déc. 2018, 19:58
Je n'ai que le Harmony Hub
J'ai eu le meme coup, il faut scroller :)
Matos :
DIY DEBIAN 9 (sous VM PROXMOX) Jeedom

fleproust
Timide
Messages : 91
Inscription : 07 sept. 2017, 08:19

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par fleproust » 20 déc. 2018, 21:21

J’ai contourné le problème en utilisant le plug-in IFT TT. Cela marche donc toujours avec mes scénarios J’ai du recréer toutes les commandes vocales mais pour le coup je suis à l’abri des prochaines mises à jour

GuillaumeDieppe
Actif
Messages : 635
Inscription : 27 janv. 2017, 10:53

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par GuillaumeDieppe » 20 déc. 2018, 21:47

jax24fr a écrit :
20 déc. 2018, 20:44
GuillaumeDieppe a écrit :
20 déc. 2018, 19:58
Je n'ai que le Harmony Hub
J'ai eu le meme coup, il faut scroller :)
J'ai regardé de haut en bas partout et nulle part il y avait le Harmony HUB dans les choix. Mais en prenant un modèle comprenant le Hub, ça a marché
Jeedom Smart
Protocoles : Z-wave, Zigbee, Wifi et IR
Objets : Qubinos, Fibaros, Xiaomis

marmotte68
Timide
Messages : 31
Inscription : 03 févr. 2018, 10:01

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par marmotte68 » 21 déc. 2018, 02:25

bonsoir

apres une bonne prise de tete pour comprendre pourquoi cela ne fonctionnai plus je suis tomber sur ce fil ( je suis un débutant et un ignorant dans la programmation )

je préfère garder le dernier firmw si problème de secu ( lol) et je passe par ifft . pas de problème pour ce qui concerne les activité

par contre par ifft je n'arrive pas a avoir les commandes de chaque appareils

c'est mort ou pas!!

il y aura une mise a jour de ce plug in ou pas ( c'est pas pour les 4 € ) mais il y avait un dieux de la programmation qui a coder a l'epoque ce plug in. y a t il moyen de le faire evoluer )

eldoctor62
Actif
Messages : 1089
Inscription : 12 nov. 2014, 15:44

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par eldoctor62 » 21 déc. 2018, 08:27

Je suis dégouté cette nuit le saligot c'est remis en version 206 !!!!

Pourtant hier j'ai downgradé en 196 et ca tournait impec ...

Ce matin Rien ne va plus :/

Recommence...

Suis je le seul ???
Odroid C2
Razberry / RFXCOM / Teleinfo / MyFox HC2 / ESP8266
--
Just Have Fun

olivvvv
Timide
Messages : 378
Inscription : 16 janv. 2016, 11:34

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par olivvvv » 21 déc. 2018, 08:52

eldoctor62 a écrit :
21 déc. 2018, 08:27
Je suis dégouté cette nuit le saligot c'est remis en version 206 !!!!

Pourtant hier j'ai downgradé en 196 et ca tournait impec ...

Ce matin Rien ne va plus :/

Recommence...

Suis je le seul ???
C'est sur que le hub va tenter de faire sa mise à jour tout seul.

Pour le moment 2 solutions :
- voir le message de Jared dans ce fil (modifications de fichiers du plugin)
ou
- bloquer les IP des Hub à l'aide de ton routeur (si c'est possible pour toi)

eldoctor62
Actif
Messages : 1089
Inscription : 12 nov. 2014, 15:44

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par eldoctor62 » 21 déc. 2018, 09:05

Ouai je vais faire ça mais @sarakha si tu nous enteeeeends.... une tite MAJ s’impose ;)
Odroid C2
Razberry / RFXCOM / Teleinfo / MyFox HC2 / ESP8266
--
Just Have Fun

krazou
Timide
Messages : 28
Inscription : 11 sept. 2017, 14:20

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par krazou » 21 déc. 2018, 09:55

Pareil ici, je suis bloqué.
1) Peut on espérer une maj du plugin ? (l'auteur du plugin est il au courant ?)
2) Ou ce n'est pas à l'ordre du jour, et donc le downgrade du firmware est obligatoire ?

eldoctor62
Actif
Messages : 1089
Inscription : 12 nov. 2014, 15:44

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par eldoctor62 » 21 déc. 2018, 10:31

jared a écrit :
20 déc. 2018, 15:37
Voila comment j'ai fait :

Télécharger les fichiers ici : https://github.com/home-assistant/pyhar ... /pyharmony
Les mettre à la place dans le dossier plugin/harmonyhub/3rdparty/PyHarmony/harmony (faites une copie du dossier si ça vous rassure)
Modifier le fichier __main__.py en supprimant lignes 10 et 11 "from pyharmony" (garder la suite de la ligne)
Vérifier que vous avez bien python3 installé
Installer les dépendances python nécessaires (de mémoire je n'avais pas asyncio, websockets et aiohttp ) en lançant :
pip3 install nom_du_package
Dans le fichier plugin/harmonyhub/core/class/harmonyhub.class.php, remplacer les 4 ou 5 occurence de python par python3

enjoy ;-)
Après on est pas à l'abri que logitech bloque le port 8080 dans une future maj...

Hello @jared

Peux tu préciser ceci stp :

Code : Tout sélectionner

Vérifier que vous avez bien python3 installé
Installer les dépendances python nécessaires (de mémoire je n'avais pas asyncio, websockets et aiohttp ) en lançant :
pip3 install nom_du_package
Odroid C2
Razberry / RFXCOM / Teleinfo / MyFox HC2 / ESP8266
--
Just Have Fun

Mattews79
Timide
Messages : 27
Inscription : 08 mars 2018, 14:02

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par Mattews79 » 21 déc. 2018, 11:27

Hello
j'ai essayé de restaurer la version -1 en suivant le tuto et il reste figé sur la 206 :( impossible de le downgrader !
j'en suis à 3 tentatives :(
je suis sur mac mais je ne vois pas ce qui pourrait merder ...
quelqu'un à le meme souci ?
Capture d’écran 2018-12-21 à 11.29.42.png
Capture d’écran 2018-12-21 à 11.29.42.png (131.77 Kio) Consulté 1707 fois

jared
Timide
Messages : 26
Inscription : 01 mai 2018, 11:31

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par jared » 21 déc. 2018, 11:38

eldoctor62 a écrit :
21 déc. 2018, 10:31


Hello @jared

Peux tu préciser ceci stp :

Code : Tout sélectionner

Vérifier que vous avez bien python3 installé
Installer les dépendances python nécessaires (de mémoire je n'avais pas asyncio, websockets et aiohttp ) en lançant :
pip3 install nom_du_package
Lance la commande python3 et tu verras bien si c'est installé (ctrl+d pour sortir)
Puis lance les commandes (en root je pense)

Code : Tout sélectionner

pip3 install asyncio
pip3 install websockets 
pip3 install aiohttp 
si pip3 n'est pas installé :

Code : Tout sélectionner

apt-get install python3-pip

eldoctor62
Actif
Messages : 1089
Inscription : 12 nov. 2014, 15:44

Re: [Plugin Officiel][Sujet Principal] Harmony Hub

Message par eldoctor62 » 21 déc. 2018, 11:47

jared a écrit :
21 déc. 2018, 11:38
eldoctor62 a écrit :
21 déc. 2018, 10:31


Hello @jared

Peux tu préciser ceci stp :

Code : Tout sélectionner

Vérifier que vous avez bien python3 installé
Installer les dépendances python nécessaires (de mémoire je n'avais pas asyncio, websockets et aiohttp ) en lançant :
pip3 install nom_du_package
Lance la commande python3 et tu verras bien si c'est installé (ctrl+d pour sortir)
Puis lance les commandes (en root je pense)

Code : Tout sélectionner

pip3 install asyncio
pip3 install websockets 
pip3 install aiohttp 
si pip3 n'est pas installé :

Code : Tout sélectionner

apt-get install python3-pip
Merci ;)

Code : Tout sélectionner

RuntimeError: aiohttp 3.x requires Python 3.5.3+

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-l51lkzr8/aiohttp
Storing debug log for failure in /root/.pip/pip.log
root@odroidc2:~# 
root@odroidc2:~# 
J'ai fait un update et un upgrade avant pourtant !
Odroid C2
Razberry / RFXCOM / Teleinfo / MyFox HC2 / ESP8266
--
Just Have Fun

Répondre

Revenir vers « [Catégorie] Multimédia »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 16 invités