Issues with switchbot

I have recently installed a switchbot to control my central heating, but I’m getting multiple failures when the automation fires.

I get two things pop up in the logs, one for switchmate, and one for switchbot.

Can anyone shed any light on this?

Here are the logs for it:
Log Details (ERROR)
Tue Jan 15 2019 09:00:05 GMT+0000 (Greenwich Mean Time)

Failed to connect to switchmate
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/switchbot/__init__.py", line 48, in _sendpacket
    hand.write(binascii.a2b_hex(key))
  File "/usr/local/lib/python3.6/site-packages/bluepy/btle.py", line 163, in write
    return self.peripheral.writeCharacteristic(self.valHandle, val, withResponse)
  File "/usr/local/lib/python3.6/site-packages/bluepy/btle.py", line 502, in writeCharacteristic
    return self._getResp('wr')
  File "/usr/local/lib/python3.6/site-packages/bluepy/btle.py", line 369, in _getResp
    resp = self._waitResp(wantType + ['ntfy', 'ind'], timeout)
  File "/usr/local/lib/python3.6/site-packages/bluepy/btle.py", line 326, in _waitResp
    raise BTLEException(BTLEException.DISCONNECTED, "Device disconnected")
bluepy.btle.BTLEException: Device disconnected

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/switchbot/__init__.py", line 36, in _connect
    bluepy.btle.ADDR_TYPE_RANDOM)
  File "/usr/local/lib/python3.6/site-packages/bluepy/btle.py", line 353, in __init__
    self._connect(deviceAddr, addrType, iface)
  File "/usr/local/lib/python3.6/site-packages/bluepy/btle.py", line 402, in _connect
    "Failed to connect to peripheral %s, addr type: %s" % (addr, addrType))
bluepy.btle.BTLEException: Failed to connect to peripheral FE:F9:C3:5F:8F:F6, addr type: random

Log Details (ERROR)
Tue Jan 15 2019 09:00:05 GMT+0000 (Greenwich Mean Time)

Cannot connect to switchbot.
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/switchbot/__init__.py", line 48, in _sendpacket
    hand.write(binascii.a2b_hex(key))
  File "/usr/local/lib/python3.6/site-packages/bluepy/btle.py", line 163, in write
    return self.peripheral.writeCharacteristic(self.valHandle, val, withResponse)
  File "/usr/local/lib/python3.6/site-packages/bluepy/btle.py", line 502, in writeCharacteristic
    return self._getResp('wr')
  File "/usr/local/lib/python3.6/site-packages/bluepy/btle.py", line 369, in _getResp
    resp = self._waitResp(wantType + ['ntfy', 'ind'], timeout)
  File "/usr/local/lib/python3.6/site-packages/bluepy/btle.py", line 326, in _waitResp
    raise BTLEException(BTLEException.DISCONNECTED, "Device disconnected")
bluepy.btle.BTLEException: Device disconnected

Did you manage to get it working? Mine keeps disconnecting as well?

No - gave up on it. It’s in the ever growing pile of home automation tech that needs putting on eBay!