Topic: Dual Cams settings for local channel

I was able to recover my Dual Cams widget from the wdgetcache on my Chumby One, but I do not know what all the parameters are to properly add this to a local profile.xml.

Does anyone know what all the correct params are for the profile.xml settings for this widget?

Or - is this info stored in a cache somewhere on the Chumby as well?

Re: Dual Cams settings for local channel

I figured it out by some lucky guessing...

      <widget_parameters>
        <widget_parameter>
                <name>url1</name>                   
                <value>http://xxx.xxx.xxx.xxx/snapshot.jpg</value>
        <widget_parameter>
      <widget_parameters>

I only needed the one parameter as I am not using another cam or PTZ.

Sweet - baby cam now back in action.

Re: Dual Cams settings for local channel

Nicely done!  Thanks for sharing that for others who may have a similar issue!

Re: Dual Cams settings for local channel

How did you pull the widgets from the cache? I was trying to do that, but I can only get so far as ssh'ing in with putty. I don't really have too much knowledge with this kind of thing, but I'm a quick learner.

Re: Dual Cams settings for local channel

FiendFyre wrote:

How did you pull the widgets from the cache? I was trying to do that, but I can only get so far as ssh'ing in with putty. I don't really have too much knowledge with this kind of thing, but I'm a quick learner.

This was done on a Chumby One - depending on your model, this process may or may not work...

That said... I was able to SSH in and locate the Dual Cam widget in the cache by doing the following:

1) SSH to the Chumby
2) cd to /mnt/storage/widgetcache
3) You will notice several files with long, unfamiliar names such as: BFCFC78E-60CD-C72B-76AC-8AF170232F0E
4) The fewer of the above files you have, the easier this is...
5) I then ran the strings command against these files looking for output that was similar to the settings for the Dual Cams widget. Example below:

strings BD7C4BC0-E6C6-11DD-9A7D-001E681DF646 will give the following output:

chumby:/mnt/storage/widgetcache# strings BD7C4BC0-E6C6-11DD-9A7D-001E681DF646
cam1
configMsgText
Please Configure CAM 1
notThis
cam2
url_image
url1
url_move_left
left1
url_move_right
right1
url_move_up
url_move_down
down1
havePanTiltControls
panTilt1
true
configMsg
_visible
loadingMsg
small
Please Configure CAM 2
url2
left2
right2
down2
panTilt2
_root
Arial
loading...
Configure Message
name0
image
index
name1
swapDepths
this
_visible
firstLoad
removeMovieClip
createEmptyMovieClip
url_image
Math
random
loadClip
loading
camMoving
pressed
small
startx
_xmouse
starty
_ymouse
start_move
camMoved
url_move_left
load
left
url_move_right
right
url_move_up
url_move_down
down
_height
_width
loadingMsg
visible
text
Error Loading
notThis
Error (
havePanTiltControls
moved
image0
image1
MovieClipLoader
loading2
addListener
configMsgText
onEnterFrame
configMsg
moveCam
doLoadImage
onPress
onRelease
_root.
onMouseMove
onLoad
doLoadImage
moveCam
onLoadInit
0NGO
onLoadError
status
loadingMsg
o$%c@
configMsg
cam1
cam2
chumby:/mnt/storage/widgetcache#

This is the Dual Cam widget!

I then copied this file (BD7C4BC0-E6C6-11DD-9A7D-001E681DF646) to /psp/widgets/dualcams.swf:
mkdir /psp/widgets
cp BD7C4BC0-E6C6-11DD-9A7D-001E681DF646 /psp/widgets/dualcams.swf

Then it was just a matter of creating a profile.xml under /psp and rebooting the Chumby. I used the script from WidgetOnAStick (find in the forums) to create the profile.xml.

You will need to modify the profile.xml file with the proper settings that are specific to the Dual Cam widget. I only set one parameter (see earlier post in this thread).

This is what worked for me - hope you find success with this as well!