• 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle



  • It should be possible, but the answer is going to depend on your implementation, what libraries you are using, and so on.

    For example, if the play sound action is synchronous, then maybe you could start it up in another thread, and interrupt that thread if you want to cancel the sound.

    If it’s asynchronous, maybe you need to retain a reference to the sound object and then invoke a stop() call when the other button is pressed.





  • Hola :)

    I’m not sure how many boxes it ticks off for you, but I’ve been trying to get away from Tuya gear and a friend put me on to “Athom”. Most (all?) of their stuff seems to come pre-flashed with Tasmota and with what I’ve had, it integrates nicely with home assistant (mqtt + tasmota plugin, config the globe and you’re good to go).

    I’ve just gotten two of their 15W led globes plus a WS2812 addressable LED controller a few weeks ago, and so far so good with all of the above.

    From what I’ve seen I’m pretty sure they have plugs/sockets for a few different countries available, they have in-wall stuff, smart light switches, relays, and pretty sure they do some zigbee or similar as well.

    I picked mine up from Ali Express but I’ve seen them on Amazon and they’re probably available on other places as well (eBay, etc).

    Best of luck!



  • I have AussieBB and had to give them a call at one point to allow inbound traffic so I could expose my self-hosted server. They flicked a switch for my account and then everything came good.

    If you give them a ring and explain what you’re trying to do it should get sorted out very quickly. Their customer service staff are very knowledgeable and friendly - they’re the best RSP I’ve ever had.