I’ll give it a try tomorrow again when I have time.
Is there any way to get if camera is in use? That would be great.
I will try to look into it
I downloaded this one:
And it works, but now the wifi SSID is not there, perhaps it takes some time to update Never mind, I was connected with cable.
@Hellis81 ew Release with camera sensor you requested
@tom_l what about you did never version reports temperature correctly ?
I went back to using Hass Agent.
Understood thank! you for your time you dedicated to try my crappy companion app
Nice.
I tried it but I only managed to get it true once.
Most of the time it sits in false.
One thing I noticed is that I got a popup when it worked. There was a message that I believe was something like camera something like this one:
And as long as the popup was open the states did not change, but as soon as I clicked OK then it updated all sensors including camera.
I can’t see anything in the log that indicates an error.
Would it be possible to save the URL and token external? Every time I replace the exe I need to generate a new token. For me a txt file with them would be enough but I understand that is not “safe”.
Oh my bad it is debug popup
i will try to find what is an issue with Settings threw
@Hellis81 Version with popups disabled Release 0.0.1-alfa-4 · GamerClassN7/HA_Desktop_Companion · GitHub
how ever regarding setting it is so called SECURITY Feature inside .NET in case to transit it between Versions i would need to rewrite basically core functionality of .NET (maybe in feature)
After resolving those start issues i will not update app so frequently
I understand that. It was just a thought on how to make the update process easy both for you and us.
Anyways it works when I use the camera app on the computer but when in Teams it does not.
Teams:
Camera app:
Teams are using separate API for some reason I uploaded fix.
now it should talk directly to Web cam Driver if is Powered on
Just from curiosity what is your OS language ?
Also what integration are you planning with camera ?
That did it!
Thank you so much.
The OS is in Swedish.
I will use the camera entity on all my TTS message automations.
When I work from home it has happened more than once that an announcement steals the attention of the meeting.
So if my camera is on then don’t do the TTS message, send it as a notification or mail or something.
Or just delay it until the camera is switched off.
Nice
i added right away
so you can supers TTS only if Mic is in use
That’s a good addition.
But generally I have camera on when on a meeting. it’s more likely that I don’t have the camera on at work.
Is there any reason why you use sensors instead of binary sensors on the true/false values?
That is just how thinks work in my Library Right now Fill change it as you suggest next week would be possible to send me you automation template or blueprint ? i would use it ass well also i plan to implement location based on your IP location as optional sensor yo you could combine sensor location and teams meeting together
Sure when I have done it I can post the automation.
I don’t think we need IP based location. We have the phone location, and we have the SSID tracker of the computer.
Unless you have the same SSID name home and at work then that should be enough to know if you are working from home or at work.
So this is one of my automations that has been bothering me.
It TTS that the washing machine is done, and if I have not opened the washing machine within five minutes it repeats itself until we take care of the wet clothes.
I tried to trigger the automation when the camera was in use and it didn’t speak until I had turned off the camera.
Lovely!
alias: Washing machine done
description: ""
trigger:
- platform: numeric_state
entity_id: sensor.washing_machine_program_progress
above: "99"
- platform: state
entity_id: sensor.washing_machine_operation_state
from: Run
to: Finished
- platform: state
entity_id: sensor.washing_machine_operation_state
from: Run
to: Ready
condition: []
action:
- if:
- condition: state
entity_id: binary_sensor.axlt2801_camera_in_use
state: "on"
then:
- wait_for_trigger:
- platform: state
entity_id:
- binary_sensor.axlt2801_camera_in_use
to: "off"
continue_on_timeout: false
else: []
- service: tts.cloud_say
data:
entity_id: media_player.hela_huset
message: "{{ states('sensor.washing_machine_tts') }}"
language: sv-SE
- repeat:
while:
- condition: or
conditions:
- condition: state
entity_id: binary_sensor.washing_machine_door
state: "off"
- condition: state
entity_id: sensor.washing_machine_program_progress
state: "100"
sequence:
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- choose:
- conditions:
- condition: and
conditions:
- condition: state
entity_id: binary_sensor.washing_machine_door
state: "off"
- condition: state
entity_id: sensor.washing_machine_program_progress
state: "100"
sequence:
- service: tts.cloud_say
data:
entity_id: media_player.hela_huset
message: >-
"{{ states('sensor.washing_machine_tts') }} och luckan är
fortfarande stängd."
language: sv-SE
- service: homeassistant.update_entity
target:
entity_id: sensor.washing_machine_json
data: {}
default: []
mode: single
just tested mic integration with teams call working flawlessly nice
what are you using for Washer integration ?
I’m using Home connect.
I’m about evaluating the Home connect Alternative integration, a HACS integration.
The native integration (or API) has some issues with updating and that is the reason for the multiple triggers.
so it is natively supported by your washer ? would you mind sharing precise model ?