# Panasonic PTZ IP Camera

**URL:** <https://community.smartthings.com/t/panasonic-ptz-ip-camera/43336>\
**Category:** Community Created Drivers\
**Tags:** panasonic, dth\_cameras\
**Created:** [March 26, 2016, 4:34am UTC](https://community.smartthings.com/t/panasonic-ptz-ip-camera/43336 "2016-03-26T04:34:53Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![JZst](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@JZst](https://community.smartthings.com/u/JZst)\
**Post date:** [March 26, 2016, 4:34am UTC](https://community.smartthings.com/t/panasonic-ptz-ip-camera/43336/1 "2016-03-26T04:34:53Z")

</div>

Hi all,

I have taken a few related local IP camera projects and heavily modified them to give me the ability to use my older Panasonic PTZ IP Camera. The biggest difference of what this Device Handler offers is the PTZ feature and a few presets that can be defined on the camera which the Device Handler can activate.

The project was tested with the following Panasonic models:

- BL-C30A
- BB-HCM511A
- BB-HCM531A

Thanks to: @pstuart & @blebson

SOURCE CODE: [https://github.com/JZ-SmartThings/SmartThings/tree/master/Devices/Panasonic%20PTZ%20Camera](https://github.com/JZ-SmartThings/SmartThings/tree/master/Devices/Panasonic%20PTZ%20Camera)

Enjoy!  
JZ

---

<div class="post-metadata">

**Author:** ![Michael\_Shutt](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/michael_shutt/32/115387_2.png) [@Michael\_Shutt](https://community.smartthings.com/u/Michael_Shutt)\
**Post date:** [December 31, 2016, 1:32pm UTC](https://community.smartthings.com/t/panasonic-ptz-ip-camera/43336/2 "2016-12-31T13:32:31Z")

</div>

Thanks JZ, also works with models BB-HCM511A and BB-HCM531A. This was the last piece for me to replace a Control4 system, very cool!

---

<div class="post-metadata">

**Author:** ![JZst](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@JZst](https://community.smartthings.com/u/JZst)\
**Post date:** [December 31, 2016, 7:49pm UTC](https://community.smartthings.com/t/panasonic-ptz-ip-camera/43336/3 "2016-12-31T19:49:09Z")

</div>

> [@Michael\_Shutt](#):
>
> BB-HCM511A and BB-HCM531A

Adding those two models to the list.

FYI, I did test out the new live-video ability from @pstuart. Sadly it never worked in ST for my Panasonic cam (even though browsers easily saw video just ST could not) and the reason why I never posted that source code. If you’d want me to share that, I can certainly do that.

---

<div class="post-metadata">

**Author:** ![Michael\_Shutt](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/michael_shutt/32/115387_2.png) [@Michael\_Shutt](https://community.smartthings.com/u/Michael_Shutt)\
**Post date:** [December 31, 2016, 10:56pm UTC](https://community.smartthings.com/t/panasonic-ptz-ip-camera/43336/4 "2016-12-31T22:56:39Z")

</div>

Video is not a requirement for me, a still shot is all I need 95% of the time. To be honest, the video rarely worked in Control4, so this is an upgrade 😏. Thanks for working out the details, saved me a bunch of time.

---

<div class="post-metadata">

**Author:** ![Michael\_Shutt](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/michael_shutt/32/115387_2.png) [@Michael\_Shutt](https://community.smartthings.com/u/Michael_Shutt)\
**Post date:** [January 30, 2017, 10:03pm UTC](https://community.smartthings.com/t/panasonic-ptz-ip-camera/43336/5 "2017-01-30T22:03:39Z")

</div>

Hey JZ -

Looks like the ST team had to change the way S3 objects are stored from device handlers. It is discussed in this thread:

> [@Removal of Undocumented Device Type Data Storage Option - 1/19/2017](https://community.smartthings.com/t/removal-of-undocumented-device-type-data-storage-option-1-19-2017/74555/1):
>
> As of 1/19/17 we have updated some undocumented functionality in our Device Handler base. We have limited S3 access to no longer allow sharing s3 assets across devices. We have found the feature to be of limited use internally and we have security concerns in its current state and therefore will not be expanding it to a fully documented and supported feature of the platform. We have shut it down but are investigating other options to allow short term storage to S3 for devices and SmartApps. But, as of now we have no immediate timeline to add the functionality. Our Image Carousel capability (used by 6 internal device types) has relied on this capability and we have implemented a hotfix in the platform to allow for Image Carousel devices to continue to store and retrieve images as befor…

I sent a pull request to your repository with the update I made to your device handler. Seems to be working for me.

---

<div class="post-metadata">

**Author:** ![JZst](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@JZst](https://community.smartthings.com/u/JZst)\
**Post date:** [January 31, 2017, 5:44am UTC](https://community.smartthings.com/t/panasonic-ptz-ip-camera/43336/6 "2017-01-31T05:44:28Z")

</div>

Yep saw that sad thread 🙂 looks like they’re finally providing an alternative. I’ll commit your changes… you added your Windows thumbnail thumbs.db file to the request so I’ll see how to commit your changes but remove that file. I’m kinda a novice at GitHub. Thanks for knocking this out as I am a user of my own code and was missing this for a couple of weeks.

---

<div class="post-metadata">

**Author:** ![JZst](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@JZst](https://community.smartthings.com/u/JZst)\
**Post date:** [January 31, 2017, 6:13am UTC](https://community.smartthings.com/t/panasonic-ptz-ip-camera/43336/7 "2017-01-31T06:13:14Z")

</div>

@Michael_Shutt I also updated the resolution to be 640x480 as the new functionality seems not to trip out with images around 30KB like the older method call.

---

<div class="post-metadata">

**Author:** ![Michael\_Shutt](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/michael_shutt/32/115387_2.png) [@Michael\_Shutt](https://community.smartthings.com/u/Michael_Shutt)\
**Post date:** [January 31, 2017, 12:15pm UTC](https://community.smartthings.com/t/panasonic-ptz-ip-camera/43336/8 "2017-01-31T12:15:54Z")

</div>

Great, thanks

---

<div class="post-metadata">

**Author:** ![Michael\_Shutt](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/michael_shutt/32/115387_2.png) [@Michael\_Shutt](https://community.smartthings.com/u/Michael_Shutt)\
**Post date:** [February 1, 2017, 3:15pm UTC](https://community.smartthings.com/t/panasonic-ptz-ip-camera/43336/9 "2017-02-01T15:15:31Z")

</div>

Pfft. ST changed the implementation again. Easy tweak, I have created another PR.

---

<div class="post-metadata">

**Author:** ![JZst](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@JZst](https://community.smartthings.com/u/JZst)\
**Post date:** [February 5, 2017, 7:32pm UTC](https://community.smartthings.com/t/panasonic-ptz-ip-camera/43336/10 "2017-02-05T19:32:12Z")

</div>

Sorry for the late response but this got implemented after you submitted the changes. Thanks again for making this easy on me 🙂 as I use this function in a few places and it was nice to finally copy/paste your updated logic.
