H
HASS.Agentโ€ข4mo ago
Evostance

Powershell Command not running

Hey, I have a PS command like so, this works via PS directly. I can see the request in MQTT Explorer, but it doesn't seem to trigger via the agent and im not sur ewhy. Any ideas?
No description
Solution:
Nice, thank you, will include it as part of full 2.1.1
Jump to solution
13 Replies
Amadeo
Amadeoโ€ข3mo ago
waaaait we had that conversation at some point I'm like 100% sure ๐Ÿ˜„
DrR0x
DrR0xโ€ข3mo ago
Still broken @Evostance?
Evostance
EvostanceOPโ€ข3mo ago
Yup Yep we did lol. Nothing has changed on the agent side lol Nothing changed in HA either ๐Ÿ˜‚ Although I did update it but shouldnt matter
DrR0x
DrR0xโ€ข3mo ago
Try the following: - Enable extended logging in settings and restart, upload logs after you try command a few times. - Add a new PS command with ii . and test that one, it should open filexp
Evostance
EvostanceOPโ€ข3mo ago
Alright, I'll do it when back on pc
Amadeo
Amadeoโ€ข3mo ago
hmm if memory serves me right I even have a test branch with fix for this but can't recall why I didn't do anything with it O.o I'll try to check tmrw after work sooo found a branch called "fix-pscommand-encoding" and this works
Switch-Desktop -Desktop "Test 123"
Switch-Desktop -Desktop "Test 123"
I'll create a test build and post here in some time
Amadeo
Amadeoโ€ข3mo ago
GitHub
Release 2.1.1-beta2-pscommandencoding ยท amadeo-alex/HASS.Agent
Please do not download files from this "release" It's only purpose is to provide unstable testing for insiders/issue reporters. Unless explicitly instructed by the developers, please ...
Amadeo
Amadeoโ€ข3mo ago
please feel free to try ๐Ÿ˜„ as always, backup config please
Evostance
EvostanceOPโ€ข3mo ago
Oh wow, totally forgot to check back on this! I'll give it a go @Amadeo - Yep, that worked perfectly!
Solution
Amadeo
Amadeoโ€ข3mo ago
Nice, thank you, will include it as part of full 2.1.1
Amadeo
Amadeoโ€ข2mo ago
@Evostance I have a feeling that I've already asked but do you have a GH account?
Evostance
EvostanceOPโ€ข2mo ago
Yep!
Amadeo
Amadeoโ€ข2mo ago
gib ๐Ÿ˜„ I wanna credit you for the issue report

Did you find this page helpful?