PatchworkBoy / homebridge-edomoticz

Domoticz Homebridge-Plugin
Other
118 stars 43 forks source link

Dark Sky Sensors #96

Closed GreenTentacle closed 6 years ago

GreenTentacle commented 7 years ago

First off, my great appreciation to all the hard work that went into making this awesome plugin.

I’m having some trouble getting Dark Sky sensors to show up in HomeKit.

In the Elgato Eve app, I see the solar radiation and visibility accessories, with an icon that “looks” like an Eve Weather (in the Home app they are “unsupported” with a house icon). However, the Dark Sky THB, Wind, UV Index, and Rain aren’t showing in any HomeKit app. I think only THB is on the actual hardware of the Eve Weather, and I’d be happy with just that.

Thanks !

My Domoticz version: Version: 3.8155 JSON of Dark Sky devices in my Domoticz installation:

    {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "Barometer" : 1019,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "18.3 C, 74 %, 1019 hPa",
         "Description" : "",
         "DewPoint" : "13.59",
         "Favorite" : 0,
         "Forecast" : 2,
         "ForecastStr" : "Partly Cloudy",
         "HardwareID" : 13,
         "HardwareName" : "DarkSky",
         "HardwareType" : "DarkSky (Weather Lookup)",
         "HardwareTypeVal" : 25,
         "HaveTimeout" : false,
         "Humidity" : 74,
         "HumidityStatus" : "Wet",
         "ID" : "0001",
         "LastUpdate" : "2017-08-06 22:44:10",
         "Name" : "DarkSky THB",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "THB1 - BTHR918, BTHGN129",
         "Temp" : 18.300000000000001,
         "Timers" : "false",
         "Type" : "Temp + Humidity + Baro",
         "TypeImg" : "temperature",
         "Unit" : 1,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "forecast_url" : "aHR0cHM6Ly9kYXJrc2t5Lm5ldC8jL2YvNDAuNTY2NDk3JTJDLTc0LjQ2MDk0NQ==",
         "idx" : "78"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "Chill" : 18.300000000000001,
         "CustomImage" : 0,
         "Data" : "250.00;WSW;10;26;18.3;18.3",
         "Description" : "",
         "Direction" : 250.0,
         "DirectionStr" : "WSW",
         "Favorite" : 0,
         "Gust" : "2.6",
         "HardwareID" : 13,
         "HardwareName" : "DarkSky",
         "HardwareType" : "DarkSky (Weather Lookup)",
         "HardwareTypeVal" : 25,
         "HaveTimeout" : false,
         "ID" : "0001",
         "LastUpdate" : "2017-08-06 22:44:10",
         "Name" : "DarkSky Wind",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Speed" : "1.0",
         "SubType" : "TFA",
         "Temp" : 18.300000000000001,
         "Timers" : "false",
         "Type" : "Wind",
         "TypeImg" : "wind",
         "Unit" : 0,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "forecast_url" : "aHR0cHM6Ly9kYXJrc2t5Lm5ldC8jL2YvNDAuNTY2NDk3JTJDLTc0LjQ2MDk0NQ==",
         "idx" : "79"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "0.0 UVI",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 13,
         "HardwareName" : "DarkSky",
         "HardwareType" : "DarkSky (Weather Lookup)",
         "HardwareTypeVal" : 25,
         "HaveTimeout" : false,
         "ID" : "0001",
         "LastUpdate" : "2017-08-06 22:44:10",
         "Name" : "DarkSky UV Index",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "UVN128,UV138",
         "Timers" : "false",
         "Type" : "UV",
         "TypeImg" : "uv",
         "UVI" : "0.0",
         "Unit" : 0,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "forecast_url" : "aHR0cHM6Ly9kYXJrc2t5Lm5ldC8jL2YvNDAuNTY2NDk3JTJDLTc0LjQ2MDk0NQ==",
         "idx" : "80"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "0;0.0",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 13,
         "HardwareName" : "DarkSky",
         "HardwareType" : "DarkSky (Weather Lookup)",
         "HardwareTypeVal" : 25,
         "HaveTimeout" : false,
         "ID" : "0001",
         "LastUpdate" : "2017-08-06 22:44:10",
         "Name" : "DarkSky Rain",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "Rain" : "0.0",
         "RainRate" : "0.0",
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "WWW",
         "Timers" : "false",
         "Type" : "Rain",
         "TypeImg" : "rain",
         "Unit" : 0,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "forecast_url" : "aHR0cHM6Ly9kYXJrc2t5Lm5ldC8jL2YvNDAuNTY2NDk3JTJDLTc0LjQ2MDk0NQ==",
         "idx" : "81"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "8.8 mi",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 13,
         "HardwareName" : "DarkSky",
         "HardwareType" : "DarkSky (Weather Lookup)",
         "HardwareTypeVal" : 25,
         "HaveTimeout" : false,
         "ID" : "0",
         "LastUpdate" : "2017-08-06 22:44:10",
         "Name" : "DarkSky Visibility",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "Visibility",
         "SwitchTypeVal" : 1,
         "Timers" : "false",
         "Type" : "General",
         "TypeImg" : "visibility",
         "Unit" : 1,
         "Used" : 1,
         "Visibility" : 14.199999999999999,
         "XOffset" : "0",
         "YOffset" : "0",
         "forecast_url" : "aHR0cHM6Ly9kYXJrc2t5Lm5ldC8jL2YvNDAuNTY2NDk3JTJDLTc0LjQ2MDk0NQ==",
         "idx" : "82"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "302.0 Watt/m2",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 13,
         "HardwareName" : "DarkSky",
         "HardwareType" : "DarkSky (Weather Lookup)",
         "HardwareTypeVal" : 25,
         "HaveTimeout" : false,
         "ID" : "0",
         "LastUpdate" : "2017-08-06 22:44:10",
         "Name" : "DarkSky Solar Radiation",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "Radiation" : 302.0,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "Solar Radiation",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "General",
         "TypeImg" : "radiation",
         "Unit" : 1,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "forecast_url" : "aHR0cHM6Ly9kYXJrc2t5Lm5ldC8jL2YvNDAuNTY2NDk3JTJDLTc0LjQ2MDk0NQ==",
         "idx" : "83"
      },
