Hope this is an appropriate forum. Specifically I am trying to get my Foscam FR4020A2 working on my Vera Plus
They have been working fine on my old Vera Lite which I trued to upgrade to a Vera Plus following the online instructions. Big mistake.
Anyway, having unpaired all the Z-wave devices, reset the Plus and set everything up from scratch, I have a far more reliable system than the old Lite.
The next thing is these Foscams. They worked fine on the Lite with PTZ and presets, but the wizard to add them now fails. Vera support talked me through a URL to modify so I have images, but try as I might, I can't get the rest of the functions up and running. If I fire up the Lite, and use that interface, they work just fine
So, being a bit geeky I dug around and eventually found all the devices and scenes hidden away in the /etc/cmh/user_data.json.lzo on the Lite. Copied, unpacked and compared to the version on the Plus I can see there are significant differences.
So to me the simplest thing would be to modify the Plus version to match the Lite version (obvious exceptions like device number, UUID and so on) excluded. This I have done. Recompressed it back into lzo, copied into /etc/cmh on the plus (made a backup first, obviously). On reboot, though the new version of the files has been overwritten with one matching the file before I modified it. This comes from I know not where.
So I guess either
a) The file I'm modifying is some kind of backup (I can actually see my modified one as user_data.json.lzo.2
b) It's being overwritten on boot with one from some kind of archive.
c) Something else.