A Neo CoolCam SOS keyfob device just turned up here from China.
First I tried as a test, to add the device to the Ezlo Plus that didn’t go well see here.
No down to business on my production Vera Plus hub running Vera firmware !
The device was added as a Generic IO device with on / off buttons, so not a good start.
I then changed the following items in the devices Advanced - Params tab:
device_type
From: urn:schemas-micasaverde-com:device:GenericIO:1
To: urn:schemas-micasaverde-com:device:SceneController:1
device_file
From: D_GenericIO1.xml
To: D_SceneController1.xml
device_json
From: D_GenericIO1.json
To: D_CentralSceneController1.json
category_num
From: 11
To: 9
subcategory_num
No change remains as: 0
The device then looks like this instead:
I then noticed that a child device had also been created as a motion sensor device.
The red SOS button is actually tripping the child motion sensor device.
So these are how the buttons map to the button numbers in Vera
Looking at the “Parent” device and the “Select Scenes for device buttons”
I then saw this:
There are 4 buttons on the keyfob, however enter 3 and click the Save button.
I then saw this:
I then assigned some of my existing Toggle scenes as a test:
After reloading the Luup Engine and pressing the buttons on the keyfob the scenes do run OK.
Note: When you press a button on the keyfob a red LED lights up and the keyfob also bleeps.
So what to do with the SOS button? I have already setup a “Panic Button” scene, so I renamed the motion sensor child device.
And in my “Panic Button” scene I added this motion sensor as the trigger to run the scene etc.
Now where is the battery indicator icon ?
Looking in the parent devices Advanced - Variables tab, I could not see any BatteryLevel variable. So I rebooted Vera from the Settings - Net & Wifi menu. After Vera had rebooted and after refreshing the web browser, the parent device and the child device were still not showing a battery level indicator.
And looking in the parent devices Advanced - Variables tab, I still could not see any BatteryLevel variable.
So let add one, in the parent devices Advanced - New Service tab, add a new variable.
New Service: urn:micasaverde-com:serviceId:HaDevice1
New Variable: BatteryLevel
New Value: 0
Click the “Add” button and then the “Reload Engine” button.
The parent device then looked like this:
So can we now poll the keyfob to get the current battery level ?
In the parent device go to Advanced - Commands tab and press the “Poll Now” button then press the SOS button on the keyfob 3 times quickly.
It should say it has successfully polled the device.
If this is correct then the supplied battery is already very low ?
I did purchase already a spare battery as they are an unusual not readily available battery type CR3032 and I wasn’t sure if the keyfob would come supplied with a battery or not.
I put in the new battery and reloaded the Luup Engine and now its showing as 100%
Testing the supplied battery with a battery tester, it is showing as full power so maybe its still good.