now Ive move my MQTT and python files to a new networked PI
when running below command in terminal all works sshpass -p "Justj33p" ssh [email protected] python /home/homeassistant/.homeassistant/ParadoxIP150-master/IP150-MQTT.py
but when its run from command_line it failes as per below
I get errors in home assistant saying mapping values are not allowed or something of that likeness
how can i add this command to command_line switch
sshpass -p “Justj33p” ssh [email protected] python /home/homeassistant/.homeassistant/ParadoxIP150-master/IP150-MQTT.py
Provided that the terminal is using the same user and environment, it should. Which user you are running HA as will make a difference as it will have different permissions and paths.
Well my HASS is on Hassbian and my second RPI server is running raspbian but have same directories and user Pi .
I also don’t care much for permissions and I normally run sudo chmod -R a+w home dir
I know this is not probably secure but as for testing and getting things to work removing all possible permissions and making them 777 just saves that problem. So I am unsure why I can run the script from my HASS server from terminal a pythons program on my raspbian server and it works but yet the same code run under switch command_line failed