Many thanks so far and good to know that you have the same pir’s so we know for sure it should be possible to get it up and running…the cd home-assistant
is very helpfull, but still not working.
Home Assistant is installed in a virtual Python environment in my case (see https://home-assistant.io/docs/hassbian/installation/) could this be the reason that these instructions don’t work in my case? Any advice?
The steps I followed were:
cd
git clone https://github.com/y-pollart/home-assistant
cd home-assistant
git checkout rfxtrx-binary-sensor
→ results:
Branch rfxtrx-binary-sensor set up to track remote branch rfxtrx-binary-sensor from origin.
Switched to a new branch ‘rfxtrx-binary-sensor’
Next need to find where HASS is installed via
sudo find / -name homeassistant
→ results:
/srv/homeassistant/
Stopped home-assistant via user interface and copied files:
sudo cp ~/home-assistant/homeassistant/components/rfxtrx.py /srv/homeassistant/lib/python3.4/site-packages/homeassistant/components
sudo cp ~/home-assistant/homeassistant/components/binary_sensor/rfxtrx.py /srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/binary_sensor
No feedback, so this worked…
To be sure:
cleaned configuration.yaml to minimum
sudo reboot
Results:
2017-06-13 20:29:35 ERROR (MainThread) [homeassistant.loader] Unable to find component binary_senor
Did several attempts with variations in the configuration.yaml
binary_senor: #nor switch, nor sensor it didn't do the trick.. platform: rfxtrx automatic_add: True devices: 09130000849826019180: name: motion_room1 sensor_class: motion off_delay: 5