Announcement

Collapse
No announcement yet.

Setup for HSTouch

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Setup for HSTouch

    Ok, this was going to be a question as I couldn't find any documentation how to set things up for HSTouch (I checked the pdfs but couldn't find anything). Anyways, I realized that in order to get it working I had to click on the text elements in the designer for them to update. I am posting here anyways as it might help others.

    * Under "Locations" I set up
    Source = NOAA
    Output XML file for HSTouch: yes
    NOAA Weather Conditions: http:...[code].xml
    NOAA Weather Forecast: Lat 37..., Lon -121 (negative for North America)

    Weather Underground
    Use Weather Underground for Extra: Yes
    Weather Underground Location Info: API (sign up for WU and purchase an API for as little as $0. http://www.wunderground.com/weather/api/d/pricing.html)
    Enter same lat/lon as above

    * Under "Schedules" I set "Conditions", "Forecasts", "Hourly" and "Daily" to "Yes". For hourly I probably need to also setup Weather Underground.
    * There is a "HSTouch" screen. I have no idea what to do there but I assume can leave this untouched since I did set "Output XML file for HSTouch" to yes.

    * In HSTouch I created text elements for the various values. I set the properties to the following for the current temperature:
    Status TrackingNormal: RSS Data
    RSSUrlNormal: file://data/weatherxml/weatherXML_1.xml
    RSSTableNameNormal: current
    RSSItemNameNormal: temp_hst
    RSSRowNumberNormal: 0

    * For forecast values I set
    RSSUrlNormal: file://data/weatherxml/weatherXML_1.xml
    RSSTableNameNormal: day1 (day2, day3, etc)
    RSSItemNameNormal: dayLow (dayHigh, dayName, etc)
    RSSRowNumberNormal: 0

    * For the image I set
    RSSUrlNormal: file://data/weatherxml/weatherXML_1.xml
    RSSTableNameNormal: current
    RSSItemNameNormal: conditionIconUrl
    RSSRowNumberNormal: 0

    * For hourly I set
    Status Tracking Normal: RSS Data
    RSSUrlNormal: file://data/weatherxml/WUHourly1.xml
    RSSTableNameNormal: FCTTIME
    RSSItemNameNormal: civil (weekday_name_abbrev, temp, etc)
    RSSRowNumberNormal: 12 (for 12h forecast)

    #2
    There is a some differences between using the output xml file and the HSTouch devices.

    In HSTouch, when a device is updated the change shows very quickly.
    When using a file setup to read an xml file the change is delayed. Typically, the file is only updated once every 20 minutes by HSTouch. If you don't mind the delay, then this is an easy way to display the data.

    For creating weatherXML devices there is 2 tabs. The one labeled Devices is left over legacy code that sets a devices string using HTML code. If you use a normal HSTouch device element you will lose the HTML formatting.

    The one labeled HSTouch will create a device for each type of data and provides an easy way to display the data. You can use an element with the heading and another element to display the data.
    --
    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

    Comment

    Working...
    X