Noonlight Integration

v1.0.2 is present in HACS now and has updated the version key in the manifest.json for the integration.

I have a few comments on how to handle the V2 integration that are now in the pull request but summarized briefly below:

  1. The update to which API version is called or used by default should be located in the base noonlight-py library, and some backwards compatibility should be maintained. I can own getting this part set up.
  2. With respect to the input_text approach to determining which service to call, I’m going to propose that a Home Assistant service be exposed by the Noonlight integration that will allow triggering the alarm with a specific service in mind, rather than an input_text helper entity.

In my mind #2 above achieves the goal for users to be able to call a specific service upon triggering the alarm within an automation without relying on the creation of a clunky input_text entity. Given that the planned improvement of sensor monitoring to determine the service to call based on device_class of the monitored sensors, I think this is a good interim solution and perpetual feature.

1 Like

v1.1.0 has been deployed to HACS that allows for the use of the new noonlight.create_alarm service to specify the types of emergency services to call.

1 Like

Any chance the use of address vs. GPS will ever be add to the main code base? GPS doesn’t work very well in the city.

…and…

If you setup a normal Noonlight app account with the same phone number as used for the house, they will have your home address. It also syncs the PIN that way.

Yes, they do support this. After creating your account via connected, you can go to https://manage.noonlight.com/ and you’ll find options to change your PIN or invite other Noonlight members to your house.

As the Noonlight app is their main service, everything is oriented around their app so that’s how you manage your personal information. The API keys with a phone number just link your home to your app account.

Is there only a police, fire, and ems alarm option with this integration? Are we able to pass alarm stats to noonlight IE: Silent Panic, Fire Upstairs, etc?

1 Like

Is there a way using this integration to say “call house hold member only” i.e. not police, fire, etc.
This could be for something urgent but to threatening e.g. flood detected. I don’t want the police breaking my door down if there is a flood.

It appears that for other devices they have support for this.
https://help.noonlight.com/en/articles/6116807-can-noonlight-monitor-flood-or-freeze-events-in-my-home

After some more research it appears that this is not possible.
You can call Fire, Police, Medical. This is a limitation of the Noonlight v1 API. If Konnected upgrade to the Noonlight v2.0 interface that would allow a lot more, including the ability to call someone other than police, fire, medical. For example, who do you want to call in the event of a flood being detected - I guess you’ll have to use another service for that.

1 Like

You could just set up a notification to handle things like water detection. I’ve used twillio to send me SMS (text) messages and the smtp capability to send emails notifications. I’ve also used smtp to send me SMS messages. Most cellular providers provide a means where they receive the email message and then send it to you via an SMS message.

i have just got this up and running - anyone know how to get access/configure for the V2 API in home assistant - i was trying to add the additional contact information but when i do it errors out and can’t restart home assistant.

I can only do it with the base configuration in place:

# Example configuration.yaml entry
noonlight:
  id: NOONLIGHT_ID
  secret: NOONLIGHT_SECRET
  api_endpoint: https://api.noonlight.com/platform/v1
  token_endpoint: https://noonlight.konnected.io/ha/token

I am trying to get this working:

# V2 API Example configuration.yaml entry
noonlight:
  id: NOONLIGHT_ID
  secret: NOONLIGHT_SECRET
  api_endpoint: https://api.noonlight.com/dispatch/v1
  token_endpoint: https://noonlight.konnected.io/ha/token
  line1: '222 State Street'
  line2: 'apt 22'
  city: 'Baltimore'
  state: 'MD' 
  zip: '21140' 
  name: 'John Doe'
  phone: '12552551234'
  pin: '1234'
  name2: 'John Doe home Cell'
  phone2: '14104101234'
  instructions: 'Initial alarm setup, please call so client can verify everything is working'