Syntox
Syntox
HHASS.Agent
Created by Syntox on 5/24/2024 in #💬・get-help
Get discord mute status
Sounds great! Thanks
22 replies
HHASS.Agent
Created by Syntox on 5/24/2024 in #💬・get-help
Get discord mute status
Exactly!
22 replies
HHASS.Agent
Created by Syntox on 5/24/2024 in #💬・get-help
Get discord mute status
I'm aware of the Powershell sensor but I would like to have near instant updates. Authorising to discord or writing to a file every second doesn't seem viable to me. Guess I'll add the sensor via mqtt directly. Thanks for your time anyways
22 replies
HHASS.Agent
Created by Syntox on 5/24/2024 in #💬・get-help
Get discord mute status
Sorry, I somehow didn't got pinged and forgot about it. The only local way I found is using the RPC API of the discord client which uses a websocket connection accessible through the loopback interface for example. But I agree that this isn't in the scope HASS.Agent. However, would it be possible for HASS.Agent to provide some sort of local API so custom scripts can be easily hooked up? I am not familiar, if or how this could be done in windows / C# but this is one way I could imagine it: 1. Create custom sensor in UI (maybe with configurable default value) 2. Call endpoint (.dll or something else idk) from custom script and pass sensor name and sensor value to it This would provide a generalised and easy way to integrate custom sensors that don't fit into the concept of HASS.Agent while still providing support for them.
22 replies
SIASapphire - Imagine a framework
Created by Jesse on 4/4/2023 in #sapphire-support
unknown interaction error
Had the same issue. I accidentally still had the bot running in an old terminal, which lead to one of the instances respond to the command just fine and the other one responding to an already finished command.
12 replies