Page 1 of 1

Love Harmony Hub - but volumes of error messages still

PostPosted: Sun Sep 17, 2017 7:19 pm
by scottreynolds
Hello - thank you so much for writing this. I see a tone of errors, it seems harmony hub is listening to everything sonos does but considers the messages errors instead of ignoring. Have you seen this?

Code: Select all
Sep 17, 2017, 3:48:20 PM
   Harmony Hub                     Checking for updates...
   Harmony Hub Warning             A new version is available: https://github.com/FlyingDiver/Indigo-Harmony/releases/tag/v7.2.0
   Stopping plugin Harmony Hub (pid 47666)
   Harmony Hub                     Shutting down Harmony Hub
   Stopped plugin Harmony Hub
   Upgrading plugin Harmony Hub to newer version 7.2.0 (previous version moved to trash)
   Loading plugin "Harmony Hub 7.2.0"
   Starting plugin "Harmony Hub 7.2.0" (pid 13208)
   Started plugin "Harmony Hub 7.2.0"
   Harmony Hub                     Starting Harmony Hub
   Harmony Hub                     Checking for updates...
   Harmony Hub                     No updates are available

Sep 17, 2017, 3:50:26 PM
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"title":"","status":"pause","imageUrl":"","artist":"","deviceId":"46430264"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"title":"","group":[{"id":"46430263","mute":false,"vol":13},{"id":"44852107","mute":false,"vol":13},{"id":"46430264","mute":true,"vol":13},{"id":"44852108","mute":false,"vol":13},{"id":"44852109","mute":false,"vol":13}],"status":"pause","imageUrl":"","artist":"","deviceId":"46430263"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"title":"","group":[{"id":"46430263","mute":false,"vol":13},{"id":"44852107","mute":false,"vol":13},{"id":"46430264","mute":true,"vol":13},{"id":"44852108","mute":false,"vol":13},{"id":"44852109","mute":false,"vol":13}],"status":"pause","imageUrl":"","artist":"","deviceId":"44852108"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"title":"","group":[{"id":"46430263","mute":false,"vol":13},{"id":"44852107","mute":false,"vol":13},{"id":"46430264","mute":true,"vol":13},{"id":"44852108","mute":false,"vol":13},{"id":"44852109","mute":false,"vol":13}],"status":"pause","imageUrl":"","artist":"","deviceId":"44852107"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"title":"","group":[{"id":"46430263","mute":false,"vol":13},{"id":"44852107","mute":false,"vol":13},{"id":"44852109","mute":false,"vol":13},{"id":"44852108","mute":false,"vol":13},{"id":"46430264","mute":true,"vol":13}],"status":"pause","imageUrl":"","artist":"","deviceId":"44852109"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"album":"Voyageur","title":"The Piano","favId":"Sonos-DavidEnigmaRadionnn","status":"play","imageUrl":"http:\/\/mediaserver-cont-ch1-2-v4v6.pandora.com\/images\/public\/gracenote\/albumart\/9\/2\/7\/4\/724359044729_500W_500H.jpg","artist":"Enigma","deviceId":"46430264"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"album":"Voyageur","title":"The Piano","favId":"Sonos-DavidEnigmaRadionnn","status":"play","imageUrl":"http:\/\/mediaserver-cont-ch1-2-v4v6.pandora.com\/images\/public\/gracenote\/albumart\/9\/2\/7\/4\/724359044729_500W_500H.jpg","artist":"Enigma","deviceId":"46430263"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"album":"Voyageur","title":"The Piano","favId":"Sonos-DavidEnigmaRadionnn","status":"play","imageUrl":"http:\/\/mediaserver-cont-ch1-2-v4v6.pandora.com\/images\/public\/gracenote\/albumart\/9\/2\/7\/4\/724359044729_500W_500H.jpg","artist":"Enigma","deviceId":"44852108"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"album":"Voyageur","title":"The Piano","favId":"Sonos-DavidEnigmaRadionnn","status":"play","imageUrl":"http:\/\/mediaserver-cont-ch1-2-v4v6.pandora.com\/images\/public\/gracenote\/albumart\/9\/2\/7\/4\/724359044729_500W_500H.jpg","artist":"Enigma","deviceId":"44852107"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"album":"Voyageur","title":"The Piano","favId":"Sonos-DavidEnigmaRadionnn","status":"play","imageUrl":"http:\/\/mediaserver-cont-ch1-2-v4v6.pandora.com\/images\/public\/gracenote\/albumart\/9\/2\/7\/4\/724359044729_500W_500H.jpg","artist":"Enigma","deviceId":"44852109"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"volumeLevel":15,"group":[{"id":"46430263","mute":false,"vol":13},{"id":"44852107","mute":false,"vol":15},{"id":"46430264","mute":true,"vol":13},{"id":"44852108","mute":false,"vol":13},{"id":"44852109","mute":false,"vol":13}],"deviceId":"44852107"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"volumeLevel":15,"group":[{"id":"46430263","mute":false,"vol":15},{"id":"44852107","mute":false,"vol":15},{"id":"46430264","mute":true,"vol":13},{"id":"44852108","mute":false,"vol":13},{"id":"44852109","mute":false,"vol":13}],"deviceId":"46430263"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"volumeLevel":15,"group":[{"id":"46430263","mute":false,"vol":15},{"id":"44852107","mute":false,"vol":15},{"id":"46430264","mute":true,"vol":13},{"id":"44852108","mute":false,"vol":15},{"id":"44852109","mute":false,"vol":13}],"deviceId":"44852108"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"volumeLevel":15,"group":[{"id":"46430263","mute":false,"vol":15},{"id":"44852107","mute":false,"vol":15},{"id":"44852109","mute":false,"vol":15},{"id":"44852108","mute":false,"vol":15},{"id":"46430264","mute":true,"vol":13}],"deviceId":"44852109"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"volumeLevel":15,"group":[{"id":"46430263","mute":false,"vol":15},{"id":"44852107","mute":false,"vol":15},{"id":"46430264","mute":true,"vol":15},{"id":"44852108","mute":false,"vol":15},{"id":"44852109","mute":false,"vol":15}],"deviceId":"46430264"}}

