[BUG]-Deprecate LutronQuantum Deivce and point support to plugin.
Describe the bug The Lutron Quantum is present in Essentials Core but functionality has been moved to a plugin. The EiscBridge is currently not functioning correctly and tosses an exception when selecting scenes via digital input.
Stacktrace
Include a stack trace of the exception if possible.
[12:52:23.000]App 2:[EnviormentBridge] Error in Eisc_SigChange handler: System.ArgumentOutOfRangeException:
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at PepperDash.Essentials.Core.Lighting.LightingBase.<>c__DisplayClass6.<LinkLightingToApi>b__3(UInt16 u)
at PepperDash.Essentials.Core.Bridges.EiscApiAdvanced.Eisc_SigChange(Object currentDevice, SigEventArgs args)
at Crestron.SimplSharpPro.DeviceSupport.BasicTriList.g(CrestronDevice A_0, SigEventArgs A_1)
at Crestron.SimplSharpPro.CrestronDeviceWithEvents.SendJoinEventData(SigEventArgs args)
at Crestron.SimplSharpPro.SigCollectionBase`1.NotifyOfSigsNewValue(UShortOutputSig paramSig, eSigEvent paramSigEvent, Boolean paramSigWasAdded)
at Crestron.SimplSharpPro.DeviceUShortOutputCollection.UpdateValueWithOutIncrementWithEvent(UInt32 index, UInt16 newValue)
at Crestron.SimplSharpPro.DeviceUShortOutputCollection.UpdateValueWithEvent(UInt32 index, UInt16 newValue)
at Crestron.SimplSharpProInternal.DeviceBasis.ReadAnalogPacket(UInt32 joinNumber, UInt16 joinValue)
at Crestron.SimplSharpProInternal.CrestronDevice.HandleIncomingBufferForSpecificDevice(CParsedPacketData IncomingDataStructure)
at Crestron.SimplSharpProInternal.DeviceBasis.ParseProcessedCresnetData(CParsedPacketData IncomingDataStructure)
at Crestron.SimplSharpProInternal.CrestronDevice.ParseDataFromStructure(Byte* pIncomingDataBuffer, UInt32 tldmToAppDeviceOrSlotId)
at Crestron.SimplSharpProInternal.CrestronDevice.CallbackRoutineForSpecificDevice()
Plugin would need to be made public first.
Sent from my iPhone
On Sep 17, 2020, at 11:13 AM, Jason T Alborough [email protected] wrote:
Describe the bug The Lutron Quantum is present in Essentials Core but functionality has been moved to a plugin. The EiscBridge is currently not functioning correctly and tosses an exception when selecting scenes via digital input.
Stacktrace
Include a stack trace of the exception if possible.
[12:52:23.000]App 2:[EnviormentBridge] Error in Eisc_SigChange handler: System.ArgumentOutOfRangeException:
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List1.get_Item(Int32 index) at PepperDash.Essentials.Core.Lighting.LightingBase.<>c__DisplayClass6.<LinkLightingToApi>b__3(UInt16 u) at PepperDash.Essentials.Core.Bridges.EiscApiAdvanced.Eisc_SigChange(Object currentDevice, SigEventArgs args) at Crestron.SimplSharpPro.DeviceSupport.BasicTriList.g(CrestronDevice A_0, SigEventArgs A_1) at Crestron.SimplSharpPro.CrestronDeviceWithEvents.SendJoinEventData(SigEventArgs args) at Crestron.SimplSharpPro.SigCollectionBase1.NotifyOfSigsNewValue(UShortOutputSig paramSig, eSigEvent paramSigEvent, Boolean paramSigWasAdded)
at Crestron.SimplSharpPro.DeviceUShortOutputCollection.UpdateValueWithOutIncrementWithEvent(UInt32 index, UInt16 newValue)
at Crestron.SimplSharpPro.DeviceUShortOutputCollection.UpdateValueWithEvent(UInt32 index, UInt16 newValue)
at Crestron.SimplSharpProInternal.DeviceBasis.ReadAnalogPacket(UInt32 joinNumber, UInt16 joinValue)
at Crestron.SimplSharpProInternal.CrestronDevice.HandleIncomingBufferForSpecificDevice(CParsedPacketData IncomingDataStructure)
at Crestron.SimplSharpProInternal.DeviceBasis.ParseProcessedCresnetData(CParsedPacketData IncomingDataStructure)
at Crestron.SimplSharpProInternal.CrestronDevice.ParseDataFromStructure(Byte* pIncomingDataBuffer, UInt32 tldmToAppDeviceOrSlotId)
at Crestron.SimplSharpProInternal.CrestronDevice.CallbackRoutineForSpecificDevice()
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/PepperDash/Essentials/issues/422, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AENNGSCSAUE6RL4GKSQPBSTSGI7UFANCNFSM4RQXW67Q.
Thats fine. https://github.com/PepperDash-Engineering/epi-lighting-lutron_quantum/blob/main/PDT.LutronQuantum.EPI/LutronQuantum.cs
@jtalborough if that plug-in supports nuget, let me know and I'll get the ownership transferred to the correct org so it can be public.
@jtalborough Has the Lutron plugin been made public yet?
No not to my knowledge.
On Feb 18, 2021, at 3:21 PM, Andrew Welker [email protected] wrote:
@jtalborough https://github.com/jtalborough Has the Lutron plugin been made public yet?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PepperDash/Essentials/issues/422#issuecomment-781611225, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY7PINZXE7AC54JYSZYHJDS7VZFLANCNFSM4RQXW67Q.
Lutron is moved over, deprecate lutron implementation in essentials.