Panasonic privacy mode

I noticed there was a thread for the foscam privacy mode and I managed to get it working for the panasonic and I’d like to share:

Luup codes:

Privacy mode on:

[code] local IP_address = ‘192.168.1.253’
local username = ‘user’
local password = ‘pass’
local timeout = 5

luup.inet.wget(‘http://’ … IP_address … ‘/Set?Func=Powerdown&Kind=1&Data=0’, timeout, username, password)[/code]

Privacy mode off:

[code] local IP_address = ‘192.168.1.253’
local username = ‘user’
local password = ‘pass’
local timeout = 5

luup.inet.wget(‘http://’ … IP_address … ‘/Set?Func=Powerdown&Kind=1&Data=1’, timeout, username, password)[/code]

you could for instance include the luup codes to scenes to activate privacy mode when you are at home.

List with all panasonic commands (very useful): http://csj.psn-web.net/netwkcam_net/download/us/document/NEW_Camera_CGI_Interface_v4.30.pdf

Please note that you must enter the administrator login details for the camera in the luup code and that you must’ve checked ‘Allow setting changes’ under administrator settings when in the configuration page for the camera.

Good luck!