Page 15 of 19

Re: Satel Integra (Security System) with ethernet module

Posted: Wednesday 03 April 2019 11:18
by fantom
Exactly.
But Your device inform You that ETHM1 not supported 32 bit mode.

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Wednesday 03 April 2019 15:01
by sidcom
it's not like you write. I have ethm-1 plus versions, which according to Satel support 32 bit mode, and should read input and output states> 128, and Guardx, which also supports ETHM input and output states> 128 shows correctly, where can the problem of communication in domoticz?

additionally in the logs:
2019-04-03 14:56:30.169 Error: Satel Integra: bad data length received (-1)
2019-04-03 14:56:30.169 Error: Satel Integra: Receive info about zone 106 failed
2019-04-03 14:56:30.390 Error: Satel Integra: bad data length received (-1)
2019-04-03 14:56:30.390 Error: Satel Integra: Receive info about zone 107 failed
2019-04-03 14:56:30.771 Error: Satel Integra: bad data length received (-1)

...... and so on

or:
2019-04-03 14:57:46.586 Error: integra 256 hardware (2) thread seems to have ended unexpectedly

maybe some solution will come to your head?

Re: Satel Integra (Security System) with ethernet module

Posted: Wednesday 03 April 2019 15:24
by fantom
1) GuardX use another port and different protocol.
2) I write the result from ETM-1 in logs. If You see "32bit mode = false" - this is result form ETHM-1 - not my decision. Please try manualy send 0x7C command to ETHM1 and check response.
3) This error when module started menans "Zone is not used". Unfortunately ETHM1 not inform us about not used zones - only return error.

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Monday 13 May 2019 23:01
by tomes
Hi,
I`m using Satel Integra 128Plus and ETHM1Plus with 2,06 firmware (newest) connected using gigabit switch to RPI3B+ also using RJ45 cable.
After upgrade domoticz to Version: 4.10717 i can see below errors in my domoticz log:

Code: Select all

2019-05-13 22:34:40.454 Error: Satel Integra: bad data length received
2019-05-13 22:34:40.454 Error: Satel Integra: Get info about new data is failed
2019-05-13 22:34:41.464 Error: Satel Integra: bad data length received
2019-05-13 22:34:41.465 Error: Satel Integra: Get info about new data is failed
2019-05-13 22:34:42.466 Error: Satel Integra: bad data length received
2019-05-13 22:34:42.466 Error: Satel Integra: Get info about new data is failed 
This errors shows everytime, when Domoticz want to change state of integra output, or domoticz receive change of integra input.
Sometime domoticz cant get correct (actual) state of switches from Integra.
On last 4,97 version everything works perfect.
What is wrong?
Tomek

Re: Satel Integra (Security System) with ethernet module

Posted: Wednesday 15 May 2019 0:33
by tomes
Dear Fantom,
Here is my logs wrote afret Domoticz starting up trigged only to Satel Integra logs:

Code: Select all

2019-05-13 22:08:21.356  Status: Satel Integra: connected to 192.168.100.2:13859
2019-05-13 22:08:21.357  Status: Pinger: Worker started...
2019-05-13 22:08:21.357  Status: Satel Integra: Model Integra 128 Plus
2019-05-13 22:08:21.359  Status: Satel Integra: RTC 2019-05-13 22:08:22
2019-05-13 22:08:21.360  Status: Satel Integra: ETHM-1 ver. 2.06 2019-03-07 (32 bytes mode = false)
2019-05-13 22:08:21.360  Status: Satel Integra: worker started
2019-05-13 22:08:26.843  Error: Satel Integra: bad data length received (-1)
2019-05-13 22:08:26.843  Error: Satel Integra: Receive info about zone 16 failed (probably zone is not used)
2019-05-13 22:08:26.844  Status: Satel Integra: connected to 192.168.100.2:13859
2019-05-13 22:08:27.907  Error: Satel Integra: bad data length received (-1)
2019-05-13 22:08:27.907  Error: Satel Integra: Receive info about zone 19 failed (probably zone is not used)
2019-05-13 22:08:27.908  Status: Satel Integra: connected to 192.168.100.2:13859
2019-05-13 22:08:35.164  Error: Satel Integra: bad data length received (-1)
2019-05-13 22:08:35.164  Error: Satel Integra: Receive info about zone 40 failed (probably zone is not used)
......
2019-05-13 22:08:57.206  Error: Satel Integra: Receive info about zone 121 failed (probably zone is not used)
2019-05-13 22:08:59.376  Status: Satel Integra: Alarm not set
2019-05-13 22:08:59.390  Status: Satel Integra: partition 1 not arm
2019-05-13 22:11:33.125  Error: Satel Integra: bad data length received
2019-05-13 22:11:33.125  Error: Satel Integra: Get info about new data is failed
2019-05-13 22:11:34.128  Error: Satel Integra: bad data length received
2019-05-13 22:11:34.128  Error: Satel Integra: Get info about new data is failed
2019-05-13 22:12:00.188  Error: Satel Integra: bad data length received
2019-05-13 22:12:00.188  Error: Satel Integra: Get info about new data is failed
2019-05-13 22:12:02.193  Error: Satel Integra: bad data length received
2019-05-13 22:12:02.193  Error: Satel Integra: Get info about new data is failed
2019-05-13 22:12:03.194  Error: Satel Integra: bad data length received
2019-05-13 22:12:03.194  Error: Satel Integra: Get info about new data is failed
2019-05-13 22:12:04.196  Error: Satel Integra: bad data length received
2019-05-13 22:12:04.196  Error: Satel Integra: Get info about new data is failed
2019-05-13 22:12:05.197  Error: Satel Integra: bad data length received
2019-05-13 22:12:05.198  Error: Satel Integra: Get info about new data is failed
I turn back to last stabile Domoticz 4.97 and everything works OK. I seems to be wrong Satel implementation on new domoticz.

PS. Fantom, I don`t have permition to write PM.