PatchworkBoy commented 7 years ago

Head into Eve, click Types, scroll to 'hidden' and click the + button for each sensor type not appearing.

PatchworkBoy commented 7 years ago

Add a 'tap edit' between hitting Types and scrolling down to 'hidden'

GreenTentacle commented 7 years ago

Unfortunately there was nothing in hidden types after I displayed the Distance and Radiation types.

The temp-hum-baro from DarkSky also doesn't show with my other sensors under Temperature or Humidity... no where to be found

Thanks !

rswilem commented 7 years ago

What version of iOS are you running? There is a general issue not directly related to the DarkSky sensors. Some sensors / switches show up as 'Not available' in the official HomeKit app. Eve and other third party apps won't show these sensors/switches at all.

I'm still figuring out what this issue is. I'm thinking it has to do with the iOS 11 beta.

Please also see: https://github.com/nfarina/homebridge/issues/1414

GreenTentacle commented 7 years ago

On my iPhone (where I'm looking for this issue) I'm on 10.3.3. My iPad (connected to same iCloud account) is the latest public beta for 11 though.

On both devices however, the sensors don't show at all (except for Solar Rad and Visibility.. as unsupported) in either Home or Eve.

PatchworkBoy commented 7 years ago

Suspect EVE have changed their UUIDs now that soft-certs are in play...

PatchworkBoy commented 6 years ago

They’ve also discontinued the Eve Weather and it’s UUIDs and replaced with EVE Degree with reduced characteristics.

Rainfall, Solar Radiation, Visibility & Wind all working fine with Eve and current version. I need to rebuild support for THB as an Eve Degree device.

NB: I have no iOS11 devices, so all my testing is limited to final release of iOS10

PatchworkBoy commented 6 years ago

All Eve Chars updated where possible and confirmed working correctly. (Other than UV Index, which still requires support - currently detected as a Power Meter for some reason!)