Pouvoir envoyer une image de caméra par message dans les scènes

Créer une nouvelle action dans les scènes « envoyer une image de caméra » qui laisse sélectionner la caméra + l’utilisateur a qui envoyer l’image

I had a bit of free time this morning so I started working on this subject.

I made a PR (which is in Draft for the moment)

The action works, I just have to do the unit tests :slight_smile:

5 Likes

Great :ok_hand:, you’re unstoppable now !!

1 Like

Here is the result:


7 Likes

It requires you to retrieve a sensor’s state change for that!

Very

1 Like

@pierre-gilles: Normally, the pull request (PR) is ready

1 Like

I’ve just left a review:

I just fixed the feedback :slight_smile:

1 Like

So cool, thanks for the quick feedback! I tested it, and it works perfectly for me :slight_smile:

I just have a small remark about the size of the action title, it doesn’t look great:

We should find a smaller title (but still clear), any ideas?

I think we can remove « par message », right?

2 Likes

Here are ChatGPT’s suggestions:

  • « Send a photo in a message »
  • « Send a camera capture in a message »
  • « Send a camera capture in a message »
  • « Send a camera capture as a message »
  • « Send camera capture in a message »
  • « Send camera capture via msg »
  • « Send cam capture via msg »
  • « Transmit a camera image in a message »
  • « Send a camera capture as a message »
  • « Share a camera photo in a message »
  • « Transfer a camera image in a message »
  • "Send a video capture in a

I agree with @guim31, « sending a camera image » is sufficient, isn’t it?

Yes, I think so too

I just pushed the changes to the PR

3 Likes

Indeed, it’s much better:

For me the PR is good, the code is good, and I tested it locally — it works perfectly :slight_smile:

Great job, it’s merged :clap:

4 Likes

This feature is available in Gladys Assistant 4.25, thanks to @Lokkye for the development :folded_hands:

I’m closing this thread; for any bug fixes I invite you to create a new thread :folded_hands:

2 Likes