Sep 17, 2017, 3:51:46 PM
   Received INSTEON                "Master Bedroom - Overhead Lights" on (button 4)
   Trigger                         Master Bedroom - Drapery Close
   Action Group                    Master Bedroom - Drapery Close
   Sent INSTEON                    "Master Bedroom - Drapery" on to 100

Sep 17, 2017, 3:53:28 PM
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"album":"The Lord Of The Rings: The Two Towers (Soundtrack)","title":"Evenstar","imageUrl":"http:\/\/mediaserver-cont-ch1-2-v4v6.pandora.com\/images\/public\/gracenote\/albumart\/3\/2\/9\/7\/093624837923_500W_500H.jpg","artist":"Howard Shore","deviceId":"46430264"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"album":"The Lord Of The Rings: The Two Towers (Soundtrack)","title":"Evenstar","group":[{"id":"46430263","mute":false,"vol":15},{"id":"44852107","mute":false,"vol":15},{"id":"46430264","mute":false,"vol":9},{"id":"44852108","mute":false,"vol":15},{"id":"44852109","mute":false,"vol":15}],"imageUrl":"http:\/\/mediaserver-cont-ch1-2-v4v6.pandora.com\/images\/public\/gracenote\/albumart\/3\/2\/9\/7\/093624837923_500W_500H.jpg","artist":"Howard Shore","deviceId":"46430263"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"album":"The Lord Of The Rings: The Two Towers (Soundtrack)","title":"Evenstar","group":[{"id":"46430263","mute":false,"vol":15},{"id":"44852107","mute":false,"vol":15},{"id":"46430264","mute":false,"vol":9},{"id":"44852108","mute":false,"vol":15},{"id":"44852109","mute":false,"vol":15}],"imageUrl":"http:\/\/mediaserver-cont-ch1-2-v4v6.pandora.com\/images\/public\/gracenote\/albumart\/3\/2\/9\/7\/093624837923_500W_500H.jpg","artist":"Howard Shore","deviceId":"44852108"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"album":"The Lord Of The Rings: The Two Towers (Soundtrack)","title":"Evenstar","group":[{"id":"46430263","mute":false,"vol":15},{"id":"44852107","mute":false,"vol":15},{"id":"46430264","mute":false,"vol":9},{"id":"44852108","mute":false,"vol":15},{"id":"44852109","mute":false,"vol":15}],"imageUrl":"http:\/\/mediaserver-cont-ch1-2-v4v6.pandora.com\/images\/public\/gracenote\/albumart\/3\/2\/9\/7\/093624837923_500W_500H.jpg","artist":"Howard Shore","deviceId":"44852107"}}
   Harmony Hub Error               Harmony Hub: messageHandler: Unknown Event Type: {'type': 'harmonyengine.metadata?notify'}
{"musicMeta":{"album":"The Lord Of The Rings: The Two Towers (Soundtrack)","title":"Evenstar","group":[{"id":"46430263","mute":false,"vol":15},{"id":"44852107","mute":false,"vol":15},{"id":"44852109","mute":false,"vol":15},{"id":"44852108","mute":false,"vol":15},{"id":"46430264","mute":false,"vol":9}],"imageUrl":"http:\/\/mediaserver-cont-ch1-2-v4v6.pandora.com\/images\/public\/gracenote\/albumart\/3\/2\/9\/7\/093624837923_500W_500H.jpg","artist":"Howard Shore","deviceId":"44852109"}}

Re: Love Harmony Hub - but volumes of error messages still

PostPosted: Sun Sep 17, 2017 8:06 pm
by FlyingDiver
Those are all "unknown events" because I've never seen them. Probably because I don't have a Sonos connected to my Hub. I'll get a new version out that ignores those messages in the next day or so.

joe

Re: Love Harmony Hub - but volumes of error messages still

PostPosted: Sun Sep 24, 2017 10:11 am
by FlyingDiver
v7.2.1 released to deal with this. Untested, because I don't have a Sonos connected to my Harmony Hub. If there's problems I'll do so next weekend so I can test myself.

There's also a new notification associated with the metadata updates caused by the Sonos messages. You'll have to write some Python code to unpack the JSON content in the state variable if you want to use those updates.

Re: Love Harmony Hub - but volumes of error messages still

PostPosted: Sun Sep 24, 2017 11:55 am
by maslett
Joe, this appears to have taken care of the issue. Many thanks, Mark