‎SimpliSafe Integration in Home Assistant (Authorization Code Issue) | SimpliSafe Support Home
 
phillfms's profile

Friday, December 20th, 2024 10:41 PM

SimpliSafe Integration in Home Assistant (Authorization Code Issue)

I’m trying to set up the SimpliSafe integration in Home Assistant, but I’ve run into an issue during the authentication process. When I click the provided link to authenticate via the SimpliSafe web app, it only opens a blank page instead of showing the authorization code needed to complete the setup (screenshot attached).

I’ve tried the following steps, but the problem persists:

  • Used different browsers (Chrome, Edge, Firefox).
  • Ensured I was logged into the SimpliSafe web app before clicking the link.

Has anyone else faced this issue while integrating SimpliSafe with Home Assistant? If so, how did you resolve it? Any suggestions or workarounds would be greatly appreciated!

Thank you for your help!

1.5K Messages

1 month ago

You won't get many or perhaps any answers here. Do some searching on the HA forum and I'm sure you checked the documentation page in the integration and online etc.

Fairly certain doing a little testing today that its security settings in the browser, and clearing cache data etc. in history.

I had it running at one time, some security changes may have thrown a wrench in the gears. It'll take some research on your part. If it still works at all. Don't remember, nor care to remember.

My personal opinions only follows;

It's not worth the hassle, good HA Integration work by @bachya, but, Simplisafe sensors are polled, meaning if you used one in an automation in HA, it might occasionally register as open, the polling is happenstance.

Open door, wait up to 30 seconds light bulb lights up. Close door before poll, no light or any indication in HA that a sensor opened.

You can arm etc. but with the SS app, keyfobs, maybe voice if you pay monitoring. Who needs that.

Anyhow, I found the integration worked within the limitations of Simplisafe allows. Which isn't much. Mimics the app or something a little.

Why does arming SS happen faster in HA? Arming is handled by webhooks.

I found it useless myself and never used it. I did try. When it asked for new authentication, I deleted it from Home Assistant. Forever.

And I added a parallel Alarmo integration system, Zha zigbee sensors etc. etc. Useful integration, sensors for actual automations and security. Long story cut short.

1.5K Messages

23 days ago

When trying to follow the "here" link from the install dialog to get an authorization code from Simplisafe, the linked page fails to completely load or provide the code in an obvious way. It is possible to obtain it from the browser's network traffic log:

  • Log into your simplisafe account in a browser, and then open up the developer console. Specifically go to the network traffic tab.
  • Copy the "here" link from the Home Automation dialog into the browser, and let it not work (if it does the MFA email login, fine, but for me it was a gray screen).
  • One of the requests you'll see in the network traffic log should have a 302 HTTP code and look like this: com.simplisafe.mobile://auth.simplisafe.com/ios/com.simplisafe.mobile/callback?code=abc123
  • That "abc123" is the auth code you need. Copy paste that back into your Home Automation dialog.

When or if questions arise, holler. I just added it to test, its a little tricky.

1 Message

@dlpsr​ I'm trying to follow this but I'm only getting 200 statuses across the board. 

I've logged into my SimplySafe account, opened my network traffic tab, gone to the 'here' link, refreshed the page and... all 200s. 

Any suggestions?

(edited)

1.5K Messages

@zingomarket  As I understand it and remember, not sure you did what I did.

I logged into SS all the way, probably using "Firefox" all the way in, then "right clicked" in the here link, copied the address link and pasted it into the already logged in to SS URL.

Or I used a new tab.

Unfortunately I don't remember, but you can try both. From that, to the developer tools, network tab, and below the 302 I clicked that and found the code. Don't remember if it was 200, takes a little patience and looking hard

I'll have to try again and document it better, old man's memory.

Not that it matters, my PC is running Linux Mint. HA is running on Nabu Casa Green.

(edited)

1.5K Messages

@zingomarket​ I tried on another instance.

Clear browser cache history of any logins data etc. I used Chrome this time.

Login to your HA instance.

Get the integration up and make sure it points to your instance. Do you want to install Simplisafe integration etc.

Open a new tab, login to your SS account.

Get the 2fa and completely login.

Right click on the here and copy link address

Paste that in a new tab. Hit enter.

It should lead you to the enter SS 2fa code

Don't do anything there, open developer tools, should see something under 302 in network tab callback click that, that "should be the code" copy the code part as per instructions.

Paste that in your HA integration.

I did not paste and test further didn't want it installed on my home assistant in Proxmox.

If it fails ask.

1.5K Messages

23 days ago

🤔, Been a few months, or longer perhaps, since I fiddled with the Simplisafe integration.

It appears I can use my Home Assistant Alarmo integration Geofence automations to arm and disarm Simplisafe as well.

Guess I can retire the KeyFob soon, but keep it handy (saves battery ) in case the Integration squawks for re-authentication or fails otherwise, app changes etc. and I get a message arming or disarming Simplisafe failed.

Testing soon.

1.5K Messages

I tested geofence arming Away exiting the zone and Disarming when entering zone, my SS is self monitoring, that worked fine, if anything I'll have device tracking or zones etc. errors.

Scheduled arming via HA automations works as well, home at 8PM, Disarmed at 5AM. 

A couple things at play though, Tasker sending intents to Owntracks integration in HA, change from Quiet to significant, to move etc. etc.

Onwtracks in HA using http mode, couldn't figure out MQTT. And HA zones. Next time lol.

(edited)

1.5K Messages

15 days ago

One other tip that might help is adding auth.simplisafe.com & simplisafe.com etc to allow third party cookies in browser settings, security & privacy 

1 Message

It keeps taking me to this page despite I have all cookies allowed and have all simplisafe domains whitelisted.

1.5K Messages

@koyingc​ Until I can check it again, and it might not be today, Proxmox had been kicking my butt trying to load the Wyze-Bridge.

Whatever browser, clear cache and data,

Or try Firefox if using Chrome but you have to allow 3rd party cookies and whitelist probably. As per above, login online, do the 2fa thing, right click in HA and copy the "here" link and paste into a new tab probably. Open developer tools and explore patiently. As per above instructions. Its is a pita.

I'll try again myself later if possible.

New to the Community? Get started by reading our Welcome Article and please be sure to review our Community Guidelines before posting.