Homey Community

Satel Integra alarm

app

#21

Hello there,

Thanks so much for this great plugin!
When exposing the Integra device (Switch since 1.0.0) to Homekit (https://apps.athom.com/app/com.sprut.homekit) it now shows as a switch.

Is there a way to show it there as ‘Security System’? :slight_smile:
I remember someone wrote something about that for another plugin but cannot remember how…


#22

Maybe if the driver would be capability homealarm_state (instead of onoff) that would work. But homealarm_state has 3 states: armed, disarmed and partially armed. I only plan to support two states (on/off).

I don’t have Homekit either, so there is no way I can test easily.


#23

Homeykit support was written for Heimdall, It indeed uses the homestate_alarm capability. It also needed an additional capability to let the device in Homekit show the alarm state, for that I created the alarm_heimdall capability.


#24

@DaneedeKruyff will Heimdall also support Integra? :slight_smile:


#25

@mbnn How would you envision that?

Heimdall is ment to turn your Homey into (simple) alarm system, not integrate with real alarm systems like a Satel Integra. Such systems are not generic and every system would require it’s own Homey app to control it from Homey.


#26

True… Ok.


#27

Hi all,

Its me again.
Yesterday i see a article about homey that v2.0 is availeble as experimental!
ok i did it! :rofl:

but the integra app doesn’t works anymore…
now i am sad! :disappointed_relieved:
this is one of the important apps i have and i was zo lucky it was made.

i add a screen hot the. ip adres and code is changed for the screen shot.
what do i do wrong?
i can’t put the guardx key anywere.

are there more users already to Homey V2.0 and got this app working?


#28

Hi Zuur,

I don’t run experimental, so I cannot test it.

I received a crash report from someone running 2.0.0-rc.2 today.
The error indicates that the usercode was not entered, while the function received a null value.

There is no field for a GuardX key.
This app connects directly to the ETHM-1 module and uses the usercode to perform actions like arm/disarm.


#29

User code was entered. In a flow i can see it sends. (The check at the flow card)
Tomorrow i will try it again.


#30

still nothing. got more issues with homey 2.0. i go to try downgrade the system.


#31

Downgrade it back to 1.5.3.v and now everything is working again. Athom have to fix a lot in v2.0


#32

Hi , did test the app with Homey v2.0.0-rc.2 but unfortunately this is not working anymore.
Did run the app in development athom cli and below is some lines from the output.
Maybe this helps to fix the problem ?

─────────────── Logging stdout & stderr ───────────────

2018-12-12 00:13:54 [log] [integraAlarm] org.myalarm.integra running…
2018-12-12 00:13:54 [log] [ManagerDrivers] [satelIntegra] [0] Initialize device
2018-12-12 00:13:54 [log] [ManagerDrivers] [satelIntegra] [0] * Name: Integra Alarm
2018-12-12 00:13:54 [log] [ManagerDrivers] [satelIntegra] [0] * Driver: satelIntegra
2018-12-12 00:13:54 [log] [ManagerDrivers] [satelIntegra] [0] * Class: homealarm
2018-12-12 00:13:54 [log] [ManagerDrivers] [satelIntegra] [0] * Available: true
2018-12-12 00:13:54 [log] [ManagerDrivers] [satelIntegra] [0] * Capabilities: [ ‘onoff’ ]
2018-12-12 00:13:55 [log] [ManagerDrivers] [satelIntegra] [0] * State: { onoff: null }
2018-12-12 00:13:55 [log] [ManagerDrivers] [satelIntegra] [0] * Settings: { alarmaddr: ‘192.168.2.1’,
alarmport: 7094,
alarmcode: ****
alarmpart: ‘1’,
alarmpoll: 5000,
alarmtype: ‘?’,
alarmvers: ‘?’,
alarmlang: ‘?’ }
2018-12-12 00:14:23 [log] [ManagerDrivers] [satelIntegra] [0] STATE CHANGE DETECTED to: true
2018-12-12 00:14:23 [log] [ManagerDrivers] [satelIntegra] [0] HomeAlarm state changed to: armed ( true )
/drivers/satelIntegra/device.js:38
str = str.toString(); // force to be string
^

TypeError: Cannot read property ‘toString’ of undefined
at stringToHexBytes (/drivers/satelIntegra/device.js:38:15)
at integraAlarmDevice.armAction (/drivers/satelIntegra/device.js:490:26)
at integraAlarmDevice.getCommand_arm (/drivers/satelIntegra/device.js:503:21)
at registerCapabilityListener (/drivers/satelIntegra/device.js:294:42)
at integraAlarmDevice.__onCapability (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/Device.js:1:1934)
at emitTwo (events.js:126:13)
at integraAlarmDevice.emit (events.js:214:7)
at integraAlarmDriver.__onCapability (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/Driver.js:1:1511)
at emitTwo (events.js:126:13)
at integraAlarmDriver.emit (events.js:214:7)

— INFO: org.myalarm.integra has been killed —

Mickel