Page 8 of 19

Re: Satel Integra (Security System) with ethernet module

Posted: Tuesday 19 January 2016 22:19
by mKotek
fantom wrote:Ok
I added support for arm/disarm many partitions :
https://github.com/domoticz/domoticz/pull/362/commits
Please waiting for merge and new version of domoticz.
Now in domoticz exists switches for any using partitions in Integra.

Fantom
p.s Please check that this changes is working
Great job, waiting on code merge to test it.
One question though. I have seen in code, you are writing messages about system 'is arm' and it should be 'is armed' and 'is disarmed'.
Spoiler: show
Also, you are reporting partitions armed and they are rather zones armed. Satel uses concept of partitions (usually household has just one partition) like house and zones (like garages, ground floor, etc.) which contain sensors. Usually, if you are, you arm either whole system (partition) or (most common) some zones.
I have not seen part of the code for arming zones, so I think, you are using partition where it should be zone.
If you want, I can explain further via PM.

UPDATE 2016/01/20: We have discussed the issue via PM and I am sorry to admit, Satel is using different naming convention in English compared to Polish. As a result, Fantom's naming convention is correct.

Anyway, great work on extending the basic model. Thank you.

Re: Satel Integra (Security System) with ethernet module

Posted: Thursday 21 January 2016 9:20
by fantom
And today i push support for Polish letters (for zone, output, ATD100 name)
https://github.com/szczukot/domoticz/co ... 73e1ddf53b

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Friday 22 January 2016 10:49
by fantom
All changes are merged to new beta version 2.4296

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Saturday 23 January 2016 20:04
by mKotek
fantom wrote:All changes are merged to new beta version 2.4296
Fantom
It works great, thank you.

Re: Satel Integra (Security System) with ethernet module

Posted: Tuesday 26 January 2016 13:33
by saybor
hi Fantom,

I am using Domoticz Version: 2.4312 (running on Raspberry PI). On the other side I have configured Integra32 (version 1.13) and ETHM-1 Plus (version v2.02).
while configuring Hardware on Domoticz I used exactly same settings as for DloadX (ip address, port, password). Unfortunately I am constantly getting following error:

2016-01-26 13:04:32.426 Satel Integra: Create instance
2016-01-26 13:04:32.429 Satel Integra: connected to 192.168.1.149:8005
2016-01-26 13:04:32.431 Error: Satel Integra: received bad frame (prefix or sufix)
2016-01-26 13:04:32.431 Error: Satel Integra: Get info about Integra is failed

is it a configuration error? or I should update something to get it working?

saybor

Re: Satel Integra (Security System) with ethernet module

Posted: Tuesday 26 January 2016 14:58
by fantom
If you didnt change ports on Integra, default is :
for DloadX : 7090
for ETHM : 7094

Try this second port number

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Tuesday 26 January 2016 20:51
by saybor
thanks! it started working after changing the port number and marking "Integracja" of ETHM-1 configuration. Sorry for my ignorance..

Re: Satel Integra (Security System) with ethernet module

Posted: Saturday 30 January 2016 12:37
by saybor
Hi,

After configuring correctly DOMOTICZ and Integra I am able to get status of particular PIRs. This is working perfectly.

Unfortunately when I tried to ARM system from DOMOTICZ I am getting issues. As you can see from the logs below, DOMOTICZ is not able to ARM Integra System each time.
Domoticz receives following error

2016-01-30 12:24:59.992 Error: Satel Integra: receive error: can not arm, but, but can use force arm
2016-01-30 12:24:59.992 Error: Satel Integra: Send 'Arm' failed

BUT 1 minute later I am able to ARM and DISARM system:

2016-01-30 12:25:10.505 Satel Integra: System armed
2016-01-30 12:25:10.505 (Satel Integra) Light/Switch (Arm)
2016-01-30 12:25:11.240 Satel Integra: System arm
2016-01-30 12:25:11.241 (Satel Integra) Light/Switch (Arm)
2016-01-30 12:25:12.565 Satel Integra: System disarmed
2016-01-30 12:25:12.565 (Satel Integra) Light/Switch (Arm)
2016-01-30 12:25:13.271 Satel Integra: System not arm

and minute later again there is an issue again:

2016-01-30 12:26:11.432 Error: Satel Integra: receive error: can not arm, but, but can use force arm
2016-01-30 12:26:11.432 Error: Satel Integra: Send 'Arm' failed

Anybody knows what the problem is and how to avoid such issue?

Saybor

Re: Satel Integra (Security System) with ethernet module

Posted: Saturday 30 January 2016 16:20
by fantom
This error is reading from Integra.
For some reason you can not arm system (for example you have report from motion detection, and in this case system cant be armed).
Do You test it when all zones are in good state ? No motion, open door etc ?

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Saturday 30 January 2016 16:39
by fantom
Today i doing one change:
now user can change name for zones/outputs/ATD100 and they are not will read again (and overwrite) from Integra when system is restarted.

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Saturday 20 February 2016 9:02
by Duan
Hello Guys

