galadril / DomoticzForAndroid

This is a Domoticz Android app. Domoticz is a very light weight home automation system ...
http://www.domoticz.com
14 stars 7 forks source link

Camera issues #128

Closed remb0 closed 8 years ago

remb0 commented 8 years ago

forum member reported:

I can select it but there is no picture.

the camera function is working right on my lan but not outside. the camera ip in domoticz is 192.168.0.8 is that the problem? that the app connect throught the local IP instead of the domoticzs and then trhoufht local?

galadril commented 8 years ago

Thats the problem indeed.. can't work arount it.. Unless Domoticz got changed so that you can configure a outside and inside ip within Domoticz per camera....

RoadXY commented 8 years ago

No that will not work since you'll have to open up an NAT port on your router for every camera.

The only way to do this is to have an VPN connection to your local network.

galadril commented 8 years ago

we could only show the camera page when he's connected to local network (to avoid confusion)

RoadXY commented 8 years ago

I agree. Just to be clear: in the JSON response you receive cameras with their internal address? I don't have any cameras so I can't test.

galadril commented 8 years ago

There is only one address for a camera in Domoticz.. Those are also the exact fields that I get from the JSON:

So i can't do anything about this issue..

untitled

RoadXY commented 8 years ago

No, nothing we can do about it then.