[Updated] Presence Central

You using just your phones for each Presence ?
Assuming everyone has a phone LOL. (This was my initial issue with getting Presence to work for me because my wife refused to have a phone. I solved it by getting her a camera, which just happened to be an iPhone. LOL)

Are yours Android or iPhone ??

This has been added in version 3.4.0 (just updated)
The delays are now switchable for minutes/seconds


1 Like

For some reason, I'm not seeing the arrival delay option at all anymore. Not sure what's going on.


I've just checked the code
I've realised that I've only enabled it on 'single presence' mode.
I'll have a look at this and update it again sometime today.


Try hitting your update button :slight_smile:
(new child version)

1 Like

I'd like to use this to make announcements via @ogiewon's Alexa TTS app.

When I select "Speak a Message" as the action, all I see is my Sonos speaker. It looks like Presence Central is looking for a device with capability.musicPlayer where the Alexa child devices are defined with capability.speechSynthesis.

If I modify the child app to work with Speech Synthesis devices as well, would you accept a PR?

I’m sorry, but I don’t accept pull requests.
I will, however; look at adding a speech synth capability.


No problem. It's only a few lines of code and working great here! I'll just maintain a separate fork until you've got it done yourself.

1 Like

I have already written the code for Message Central so it won’t take me long to integrate it.


It's a bit more than "only a few lines of code" because of the different volume commands in the quiet volume setting etc.
But it's done.

Version 3.5.0 of the child uploaded to GitHub

Have a test and see if it works ok for you
It seems to work find for me :slight_smile:



So I realized the other day that my original install of Presence Central was not converted to the Cobra Apps screen. I added Presence Central to it and it didn't transfer the original settings over so now I have 2 Presence Central apps.

Unfortunately Scott when installing into Cobra Apps for the first time you will need to recreate your installation of Presence Central., then delete the old installation.


That is NOT what I wanted to read..... uggg

Do you really want to use the Cobra Apps parent container, or do you just want to have the updated version of the app? If it's the latter, the Presence Central parent app (and all of the Cobra app parent apps, not to be confused with the Cobra Apps parent app :laughing: ) have a line like parent: "Cobra:Cobra Apps" that you can just delete or comment out. That's what I've been doing to avoid needing to re-create my apps inside the parent app.

It's failing since the devices I'm sending to don't support setVolume().

[error] java.lang.IllegalArgumentException: Command 'setVolume' is not supported by device. on line 1502 (checkPresenceAgain)

What device are you using?

It's the Alexa TTS device from this thread:

Does is have any volume command or do I just need to not send a volume command?

Nope, just speak(). The capability reference doesn't list any volume-related commands for SpeechSynthesis either.

I have added an in-app switch to NOT send the volume command.
Just turn this off if you don't want to set the volume level
I can't test this correctly as I don't have the device.
Please let me know if it doesn't work for you (or if it does! :slight_smile:)

V3.6.0 of the child uploaded to github.