Hi matt,
UPDATED:
Thanx for the reply,
Sorry, your correct I meant using gotoPreset, the camera doesn’t expose its presets above 127 to the pull down unless you set and refresh, but the log shows any value above 127 as invalid when a gotoPreset 233 is done. btw these presets are not really settable they are hard wired.
sending a gotoPreset 233
21:28:35.087 [TRACE] [camera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
21:28:35.617 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'LivingRoomAmazonEcho_Speak' received command Hey you silly Kitties, stop running all over my she it!
21:28:35.620 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'ONVIFIPCamera_GoToPreset' received command 233
21:28:35.622 [INFO ] [openhab.event.ItemStatePredictedEvent] - Item 'LivingRoomAmazonEcho_Speak' predicted to become Hey you silly Kitties, stop running all over my she it!
21:28:35.624 [TRACE] [camera.internal.onvif.OnvifConnection] - Sending ONVIF request:GotoPreset
21:28:35.625 [DEBUG] [camera.internal.onvif.OnvifConnection] - IndexOutOfBoundsException occured, Index: 232, Size: 127
21:28:35.625 [INFO ] [openhab.event.ItemStatePredictedEvent] - Item 'ONVIFIPCamera_GoToPreset' predicted to become 233
21:28:35.628 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'LivingRoomAmazonEcho_Speak' changed from to Hey you silly Kitties, stop running all over my she it!
21:28:35.629 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'ONVIFIPCamera_GoToPreset' changed from NULL to 233
2
sending a gotoPreset 127
21:33:10.598 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'LivingRoomAmazonEcho_Speak' received command Hey you silly Kitties, stop running all over my she it!
21:33:10.600 [DEBUG] [camera.internal.onvif.OnvifConnection] - Onvif Event Topic:RuleEngine/CellMotionDetector/Motion, Data:IsMotion, Value:true
21:33:10.605 [TRACE] [camera.internal.onvif.OnvifConnection] - Sending ONVIF request:GotoPreset
21:33:10.602 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'ONVIFIPCamera_GoToPreset' received command 127
21:33:10.606 [TRACE] [camera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
21:33:10.608 [INFO ] [openhab.event.ItemStatePredictedEvent] - Item 'LivingRoomAmazonEcho_Speak' predicted to become Hey you silly Kitties, stop running all over my she it!
21:33:10.609 [INFO ] [openhab.event.ItemStatePredictedEvent] - Item 'ONVIFIPCamera_GoToPreset' predicted to become 127
21:33:10.610 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'LivingRoomAmazonEcho_Speak' changed from to Hey you silly Kitties, stop running all over my she it!
21:33:10.611 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'ONVIFIPCamera_GoToPreset' changed from 233 to 127
sending a gotoPreset 1 or 2 works as expected with similar log results.
Tim