staromeste / homebridge-http-advanced-accessory

Supports all devices on HomeBridge Platform / Bridges devices to http
Apache License 2.0
65 stars 22 forks source link

Struggling with speaker configuration #5

Open zonehun opened 5 years ago

zonehun commented 5 years ago

Thank you for the great plugin. I'm removing custom Homebridge plugins (for eg just for one task) and configuring HttpAdvancedAccessories for everything. Now Iike to add Speaker but on my iOS device the Home app displaying "Not supported" message for my accessory.

Here is my config for the speaker control via Denon X1100W:

        {
            "accessory": "HttpAdvancedAccessory",
            "service": "Speaker",
            "name": "Denon Speaker",
            "forceRefreshDelay": 10,
            "debug" : true,
            "urls":{
                "getVolume":{
                    "url" : "http://myipaddress/goform/formMainZone_MainZoneXml.xml",
                    "mappers" : [
                        {
                            "type": "xpath",
                            "parameters": {
                                "xpath": "//MasterVolume/value/text()",
                                "index": 0
                            }
                        }
                    ]
                },              
                "getMute":{
                    "url" : "http://myipaddress/goform/formMainZone_MainZoneXml.xml",
                    "mappers" : [
                        {
                            "type": "xpath",
                            "parameters": {
                                "xpath": "//Mute/value/text()",
                                "index": 0
                            }
                        },
                        {
                            "type": "static",
                            "parameters": {
                                "mapping": {
                                    "off": true,
                                    "on": false
                                }
                            }
                        }                       
                    ]
                },
                "setMute":{
                    "url" : "http://myipaddress/MainZone/index.put.asp",
                    "httpMethod":"POST",
                    "body" : "cmd0=PutVolumeMute%2FTOGGLE&cmd1=aspMainZone_WebUpdateStatus%2F"
                }
            }
        },

Do you have any idea or suggestion how to step forward?

Thank you.

staromeste commented 5 years ago

Actually I think the Speaker service is only supported in a VideoDoorbell. See here: https://github.com/ebaauw/homebridge-zp/issues/36

Anyway, you could try the Eve app, it usually supports many more services than the native Home app.

Guido

Il giorno 5 gen 2019, alle ore 14:54, zonehun notifications@github.com ha scritto:

Thank you for the great plugin. I'm removing custom Homebridge plugins (for eg just for one task) and configuring HttpAdvancedAccessories for everything. Now Iike to add Speaker but on my iOS device the Home app displaying "Not supported" message for my accessory.

Here is my config for the speaker control via Denon X1100W:

  {
      "accessory": "HttpAdvancedAccessory",
      "service": "Speaker",
      "name": "Denon Speaker",
      "forceRefreshDelay": 10,
      "debug" : true,
      "urls":{
          "getVolume":{
              "url" : "http://myipaddress/goform/formMainZone_MainZoneXml.xml",
              "mappers" : [
                  {
                      "type": "xpath",
                      "parameters": {
                          "xpath": "//MasterVolume/value/text()",
                          "index": 0
                      }
                  }
              ]
          },              
          "getMute":{
              "url" : "http://myipaddress/goform/formMainZone_MainZoneXml.xml",
              "mappers" : [
                  {
                      "type": "xpath",
                      "parameters": {
                          "xpath": "//Mute/value/text()",
                          "index": 0
                      }
                  },
                  {
                      "type": "static",
                      "parameters": {
                          "mapping": {
                              "off": true,
                              "on": false
                          }
                      }
                  }                       
              ]
          },
          "setMute":{
              "url" : "http://myipaddress/MainZone/index.put.asp",
              "httpMethod":"POST",
              "body" : "cmd0=PutVolumeMute%2FTOGGLE&cmd1=aspMainZone_WebUpdateStatus%2F"
          }
      }
  },

Do you have any idea or suggestion how to step forward?

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

staromeste commented 5 years ago

https://itunes.apple.com/app/elgato-eve/id917695792

Guido

Il giorno 5 gen 2019, alle ore 16:11, Guido Moscarella staromeste@gmail.com ha scritto:

Actually I think the Speaker service is only supported in a VideoDoorbell. See here: https://github.com/ebaauw/homebridge-zp/issues/36

Anyway, you could try the Eve app, it usually supports many more services than the native Home app.

Guido

Il giorno 5 gen 2019, alle ore 14:54, zonehun notifications@github.com ha scritto:

Thank you for the great plugin. I'm removing custom Homebridge plugins (for eg just for one task) and configuring HttpAdvancedAccessories for everything. Now Iike to add Speaker but on my iOS device the Home app displaying "Not supported" message for my accessory.

Here is my config for the speaker control via Denon X1100W:

 {
     "accessory": "HttpAdvancedAccessory",
     "service": "Speaker",
     "name": "Denon Speaker",
     "forceRefreshDelay": 10,
     "debug" : true,
     "urls":{
         "getVolume":{
             "url" : "http://myipaddress/goform/formMainZone_MainZoneXml.xml",
             "mappers" : [
                 {
                     "type": "xpath",
                     "parameters": {
                         "xpath": "//MasterVolume/value/text()",
                         "index": 0
                     }
                 }
             ]
         },              
         "getMute":{
             "url" : "http://myipaddress/goform/formMainZone_MainZoneXml.xml",
             "mappers" : [
                 {
                     "type": "xpath",
                     "parameters": {
                         "xpath": "//Mute/value/text()",
                         "index": 0
                     }
                 },
                 {
                     "type": "static",
                     "parameters": {
                         "mapping": {
                             "off": true,
                             "on": false
                         }
                     }
                 }                       
             ]
         },
         "setMute":{
             "url" : "http://myipaddress/MainZone/index.put.asp",
             "httpMethod":"POST",
             "body" : "cmd0=PutVolumeMute%2FTOGGLE&cmd1=aspMainZone_WebUpdateStatus%2F"
         }
     }
 },

Do you have any idea or suggestion how to step forward?

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

zonehun commented 5 years ago

Thank you Guido, I will give Elgato Eve a try-