HASS 0.57.2 Installed on an RPI with the AIO installer. ( I know, I need to update/switch from AIO, next project
)
For some reason HASS is now hanging and will not start. Had it working a second ago. stopped after I tried to add a “sensor 3:” entry pointing to another python script. Nothing in the logs aside from:
2017-11-29 03:14:10 WARNING (MainThread) [homeassistant.bootstrap] Python 3.4 support has been
deprecated and will be removed in the beginning of 2018. Please upgrade Python or your operat$
2017-11-29 03:14:14 WARNING (Thread-7) [homeassistant.components.emulated_hue] Alexa type is
deprecated and will be removed in a future version
2017-11-29 03:14:14 WARNING (Thread-7) [homeassistant.components.emulated_hue] Listen IP
address not specified, auto-detected address is *******
2017-11-29 03:14:23 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10
seconds.
2017-11-29 03:14:23 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform
command_line is taking over 10 seconds.
This was the way I had it setup before that worked:
sensor:
platform: dht
sensor: DHT22
pin: 7
monitored_conditions:
- temperature
- humidity
sensor2:
platform: command_line
name: fill calc
command: "ssh pi@***.***.***.*** 'python /home/somescript.py'"
unit_of_measurement: "Gal"
scan_interval: 5
For some reason, this works:
# platform: command_line
# name: fill calc
# command: "ssh pi@***.***.***.*** 'python /home/somescript.py'"
# unit_of_measurement: "Gal"
# scan_interval: 5
platform: dht
sensor: DHT22
pin: 7
monitored_conditions:
- temperature
- humidity
But commenting in the new sensor kills it. DHT22 has always worked though so that’s not the issue. I’ve tried separating the sensors with the “-” indentation, even tried retyping the commands in nano since I’ve figured out the hard way that HASS doesn’t like things pasted into it from word or chrome or the like. passwordless SSH is setup for the homeassistant user. That’s about all I could think to try for it. Looking for some tips. Thanks for the help.