This post content was moved to:
https://notes.kateva.org/2023/05/home-sleep-monitoring-with-apple-watch.html
Apologies for the error!
This post content was moved to:
https://notes.kateva.org/2023/05/home-sleep-monitoring-with-apple-watch.html
Apologies for the error!
My father has been doing well in a Quebec long term care facility for veterans (in Canada that has historically meant WW II, he’s in his 90s). Things are getting tougher though — the facility is shifting from federal to provincial control. Great staff are leaving and programs will be stressed.
I see him every 3-4 months, but in between I was surprised how well Skype worked with him. He does much better speaking when he can see me than he does on the phone. It seems to be related to knowing when to try speaking and when to listen. He also seems to hear Skype sound better than mobile phone sound. (It’s likely much higher quality.)
Even with the old regime though the Skype conferences often failed. Tech complexity and organizational issues forced us to discontinue them.
So now I’m going to try bringing him an LTE iPad Air 2. I’ll get a Rogers SIM card when I visit in a few weeks and we’ll see if it works from his room. If all goes well it will cost him an extra $10-$15/month — and the iPad cost [1].
Dad’s lost a few wallets from his room. I think most longterm care facilities see this kind of problem. Visitors can have issues. So we need to secure his iPad. Other than photo display I think he’ll only be using it for conferencing. So it needs to be secure [2], continuously powered up, stored somewhere he can sit, and not take up much room. The secure device needs to leave speakers and camera clear.
After some thought I ordered the $33 CTA Digital Universal Anti-Theft Security Grip with POS Stand for Tablets - iPad Air 2, iPad mini 4, Galaxy Tab, Note 10.1, 7-10-inch Tablets (PAD-UATGS) (grip and stand). It seems solid enough, it will keep the iPad off his desk, and there are screw holes (but no screws included). It may screw into his (antique) desk, but, even though it’s not shown in the picture, the lock comes with a cable. So I might be able to secure it to his desk in a less damaging and harder to remove way.
Of course the iPad Air 2 is way too thin for this device. It flops around. There’s supposed to be an included adapter strip, but mine was missing. I don’t think it would have worked — this home made setup seems a lot better. I had some TrueValue gripping pads (549104, TV23148) lying around…
I put those inside the corner retainers:
and it works pretty well:
So the first step is complete. Next step will be to test some of the conferencing options for data use and usability with various iPad accessibility features enabled: Skype vs. FaceTime vs. Facebook Messenger (Hangout is not very useable.)
I don’t expect Dad will use it by himself, we’re hoping a friend who helps with him will get things set up. I want it to be useable for them though.
- fn -
[1] (Rant) Incidentally, the iPad Air reminds me what a mixed bag Apple is these days. Nice device in many ways, but when I brought my mother an iPad six years ago one of the features she loved most was it could be used as a high quality digital photo frame. It was easy to launch from the lock screen. She loved that.
So, of course, Apple pulled it from the lock screen around iOS 7 and then ditched the replacement with iOS 9. There’s exactly one half-decent alternative, an app called Picmatic. Not to be confused with spammy copycat apps of the same name in the kinda broken App Store.
I don’t know if Apple is merely senile, or if the app had to be reworked for iOS 9 and it got ditched in a last minute panic to get that half-baked release out the door. Either way, the good news is that now that Ive has retired there’s only Cook to launch.
[2] Would it have killed Apple to incorporate some sort of secure lock feature in the iPad? Ok, yes, it would have.
I mentioned a few weeks ago that I was testing a Facetime videolink to my mother. It's not my first attempt. I'd tried Google Video Chat two years ago, but after months of struggle I gave up; it had, and still has, dismal usability. iChat was even worse. In all cases I've been using the excellent Logitech QuickCAm Vision Pro for Mac. (Still the best webcam ever sold, though I fear it's going away without a true replacement.)
After a few weeks of testing I can report that Facetime is a big usability improvement over Google Video Chat. I configured my mother's machine to auto-answer my calls; I can call from my phone or desktop and her machine will pick up. Facetime doesn't need to be running, OS X 10.6.x will launch it.
There's only one problem.
After I close the call at my end Facetime continues to run on her machine. It doesn't auto-exit (and, at this time, she can't see well enough to reliably quit the app) [1]. This means her webcam stays powered on [3]. Under some conditions, perhaps mostly time, the embedded OS that manages in-camera focus and exposure control crashes. The Webcam still works, but it focuses to infinity and the light levels are very low. If you pull the USB cable, wait a few seconds, then plug it in again, the camera will reset.
I'm considering a few workarounds. Firstly, it would be great if Apple officially supported auto-answer, so FT could then auto-exit on close. Alternatively I could
I'm leaning to the nightly restart as the simplest fix, but I should also try remote control -- again!
[1] As her macular degeneration has progressed we've been focusing on her iPad use.
[2] Apple needs to kill AppleScript, but I fear there'd be not replacement.
[3] The webcam then stays in active mode, so it appears like it's always sharing an image.
See also:
Update:
When a Google search doesn't return much, it's often because the function one is seeking is now a part of the OS.
OS X Energy Saver allows one to schedule a restart. I'll schedule my mothers machine to reboot at 2am daily, that should clear out any dangling FT sessions.
Incidentally, there's a longstanding, perhaps ancient, UI flaw with OS X Energy Save scheduling. Look at this:
It looks like the first option is available for selection, but the second (schedule restart) is unselectable -- it's "grayed out".
Look carefully (it took me a while). The select box (drop down) on the first row is also grayed out. This is standard behavior. The reason the 2nd row is so confusing is that it starts with a drop down -- there's no preceding text to display in normal font. Despite appearances this row is available for selection. Just click the check box.
I deleted a prefs file and did a number of Google searches before I realized what was going on. I found others who made the same mistake ...
FaceTime for Mac ($1) has an undocumented AutoAnswer feature ...
10.6: Enable AutoAnswer in FaceTime for the Mac - Mac OS X Hints
... defaults write com.apple.FaceTime AutoAcceptInvitesFrom -array-add +15205551212... defaults write com.apple.FaceTime AutoAcceptInvitesFrom -array-add email@email.com ...
... defaults delete com.apple.FaceTime AutoAcceptInvitesFrom ...
The author used the "strings" command to uncover these options.
I've been looking for this for years [1] (die iChat die!), so, even though I generally avoid undocumented terminal entered preferences, I immediately set this up on my home iMac. I set it to AutoAnswer calls from my iPhone. Then I started up FaceTime and turned my screensaver on (screen is then locked) and placed a call.
With FaceTime on, a green light showed next to my iMac's "iSight".
The screensaver didn't change, but my desktop answered. My phone displayed the video input from the desktop and audio worked.
A few things to keep in mind as you test this ...
I'll be testing this out over the next few weeks, then I have to see if I can persuade my elderly parents that this is something worth enabling on their Mac. It would require an upgrade to 10.6, I think I'd left their machine on 10.5.
For an elderly user, or for anyone who wants a very simple way to create call you can create clickable desktop shortcuts or links in a web page ...
In Safari's address bar, type in one of the following URLs:
- facetime:// appleid
- facetime://email@address
- facetime://phone#
... select that URL in the address bar and drag it to the desktop.
When you do this you get a very dull file. Use IMG2ICNS (Free) to turn a photograph of the person you want to call into the file icon. I did this for my mother then put the icon with my picture on her desktop.
[1] Google could never come up with a decent control UI for Google Video Chat.
See also:
PS. When reviewing some of these old links, I was struck by how many years we've been trying to get useable 1:1 videoconferencing on the net. We're talking at least 13 years of repeated failure, with only modest recent success with Skype and Google Video Chat. Apple has failed repeatedly. I wonder if this time they'll push it through, but I've thought we were close before.
This is a bit complex to describe fully, but I hope these hints will be of use.
Briefly, I wanted to be able to establish a video chat connection to my elderly parents. Since we both use OS X and both have at least one Intel machine I considered iChat and Google Video Chat. I didn’t consider Skype or Yahoo because that would introduce new account issues and because, as best I can tell, Google has the best technology and no worse reliability than Skype or Yahoo.
I was unimpressed with iChat; it needs to be shot (see also). That left Google Video Chat, but it has a hellacious user interface. In fact, it has the lowest usability of just about any app I routinely use. Not well suited for my 80% blind and very arthritic mother. (I’m sure that will change when Google integrates GVC with Google Voice, but really Google needs all those usability people who’ve recently quite in disgust.)
At the same time I was exploring remote maintenance options and finally settled on LogMeIn Free.
This is the combination of technologies I’ve now cobbled together:
Here’s how it works
GVC 1.0.8 is out. This is very interesting (emphases mine) ...
juberjabber: Gmail voice and video v1.0.8
... Added support for the H.264/AVC video codec, in addition to the H.264/SVC codec that we typically use. This allows us to be compatible with video software that does not yet support SVC. When using H.264/AVC, Gmail video chat will send and expect in-band parameter sets, and send using a single-NAL RTP packetization....
I'm not aware of any form of publicly available video chat that interoperates. The Apple article on QuickTime H.264 is illuminating ...
... Ratified as part of the MPEG-4 standard (MPEG-4 Part 10), this ultra-efficient technology gives you excellent results across a broad range of bandwidths, from 3G for mobile devices to iChat AV for video conferencing to HD for broadcast and DVD
So will Google Video Chat interoperate with OS X iChat? And what about that new iPhone ...
Update: A paste typo messed up the previous edition
When I recently posted to the Gmail Help group about the extreme instability of Google Video Chat over the past week (connection half-life is now < 10 minutes) I didn't expect any response.
I got one: Video Chat problems - Chats and Contacts.
... We've had a few anecdotal reports of more-frequent disconnects in the
past few days. We're looking into on our side.When you get the "Click here to upload" prompt, are you uploading your
log? We can investigate your issue specifically if so.If necessary, you can send more details to my Gmail address...
So it turns out Google engineers are monitoring those discussion groups. That's encouraging.
I think the way to get their attention is to
The key is to find a related post and star it. Unfortunately there's no dedicated forum for the Video Chat help and there are a lot of low content questions and posts. Given the instability we've seen with GVC current users are either very tolerant or rather dispirited.
So if you're a GVC user and experiencing connection or stability issues, please be sure to post in the currently applicable help forum: http://groups.google.com/group/Gmail-Help-Chats-and-Contacts-en/topics?hl=en.
Use a clear description and include the string "Video Chat" in the subject line. I'll be monitoring for posts with that heading in my feed reader and I'll star any that I find relevant. (This is the feed for the Google Alert I created to track new posts: -- couldn't get that one to work!)
We've been making extensive use of Google Video Chat for corporate communications (and with my aged mother, but that's a future post), but it's strictly point-to-point.
We need to share a video stream (audio not needed) from site meetings to remote users. This is remarkably hard to do.
You might not think this is a challenge. You might recall a 1990s fad of using a desktop webcam to share daily tedium -- or webcams that broadcast traffic. Or you might think of a large industry that specializes in "recreational" webcam use (an industry that just about killed the quality desktop webcam).
Alas, it would be most unwise, not to mention unsavory, to use those recreational services for corporate video broadcast. Besides, we actually want image clarity.
I haven't been able to find many options other than the high end professional services.
The one thing I've come across is the combination of Apple's recently resurrected QuickTime Broadcaster for OS X (compresses video input) and Apple's somewhat quiescent QuickTime streaming server.
Apple's free QuickTime Broadcaster for OS X (FAQ) will support firewire video capture, such as from a Canon Camcorder as well as iSight input. It can only output to a single destination however, such as a (Windows/Mac) QuickTime Player or (more importantly) OS X Streaming Server. (Yes, the name is misleading. Also the documentation is obsolete, iSight no longer exists but it now works with any 10.5 video source).
In theory it works with both Intel and PPC machines, but my G5 iMac couldn't compress the high quality video output of my Logitech Vision Pro webcam fast enough.
To do real broadcasting you're supposed to stream the output to a QuickTime streaming server (part of OS X Server, $400) or a multicast network. (This discussion is useful).
It turns out that DreamHost, a well regarded web hosting service, provides the open source version of QuickTime streaming server -- the Darwin QuickTime Streaming Server. Live streaming (broadcast a meeting) is not officially supported, but it works. The configuration looks like this ...
- Local OS X laptop provides live feed (OS X Broadcaster) to Darwin Streaming Server
- Darwin Streaming Server provides on demand stream
- Users access stream from a specially configured web page that embeds QuickTime call.
I've played with this configuration briefly, but there's very little material on the web about it. That makes me wonder if there's any way to make it really work (Apple is very quiet, for example). However I found IAMedia really had used DreamHost's streaming video. They've prepared a nice tutorial of how to make it all work, including how to embed the stream in a webpage.
Problem is, they've run into quality of service issues with DreamHost. So they've recently switched to ustream.tv -- a ad-funded startup specializing in personal broadcasting.
Alas, ustream.tv isn't very corporate, though it's not as off-base as the "recreational" services of old.
Happily, ustream.tv sells a private label service called "Watershed".
... Watershed is Ustream's self-serve platform for live, interactive video. Flexible for everyone, Watershed offers plug-and-play as well as robust API integration solutions. Organizations both small and large can customize Watershed to meet their specific needs and build global communities around shared live experiences....
Watershed charges $1 an hour/user for pay-as-you-go pricing.
That's about right for my corporation ...
Update: Watershed isn't super trivial to setup, but by the standards of video streaming it's very simple. I created the two web pages (broadcast and viewer) on one of my servers and stuck the embedded code in. Worked pretty well. Cost for our use would be about $50 to $100 monthly, so it looks like something I can justify.
So I was wondering, where the heck was Watershed all the time I've been looking for an affordable corporate video broadcast solution?! Turns out they launched 2 weeks ago. They're probably not even advertising yet.
Update 3/6/09: A few cautionary notes on Watershed
Amazon.com: Logitech QuickCam Vision Pro for Mac (Black): Electronics
I've purchased seven of these cameras, 5 for a team at work, 1 use at home, and 1 for my mother's Mac Mini.
Most of the cameras are on XP machines. As mentioned elsewhere these cameras install without device drivers on XP SP2 or later. Unlike the superficially similar but less expensive QuickCam Pro 9000 they do light balance and focus through camera hardware. That means we don't have to deal with flaky device drivers (rarely done well for OS X), and there's less demand on the CPU to manage the device....
... I've compared the video quality of this camera to the pinhole webcam that comes standard on modern Macs. It's light years better. There's really no comparison. It's better in low light, it's better at focus, it's higher resolution, there's far less image noise, etc.
The built-in microphone is superb. We get better sound quality using Google Video Chat and this device than we get with high end conference phones.
I'm a hard consumer to please, but I am very pleased with this camera.
Highly recommended.
I don't think this was always true, nor do I recall an announcement, but Google has added Gmail video chat capabilities to Google Apps accounts, including the top-secret free accounts.
Update: I was hoping all members of a domain would be "trusted" for Chat purposes, but that's not so. You still need to use Gmail's awkward UI to establish a "trust" relationship (invite to chat).
Also, this must be pretty new, because the Google App admin page still (incorrectly) says: "To use Chat, users must download Google Talk (Windows only)". Not so, Google Apps Gmail chat works fine in OS X.
We’ve been making extensive use of GVC for corporate collaboration.
It’s damned impressive, but there’s NO information from Google’s official channels on what’s going on with it.
There is, however, an authoritative source.
One of the lead developers has a personal blog …
juberjabber: Gmail voice and video v1.0.5
… Today we released the 1.0.5 update for the Gmail voice and video chat software. All current installations will begin an automatic update within the next 24 hours. If you do not want to wait, you can visit http://mail.google.com/videochat and re-run the installer…
They’ve done a lot of work on the Mac version. It was grossly unstable a month ago, but I’m going to be retesting.
Ahh, the perils of life on the cutting edge. I gave Google Video Chat a grade of B- a week or so ago, but now it’s as unstable on XP as it’s always been on OS X. Sessions dropping at 10-20 minutes, problems starting up, etc.
I am very fond of my Logitech Vision Pro webcam though. It’s marketed for OS X, but it’s the best thing going on XP. There are no thrice-damned drivers to load, so it’s easier on the CPU and I don’t have to live with the horrible quality of modern device drivers (which are routinely outsourced to the lowest bidder).
Nothing to do to wait for a fix from Google. There are SO many things that can go wrong with these solutions …
I've been updating my initial post on Google Video Chat, but I think I've enough experience now to offer a status report. I've been testing XP to XP, and XP to OS X connections using Firefox.
I'd grade Google's Video Chat effort as C+. That sounds bad, but the rest of the class is B- to F, and the B-kids are trending downwards and might drop out of school.
I'll update the grades in a month or so.
Update 1/6/09: I bumped the grade in the post title to B-. We've been doing more corporate testing and have found:
LifeCam VX-7000 (Windows only)Right. Always in focus. Uh-huh. They still sell the VX-6000 by the way, but they don't mention the focus ring. Gotta love marketing.
...The webcam is always in focus – no fine tuning needed. Focus depth of field is from 21” to 60”...
Logitech QuickCam Pro 9000 (windows only, 960x720 video, aka 720p [2])Except from (excellent) Amazon reviews we learn that the VisionPro's autofocus is controlled by the computer, not the camera. So it's sluggish and slow. It also sounds like some VisionPro's can focus further than others, and anything beyond 8 feet is pretty iffy.
Premium autofocus: Your images stay razor-sharp, even in close-ups.
Logitech VisionPro (OS X theoretically, but see this.)There's about zero information on Logitech's site, much more in their press release
...Premium autofocus: Your images stay razor-sharp, even the most extreme close-ups...
To deliver image-perfect detail and clarity, the Logitech QuickCam Vision Pro webcam for Mac combines Logitech’s premium autofocus technology with Carl Zeiss optics. The new Logitech webcam uses a voice coil motor for its autofocus system, instead of a stepper motor. Focusing is fast and fluid – crisp even in extreme close-ups only 10 cm from the camera lens. Logitech’s autofocus system compensates for changes in image-edge sharpness and refocuses images in less than three seconds.and on Amazon we get very mixed reviews of the autofocus, from this to this. I wouldn't expect to get much out of this camera on a non-Intel system, so it's really an accessory for the Mac Mini (other Intel systems have built-in not-to-bad webcams). One review that impressed me claims that this camera does its own autofocus, not relying on the computer and gives us the low down on resolution ... [see update]
Autofocus and autoexposure (light level) are done purely in hardware. There's no software to install. This is different from the earlier Logitech QuickCam 9000, which depended on Windows software to do the focus and exposure, which lowered the price of the webcam, but forced you to use Windows. The microphone is pretty good for a webcam, but you'll still want a headset for clear conversation. Frame rate is very fast and smooth, 30fps at 640x480.Now that's a review!
... The included stand is very wobbly, and falls down easily. When set on top of the monitor, gravity's the only thing holding it on, it will slide off easily. Unlike the older Logitech webcams with flexible plastic that could mold into place, this camera has stiff plastic, so it doesn't maintain as good a grip. No zoom. Frame rate gets much slower if resolution is increased beyond 640x480. At 960x720, it's 15fps. At the maximum 1600x1200, it's only 5ps. Anything above 960x720 is just hardware upscaling, as the true optical resolution of the webcam is 960x720.
... On my XP SP2 laptop the camera took a few seconds to register. In Windows Explorer it then showed up, next to my drives, as a "USB Video Device". (In properties it's "manufactured by microsoft".) Clicking on the "USB Video Device" in Explorer opens a video window. In this display is no "mirroring" or zoom since we're just seeing unmodified output.
The camera focused clearly at 6" (rather better than claimed) and at about 30 feet.
Adjustment to light levels is automatic and impressive.
The dynamic range (ability to deal with glare, bright and dark areas) is vastly better than my 1-2 year old Microsoft VX-6000.
It's a solid device. Mr. Krellan is correct that it doesn't mount very securely but I think will suffice.
Impressive.
It all started innocently enough, with corporate testing of Google Video chat.
In one test using a camera only on my machine my test subject couldn’t read my whiteboard. She was seeing a mirror image display.
It’s not supposed to work that way. I’m supposed to see a mirror image of myself in a small part of the screen, my correspondent is supposed to see a standard non-mirror image [1].
So I tried to fix things. That’s how I got Java-vu all over again, with flashbacks to the dark days of .comBubble 1.0 – when we were wrecked on the reefs of JVM version control.
First I uninstalled all other video conferencing clients, starting with Oovoo. Nice product in many ways, but it kept dropping my conferences. Can’t have that.
Then I tried adjusting the settings on my Microsoft LifeCam VX 6000. (Nice hardware for its day, horrid drivers.[2])
Oops, can’t find the software. Ok, I’ll just reinstall – time to see how much Microsoft has fixed.
So I download the LifeCam drivers and install. All is well until I get to the point where it’s say “Downloading and installing files..." . The progress indicators moves gradually to the end … and starts over again.
And again.
And again.
Time goes by. It seems to be hung. I kill the install and a search leads me to a Microsoft support site (emphasis mine) ..
Software Setup Malfunction in Start - Help and Support Feature Discussion
… My problem is similar. I'm trying to install the software but the install process won't proceed past, "Downloading and installing files..." The green bars at the bottom fill up, as if progressing, but it's been running for a couple of hours now. I thought maybe the problem was with the CD, so I tried it with the downloaded version with the same result…
Hey PJB. After much frustration, and less than great support from Microsoft, my issue was tracked down to be caused by a bad file somewhere in my Microsoft .Net Framework software...I had versions 1.1, 2.0 and 3.0 installed on my computer...along with a SP 1 for version 1.1.
I found this link helpful: http://support.microsoft.com/kb/923100/en-us
Try and use method one to uninstall your .net framework software. Method one did not work for me, I kept getting issues with removing both 2.0 and 3.0.
I then used method 2 which entails following another link and downloading a .net framework cleanup tool. I ran the program to cleanup ALL .Net versions. Then I went back to Microsoft Downloads and downloaded .net framework 1.1, 2.0 and 3.5 (not 3.0 - for some reason 3.0 would not download and created issues).
Once these .Net Framework downloads were installed I downloaded and installed LifeCam 2.04 software and my kid was up and running in 10 minutes.
It took me over a week to get this issue resolved.
One more thing, when you are downloading and installing your .net framework files you need to make sure you download in the proper sequence. Also, for some reason I encountered printer issues the first time through this. The second time I just unplugged my printer until all downloads were installed and I did a computer restart and the printer issue went away.
Yes, Microsoft has problems. Sure reminds me of my JVM versioning nightmares.
The kb article strongly recommends uninstalling from Add/Remove Software – but that only worked for .NET 1.1. The OS wouldn’t uninstall 2.0 or 3.0 because they were in use. It did uninstall 3.5.
So I followed the scary “method 2” and stripped all my .NET stuff away and rebooted. Scary, because .NET is XP’s 2nd brain now, so I was potentially breaking a lot of stuff.
I got lucky, no critical problems on restart. I decided to then use Windows Update to add back my .NET runtimes. It first offered me 1.1 and 2.0; I have no use for 1.1 so I just took 2.0. It then allowed me 2.0SP1. Each install took a fair amount of time.
I stopped there and tried running the LifeCam installer. I figured it would install 3.0SP1 if it needed it.
It seemed to hang again, but I figured it was installing .NET 3.0 and was using a very bad process indicator. I was willing to give it an hour, but it finished in about 30 minutes or so (I think our WAN connection is hurting).
I rebooted. Now Add/Remove showed me only .NET 2.0SP1 and .NET 3.0SP1. I didn’t bother with 3.5. Interestingly I used to also see .NET 2.0 and .NET 3.0 as separate entries, but now I only saw the SP entries.
Now I could use Microsoft’s control panel for the LifeCam. There’s a “mirror mode” setting there, I turned it off. I also set the resolution to 800x600 for what that was worth.
I then retested in Google Video Chat. Success – my correspondent reported the mirror problem had resolved.
Phew.
Oh, and yes, I think there was something evil in my .NET 3.0/SP1 install.
[1] People are very distracted by non-mirror views of themselves. We aren’t used to looking at ourselves that way. So most video conferencing clients mirror our own image. Problem, is that inverts text. The smarter video clients let users turn off self-mirror mode, but Google doesn’t allow that (not sure about iChat). The remote person never wants to see me or my whiteboard in mirror mode.
[2] Google is reselling a nice Logitech webcam for $70.
Gmail Known Issues - Help CenterThis is ridiculous, I ain't installing a registy hack that requires another registry hack to reverse.
... If you've enabled the 'Always use https' setting in Google Mail, you'll need to install a patch for the Notifier to work with this setting...... If you decide you no longer want to use the https setting, you'll need to install the other file included in the download to reset the Notifier. Use the same method as above, except with 'notifier_https_undo.reg.'