![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/1d99f7cb-50e7-4994-94c4-fd23f30209b7.png)
Ah nice, you’re GPIO to generate tones with PWM. Very cool!
Ah nice, you’re GPIO to generate tones with PWM. Very cool!
Great to hear you got it sorted! May I ask out of curiosity which library you are using to play sounds?
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.
Yep, hence the preface. Just offering up an alternative to using software they’re concerned about in case they don’t know they have the option. 🙂
I’m going to assume that by the way you’re describing it, using an excel alternative is totally out of the question or simply not possible, but just in case it isn’t…
If you haven’t heard of it, check out LibreOffice.
In case it’s useful - athom on AliExpress:
athom global Store https://a.aliexpress.com/_mOtoqZ8
Be sure to click on the “All Items” tab - the home tab doesn’t show everything.
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!
Ah that’s great. It wasn’t an option when I had to get it sorted but that was a few years ago. The self-service options in the app are excellent for basic config and troubleshooting.
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.
Don’t forget the 300-comment-long “+1” feature request chains