It is not supported to change the source camera for an alarm or in the Alarm Preview.
ImageViewerAddon.ViewItemIndex as -1 sounds wrong and is a mistake.
Thinking of a workaround. It would be possible to develop your own control for the Alarm Preview, but it is important to note that it would not replace the original camera view but rather add a second view.