Re: Satel Integra (Security System) with ethernet module

Posted: Wednesday 15 May 2019 7:52
by fantom
Pls check https://www.domoticz.com/forum/viewtopi ... 60#p210831
I can't understand reply from Satel.
Please write to they. Why your module don't use 32 bit mode ?

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Wednesday 15 May 2019 10:32
by tomes
Ok, I wrote. Has something changed in the SATEL module in the new version of Domoticz? Because it works correctly with the previous version (except zone errors).
Tom

Re: Satel Integra (Security System) with ethernet module

Posted: Thursday 16 May 2019 13:33
by marcin2
Dear fantom,

first of all, thank you for the great job you have done so far!

Some time ago you mentioned you had a plan to implement scrambling of communication with ETHM module (Integra can has scrambling key to be set up). Do you still plan to take care of it? I believe lack of scrambling is a significant security issue when the system is connected to the Internet.

I will appreciate your feedback.

brgs,
Marcin

Re: Satel Integra (Security System) with ethernet module

Posted: Friday 17 May 2019 13:46
by fantom
I didn't do it :(
But I remember ... ;)

Re: Satel Integra (Security System) with ethernet module

Posted: Friday 17 May 2019 13:47
by fantom
sidcom wrote: Monday 01 April 2019 15:56 Hi, thanks for the quick response, after the update it looks like this:
2019-04-01 15:50:26.507 Status: Satel Integra: Create instance
2019-04-01 15:50:26.508 Status: Satel Integra: connected to 192.168.1.200:7200
2019-04-01 15:50:26.511 Status: Satel Integra: Model Integra 256 Plus
2019-04-01 15:50:26.512 Status: Satel Integra: RTC 2019-04-01 15:50:26
2019-04-01 15:50:26.513 Status: Satel Integra: ETHM-1 ver. 2.05 2018-09-07 (32 bytes mode = false)
2019-04-01 15:50:26.513 Status: Satel Integra: worker started

it looks like it does not work in 32 bit mode, how can I change it?
@sidcom plese check the latest beta

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Monday 03 June 2019 23:51
by xury
Hi fantom.
Maybe you know why no json topic on domoticz/out when change output state? Its a Domoticz issue or Satel plugin?
I mean typical Satel output as text. When changing its state ( eq from off to on etc. )there is nothing sent to domoticz/out. With zones as alerts its working fine. With outputs as switches its working too. Only text outputs are silents. Of course in Domoticz panel these outputs changing OK. Weird.

