Thanks molano and dedi.
An update to the process now that stretch is stable release. Got this going with the following steps:
-
Install Debian Chroot from SynoCommunity
-
SSH into Synology DiskStation. Use this command to go into chroot: /var/packages/debian-chroot/scripts/start-stop-status chroot
-
cd /usr/bin/
-
I prefer nano which was thankfully available but vi should do the job (vim was not available).
nano /etc/apt/sources.list
Change all “jessie” sources to “stretch”. Thats it, no messing around with preferences. -
Installing python and pip:
a. apt-get install libpython3.5-dev
b. apt-get install python3.5
c. apt-get install python3-pip (note: no 3.5) -
Install netdisco: **python3.5 -m pip install netdisco
-
Get back to the DS SSH with: exit
-
Copy all packages:
cd /volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/
cp /usr/local/debian-chroot/var/chroottarget//usr/local/lib/python3.5/dist-packages/* . -R -
Restart home assistant /volume1/homeassistant/hass-daemon restart (assuming that’s where you put it).