No announcement yet.

Newtonsoft.json error with Dark Sky

  • Filter
  • Time
  • Show
Clear All
new posts

    Newtonsoft.json error with Dark Sky

    I get this error when attempting to update conditions or forecast for Dark Sky. NOAA works fine.

    wXMLForecastThread: Could not load file or assembly 'Newtonsoft.Json, Version=, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    The Newtonsoft.json file that weatherXML uses should be in the HomeSeer HS3/bin/weatherXML directory.
    There should also be a file named, HSPI_WEATHERXML.exe.config, in the HomeSeer HS3 directory. It should have a line like this
    probing privatePath="bin/weatherXML;bin"

    There should not be a Newtonsoft.json in the HomeSeer HS3 directory.

    The file is used to read and import from json files. DarkSky provides their data in a json file. NOAA's data is in an xml file.
    Most of the providers are switching to json. NOAA has already started offering their data in json as well as xml.
    Jeff Farmer
    HS 3, HSPhone
    My HS3 Plugins: CFHSExtras, Random, Restart, Tracker, WeatherXML, PanaBluRay
    Other Plugins In Use: APCUPSD, BLOnkyo, Device History, EasyTrigger, HSTouch Server, PHLocation2, Pushover, RFXCom, UltraGCIR3, UltraMon3, UltraPioneerAVR3, X10, Z-Wave

    Hardware: GoControl Irrigation Controler, Schlage Lever Lock, Schlage Deadbolt, Way2Call Hi-Phone, RFXCom RFXrec433 Receiver, WGL 800, TI-103, Z-Net, Pioneer 1120, Pioneer 1021, Pioneer LX302, Panasonic BDT-110, Panasonic BDT-210 x2