Hello,
I got a comet POE devise and an ATx Board.
Is there any way to have home assisant to use thz atx board? I am rttrying to use an SSH command but I home assistant doesn’t accept the ssh key.
Regards,
Hello,
I got a comet POE devise and an ATx Board.
Is there any way to have home assisant to use thz atx board? I am rttrying to use an SSH command but I home assistant doesn’t accept the ssh key.
Regards,
You need to connect to KVM via SSH to control ATX. If you encounter SSH key issues, please review the Home Assistant SSH integration requirements or refer to the Home Assistant documentation for proper SSH key configuration.
I did. I have switch with this config:
switch:
unique_id: "AI-Glinet"
name: "AI-GliNet"
command_on: sshpass -p '' ssh -o StrictHostKeyChecking=no root@192.168.. 'atxpower /dev/ttyACM0 power_on'
command_off: sshpass -p '' ssh -o StrictHostKeyChecking=no root@192.168.. 'atxpower /dev/ttyACM0 power_off'
command_state: ping 192.168.****.** -w 1
icon: mdi:server
The command “sshpass -p '' ssh -o StrictHostKeyChecking=no root@192.168.. 'atxpower /dev/ttyACM0 power_off” works from the ssh on home assistant. But not on the switch.
I was wondering if I was missing something from the Comet?
Is that all codes ?
This config seems some YAML syntax issues. Terminal can execute commands directly, the YAML formatting rules must be strictly followed in the YAML configuration file.
Thank you. Infact its just that I did not copy the formating of the switch when answering. Home assistant accept the effective config.
Hi,
I found de solution it was a problem with the key I used being with permission 644. I changed it to permission 600 and it now works.
Thank you.