Announcement

Collapse
No announcement yet.

Scripting diffs HS2 vs HS3

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

    Scripting diffs HS2 vs HS3

    Based on some HS3 documentation, there is an indication that old HS2 scripts should continue to work in HS3.

    I am having issues with the HS2 scripts not working in HS3.

    Is there any documentation or direction of what works and what does not work .. HS2 - HS3.

    #2
    There is no differences document that I know of, you are best posting the errors and/or scripts and the errors will likely show the problem.

    The main one that does not exist in HS3 which was a popular one in HS2 is hs.execX10, for that you are best off looking on this board for examples of CAPI commands.

    Comment


      #3
      Here is a list:

      AddAction will be missing
      AddCondtion will be missing
      CAPIHandleStatus will be missing
      ClearConditions will be missing
      ClearLastX10 will be missing
      ControlThermostat will be missing
      DeviceStatus will be missing
      DeviceString Exists, but parameter changed to REF
      DeviceTime Exists, but parameter changed to REF
      DeviceValue Exists, but parameter changed to REF
      DeviceValuesAdd Exists, but parameters changed
      DeviceValuesGraphicsAdd Exists, but parameter changed
      DeviceLastChange Needs to change to use REF
      DeviceExists Needs to change to use REF
      DialInternetConnection will be missing
      DisconnectInternetConnection will be missing
      ExecX10 will be missing (use CAPI interface instead)
      ExecX10ByName will be missing
      ExecX10NoLog will be missing
      GetDeviceEnumerator Limited support (many device properties changed)
      GetDeviceEx Limited support (many device properties changed)
      GetDeviceCode Returns technology dependent code
      GetEventByRef Issues with accessing events directly.
      GetEventEnumerator will be missing
      GetEvent will be missing, replaced with GetEventEx (issues with accessing events directly)
      GetEventEx Issues with accessing events directly.
      GetTVGTData will be missing
      GetURLIE only works on Windows, not Linux
      InstallScript will be missing
      InterfaceVersion changes from 3 to 4
      IsDialUpConnected will be missing
      IsOff will be missing
      IsOn will be missing
      keys Windows Only, not Linux
      lastx10 will be missing
      NewCondition will be missing
      NewEventAction will be missing
      NewEventEx will be missing
      NewEventGetRef will be missing
      NewRecurringEvent will change
      NewTimeEvent will change
      PrintOut will be missing
      PrintOutRaw will be missing
      RunningAsService will be missing
      SetDeviceLastChange will be missing
      SetDeviceStatus will be missing
      SetDeviceStatusByName will be missing
      SetDeviceString parameter changed to REF
      SetDeviceTime parameter changed to REF
      SetDeviceValue parameter changed to REF
      SetDeviceValueEx parameter changed to REF
      SetSecurityMode parameter changed to Boolean
      Transmit parameters will change
      X10InterfaceStatus will be missing
      Jon

      Comment


        #4
        Originally posted by djbeam View Post
        I am having issues with the HS2 scripts not working in HS3. Is there any documentation or direction of what works and what does not work .. HS2 - HS3.
        The easiest way to detect differences and receive guidance is to test your scripts with TenScripting3.
        Mike____________________________________________________________ __________________
        HS3 Pro Edition 3.0.0.548, NUC i3

        HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF | RFXCOM | Vantage Pro | Green-Eye | Edgeport/8 | Way2Call | Ecobee3 | EtherRain | Ubiquiti

        Comment


          #5
          Originally posted by Uncle Michael View Post
          The easiest way to detect differences and receive guidance is to test your scripts with TenScripting3.
          To generate scripting statements to access a device's properties, and to perform defined actions via CAPI, check out tenScriptAid, great in combination with tenScripting3.

          tenholde
          tenholde

          Comment

          Working...
          X