Send command from Windows command line to HA?

Hey! I am a new user on HA.

I wonder if there is a way to send commands to HA from Windows command line? For example, send a command to enable or disable a power switch (On/Off).

/ P

hass-cli (https://www.home-assistant.io/blog/2019/02/04/introducing-home-assistant-cli/) is an option. You’ll need to install Python on the Windows machine.

Thank you Jcuccia!

I think that is what i need! :smiley:

/P

Another alternative would be to install an MQTT client on Windows. Mosquitto is the most common.

Thank you rwpalmer

I will check this out too!

/p