I'm using Domoticz version 3.530 on the Raspberry Pi. I recently hired a certified mechanic to install the Satel Integra and currently have it running on version 1.13 and ETHM-1 version 2.00. I could't find the wiki of the system requirements and I have the same problem Saybor had on 26 January 2016. The only difference is that my Domoticz version is higher but my ETHM version is a bit lower. I used the ETHM port just like I do for the Satel App. Is there anything I missed or should I ask the mechanic to upgrade the ETHM?
2016-02-20 08:45:47.882 Satel Integra: Create instance
2016-02-20 08:45:47.884 Satel Integra: connected to 192.168.1.***:7091
2016-02-20 08:45:47.886 Error: Satel Integra: received bad frame (prefix or sufix)
2016-02-20 08:45:47.886 Error: Satel Integra: Get info about Integra is failed
2016-02-20 08:47:00.516 Error: Integra hardware (5) thread seems to have ended unexpectedly
Thanks in advance!

Re: Satel Integra (Security System) with ethernet module

Posted: Saturday 20 February 2016 10:40
by fantom
First : set port in Domoticz to 7094.
This is default port for ETHM1

Fantom
ps. Do You use Domoticz 3.* ??? and ETHM1 ver 2.* ?? From where you have this versions ?

Re: Satel Integra (Security System) with ethernet module

Posted: Saturday 20 February 2016 15:39
by Duan
The Domoticz version I mentioned is indeed wrong, should be version 2.3530.
I used port 7091 just like in the Satel app, I got this error when I tried port 7094 like u suggested:
2016-02-20 15:19:59.446 Error: Satel Integra: Unable to connect to specified IP Address on specified Port (192.168.***:7094)
2016-02-20 15:19:59.446 Error: Satel Integra: Get info about Integra is failed
2016-02-20 15:21:00.276 Error: Integra hardware (5) thread seems to have ended unexpectedly

Re: Satel Integra (Security System) with ethernet module

Posted: Saturday 20 February 2016 15:47
by fantom
Is it ETHM1-Plus ?
Did you check port and is enabled integration in Integra (DownloadX etc) ?

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Friday 26 February 2016 20:58
by lowca
Hello ,.
I'm testing Satel Integra wrl 128 with ETHM-1 V2.00
..
Domoticz Version: 2.4547
Raspberry Pi 2

Raspberry and Satell connected to same switch ,.

But after about one and half day in log have:

2016-02-23 21:06:25.257 User: Admin initiated a switch command
2016-02-23 21:06:25.661 Error: Satel Integra: receive error: requesting user code not found
2016-02-23 21:06:25.662 Error: Satel Integra: Send 'Arm partition 1' failed

After : Disable and Enable in hardware , all back to normal ., I can arm or disarm without problem., and after one or two days problem back again ,.

Btw:. how enable and disable hardware via script or json..

Great work.. thanks in advance.

Re: Satel Integra (Security System) with ethernet module

Posted: Friday 26 February 2016 21:25
by fantom
This is very strange.
I don't know why Integra return this error code :(
I'm always do this same code. Password is stored only one time - when module started - and all time is this same. I dont see any memory leak etc.
:(
Maybe i will add some logs - and we see what is sending to Integra....

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Tuesday 01 March 2016 13:58
by grucha
Hi lowca,

Are you able to send me the tcpdump file which will contain request from Domoticz and reply from ETHM module?

Most probably you will need to install tcpdump first...
When the issue begin, in Pi shell execute:

Code: Select all

sudo tcpdump -w Satel.pcap port 7094
The 7094 is Integration port in ETHM configuration tab - feel free to adjust it to your values. Observe the Domoticz logs then to find next occurrence of error. Of corse if you are able to reproduce it (or some manual steps are required here) please do so. When you catch the error in logs you can simply press ctrl+c in shell to stop tcpdump. It would be great if you could send me this file with part of the Domoticz log (I need this to compare what's shown by Domoticz and what is visible on communication level).

One security advice: I will see your user code as plain text, so please consider changing it before of after the tcpdump...

Re: Satel Integra (Security System) with ethernet module

Posted: Tuesday 01 March 2016 22:40
by lowca
Ok .. no problem, when problem backi will send you tcpdump dump file .. Thx for reply ..

Re: Satel Integra (Security System) with ethernet module

Posted: Tuesday 15 March 2016 14:23
by mmormon
My ATD100 stoped working. Since Feb 25 - probably some update was that day. Domoticz see it properly but read 21.5C all the time. Satel interface see real temperature

Re: Satel Integra (Security System) with ethernet module

Posted: Tuesday 15 March 2016 14:40
by grucha
I saw the same too. What I found: sensor type has been changed.
All I need to do was to change the device from "Temperature" tab, "Edit" button.
After this I lost no data :)

Hope it'll help.