Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpliSafe integration: simplipy.errors.InvalidCredentialsError: User does not have permission to access ss3/subscriptions/.... #38624

Closed
myoung34 opened this issue Aug 7, 2020 · 11 comments · Fixed by #38812

Comments

@myoung34
Copy link

myoung34 commented Aug 7, 2020

The problem

I added the simplisafe integration successfully, but no UI options are available.
Looking at the logs there's an error:

Log Details (ERROR)
Logger: homeassistant.config_entries
Source: components/simplisafe/__init__.py:484
First occurred: 6:55:39 AM (1 occurrences)
Last logged: 6:55:39 AM

Error setting up entry [email protected] for simplisafe
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 219, in async_setup
    result = await component.async_setup_entry(  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/simplisafe/__init__.py", line 246, in async_setup_entry
    await simplisafe.async_init()
  File "/usr/src/homeassistant/homeassistant/components/simplisafe/__init__.py", line 484, in async_init
    self.systems = await self._api.get_systems()
  File "/usr/local/lib/python3.8/site-packages/simplipy/api.py", line 256, in get_systems
    await system.update(include_system=False)
  File "/usr/local/lib/python3.8/site-packages/simplipy/system/__init__.py", line 518, in update
    raise result
  File "/usr/local/lib/python3.8/site-packages/simplipy/system/v3.py", line 268, in _get_settings
    settings_resp: dict = await self._request(
  File "/usr/local/lib/python3.8/site-packages/simplipy/api.py", line 324, in request
    raise InvalidCredentialsError(
simplipy.errors.InvalidCredentialsError: User does not have permission to access ss3/subscriptions/3654163/settings/normal

Environment

  • Home Assistant Core release with the issue: 0.113.1
  • Last working Home Assistant Core release (if known):
  • Operating environment (OS/Container/Supervised/Core): nomad 0.10.2 + homeassistant/home-assistant:latest
  • Integration causing this issue: simplisafe
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/simplisafe

Problem-relevant configuration.yaml

Traceback/Error logs

see above

Additional information

@bachya
Copy link
Contributor

bachya commented Aug 7, 2020

Which SimpliSafe plan do you have (Standard or Interactive)? Does this occur immediately after adding SimpliSafe to HASS (I assume you’re doing it via the UI) or at some point after?

@myoung34
Copy link
Author

myoung34 commented Aug 7, 2020

Camera only plan, immediate

@probot-home-assistant
Copy link

Hey there @bachya, mind taking a look at this issue as its been labeled with an integration (simplisafe) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

@bachya
Copy link
Contributor

bachya commented Aug 7, 2020

@myoung34 Not sure what you mean by "camera only plan" – that isn't a plan that SimpliSafe lists:

Screen Shot 2020-08-07 at 10 51 49 AM

@myoung34
Copy link
Author

myoung34 commented Aug 7, 2020

They offer a camera plan thats unmonitored (local monitoring, so itll set off the noise alarm but not call out to a monitoring service)

The camera plan is $10/mo for up to 5 cams through their app: https://simplisafe.com/blog/simplicam-integration

@bachya
Copy link
Contributor

bachya commented Aug 7, 2020

Hmm, okay. For awareness, this integration doesn't support the cameras in any way (because my underlying library doesn't support them).

It's possible that this camera-only plan is a subset of the Standard plan. After I implemented MFA support in #38097, I had a suspicion that we might not have covered the entire use case.

To debug further, please do the following:

  1. Remove your SimpliSafe integration from the HASS UI.
  2. In your configuration.yaml, please modify the logger component so that it returns DEBUG-level logs for both the integration and the library:
logger:
  default: error
  logs:
    homeassistant.components.simplisafe: debug
    simplipy: debug
  1. Start up HASS again and attempt to re-add the SimpliSafe integration.
  2. Go through any logs related to homeassistant.components.simplisafe and simplipy, remove any sensitive information (IDs, etc.), and then paste that here.

@myoung34
Copy link
Author

myoung34 commented Aug 10, 2020

simplipy logs:

$ sudo cat /opt/homeassistant/home-assistant.log | grep -Ei 'simplisafe'
2020-08-10 08:48:56 DEBUG (MainThread) [simplipy.api] Authentication payload: {'grant_type': 'password', 'username': 'redact', 'password': 'redact', 'client_id': '-766d-4943-a302-8a7b9fa7dfb0.WebApp.simplisafe.com', 'device_id': 'WebApp; useragent="Safari 13.1 (SS-ID: 11111-DI3MT) / macOS 10.15.6"; uuid="1111112-766d-4943-a302-8a7b9fa7dfb0"; id="11111-DI3MT"', 'app_version': '1.62.0', 'scope': 'offline_access'}
2020-08-10 08:48:57 DEBUG (MainThread) [simplipy.api] Data received from /api/token: {'access_token': 'redact', 'refresh_token': 'redact', 'expires_in': 3600, 'scopes': [redact], 'token_type': 'Bearer'}
2020-08-10 08:48:57 DEBUG (MainThread) [simplipy.api] Data received from /api/authCheck: {'userId': redact, 'isAdmin': False}
2020-08-10 08:48:57 DEBUG (MainThread) [simplipy.api] Authentication payload: {'grant_type': 'refresh_token', 'client_id': '1111112-766d-4943-a302-8a7b9fa7dfb0', 'refresh_token': 'redact'}
2020-08-10 08:48:57 DEBUG (MainThread) [simplipy.api] Data received from /api/token: {'access_token': 'redact', 'refresh_token': 'redact', 'expires_in': 3600, 'token_type': 'Bearer'}
2020-08-10 08:48:57 DEBUG (MainThread) [simplipy.api] Data received from /api/authCheck: {'userId': redact, 'isAdmin': False}
2020-08-10 08:48:57 DEBUG (MainThread) [simplipy.api] Data received from /users/redact/subscriptions: {'subscriptions': [{'uid': redact, 'sid': 3654164, 'sStatus': 20, 'activated': 1591309298, 'planSku': 'SSEDCMU', 'planName': 'Recording for all cameras', 'price': 9.99, 'currency': 'USD', 'country': 'US', 'expires': 1602599568, 'canceled': 1594409562, 'extraTime': 0, 'creditCard': {'lastFour': '', 'type': ''}, 'time': 2628000, 'paymentProfileId': '1749594294', 'features': {'monitoring': False, 'alerts': False, 'online': False, 'hazard': False, 'video': True, 'cameras': 10, 'dispatch': False, 'proInstall': False, 'discount': 0, 'vipCS': False, 'medical': False, 'careVisit': False, 'storageDays': 30}, 'status': {'hasBaseStation': True, 'isActive': True, 'monitoring': 'Active'}, 'subscriptionFeatures': {'monitoredSensorsTypes': [], 'monitoredPanicConditions': [], 'dispatchTypes': [], 'remoteControl': [], 'cameraFeatures': {'liveView': True, 'maxRecordingCameras': 10, 'recordingStorageDays': 30, 'videoVerification': False}, 'support': {'level': 'Basic', 'annualVisit': False, 'professionalInstall': False}, 'cellCommunicationBackup': False, 'alertChannels': ['Push'], 'alertTypes': ['Camera'], 'alarmModes': ['Alarm', 'Disabled'], 'supportedIntegrations': []}, 'location': {'sid': 3654164, 'uid': redact, 'lStatus': 10, 'account': 'redact', 'street1': 'redact Ln', 'street2': '', 'locationName': 'Home', 'city': 'redact', 'county': 'DAVIDSON', 'state': 'TN', 'zip': '11111', 'country': 'US', 'crossStreet': '', 'notes': '', 'residenceType': 2, 'numAdults': 0, 'numChildren': 0, 'locationOffset': -300, 'safeWord': 'radical', 'signature': 'Marcus Young', 'timeZone': 1, 'primaryContacts': [{'name': 'Marcus Young', 'phone': '111111111'}, {'name': '', 'phone': ''}], 'secondaryContacts': [{'name': '', 'phone': ''}, {'name': '', 'phone': ''}, {'name': '', 'phone': ''}, {'name': '', 'phone': ''}, {'name': '', 'phone': ''}], 'copsOptIn': False, 'certificateUri': 'https://simplisafe.com/account2/redact/alarm-certificate/3654164', 'nestStructureId': '', 'system': {'serial': 'redact', 'alarmState': 'OFF', 'alarmStateTimestamp': 1595127064, 'isAlarming': False, 'version': 3, 'capabilities': {'setWifiOverCell': True, 'setDoorbellChimeVolume': True, 'outdoorBattCamera': True}, 'temperature': None, 'exitDelayRemaining': 60, 'cameras': [{'staleSettingsTypes': [], 'upgradeWhitelisted': False, 'model': 'SS002', 'uuid': '2dc1b3b703ec685f474e50f8500e7104', 'uid': redact, 'sid': 3654164, 'cameraSettings': {'cameraName': 'Front Door', 'pictureQuality': '720p', 'nightVision': 'auto', 'statusLight': 'on', 'micSensitivity': 100, 'micEnable': True, 'speakerVolume': 75, 'motionSensitivity': 50, 'shutterHome': 'open', 'shutterAway': 'open', 'shutterOff': 'open', 'wifiSsid': 'FBI Van', 'canStream': False, 'canRecord': False, 'pirEnable': True, 'vaEnable': True, 'notificationsEnable': True, 'enableDoorbellNotification': True, 'doorbellChimeVolume': 'off', 'privacyEnable': False, 'hdr': True, 'vaZoningEnable': False, 'vaZoningRows': 0, 'vaZoningCols': 0, 'vaZoningMask': [], 'maxDigitalZoom': 10, 'supportedResolutions': ['480p', '720p', '1080p'], 'admin': {'IRLED': 0, 'pirSens': 0, 'statusLEDState': 1, 'lux': 'lowLux', 'motionDetectionEnabled': False, 'motionThresholdZero': 0, 'motionThresholdOne': 10000, 'levelChangeDelayZero': 30, 'levelChangeDelayOne': 10, 'audioDetectionEnabled': False, 'audioChannelNum': 2, 'audioSampleRate': 16000, 'audioChunkBytes': 2048, 'audioSampleFormat': 3, 'audioSensitivity': 50, 'audioThreshold': 50, 'audioDirection': 0, 'bitRate': 284, 'longPress': 2000, 'kframe': 1, 'gopLength': 50, 'idr': 1, 'fps': 20, 'firmwareVersion': '2.6.1.154', 'netConfigVersion': '', 'camAgentVersion': '', 'lastLogin': 1597066975, 'lastLogout': 1597066720, 'pirSampleRateMs': 800, 'pirHysteresisHigh': 2, 'pirHysteresisLow': 10, 'pirFilterCoefficient': 1, 'logEnabled': True, 'logLevel': 3, 'logQDepth': 20, 'firmwareGroup': 'public', 'irOpenThreshold': 50, 'irCloseThreshold': 200, 'irOpenDelay': 3, 'irCloseDelay': 3, 'irThreshold1x': 50, 'irThreshold2x': 0, 'irThreshold3x': 0, 'rssi': [[1596968925, -66], [1596969626, -66], [1596970227, -65], [1596970828, -66], [1596971429, -66], [1596972030, -67], [1596972631, -67], [1596973232, -66], [1596973833, -62], [1596974434, -67], [1596975034, -63], [1596975635, -64], [1596976236, -60], [1596976837, -64], [1596977468, -62], [1596978184, -59], [1596978784, -58], [1596979385, -61], [1596979986, -61], [1596980587, -58], [1596981188, -58], [1596981789, -60], [1596982390, -58], [1596982991, -58], [1596983592, -60], [1596984193, -58], [1596984793, -60], [1596985394, -66], [1596985995, -66], [1596986596, -63], [1596987197, -63], [1596988082, -66], [1596988683, -68], [1596989734, -66], [1596990335, -67], [1596991658, -64], [1596993597, -65], [1596994198, -64], [1596995204, -65], [1596995805, -63], [1596996406, -66], [1596998862, -65], [1596999463, -64], [1597000064, -63], [1597000665, -63], [1597001266, -63], [1597001866, -63], [1597002467, -64], [1597003068, -65], [1597003669, -67], [1597004492, -64], [1597005093, -64], [1597005693, -65], [1597006294, -65], [1597006895, -63], [1597007496, -66], [1597008750, -64], [1597009695, -67], [1597011235, -66], [1597011835, -67], [1597012436, -66], [1597013037, -65], [1597013904, -67], [1597014488, -64], [1597015094, -68], [1597015690, -66], [1597016290, -67], [1597016891, -66], [1597017492, -66], [1597019144, -65], [1597019741, -66], [1597020342, -65], [1597020943, -64], [1597021544, -66], [1597022145, -66], [1597022746, -68], [1597023347, -66], [1597024585, -63], [1597025186, -64], [1597026155, -63], [1597027249, -67], [1597027850, -68], [1597028584, -64], [1597029185, -63], [1597029786, -67], [1597030387, -65], [1597030988, -63], [1597031588, -63], [1597032189, -64], [1597032790, -63], [1597033391, -64], [1597033992, -63], [1597034593, -63], [1597035194, -63], [1597035795, -64], [1597036396, -64], [1597036997, -64], [1597037598, -63], [1597038199, -65], [1597038799, -63], [1597039400, -64], [1597040001, -64], [1597040602, -64], [1597041203, -63], [1597041804, -65], [1597042405, -64], [1597043006, -66], [1597043606, -65], [1597044207, -63], [1597044808, -62], [1597045409, -62], [1597046009, -63], [1597046610, -65], [1597047211, -65], [1597047812, -63], [1597048413, -63], [1597049013, -63], [1597049614, -65], [1597050215, -62], [1597050816, -65], [1597051417, -65], [1597052017, -64], [1597052618, -65], [1597053219, -65], [1597053820, -63], [1597054421, -65], [1597055450, -69], [1597056051, -68], [1597056651, -66], [1597057252, -64], [1597058458, -63], [1597059059, -64], [1597059660, -64], [1597060260, -64], [1597060861, -64], [1597061462, -63], [1597062063, -72], [1597062664, -70], [1597063265, -67], [1597063866, -67], [1597064467, -62], [1597065067, -63], [1597065679, -63], [1597066269, -64]], 'battery': [[1596968925, 100], [1596969626, 100], [1596970227, 100], [1596970828, 100], [1596971429, 100], [1596972030, 100], [1596972631, 100], [1596973232, 100], [1596973833, 100], [1596974434, 100], [1596975034, 100], [1596975635, 100], [1596976236, 100], [1596976837, 100], [1596977468, 100], [1596978184, 100], [1596978784, 100], [1596979385, 100], [1596979986, 100], [1596980587, 100], [1596981188, 100], [1596981789, 100], [1596982390, 100], [1596982991, 100], [1596983592, 100], [1596984193, 100], [1596984793, 100], [1596985394, 100], [1596985995, 100], [1596986596, 100], [1596987197, 100], [1596988082, 100], [1596988683, 100], [1596989734, 100], [1596990335, 100], [1596991658, 100], [1596993597, 100], [1596994198, 100], [1596995204, 100], [1596995805, 100], [1596996406, 100], [1596998862, 100], [1596999463, 100], [1597000064, 100], [1597000665, 100], [1597001266, 100], [1597001866, 100], [1597002467, 100], [1597003068, 100], [1597003669, 100], [1597004492, 100], [1597005093, 100], [1597005693, 100], [1597006294, 100], [1597006895, 100], [1597007496, 100], [1597008750, 100], [1597009695, 100], [1597011235, 100], [1597011835, 100], [1597012436, 100], [1597013037, 100], [1597013904, 100], [1597014488, 100], [1597015094, 100], [1597015690, 100], [1597016290, 100], [1597016891, 100], [1597017492, 100], [1597019144, 100], [1597019741, 100], [1597020342, 100], [1597020943, 100], [1597021544, 100], [1597022145, 100], [1597022746, 100], [1597023347, 100], [1597024585, 100], [1597025186, 100], [1597026155, 100], [1597027249, 100], [1597027850, 100], [1597028584, 100], [1597029185, 100], [1597029786, 100], [1597030387, 100], [1597030988, 100], [1597031588, 100], [1597032189, 100], [1597032790, 100], [1597033391, 100], [1597033992, 100], [1597034593, 100], [1597035194, 100], [1597035795, 100], [1597036396, 100], [1597036997, 100], [1597037598, 100], [1597038199, 100], [1597038799, 100], [1597039400, 100], [1597040001, 100], [1597040602, 100], [1597041203, 100], [1597041804, 100], [1597042405, 100], [1597043006, 100], [1597043606, 100], [1597044207, 100], [1597044808, 100], [1597045409, 100], [1597046009, 100], [1597046610, 100], [1597047211, 100], [1597047812, 100], [1597048413, 100], [1597049013, 100], [1597049614, 100], [1597050215, 100], [1597050816, 100], [1597051417, 100], [1597052017, 100], [1597052618, 100], [1597053219, 100], [1597053820, 100], [1597054421, 100], [1597055450, 100], [1597056051, 100], [1597056651, 100], [1597057252, 100], [1597058458, 100], [1597059059, 100], [1597059660, 100], [1597060260, 100], [1597060861, 100], [1597061462, 100], [1597062063, 100], [1597062664, 100], [1597063265, 100], [1597063866, 100], [1597064467, 100], [1597065067, 100], [1597065679, 100], [1597066269, 100]], 'dbm': 0, 'vmUse': 409544, 'resSet': 41360, 'uptime': 11471.75, 'wifiDisconnects': 1, 'wifiDriverReloads': 1, 'statsPeriod': 600000, 'sarlaccDebugLogTypes': 0, 'odProcessingFps': 8, 'odObjectMinWidthPercent': 6, 'odObjectMinHeightPercent': 24, 'odEnableObjectDetection': True, 'odClassificationMask': 2, 'odClassificationConfidenceThreshold': 0.95, 'odEnableOverlay': False, 'odAnalyticsLib': 2, 'odSensitivity': 85, 'odEventObjectMask': 2, 'odLuxThreshold': 445, 'odLuxHysteresisHigh': 4, 'odLuxHysteresisLow': 4, 'odLuxSamplingFrequency': 30, 'odFGExtractorMode': 2, 'odVideoScaleFactor': 1, 'odSceneType': 1, 'odCameraView': 3, 'odCameraFOV': 2, 'odBackgroundLearnStationary': True, 'odBackgroundLearnStationarySpeed': 15, 'odClassifierQualityProfile': 1, 'odEnableVideoAnalyticsWhileStreaming': False, 'wlanMac': 'cc:b8:a8:1b:61:60', 'region': 'us-east-1', 'enableWifiAnalyticsLib': False, 'ivLicense': 'FFxV47FFviZFFvjjizhzviVvVFx1'}, 'pirLevel': 'medium', 'odLevel': 'medium'}, 'cameraStatus': {'firmwareVersion': '2.6.1.154', 'netConfigVersion': '', 'camAgentVersion': '', 'lastLogin': 1597066975, 'lastLogout': 1597066720, 'wlanMac': 'cc:b8:a8:1b:61:60', 'fwDownloadVersion': '', 'fwDownloadPercentage': 0, 'recovered': False, 'recoveredFromVersion': '', '_id': '5f18b42a31f1cc0ac5f988ee', 'initErrors': [], 'speedTestTokenCreated': 1595454506}, '__v': 0, 'supportedFeatures': {'providers': {'webrtc': 'none', 'recording': 'simplisafe', 'live': 'simplisafe'}, 'audioEncodings': ['speex'], 'resolutions': ['480p', '720p', '1080p'], '_id': '5f18b42a31f1cc0ac5f988ef', 'pir': True, 'videoAnalytics': True, 'privacyShutter': False, 'microphone': True, 'fullDuplexAudio': True, 'wired': True, 'networkSpeedTest': False, 'videoEncoding': 'h264'}, 'subscription': {'enabled': True, 'freeTrialActive': False, 'freeTrialUsed': False, 'freeTrialEnds': 0, 'freeTrialExpires': 0, 'planSku': 'SSVM1', 'price': 0, 'expires': 1598132906, 'storageDays': 30, 'trialUsed': False, 'trialActive': False, 'trialExpires': 0}, 'status': 'online'}, {'staleSettingsTypes': [], 'upgradeWhitelisted': False, 'model': 'SS001', 'uuid': 'af036e889048d42cd4d772eeb029cd11', 'uid': redact, 'sid': 3654164, 'cameraSettings': {'cameraName': 'Driveway', 'pictureQuality': '720p', 'nightVision': 'auto', 'statusLight': 'on', 'micSensitivity': 100, 'micEnable': True, 'speakerVolume': 75, 'motionSensitivity': 50, 'shutterHome': 'closedAlarmOnly', 'shutterAway': 'open', 'shutterOff': 'closedAlarmOnly', 'wifiSsid': 'FBI Van', 'canStream': False, 'canRecord': False, 'pirEnable': True, 'vaEnable': True, 'notificationsEnable': True, 'enableDoorbellNotification': True, 'doorbellChimeVolume': 'off', 'privacyEnable': False, 'hdr': False, 'vaZoningEnable': False, 'vaZoningRows': 0, 'vaZoningCols': 0, 'vaZoningMask': [], 'maxDigitalZoom': 10, 'supportedResolutions': ['480p', '720p'], 'admin': {'IRLED': 0, 'pirSens': 0, 'statusLEDState': 1, 'lux': 'lowLux', 'motionDetectionEnabled': False, 'motionThresholdZero': 0, 'motionThresholdOne': 10000, 'levelChangeDelayZero': 30, 'levelChangeDelayOne': 10, 'audioDetectionEnabled': False, 'audioChannelNum': 2, 'audioSampleRate': 16000, 'audioChunkBytes': 2048, 'audioSampleFormat': 3, 'audioSensitivity': 50, 'audioThreshold': 50, 'audioDirection': 0, 'bitRate': 284, 'longPress': 2000, 'kframe': 1, 'gopLength': 50, 'idr': 1, 'fps': 20, 'firmwareVersion': '2.6.1.107', 'netConfigVersion': '', 'camAgentVersion': '', 'lastLogin': 1597066740, 'lastLogout': 1597066737, 'pirSampleRateMs': 900, 'pirHysteresisHigh': 3, 'pirHysteresisLow': 10, 'pirFilterCoefficient': 1, 'logEnabled': True, 'logLevel': 3, 'logQDepth': 20, 'firmwareGroup': 'public', 'irOpenThreshold': 445, 'irCloseThreshold': 840, 'irOpenDelay': 3, 'irCloseDelay': 3, 'irThreshold1x': 388, 'irThreshold2x': 335, 'irThreshold3x': 260, 'rssi': [[1596804639, -58], [1596808239, -58], [1596814054, -58], [1596817654, -64], [1596821254, -63], [1596824854, -62], [1596828454, -59], [1596832054, -59], [1596837468, -59], [1596841068, -57], [1596844668, -57], [1596851503, -53], [1596855103, -58], [1596862277, -52], [1596865877, -52], [1596869477, -52], [1596873078, -53], [1596876678, -57], [1596880278, -57], [1596888651, -62], [1596895676, -53], [1596899276, -56], [1596902877, -56], [1596906477, -62], [1596910077, -60], [1596913677, -62], [1596917277, -61], [1596920877, -67], [1596924477, -65], [1596928077, -64], [1596931678, -64], [1596943536, -56], [1596950216, -51], [1596953816, -52], [1596957416, -51], [1596961016, -51], [1596964616, -52], [1596968216, -51], [1596971816, -51], [1596977259, -56], [1596981163, -63], [1596984763, -66], [1596988363, -51], [1597001258, -54], [1597007470, -51], [1597014211, -65], [1597021471, -63], [1597031572, -54], [1597035172, -55], [1597038772, -54], [1597042372, -54], [1597045972, -55], [1597049572, -55], [1597053172, -55], [1597056772, -54], [1597062594, -51], [1597066194, -53]], 'battery': [], 'dbm': 0, 'vmUse': 292408, 'resSet': 15076, 'uptime': 7608, 'wifiDisconnects': 1, 'wifiDriverReloads': 1, 'statsPeriod': 3600000, 'sarlaccDebugLogTypes': 0, 'odProcessingFps': 8, 'odObjectMinWidthPercent': 6, 'odObjectMinHeightPercent': 24, 'odEnableObjectDetection': True, 'odClassificationMask': 2, 'odClassificationConfidenceThreshold': 0.95, 'odEnableOverlay': False, 'odAnalyticsLib': 1, 'odSensitivity': 85, 'odEventObjectMask': 2, 'odLuxThreshold': 445, 'odLuxHysteresisHigh': 4, 'odLuxHysteresisLow': 4, 'odLuxSamplingFrequency': 30, 'odFGExtractorMode': 2, 'odVideoScaleFactor': 1, 'odSceneType': 1, 'odCameraView': 3, 'odCameraFOV': 2, 'odBackgroundLearnStationary': True, 'odBackgroundLearnStationarySpeed': 15, 'odClassifierQualityProfile': 1, 'odEnableVideoAnalyticsWhileStreaming': False, 'wlanMac': 'b0:02:47:05:e9:53', 'region': 'us-east-1', 'enableWifiAnalyticsLib': False, 'ivLicense': ''}, 'pirLevel': 'low', 'odLevel': 'medium'}, 'cameraStatus': {'firmwareVersion': '2.6.1.107', 'netConfigVersion': '', 'camAgentVersion': '', 'lastLogin': 1597066740, 'lastLogout': 1597066737, 'wlanMac': 'b0:02:47:05:e9:53', 'fwDownloadVersion': '', 'fwDownloadPercentage': 0, 'recovered': False, 'recoveredFromVersion': '', '_id': '5f2d3fa00cad6d0a9ed090f8', 'initErrors': [], 'speedTestTokenCreated': 1596810453}, '__v': 0, 'supportedFeatures': {'providers': {'webrtc': 'none', 'recording': 'simplisafe', 'live': 'simplisafe'}, 'audioEncodings': ['speex'], 'resolutions': ['480p', '720p'], '_id': '5f2d3fa00cad6d0a9ed090f9', 'pir': True, 'videoAnalytics': False, 'privacyShutter': True, 'microphone': True, 'fullDuplexAudio': False, 'wired': True, 'networkSpeedTest': False, 'videoEncoding': 'h264'}, 'subscription': {'enabled': True, 'freeTrialActive': False, 'freeTrialUsed': False, 'freeTrialEnds': 0, 'freeTrialExpires': 0, 'planSku': 'SSVM1', 'price': 0, 'expires': 1599479328, 'storageDays': 30, 'trialUsed': False, 'trialActive': False, 'trialExpires': 0}, 'status': 'online'}], 'connType': 'wifi', 'stateUpdated': 1597066694, 'messages': [], 'powerOutage': False, 'lastPowerOutage': 1593591106, 'lastSuccessfulWifiSSID': 'The LAN Before Time', 'lastSuccessfulWifiTS': 1597066694, 'isOffline': False}}, 'pinUnlocked': True, 'billDate': 0, 'billInterval': 2628000, 'pinUnlockedBy': 'pin', 'autoActivation': {'orderId': 14076444, 'status': 'success', 'lastAttempt': 1591309282, 'userSetPassword': True, 'locationCacheStatus': ['address', 'primaryContacts', 'safeword']}}]}
2020-08-10 08:48:57 DEBUG (MainThread) [simplipy.api] users/redact/subscriptions response: {'subscriptions': [{'uid': redact, 'sid': 3654164, 'sStatus': 20, 'activated': 1591309298, 'planSku': 'SSEDCMU', 'planName': 'Recording for all cameras', 'price': 9.99, 'currency': 'USD', 'country': 'US', 'expires': 1602599568, 'canceled': 1594409562, 'extraTime': 0, 'creditCard': {'lastFour': '', 'type': ''}, 'time': 2628000, 'paymentProfileId': '1749594294', 'features': {'monitoring': False, 'alerts': False, 'online': False, 'hazard': False, 'video': True, 'cameras': 10, 'dispatch': False, 'proInstall': False, 'discount': 0, 'vipCS': False, 'medical': False, 'careVisit': False, 'storageDays': 30}, 'status': {'hasBaseStation': True, 'isActive': True, 'monitoring': 'Active'}, 'subscriptionFeatures': {'monitoredSensorsTypes': [], 'monitoredPanicConditions': [], 'dispatchTypes': [], 'remoteControl': [], 'cameraFeatures': {'liveView': True, 'maxRecordingCameras': 10, 'recordingStorageDays': 30, 'videoVerification': False}, 'support': {'level': 'Basic', 'annualVisit': False, 'professionalInstall': False}, 'cellCommunicationBackup': False, 'alertChannels': ['Push'], 'alertTypes': ['Camera'], 'alarmModes': ['Alarm', 'Disabled'], 'supportedIntegrations': []}, 'location': {'sid': 3654164, 'uid': redact, 'lStatus': 10, 'account': 'redact', 'street1': 'redact Ln', 'street2': '', 'locationName': 'Home', 'city': 'redact', 'county': 'DAVIDSON', 'state': 'TN', 'zip': '11111', 'country': 'US', 'crossStreet': '', 'notes': '', 'residenceType': 2, 'numAdults': 0, 'numChildren': 0, 'locationOffset': -300, 'safeWord': 'radical', 'signature': 'Marcus Young', 'timeZone': 1, 'primaryContacts': [{'name': 'Marcus Young', 'phone': '111111111'}, {'name': '', 'phone': ''}], 'secondaryContacts': [{'name': '', 'phone': ''}, {'name': '', 'phone': ''}, {'name': '', 'phone': ''}, {'name': '', 'phone': ''}, {'name': '', 'phone': ''}], 'copsOptIn': False, 'certificateUri': 'https://simplisafe.com/account2/redact/alarm-certificate/3654164', 'nestStructureId': '', 'system': {'serial': 'redact', 'alarmState': 'OFF', 'alarmStateTimestamp': 1595127064, 'isAlarming': False, 'version': 3, 'capabilities': {'setWifiOverCell': True, 'setDoorbellChimeVolume': True, 'outdoorBattCamera': True}, 'temperature': None, 'exitDelayRemaining': 60, 'cameras': [{'staleSettingsTypes': [], 'upgradeWhitelisted': False, 'model': 'SS002', 'uuid': '2dc1b3b703ec685f474e50f8500e7104', 'uid': redact, 'sid': 3654164, 'cameraSettings': {'cameraName': 'Front Door', 'pictureQuality': '720p', 'nightVision': 'auto', 'statusLight': 'on', 'micSensitivity': 100, 'micEnable': True, 'speakerVolume': 75, 'motionSensitivity': 50, 'shutterHome': 'open', 'shutterAway': 'open', 'shutterOff': 'open', 'wifiSsid': 'FBI Van', 'canStream': False, 'canRecord': False, 'pirEnable': True, 'vaEnable': True, 'notificationsEnable': True, 'enableDoorbellNotification': True, 'doorbellChimeVolume': 'off', 'privacyEnable': False, 'hdr': True, 'vaZoningEnable': False, 'vaZoningRows': 0, 'vaZoningCols': 0, 'vaZoningMask': [], 'maxDigitalZoom': 10, 'supportedResolutions': ['480p', '720p', '1080p'], 'admin': {'IRLED': 0, 'pirSens': 0, 'statusLEDState': 1, 'lux': 'lowLux', 'motionDetectionEnabled': False, 'motionThresholdZero': 0, 'motionThresholdOne': 10000, 'levelChangeDelayZero': 30, 'levelChangeDelayOne': 10, 'audioDetectionEnabled': False, 'audioChannelNum': 2, 'audioSampleRate': 16000, 'audioChunkBytes': 2048, 'audioSampleFormat': 3, 'audioSensitivity': 50, 'audioThreshold': 50, 'audioDirection': 0, 'bitRate': 284, 'longPress': 2000, 'kframe': 1, 'gopLength': 50, 'idr': 1, 'fps': 20, 'firmwareVersion': '2.6.1.154', 'netConfigVersion': '', 'camAgentVersion': '', 'lastLogin': 1597066975, 'lastLogout': 1597066720, 'pirSampleRateMs': 800, 'pirHysteresisHigh': 2, 'pirHysteresisLow': 10, 'pirFilterCoefficient': 1, 'logEnabled': True, 'logLevel': 3, 'logQDepth': 20, 'firmwareGroup': 'public', 'irOpenThreshold': 50, 'irCloseThreshold': 200, 'irOpenDelay': 3, 'irCloseDelay': 3, 'irThreshold1x': 50, 'irThreshold2x': 0, 'irThreshold3x': 0, 'rssi': [[1596968925, -66], [1596969626, -66], [1596970227, -65], [1596970828, -66], [1596971429, -66], [1596972030, -67], [1596972631, -67], [1596973232, -66], [1596973833, -62], [1596974434, -67], [1596975034, -63], [1596975635, -64], [1596976236, -60], [1596976837, -64], [1596977468, -62], [1596978184, -59], [1596978784, -58], [1596979385, -61], [1596979986, -61], [1596980587, -58], [1596981188, -58], [1596981789, -60], [1596982390, -58], [1596982991, -58], [1596983592, -60], [1596984193, -58], [1596984793, -60], [1596985394, -66], [1596985995, -66], [1596986596, -63], [1596987197, -63], [1596988082, -66], [1596988683, -68], [1596989734, -66], [1596990335, -67], [1596991658, -64], [1596993597, -65], [1596994198, -64], [1596995204, -65], [1596995805, -63], [1596996406, -66], [1596998862, -65], [1596999463, -64], [1597000064, -63], [1597000665, -63], [1597001266, -63], [1597001866, -63], [1597002467, -64], [1597003068, -65], [1597003669, -67], [1597004492, -64], [1597005093, -64], [1597005693, -65], [1597006294, -65], [1597006895, -63], [1597007496, -66], [1597008750, -64], [1597009695, -67], [1597011235, -66], [1597011835, -67], [1597012436, -66], [1597013037, -65], [1597013904, -67], [1597014488, -64], [1597015094, -68], [1597015690, -66], [1597016290, -67], [1597016891, -66], [1597017492, -66], [1597019144, -65], [1597019741, -66], [1597020342, -65], [1597020943, -64], [1597021544, -66], [1597022145, -66], [1597022746, -68], [1597023347, -66], [1597024585, -63], [1597025186, -64], [1597026155, -63], [1597027249, -67], [1597027850, -68], [1597028584, -64], [1597029185, -63], [1597029786, -67], [1597030387, -65], [1597030988, -63], [1597031588, -63], [1597032189, -64], [1597032790, -63], [1597033391, -64], [1597033992, -63], [1597034593, -63], [1597035194, -63], [1597035795, -64], [1597036396, -64], [1597036997, -64], [1597037598, -63], [1597038199, -65], [1597038799, -63], [1597039400, -64], [1597040001, -64], [1597040602, -64], [1597041203, -63], [1597041804, -65], [1597042405, -64], [1597043006, -66], [1597043606, -65], [1597044207, -63], [1597044808, -62], [1597045409, -62], [1597046009, -63], [1597046610, -65], [1597047211, -65], [1597047812, -63], [1597048413, -63], [1597049013, -63], [1597049614, -65], [1597050215, -62], [1597050816, -65], [1597051417, -65], [1597052017, -64], [1597052618, -65], [1597053219, -65], [1597053820, -63], [1597054421, -65], [1597055450, -69], [1597056051, -68], [1597056651, -66], [1597057252, -64], [1597058458, -63], [1597059059, -64], [1597059660, -64], [1597060260, -64], [1597060861, -64], [1597061462, -63], [1597062063, -72], [1597062664, -70], [1597063265, -67], [1597063866, -67], [1597064467, -62], [1597065067, -63], [1597065679, -63], [1597066269, -64]], 'battery': [[1596968925, 100], [1596969626, 100], [1596970227, 100], [1596970828, 100], [1596971429, 100], [1596972030, 100], [1596972631, 100], [1596973232, 100], [1596973833, 100], [1596974434, 100], [1596975034, 100], [1596975635, 100], [1596976236, 100], [1596976837, 100], [1596977468, 100], [1596978184, 100], [1596978784, 100], [1596979385, 100], [1596979986, 100], [1596980587, 100], [1596981188, 100], [1596981789, 100], [1596982390, 100], [1596982991, 100], [1596983592, 100], [1596984193, 100], [1596984793, 100], [1596985394, 100], [1596985995, 100], [1596986596, 100], [1596987197, 100], [1596988082, 100], [1596988683, 100], [1596989734, 100], [1596990335, 100], [1596991658, 100], [1596993597, 100], [1596994198, 100], [1596995204, 100], [1596995805, 100], [1596996406, 100], [1596998862, 100], [1596999463, 100], [1597000064, 100], [1597000665, 100], [1597001266, 100], [1597001866, 100], [1597002467, 100], [1597003068, 100], [1597003669, 100], [1597004492, 100], [1597005093, 100], [1597005693, 100], [1597006294, 100], [1597006895, 100], [1597007496, 100], [1597008750, 100], [1597009695, 100], [1597011235, 100], [1597011835, 100], [1597012436, 100], [1597013037, 100], [1597013904, 100], [1597014488, 100], [1597015094, 100], [1597015690, 100], [1597016290, 100], [1597016891, 100], [1597017492, 100], [1597019144, 100], [1597019741, 100], [1597020342, 100], [1597020943, 100], [1597021544, 100], [1597022145, 100], [1597022746, 100], [1597023347, 100], [1597024585, 100], [1597025186, 100], [1597026155, 100], [1597027249, 100], [1597027850, 100], [1597028584, 100], [1597029185, 100], [1597029786, 100], [1597030387, 100], [1597030988, 100], [1597031588, 100], [1597032189, 100], [1597032790, 100], [1597033391, 100], [1597033992, 100], [1597034593, 100], [1597035194, 100], [1597035795, 100], [1597036396, 100], [1597036997, 100], [1597037598, 100], [1597038199, 100], [1597038799, 100], [1597039400, 100], [1597040001, 100], [1597040602, 100], [1597041203, 100], [1597041804, 100], [1597042405, 100], [1597043006, 100], [1597043606, 100], [1597044207, 100], [1597044808, 100], [1597045409, 100], [1597046009, 100], [1597046610, 100], [1597047211, 100], [1597047812, 100], [1597048413, 100], [1597049013, 100], [1597049614, 100], [1597050215, 100], [1597050816, 100], [1597051417, 100], [1597052017, 100], [1597052618, 100], [1597053219, 100], [1597053820, 100], [1597054421, 100], [1597055450, 100], [1597056051, 100], [1597056651, 100], [1597057252, 100], [1597058458, 100], [1597059059, 100], [1597059660, 100], [1597060260, 100], [1597060861, 100], [1597061462, 100], [1597062063, 100], [1597062664, 100], [1597063265, 100], [1597063866, 100], [1597064467, 100], [1597065067, 100], [1597065679, 100], [1597066269, 100]], 'dbm': 0, 'vmUse': 409544, 'resSet': 41360, 'uptime': 11471.75, 'wifiDisconnects': 1, 'wifiDriverReloads': 1, 'statsPeriod': 600000, 'sarlaccDebugLogTypes': 0, 'odProcessingFps': 8, 'odObjectMinWidthPercent': 6, 'odObjectMinHeightPercent': 24, 'odEnableObjectDetection': True, 'odClassificationMask': 2, 'odClassificationConfidenceThreshold': 0.95, 'odEnableOverlay': False, 'odAnalyticsLib': 2, 'odSensitivity': 85, 'odEventObjectMask': 2, 'odLuxThreshold': 445, 'odLuxHysteresisHigh': 4, 'odLuxHysteresisLow': 4, 'odLuxSamplingFrequency': 30, 'odFGExtractorMode': 2, 'odVideoScaleFactor': 1, 'odSceneType': 1, 'odCameraView': 3, 'odCameraFOV': 2, 'odBackgroundLearnStationary': True, 'odBackgroundLearnStationarySpeed': 15, 'odClassifierQualityProfile': 1, 'odEnableVideoAnalyticsWhileStreaming': False, 'wlanMac': 'cc:b8:a8:1b:61:60', 'region': 'us-east-1', 'enableWifiAnalyticsLib': False, 'ivLicense': 'FFxV47FFviZFFvjjizhzviVvVFx1'}, 'pirLevel': 'medium', 'odLevel': 'medium'}, 'cameraStatus': {'firmwareVersion': '2.6.1.154', 'netConfigVersion': '', 'camAgentVersion': '', 'lastLogin': 1597066975, 'lastLogout': 1597066720, 'wlanMac': 'cc:b8:a8:1b:61:60', 'fwDownloadVersion': '', 'fwDownloadPercentage': 0, 'recovered': False, 'recoveredFromVersion': '', '_id': '5f18b42a31f1cc0ac5f988ee', 'initErrors': [], 'speedTestTokenCreated': 1595454506}, '__v': 0, 'supportedFeatures': {'providers': {'webrtc': 'none', 'recording': 'simplisafe', 'live': 'simplisafe'}, 'audioEncodings': ['speex'], 'resolutions': ['480p', '720p', '1080p'], '_id': '5f18b42a31f1cc0ac5f988ef', 'pir': True, 'videoAnalytics': True, 'privacyShutter': False, 'microphone': True, 'fullDuplexAudio': True, 'wired': True, 'networkSpeedTest': False, 'videoEncoding': 'h264'}, 'subscription': {'enabled': True, 'freeTrialActive': False, 'freeTrialUsed': False, 'freeTrialEnds': 0, 'freeTrialExpires': 0, 'planSku': 'SSVM1', 'price': 0, 'expires': 1598132906, 'storageDays': 30, 'trialUsed': False, 'trialActive': False, 'trialExpires': 0}, 'status': 'online'}, {'staleSettingsTypes': [], 'upgradeWhitelisted': False, 'model': 'SS001', 'uuid': 'af036e889048d42cd4d772eeb029cd11', 'uid': redact, 'sid': 3654164, 'cameraSettings': {'cameraName': 'Driveway', 'pictureQuality': '720p', 'nightVision': 'auto', 'statusLight': 'on', 'micSensitivity': 100, 'micEnable': True, 'speakerVolume': 75, 'motionSensitivity': 50, 'shutterHome': 'closedAlarmOnly', 'shutterAway': 'open', 'shutterOff': 'closedAlarmOnly', 'wifiSsid': 'FBI Van', 'canStream': False, 'canRecord': False, 'pirEnable': True, 'vaEnable': True, 'notificationsEnable': True, 'enableDoorbellNotification': True, 'doorbellChimeVolume': 'off', 'privacyEnable': False, 'hdr': False, 'vaZoningEnable': False, 'vaZoningRows': 0, 'vaZoningCols': 0, 'vaZoningMask': [], 'maxDigitalZoom': 10, 'supportedResolutions': ['480p', '720p'], 'admin': {'IRLED': 0, 'pirSens': 0, 'statusLEDState': 1, 'lux': 'lowLux', 'motionDetectionEnabled': False, 'motionThresholdZero': 0, 'motionThresholdOne': 10000, 'levelChangeDelayZero': 30, 'levelChangeDelayOne': 10, 'audioDetectionEnabled': False, 'audioChannelNum': 2, 'audioSampleRate': 16000, 'audioChunkBytes': 2048, 'audioSampleFormat': 3, 'audioSensitivity': 50, 'audioThreshold': 50, 'audioDirection': 0, 'bitRate': 284, 'longPress': 2000, 'kframe': 1, 'gopLength': 50, 'idr': 1, 'fps': 20, 'firmwareVersion': '2.6.1.107', 'netConfigVersion': '', 'camAgentVersion': '', 'lastLogin': 1597066740, 'lastLogout': 1597066737, 'pirSampleRateMs': 900, 'pirHysteresisHigh': 3, 'pirHysteresisLow': 10, 'pirFilterCoefficient': 1, 'logEnabled': True, 'logLevel': 3, 'logQDepth': 20, 'firmwareGroup': 'public', 'irOpenThreshold': 445, 'irCloseThreshold': 840, 'irOpenDelay': 3, 'irCloseDelay': 3, 'irThreshold1x': 388, 'irThreshold2x': 335, 'irThreshold3x': 260, 'rssi': [[1596804639, -58], [1596808239, -58], [1596814054, -58], [1596817654, -64], [1596821254, -63], [1596824854, -62], [1596828454, -59], [1596832054, -59], [1596837468, -59], [1596841068, -57], [1596844668, -57], [1596851503, -53], [1596855103, -58], [1596862277, -52], [1596865877, -52], [1596869477, -52], [1596873078, -53], [1596876678, -57], [1596880278, -57], [1596888651, -62], [1596895676, -53], [1596899276, -56], [1596902877, -56], [1596906477, -62], [1596910077, -60], [1596913677, -62], [1596917277, -61], [1596920877, -67], [1596924477, -65], [1596928077, -64], [1596931678, -64], [1596943536, -56], [1596950216, -51], [1596953816, -52], [1596957416, -51], [1596961016, -51], [1596964616, -52], [1596968216, -51], [1596971816, -51], [1596977259, -56], [1596981163, -63], [1596984763, -66], [1596988363, -51], [1597001258, -54], [1597007470, -51], [1597014211, -65], [1597021471, -63], [1597031572, -54], [1597035172, -55], [1597038772, -54], [1597042372, -54], [1597045972, -55], [1597049572, -55], [1597053172, -55], [1597056772, -54], [1597062594, -51], [1597066194, -53]], 'battery': [], 'dbm': 0, 'vmUse': 292408, 'resSet': 15076, 'uptime': 7608, 'wifiDisconnects': 1, 'wifiDriverReloads': 1, 'statsPeriod': 3600000, 'sarlaccDebugLogTypes': 0, 'odProcessingFps': 8, 'odObjectMinWidthPercent': 6, 'odObjectMinHeightPercent': 24, 'odEnableObjectDetection': True, 'odClassificationMask': 2, 'odClassificationConfidenceThreshold': 0.95, 'odEnableOverlay': False, 'odAnalyticsLib': 1, 'odSensitivity': 85, 'odEventObjectMask': 2, 'odLuxThreshold': 445, 'odLuxHysteresisHigh': 4, 'odLuxHysteresisLow': 4, 'odLuxSamplingFrequency': 30, 'odFGExtractorMode': 2, 'odVideoScaleFactor': 1, 'odSceneType': 1, 'odCameraView': 3, 'odCameraFOV': 2, 'odBackgroundLearnStationary': True, 'odBackgroundLearnStationarySpeed': 15, 'odClassifierQualityProfile': 1, 'odEnableVideoAnalyticsWhileStreaming': False, 'wlanMac': 'b0:02:47:05:e9:53', 'region': 'us-east-1', 'enableWifiAnalyticsLib': False, 'ivLicense': ''}, 'pirLevel': 'low', 'odLevel': 'medium'}, 'cameraStatus': {'firmwareVersion': '2.6.1.107', 'netConfigVersion': '', 'camAgentVersion': '', 'lastLogin': 1597066740, 'lastLogout': 1597066737, 'wlanMac': 'b0:02:47:05:e9:53', 'fwDownloadVersion': '', 'fwDownloadPercentage': 0, 'recovered': False, 'recoveredFromVersion': '', '_id': '5f2d3fa00cad6d0a9ed090f8', 'initErrors': [], 'speedTestTokenCreated': 1596810453}, '__v': 0, 'supportedFeatures': {'providers': {'webrtc': 'none', 'recording': 'simplisafe', 'live': 'simplisafe'}, 'audioEncodings': ['speex'], 'resolutions': ['480p', '720p'], '_id': '5f2d3fa00cad6d0a9ed090f9', 'pir': True, 'videoAnalytics': False, 'privacyShutter': True, 'microphone': True, 'fullDuplexAudio': False, 'wired': True, 'networkSpeedTest': False, 'videoEncoding': 'h264'}, 'subscription': {'enabled': True, 'freeTrialActive': False, 'freeTrialUsed': False, 'freeTrialEnds': 0, 'freeTrialExpires': 0, 'planSku': 'SSVM1', 'price': 0, 'expires': 1599479328, 'storageDays': 30, 'trialUsed': False, 'trialActive': False, 'trialExpires': 0}, 'status': 'online'}], 'connType': 'wifi', 'stateUpdated': 1597066694, 'messages': [], 'powerOutage': False, 'lastPowerOutage': 1593591106, 'lastSuccessfulWifiSSID': 'The LAN Before Time', 'lastSuccessfulWifiTS': 1597066694, 'isOffline': False}}, 'pinUnlocked': True, 'billDate': 0, 'billInterval': 2628000, 'pinUnlockedBy': 'pin', 'autoActivation': {'orderId': 14076444, 'status': 'success', 'lastAttempt': 1591309282, 'userSetPassword': True, 'locationCacheStatus': ['address', 'primaryContacts', 'safeword']}}]}
2020-08-10 08:48:57 DEBUG (MainThread) [simplipy.api] Data received from /ss3/subscriptions/3654164/settings/normal: {'type': 'NoRemoteManagement', 'message': 'Subscription does not support remote management', 'code': '078', 'statusCode': 403, 'props': {}}
  File "/usr/local/lib/python3.8/site-packages/simplipy/api.py", line 256, in get_systems
  File "/usr/local/lib/python3.8/site-packages/simplipy/api.py", line 324, in request

@myoung34
Copy link
Author

other logs:

sudo cat /opt/homeassistant/home-assistant.log | grep -Ei 'simplisafe' | grep -vEi 'simplipy.api'
2020-08-10 08:48:57 INFO (MainThread) [homeassistant.components.simplisafe] Connected to websocket
2020-08-10 08:48:57 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry redactemail for simplisafe
  File "/usr/src/homeassistant/homeassistant/components/simplisafe/__init__.py", line 246, in async_setup_entry
    await simplisafe.async_init()
  File "/usr/src/homeassistant/homeassistant/components/simplisafe/__init__.py", line 484, in async_init
2020-08-10 08:49:47 DEBUG (MainThread) [homeassistant.components.simplisafe] New websocket event: WebsocketEvent(info='"Front Door" Camera Detected Motion', system_id=3654164, timestamp=datetime.datetime(2020, 8, 10, 13, 49, 43, tzinfo=<UTC>), event_type='camera_motion_detected', changed_by='', sensor_name='Front Door', sensor_serial='', sensor_type=<EntityTypes.camera: 12>)
2020-08-10 08:49:55 DEBUG (MainThread) [homeassistant.components.simplisafe] New websocket event: WebsocketEvent(info='Someone is at your "Front Door"', system_id=3654164, timestamp=datetime.datetime(2020, 8, 10, 13, 49, 51, tzinfo=<UTC>), event_type='doorbell_detected', changed_by='', sensor_name='Front Door', sensor_serial='', sensor_type=<EntityTypes.doorbell: 15>)

@bachya
Copy link
Contributor

bachya commented Aug 10, 2020

Your simplipy logs are missing the crucial part of the stack trace right below the lines you've provided:

  File "/usr/local/lib/python3.8/site-packages/simplipy/api.py", line 256, in get_systems
  File "/usr/local/lib/python3.8/site-packages/simplipy/api.py", line 324, in request

(probably because those lines don't contain the string simplipy). Can you provide?

@myoung34
Copy link
Author

myoung34 commented Aug 12, 2020

Ha nice catch!

Hmm, okay. For awareness, this integration doesn't support the cameras in any way (because my underlying library doesn't support them).

Im aware, mostly for now interested in alarm status/set/unset

2020-08-10 08:48:57 DEBUG (MainThread) [simplipy.api] Data received from /ss3/subscriptions/redact/settings/normal: {'type': 'NoRemoteManagement', 'message': 'Subscription does not support remote management', 'code': '078', 'statusCode': 403, 'props': {}}
2020-08-10 08:48:57 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry [email protected] for simplisafe
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 219, in async_setup
    result = await component.async_setup_entry(  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/simplisafe/__init__.py", line 246, in async_setup_entry
    await simplisafe.async_init()
  File "/usr/src/homeassistant/homeassistant/components/simplisafe/__init__.py", line 484, in async_init
    self.systems = await self._api.get_systems()
  File "/usr/local/lib/python3.8/site-packages/simplipy/api.py", line 256, in get_systems
    await system.update(include_system=False)
  File "/usr/local/lib/python3.8/site-packages/simplipy/system/__init__.py", line 518, in update
    raise result
  File "/usr/local/lib/python3.8/site-packages/simplipy/system/v3.py", line 268, in _get_settings
    settings_resp: dict = await self._request(
  File "/usr/local/lib/python3.8/site-packages/simplipy/api.py", line 324, in request
    raise InvalidCredentialsError(
simplipy.errors.InvalidCredentialsError: User does not have permission to access ss3/subscriptions/redact/settings/normal

@bachya
Copy link
Contributor

bachya commented Aug 12, 2020

Thanks! Looks like my supposition is correct: your account is a type of "standard" account, which means that you won't be able to do anything except viewing the alarm state within HASS.

This appears to be a resurgence of #17443 from after I implemented MFA. I will work on handling this exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants