[OBSOLETE] Beta Verisure Integration

Great integration - and now after the automatic server swithcing it seems very stable.

I am now recieving this message:
[verisure.handleLoginResponse] Response has error: {“errorGroup”:“TOO_MANY_REQUESTS”,“errorCode”:“AUT_00021”,“errorMessage”:“Request limit has been reached”}

Is it just me?

The app accounts for that, and tries to wait a little longer before checking again. It should be back to normal within about 10 minutes.

It’s nothing we can do, as it is Verisure trying to limit the number of requests that can be made to an account. Someone did mention that they had a completely separate account for the ST integration, which I guess could help a little bit. At least you don’t get both the mobile app and the ST app competing for the same “quota”. So maybe try that. :slight_smile:

Anders,

Hi,
I would really like to get the Yale doorman to work on SmartThings and I can maybe help you to get a test environment with Verisure and doorman access. Would you be interested in that?

1 Like

Sorry, but I don’t really have the time right now. :slightly_smiling_face:

Hello. Just installed the SmartApp and the sensors.
Find the smart app in my SmartThings, but no sensors.
The log file reports this error:
Clear
b0ee460e-598b-490f-accd-aae9fc0d3ec7 21:22:27: error java.lang.IllegalArgumentException: uri is required @line 419 (httpLog)
b0ee460e-598b-490f-accd-aae9fc0d3ec7 21:22:27: debug [verisure.checkPeriodically] Periodic check from timer
b0ee460e-598b-490f-accd-aae9fc0d3ec7 21:22:27: debug [verisure.transaction] ===== START_UPDATE

What have I done wrong?

Don’t enable the remote logging in the settings without giving it an URL. :slight_smile:

Thank you!! That fixed my problem! Now it’s running with everything.
Svein Arild Johnsgård

I’m having the same error, however I didn’t quite understand the steps you explained to resolve it (e.g. what’s the URL, I can’t seem to find it and where do I enter the URL; in the smartapp or inside the raw code in the smartthings ide?), I appreciate all your hardwork:

error java.lang.IllegalArgumentException: uri is required @line 419 (httpLog)

Don’t enter any URL. It’s in the settings for the smartapp. And disable “remote logging”, also in the settings. :slight_smile:

Does this work with Verisure systems outside the USA? Im in Spain but have a verisure alarm?
This is what I’m getting in ST Live Logging

07:36:06: debug [verisure.handleLoginResponse] Response has error: java.net.ConnectException

07:36:06: error [verisure.handleLoginResponse] Did not get correct response. Got response physicalgraph.scheduling.AsyncResponse@556e314f .

07:36:06: debug [verisure.handleLoginResponse] Response for login received

07:35:56: debug [verisure.loginAndUpdateStates] Doing login

thanks

Bill p

I honestly don’t know. :slight_smile: Whenever I look for the Verisure app in the Google Play store I always get confused by all the apps, so I wouldn’t be suprised if they were running completely different infrastructure in a different country. :slight_smile:

What a shame…would have LOVED to get verisure to have talked to SmartThings !

Thanks anyway

Bill P

Hey! I will make a smartthings integration for verisure doorman before newyear. New to the forum here but if anyone want to beat me making it before that i have made a repo for the request necessary to make it here: https://github.com/wahlly/Verisure_Yale_Doorman_PHP_HTTP_Connection

If you want the connection you should star my repo at github so that you will get a mail when i upload the integration.

1 Like

Did you ever complete this?

/**

  • veldigsur
  • Copyright 2018 Jostein Pedersen
  • Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at:
  •  http://www.apache.org/licenses/LICENSE-2.0
    
  • Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
  • on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
  • for the specific language governing permissions and limitations under the License.

*/
metadata {
definition (name: “veldigsur”, namespace: “wahlly”, author: “Jostein Pedersen”) {
capability “Switch”
}

simulator {
	// TODO: define status and reply messages here
}

tiles {
	standardTile("offButton", "device.button", width: 1, height: 1, canChangeIcon: true) {
		state "default", label: 'Force Off', action: "on", icon: "st.switches.switch.off", backgroundColor: "#ffffff"
	}
	standardTile("onButton", "device.switch", width: 1, height: 1, canChangeIcon: true) {
		state "default", label: 'Force On', action: "off", icon: "st.switches.switch.on", backgroundColor: "#79b821"
	}
	main "button"
		details (["onButton","offButton"])
}

}

// parse events into attributes
def parse(String description) {
log.debug “Parsing ‘${description}’”
// TODO: handle ‘switch’ attribute

}

// handle commands
def on() {
log.debug “Executing ‘on’”
// TODO: handle ‘on’ command
def params = [
uri: “https:// yourdomain.sub/script.php”,
query: [ma:'youremail%40mail.com, pw: ‘password’, int: ‘lock’, ins: ‘installationid’, dev: ‘deviceid’, dc:‘doorcode’]
]

try {
httpGet(params) { resp ->
resp.headers.each {
log.debug “{it.name} : {it.value}”
}
log.debug “response contentType: {resp.contentType}" log.debug "response data: {resp.data}”
}
} catch (e) {
log.error “something went wrong: $e”
}
}

def off() {
log.debug “Executing ‘off’”
// TODO: handle ‘off’ command
def params = [
uri: “https:// yourdomain.sub/script.php”,
query: [ma:'youremail%40mail.com, pw: ‘password’, int: ‘lock’, ins: ‘installationid’, dev: ‘deviceid’, dc:‘doorcode’]
]

try {
httpGet(params) { resp ->
resp.headers.each {
log.debug “{it.name} : {it.value}”
}
log.debug “response contentType: {resp.contentType}" log.debug "response data: {resp.data}”
}
} catch (e) {
log.error “something went wrong: $e”
}
}

yes it works by using this device handler just replace the url and the parts of the query with the parameters obtained by following the github guide

Hi, since Verisure integration through Homebridge is getting increasingly less reliable, I was looking at this with interest. Installed and working for the alarm itself and the smoke detectors, thanks for the excellent work!

Any chance getting it to work for the contact sensors (and even the smart plug)?

Hi, I just installed this smartapp and devicehandlers. The things shows in the smartthings app but can not get contact with my sensors or the alarm Armed/disarmed status.

Can this have something to do with Verisures new appstyle? Maybe the code need a update of som kind?

This is what it looks like in my app.
Any ideas on what to do to get this working? @anderssv

If i arm or disarm the alarm the “alarm thing” wont change status to armed.

IMG_1855
54 23

I don’t know of any issues after the re design. What does your logs say for the Verisure app?

@anderssv Sorry for the late reply,

Here is what the logs say

EDIT: I turned off the Remote logging and it all started to work :slight_smile: