#Can I have two devices called "fan" and
1 messages ยท Page 1 of 1 (latest)
I tried setting both to have aliases of "fan" but the response is "Sorry, there are multiple devices called fan." Which, sure, makes sense.
"turn off the office fan" results in "Sorry, I am not aware of any fan in the Office area."
Any tips? ๐
have you tried aliases of 'office fan' 'bedroom fan' ?
I did, but VA still tracked "Office" as an area, so "office fan" didn't get triggered and there is no "fan" in the office area.
I guess I could do like "my office fan" and "my bedroom fan". I was hoping there was a way to have same-named devices in different areas, though. Doesn't seem very hard to write, so I'd be real disappointed if we can't. ๐ But then again, the "Delete Alias" button doesn't even work so maybe I have my sights set too high? haha
are the fans actual fan.entity_id or are they switches that turn on fans ?
They're switches.
that may be where the issue is as it will be expecting a device in that domain. What may work is to set an automation with a sentence trigger. so 'turn on bedroom fan' trigger >>action>> turn on the fan ๐ I know it's not perfect... but if it works ๐
Is there some switch-related wording I can use?
i'm not 100% up on this side of things - so there may be other ways around it. ๐ค
I dunno why it's always you that helps me, but I'm glad you do. ๐
lol .. thanks ๐
im just trying now with the fans i've got here which are also on switches
Giving them aliases "my office fan" and "my bedroom fan" also work. It's kinda lame though.
yeah as soon as I use 'sitting room fan' it's not aware of any fans
But it feels like it should, right?
I guess I could go digging around in the source code...
yes... i would expect it to check to see if there is a 'fan.entity' in the area and if there isn't then check to see if there is a device called 'fan'
I kinda wanted to make a VA version that would allow for interrupting the normal workflow via the events somehow.
or an alias with the name fan
Yeah, I expected the same.
i'm sure i've come across something similar before.. just trying to remember ... perhaps it was with lights... as none of my lights are light.entity but all classed as switches
I got pr merged that's fixing exactly this. It's in dev already, should be in next major ha update.
Oh really? So it was supposed to do that and it just had a bug? That explains things perfectly.
It was unimplemented functionality. Now, if your assist device has area assigned, it will pick device in that area, if name/alias isn't unique.
I wanted to do it badly for couple months, so I dug that in ๐
aah! Well, a man after my own heart.
I guess that frees me up to make the interruptable VA version, hehe
just found another solution ๐ In the device entity page you can click on the settings cog and change the switch to a fan... this works ๐
Well look at you...
Okay, I changed my office fan from switch to fan.
"turn on the fan" resulted in "Sorry, I couldn't understand that". "turn on the office fan" worked though.
Ah
"turn on the fan" from a VA located in the office works ๐
i guess i should change all my switches to lights too ๐คฆโโ๏ธ
Well, until this patch goes in. Then it sounds like we can use aliases.
tbh I don't really use voice for my own purposes ๐คฃ so i can live without... but should make things more organised haha
It comes in handy every now and then
i think timers are about the only thing i use regularly
I haven't used timers at all yet.
Just started my first one. Do you just say "Set a timer for [x]" or are there more advanced things you do with them?
nope thats it ... you can pause them and cancel them too .. and set multiple ones. but i've not got that advanced
Well i set a timer for a minute and a minute later... nothing happened.
I must be doing it wrong ๐
on the s3box?
Yeah. "Set a timer for one minute" resulted in "Timer started" and then nothing.
have you got on_timer_finished: in the va block and then something triggering to happen
Oh, no. I haven't looked into timers at all. So it fires of a single event when the timers up? Hm. What have you got yours wired up to do?
ive got it to call a script that flicks a switch template on and plays a single beep.mp3 whilst the switch is on , displays a page saying timer finished blah blah .. tap screen and switch goes off ..beep stops lol
Hah. Okay, well that's pretty single purpose ๐
I would want to figure out how to make it really general purpose. "Set a timer to [x]" and then it does x.
Hm... I guess if I did the word parsing myself and looked for keywords and parameters... yeah, I think you could do that.
"Set a timer for one minute to turn off the office light." and it would. I could probably wire that up.
Oh, so it's not a one-trick pony. Good.
How do you tell it to, say, turn off the office lights in one minute?
should - just say it
"set a timer for one minute to turn off the office lights" => "Sorry, I'm not aware of any device called a timer"
just "turn on office light in 1 minute"
or *off
and it should say "command recieved"
Oh, that worked
it's all good stuff ... when it works lol
your're welcome as always ๐
I got a couple of atom echos. I was gonna start fiddling with them. You put a VA on one of those yet?
i've got one i use for testing , they're ok as a mic and nice and small. speaker sucks though
Is the mic better than the Box S3?
I'm half a meter away and it only understands me half the time
my boxes work ok from up to 5m - you haven't still got the plastic screen protector on have you ?
hmmm
nope
My LED blaster only worked up to 1.5 meters, too.
I figured they were just crappy parts.
yeah ... i think the IR is a bit weak ... i noticed in the first box i had the screen over the led was quite dark and the newer one is much lighter... as if they tried to improve it by making it more transparent
Do you have a public config for your atom echo?
i think the only ones are just stock ones that i've edited to add manually without using the flasher ... https://github.com/BigBobbas/esphome_firmware/tree/main/M5 Stack Atom Echo
Thanks.
It's a wee bit bigger than mine.
sounds better though ๐
You use them as media players then?
i don't ... i just can't resist experimenting ... so was just seeing if could replace the speaker ..and yes.. you can
haha
Oh I use same speakers. ๐ they're decent.
On the aliases - I thought it would be nice to stop bothering saying "main bedroom top light", while I'm in freaking main bedroom, and say just "turn off top light", or "turn on the purifier". Hence PR.