Gladys Assistant 4.33: Merry Christmas to all šŸŽ„

Hello everyone!

This is the last release of the year, I present to you Gladys Assistant 4.33 :santa_claus:

On the agenda, a bunch of fixes and above all a feature everyone was waiting for: the ability to make Gladys speak :speaking_head::speaker_low_volume:

This is a first alpha, and I’m really happy with the result: Gladys speaks in any language, with a smooth (and feminine!) voice, which took me a long time to choose :slight_smile:

This feature is available via Gladys Plus only, because the TTS API I use is paid.

I’m offering it for now at no extra cost during the alpha (I’ll check the bill at the end of the month and decide), I set a limit of 200 voices generated per month per account to avoid unpleasant surprises on the bill.

If you ever reach the limit, tell me — I can reset it without problems or change it if it makes economic sense.

This feature only runs on Sonos for now since we only manage Sonos speakers, but I’m not opposed to adding it to other speaker brands if they have an API that allows it :slight_smile:

It’s an alpha so be indulgent if it’s not perfect :wink:

Note: If you have already added your Sonos speaker to Gladys, you need to remove it and add it again (in Gladys) to create the new feature on the device!

Improvements/fixes

  • Sensor states purge now happens at 4:00 AM instead of at minute 4 of every hour due to an error in the CRON!
  • Zigbee2mqtt: The Ā« child lock Ā» is now functional :slight_smile:
  • Zigbee2mqtt: Handling of raw Ā« illuminance Ā» (not in lux) for devices that report it
  • Documentation: Added a link to all documentations for each integration, and fixed a crash on the Philips Hue page
  • Added precise error messages in the interface and attempted fix for a tablet disconnecting in locked alarm mode (your bug @spenceur)

Thanks to @Brisou, @AlexTrovato and @_Will_71 for their contribution in this release :raising_hands:

The full CHANGELOG is available here.

A quick word before Christmas

Today was my last Gladys day before Christmas :slight_smile: I’m at a freelance client for the rest of the week, and then at the end of the week I’ll shut my laptop down until January 2.

I’ll be back to Gladys on Friday, January 5.

In case of absolute emergency, I’m available this week if 4.33 introduces critical bugs. I’ll take the time the next evenings to check for reports.

For improvements / new features, that will be in January :slight_smile:

Happy holidays to everyone :christmas_tree:

Replay of Sunday’s live coding

For those who missed it, the replay of my live coding Ā« A Z-Wave integration in one day Ā» is available on YouTube → https://www.youtube.com/watch?v=f6mWvy2kWSs&t=461s

Thanks to those who accompanied me during this 7.5-hour live!!

How to update?

If you installed Gladys with the official Raspberry Pi OS image, your instances will update automatically within the next hours. This can take up to 24h, don’t panic.

If you installed Gladys with Docker, make sure you are using Watchtower (See the documentation)

13 Likes

Happy holidays to you too :partying_face:

1 Like

Thanks for all that, can’t wait to tell my kids to sit properly at the table via Sonos hahaha !

Merry Christmas :christmas_tree:

4 Likes

I highlighted the TTS feature on Twitter and Reddit!

Twitter: https://twitter.com/pierregillesl/status/1736790862615421305

Reddit on /smarthome: https://www.reddit.com/r/smarthome/comments/18ldjst/finally_my_own_jarvis_at_home/

Don’t hesitate to support!!

1 Like

[quote="Philou,

2 Likes

@pierre-gilles
I don’t have a Sonos yet, can I resell my 200 messages? :roll_eyes: :man_running:
Well, there’s still time to order :santa: a Sonos One for Christmas! :blush:

Yes I really recommend these speakers, insane quality and powerful sound. The quality/price ratio is really great, especially if

5 Likes

That’s funny, I listened with the monitor’s speakers and I thought I heard in the distance Ā« who’s that f… English woman you’re talking to??? Ā» It’s true the sound is good!!! :santa: :rofl: :rofl: :rofl:

1 Like

Great job, I don’t have a speaker but it really looks great in the video!

Out of curiosity, which API are you using for the TTS (text-to-speech)? OpenAI’s, like for the chat?

No, OpenAI’s worked really well in English but not very well in French.

I went with ElevenLabs, they’re the leaders in AI-generated voice :slight_smile: For the most part, the Ā« mastodons Ā» (AWS, Google Cloud) seem a bit behind on the subject, I think — the rapid advances in AI over the past few months haven’t yet been reflected in their TTS

1 Like

Related information if you have a little time:

And happy holidays to everyone.

2 Likes

@pierre-gilles
Concretely, a text is sent and it returns an audio file that just needs to be broadcast, is that right?

The most basic option would be to use the local jack port, to allow using a non-connected speaker :slight_smile:

Happy holidays to everyone, enjoy!

I see the TTS credits I prepaid are melting away like snow in the sun :joy:

That’s cool, it means the feature is popular!!

If it ever cuts out at some point, it might be because I’ll need to move to a higher plan, so don’t panic ^^

Why not, but I’m a bit skeptical about that use — who would actually do that in their connected home?

That already means the Gladys box would have to be where the speaker is located, that multi-room isn’t possible, and that the speaker connected to Gladys would have to be truly dedicated to voice only (no music).

I get the feeling it’s a bit of a hack that’s not great and won’t really be used :sweat_smile: From experience, for example on a Pi, the jack port is really not good and the sound will be very weak unless it’s a speaker with a whole amplifier.

Edit: Shared on LinkedIn

2 Likes

@pierre-gilles

But…But…But…Who took my share ??? :japanese_ogre:

It’s true that this shows it’s a requested feature, but ideally it would be to have an offline solution — would it be possible later to see if Gladys could be interfaced and run with containers designed for that, like for Node-RED?

TTS

Speech recognition
https://korben.info/whisper-interface.html

Otherwise, in case I forget or a meteorite falls on me Ā« Merry Christmas and happy end-of-year holidays to everyone, hoping that 2024 will be richer in announcements on the Gladys side and in number of users! Ā»

We could connect a Bluetooth transmitter to it, to hook up a speaker of the same name (even more DIY, but it’s true that I thought about it) while waiting for Sonos.
Happy end-of-year holidays to everyone :wink:

[quote="cce

And to think I didn’t take the time to implement it ^^’

I’ll certainly drop by when I have time for this new action

I think it’s the initial excitement. Ā« Yay, a new toy! Ā» but as soon as my wife tells me, Ā« Okay, isn’t that enough of your nonsense? Ā» from having to hear Ā« oh dear, that cat… Ā» every time

1 Like

There are less resource-hungry solutions… :roll_eyes: :innocent:

https://hub.docker.com/r/alphacep/kaldi-vosk-server

it would be really nice to have voice on Gladys in 2024! :christmas_tree: