Can someone tell me what is going on here?
This is what happens when I attempt to add a D-Link camera:
I start out by adding a smart app: Custom: blebson: D-Link Camera Manager (connect). I add “RiverCam North” and end up at this screen (see attached)
Notice their is a section for Camera Name, one for Add Camera, one for Camera Settings, and Hub Settings.
Please notice that under Camera Settings, their is only one input: Camera Password.
If you examine the code you find:
preferences {
page(name: “mainPage”, title: “Install Video Camera”, install: true, uninstall:true) {
section(“Camera Name”) {
label(name: “label”, title: “Name This Camera”, required: true, multiple: false, submitOnChange: true)
}
section(“Add a Camera”) {
input(“CameraType”,“enum”, title: “Camera Model”, description: “Please select your camera model”, required:false, submitOnChange: true,
options: [“DCS-5009L”, “DCS-5010L”, “DCS-5020L”, “DCS-5029L”, “DCS-5030L”, “DCS-5211L”, “DCS-5222L”], displayDuringSetup: true)
}
section(“Camera Settings:”){
input(“CameraIP”, “string”, title:“Camera IP Address”, description: “Please enter your camera’s IP Address”, required: true, displayDuringSetup: true)
input(“CameraPort”, “string”, title:“Camera Port”, description: “Please enter your camera’s HTTP Port”, defaultValue: 80 , required: true, displayDuringSetup: true)
input(“VideoIP”, “string”, title:“Video IP Address”, description: “Please enter your camera’s IP Address (use external IP if you are using port forwarding)”, required: true, displayDuringSetup: true)
input(“VideoPort”, “string”, title:“Video Port”, description: “Please enter your camera’s Video Port (use external Port if you are using port forwarding)”, required: true, displayDuringSetup: true)
input(“CameraUser”, “string”, title:“Camera User”, description: “Please enter your camera’s username”, required: false, displayDuringSetup: true)
input(“CameraPassword”, “password”, title:“Camera Password”, description: “Please enter your camera’s password”, required: false, displayDuringSetup: true)
input(“CameraPresetOne”, “string”, title:“Camera Preset 1”, description: “Please enter which preset view you want to use (other than ‘Home’)”, defaultValue: 1 , required: true, displayDuringSetup: true)
input(“CameraPresetTwo”, “string”, title:“Camera Preset 2”, description: “Please enter which preset view you want to use (other than ‘Home’)”, defaultValue: 2 , required: false, displayDuringSetup: true)
input(“CameraPresetThree”, “string”, title:“Camera Preset 3”, description: “Please enter which preset view you want to use (other than ‘Home’)”, defaultValue: 3 , required: false, displayDuringSetup: true)
}
section(“Hub Settings”){
input(“hubName”, “hub”, title:“Hub”, description: “Please select your Hub”, required: true, displayDuringSetup: true)
}
}
}
Please notice the code asks for “Add Camera”, and then moves on to “Camera Settings”. Under settings is asks for IP, Port, User Name, etc. Those questions never come up.
So I am thinking I am using an old version of the code. I down load a fresh copy of the code. I save it; publish it; etc.
I delete both the Manager module, as well as the Child modules. I restart the phone, and try it a second time. I end up right back where I started.
Can someone tell me please, what am I missing?