Re: Satel Integra (Security System) with ethernet module

Posted: Tuesday 04 June 2019 8:08
by fantom
I do not quite understand
What exactly not working ?
Maybe check domoticz logs.

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Tuesday 04 June 2019 10:43
by xury
Integra output state is not passing to domoticz/out mqtt topic.
Zone state is passing good.
I want use domoticz/out with node-red.
I need Integra output state info for making sound information about its state on my Google home mini speaker.
For example I want "Heating on" played when integra real output is on.

Re: Satel Integra (Security System) with ethernet module

Posted: Wednesday 12 June 2019 0:18
by Irek
Hi,

I receive hundrets of errors from domoticz:
2019-06-12 00:09:23.347 Error: Satel Integra: Get info about new data is failed
2019-06-12 00:09:24.348 Error: Satel Integra: bad data length received
2019-06-12 00:09:24.348 Error: Satel Integra: Get info about new data is failed
2019-06-12 00:09:25.349 Error: Satel Integra: bad data length received
2019-06-12 00:09:25.349 Error: Satel Integra: Get info about new data is failed
2019-06-12 00:09:26.350 Error: Satel Integra: bad data length received
2019-06-12 00:09:26.351 Error: Satel Integra: Get info about new data is failed
2019-06-12 00:09:27.352 Error: Satel Integra: bad data length received
2019-06-12 00:09:27.352 Error: Satel Integra: Get info about new data is failed
2019-06-12 00:09:28.353 Error: Satel Integra: bad data length received
2019-06-12 00:09:28.353 Error: Satel Integra: Get info about new data is failed
2019-06-12 00:09:29.354 Error: Satel Integra: bad data length received
2019-06-12 00:09:29.354 Error: Satel Integra: Get info about new data is failed

Looks like domoticz is working fine. I can read and change state of every switch, my dzVents scripts are OK. I've no idea what generates so many errors and I dont know how to check or handle this.
Any suggestions?

Irek

Re: Satel Integra (Security System) with ethernet module

Posted: Wednesday 12 June 2019 14:29
by fantom
Do You use wifi ?
Which version of domoticz ?

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Wednesday 12 June 2019 18:48
by Irek
Hi,

I use cable connection via couple of tp link switches.

Domoticz:
Version: 4.10717
Build Hash: b38b49e5
Compile Date: 2019-05-09 13:04:08
dzVents Version: 2.4.19
Python Version: 3.4.2 (default, Feb 10 2019, 17:57:51) [GCC 4.9.2]

I'm not absolutely sure, but I don't remember such a huge number of errors when I was using previous version of domoticz. My domoticz was upgraded about one or two weeks ago. I do not remember previous version number. It's on Raspberry PI 3.

Re: Satel Integra (Security System) with ethernet module

Posted: Wednesday 12 June 2019 21:11
by fantom
Pls try the latest version of domoticz. I did a few changes in last month

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Thursday 13 June 2019 0:56
by xury
I just checked with "general" "text" type and the json script appears on the domoticz/out MQTT topic.
For example:

Code: Select all

{
   "Battery" : 255,
   "RSSI" : 12,
   "description" : "",
   "dtype" : "General",
   "id" : "00082152",
   "idx" : 152,
   "name" : "nodered",
   "nvalue" : 0,
   "stype" : "Text",
   "svalue1" : "The time is now 0:27",
   "unit" : 1
}
Unfortunately, the same "general" "text" type with the Satel Integra module does not appear on domoticz/out.
This probably indicates the problem of the Satel Integra plugin.
It was on 4.10.717 and also on recent beta 4.10.902 version.
Good news: There is less "bad data length received" on the latest version, and form is slightly different:

Code: Select all

Satel Integra: bad data length received (expectedLength 20, totalRet 21, cmd EE, cmdLength 3)
There is no error when scanning across zones is finished.

Re: Satel Integra (Security System) with ethernet module

Posted: Thursday 13 June 2019 13:07
by fantom
Fewer errors always mean good news :)

Fantom

Re: Satel Integra (Security System) with ethernet module

Posted: Tuesday 22 October 2019 9:10
by mmormon
did anyone find a solution?

Error: Satel Integra: bad data length received
Error: Satel Integra: Get info about new data is failed