ISS binary sensors

Hi

Looking for some help. Im not sure how this could go wrong… but it has.
Trying to get the IIS data into my Home Assistant, and its not going well.
As per the ISS component page, ive literally only entered the two lines to get it working:

binary_sensor:
  - platform: iss

I get this error on startup:

17-02-10 21:22:32 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up platform iss
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py", line 382, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.5/http/client.py", line 1197, in getresponse
    response.begin()
  File "/usr/lib/python3.5/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.5/http/client.py", line 258, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.5/socket.py", line 575, in readinto
    return self._sock.recv_into(b)
socket.timeout: timed out

I dont have any other binary sensors

Ubuntu 16.04, HASS 0.37.1.
No other errors

Anyone have any ideas where to start looking? I dont know Python, or maybe id have a poke in the files in the error

Thanks

Side note:

sensor:

  • platform: iss

DOES work… but since its being deprecated, not really an option

The sensor seems to works for me on dev.

binary_sensor:
  - platform: iss
    show_on_map: True

Can you check if that works for you?

home-assistant]$ python3
>>> import pyiss
>>> station = pyiss.ISS()
>>> print(station.current_location())

Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import pyiss
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named ‘pyiss’

Where do i get the module?

google was my friend.

After installing the module with pip, I was able to run it and get the iss location.

Thanks for the help :slight_smile: