Page 1 of 1

Differences between scripting in HS2 vs HS3

Posted: Thu Nov 05, 2015 12:49 pm
by Herbus
Does anybody has an overview of the differences between scripting in HS2 vs HS3?
I'm moving from HS2 to HS3 and it would save a serious amount of time if the differences in scripting rules for. NET would be available.

Thanks

Re: Differences between scripting in HS2 vs HS3

Posted: Mon Nov 09, 2015 12:58 pm
by AshaiRey
I got this list as reference

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

Re: Differences between scripting in HS2 vs HS3

Posted: Mon Nov 09, 2015 1:15 pm
by Herbus
Thanks Bram,
This will be a great help and prevent a lot of debugging :-)