IT Dosen schalten nicht immerBefehl erneut senden

Begonnen von Tommy82, 28 November 2017, 18:33:12

Vorheriges Thema - Nächstes Thema

Tommy82

Hallo,
ich schalte über ein at mehre IT-TR1500 Dosen, und meistens werden nicht alle Dosen geschaltet, deshalb hab ich jetzt überlegt das Senden ca. 10 Sekunden später nachmal durchzuführen.
Was haltet ihr davon? Im moment sieht das at so aus:
Internals:
   COMMAND    set Steckdose_aussen,Steckdose_Weihnachten_Wohnzimmer,Steckdose_Haustuer,Steckdose_Kueche off
   DEF        *22:30:00 set Steckdose_aussen,Steckdose_Weihnachten_Wohnzimmer,Steckdose_Haustuer,Steckdose_Kueche off
   NAME       Weihnachtsdeko_aus
   NR         284
   PERIODIC   yes
   RELATIVE   no
   REP        -1
   STATE      Next: 22:30:00
   TIMESPEC   22:30:00
   TRIGGERTIME 1511904600
   TRIGGERTIME_FMT 2017-11-28 22:30:00
   TYPE       at
   Helper:
     DBLOG:
       state:
         myDbLog:
           TIME       1511762522.91128
           VALUE      Next
   READINGS:
     2017-11-27 22:30:02   state           Next: 22:30:00
Attributes:
   group      Info
   room       Zentral


Würde das ganze mit einem sleep z.b. so:
defmod Weihnachtsdeko_aus at *22:30:00 set Steckdose_aussen,Steckdose_Weihnachten_Wohnzimmer,Steckdose_Haustuer,Steckdose_Kueche off sleep 10.0;; set Steckdose_aussen,Steckdose_Weihnachten_Wohnzimmer,Steckdose_Haustuer,Steckdose_Kueche off
Fhem Cubitruck  Armbian Buster with Linux 5.3.9-sunxi
HM-CC_RT-DN, HM-Sec-RHS,HM-Sec-SD, HM-Sec-SCo,IT1500,1xIT GRR-3500 Fritz!Dect200,Powerline546E,Enigma2 Modul mit 3 Vu+,Wol Modul für WinServer2016 und WinServer 2019,FB6590
Allnetl Wandtablett mit FTUI

Hollo

Somit schaltest Du die Dosen denn?
Ich bin mir nicht sicher, meine aber, dass die fraglichen Module den Befehl mittlerweile eh schon mehrfach senden!?

Erste Massnahme sollte trotzdem eine mögliche Positionsänderung von Sender und/oder Empfänger sein, um die Schaltsicherheit zu optimieren.
Aber das hast Du wahrscheinlich schon probiert.
FHEM 6.x auf RPi 3B Buster
Protokolle: Homematic, Z-Wave, MQTT, Modbus
Temp/Feuchte: JeeLink-Clone und LGW mit LaCrosse/IT
sonstiges: Linux-Server, Dreambox, "RSS-Tablet"

Tommy82

Zitat von: Hollo am 28 November 2017, 20:13:11
Somit schaltest Du die Dosen denn?
Ich bin mir nicht sicher, meine aber, dass die fraglichen Module den Befehl mittlerweile eh schon mehrfach senden!?

Erste Massnahme sollte trotzdem eine mögliche Positionsänderung von Sender und/oder Empfänger sein, um die Schaltsicherheit zu optimieren.
Aber das hast Du wahrscheinlich schon probiert.

Über einen 433MHz CUL, mit einer langen Antenne. Denn Sender und auch die Empfänger kann ich nicht anders positionieren, glaube auch eigentlich nicht das das das Problem ist, denn wenn ich im Anschluss an das at bei dem nicht geschalteten Gerät den Befehl nochmal manuel Sender dann wird auch geschaltet
Fhem Cubitruck  Armbian Buster with Linux 5.3.9-sunxi
HM-CC_RT-DN, HM-Sec-RHS,HM-Sec-SD, HM-Sec-SCo,IT1500,1xIT GRR-3500 Fritz!Dect200,Powerline546E,Enigma2 Modul mit 3 Vu+,Wol Modul für WinServer2016 und WinServer 2019,FB6590
Allnetl Wandtablett mit FTUI

RaspiLED

Und ist es immer das gleiche Gerät was nicht will? Hast Du das mal ausgetauscht (Test auf Reichweite)? Oder ist es zufällig das letzte in der at Kette (Hört alle anderen Befehle und ist dann schon verwirrt wenn eigenen kommen) Lösungsidee sleep? Oder einfach für dieses Gerät die IT Repetition erhöhen?
Gruß Arnd


Raspi2 mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, Bravia, ...
Raspberry Pi mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, WifiLight2, Bravia, ...

gamauf

ich glaube

set Steckdose_aussen,Steckdose_Weihnachten_Wohnzimmer,Steckdose_Haustuer,Steckdose_Kueche off

schickt die kommandos zu knapp hintereinander.
probier, ob's mit pause zwischen den kommandos:

set Steckdose_aussen off;sleep 0.5; set Steckdose_Weihnachten_Wohnzimmer off;sleep 0.5; set Steckdose_Haustuer off;sleep 0.5; set Steckdose_Kueche off

besser geht.

Fixel2012

Ich habe teilweise auch das Problem, dass meine IT Steckdosen nicht beim ersten Schaltbefehl auch wirklich an/aus schalten.

Und das bei einzelnen Befehlen, sprich nur eine Steckdose in einem notfiy.
Fhem 5.8 auf Raspi 3, HMLAN und 868MHz CUL mit einigen Komponenten, Z-Wave Rollladenaktoren, Tablet UI, 433 MHz CUL mit Baumarktsteckdosen und Temp Sensoren, Amazon Echo, Echo Dot, 2x SONOS  play1, 1x SONOS Connect AMP,  presence, HUE, Lightify

Tedious

Das ist wie mit Spinat - der schmeckt am besten wenn man ihn kurz vor dem Servieren durch ein Rumpsteak ersetzt ;)

Will sagen - schmeiss die 433 raus! Im Ernst! ich habe mich auch 2-3 Jahre damit rumgeärgert, wie ein Blinker - geht, geht nicht, geht... Ich habe die nach und nach durch Sonoff S20 ersetzt, wenn die im Sale sind gibt es die wirklich günstig. Tasmota flashen, denn ist das Ganze zuverlässig. Ich habe exakt noch 2 433er im Einsatz - aber auch nur weil die im Radius von maximal 3m im selben Raum wie der CUL verbaut sind. Und selbst die spinnen manchmal - trotz ITrepetition von 12.
FHEM auf Proxmox-VM (Intel NUC) mit 4xMapleCUN (433,3x868) und Jeelink, HUE, MiLight, Max!, SonOff, Zigbee, Alexa, uvm...

KölnSolar

Das kann ich so jetzt mal nicht stehen lassen. Ca. 20 IT-Geräte(Original-IT: 6 Rolladenaktoren, 3 IT_V1-, 3 IT_V3-Dosen, 2 BWMs und noch 3 Pollindosen)  auf 4 Etagen + Garage funktionieren hier. Allerdings produktiv mit einem RFXTRX. Müsste ich mal auf einen CUL umbauen, ob es evtl. am CUL/a-culfw liegt.

Den Tipp von gamauf hab ich auch als erfolgversprechend in Erinnerung.

Grüße Markus
RPi3/2 buster/stretch-SamsungAV_E/N-RFXTRX-IT-RSL-NC5462-Oregon-CUL433-GT-TMBBQ-01e-CUL868-FS20-EMGZ-1W(GPIO)-DS18B20-CO2-USBRS232-USBRS422-Betty_Boop-EchoDot-OBIS(Easymeter-Q3/EMH-KW8)-PCA301(S'duino)-Deebot(mqtt2)-zigbee2mqtt

Tommy82

#8
Zitat von: Tedious am 30 November 2017, 15:19:16
Das ist wie mit Spinat - der schmeckt am besten wenn man ihn kurz vor dem Servieren durch ein Rumpsteak ersetzt ;)

Will sagen - schmeiss die 433 raus! Im Ernst! ich habe mich auch 2-3 Jahre damit rumgeärgert, wie ein Blinker - geht, geht nicht, geht... Ich habe die nach und nach durch Sonoff S20 ersetzt, wenn die im Sale sind gibt es die wirklich günstig. Tasmota flashen, denn ist das Ganze zuverlässig. Ich habe exakt noch 2 433er im Einsatz - aber auch nur weil die im Radius von maximal 3m im selben Raum wie der CUL verbaut sind. Und selbst die spinnen manchmal - trotz ITrepetition von 12.

Hi, vieleicht blöde frage, aber wie setze ich ITrepetition = 12?

Zitat von: gamauf am 30 November 2017, 12:59:48
ich glaube

set Steckdose_aussen,Steckdose_Weihnachten_Wohnzimmer,Steckdose_Haustuer,Steckdose_Kueche off

schickt die kommandos zu knapp hintereinander.
probier, ob's mit pause zwischen den kommandos:

set Steckdose_aussen off;sleep 0.5; set Steckdose_Weihnachten_Wohnzimmer off;sleep 0.5; set Steckdose_Haustuer off;sleep 0.5; set Steckdose_Kueche off

besser geht.

Das hatte ich auch vermutet, hab es jetzt mal entsprechend abgeändert, mal gucken ob es damit besser wird
Fhem Cubitruck  Armbian Buster with Linux 5.3.9-sunxi
HM-CC_RT-DN, HM-Sec-RHS,HM-Sec-SD, HM-Sec-SCo,IT1500,1xIT GRR-3500 Fritz!Dect200,Powerline546E,Enigma2 Modul mit 3 Vu+,Wol Modul für WinServer2016 und WinServer 2019,FB6590
Allnetl Wandtablett mit FTUI

Wuppi68

schau mal wer sich alles auf dem 433er Band tummeln darf, da sind auch (Sprech)Funker dabei ...
Jetzt auf nem I3 und primär Homematic - kein Support für cfg Editierer

Support heißt nicht wenn die Frau zu Ihrem Mann sagt: Geh mal bitte zum Frauenarzt, ich habe Bauchschmerzen

Tommy82

Zitat von: Wuppi68 am 01 Dezember 2017, 20:29:05
schau mal wer sich alles auf dem 433er Band tummeln darf, da sind auch (Sprech)Funker dabei ...

Ja das ist klar, aber ich wohne nicht grade in der Großstadt, und zumindest in der direkten Nachbarschaft bin ich mir sehr sicher das hier niemand ein Amateurfunker ist
Fhem Cubitruck  Armbian Buster with Linux 5.3.9-sunxi
HM-CC_RT-DN, HM-Sec-RHS,HM-Sec-SD, HM-Sec-SCo,IT1500,1xIT GRR-3500 Fritz!Dect200,Powerline546E,Enigma2 Modul mit 3 Vu+,Wol Modul für WinServer2016 und WinServer 2019,FB6590
Allnetl Wandtablett mit FTUI

KölnSolar

ZitatHi, vieleicht blöde frage, aber wie setze ich ITrepetition = 12?
Bei 2028 Posts solltest Du schon wissen, dass sich viele Fragen durch die offizielle Doku=commandref beantworten  ::)
RPi3/2 buster/stretch-SamsungAV_E/N-RFXTRX-IT-RSL-NC5462-Oregon-CUL433-GT-TMBBQ-01e-CUL868-FS20-EMGZ-1W(GPIO)-DS18B20-CO2-USBRS232-USBRS422-Betty_Boop-EchoDot-OBIS(Easymeter-Q3/EMH-KW8)-PCA301(S'duino)-Deebot(mqtt2)-zigbee2mqtt

Tommy82

Da hast du absolut recht, allerdings gibt mir weder google noch die commandref eine Antwort
Fhem Cubitruck  Armbian Buster with Linux 5.3.9-sunxi
HM-CC_RT-DN, HM-Sec-RHS,HM-Sec-SD, HM-Sec-SCo,IT1500,1xIT GRR-3500 Fritz!Dect200,Powerline546E,Enigma2 Modul mit 3 Vu+,Wol Modul für WinServer2016 und WinServer 2019,FB6590
Allnetl Wandtablett mit FTUI

KölnSolar

IT - InterTechno
The InterTechno 433MHZ protocol is used by a wide range of devices, which are either of the sender/sensor or the receiver/actuator category. Momentarily, we are able to send and receive InterTechno commands. Supported devices are switches, dimmers, etc. through an CUL or SIGNALduino device (this must be defined first).
This module supports the version 1 and version 3 of the Intertechno protocol. Newly found devices are added into the category "IT" by autocreate. Hint: IT protocol 1 devices are only created when pressing the on-button twice within 30 seconds.

Define
define <name> IT <housecode> <on-code> <off-code> [<dimup-code>] [<dimdown-code>]
or
define <name> IT <ITRotarySwitches|FLS100RotarySwitches>
or
define <name> IT <address 26 Bit> <group bit> <unit Code>
or
define <name> IT HE800 <Transmitter ID> <Receiver ID>

The value of <housecode> is a 10-digit InterTechno Code, consisting of 0/1/F (co called tri-state format). These digits depend on the device you are using.
Bit 11 and 12 are used for switching/dimming. Different manufacturers are using different bit-codes. You specifiy here the 2-digit code for off/on/dimup/dimdown using the tri state format, i.e., 0/1/F.
The value of ITRotarySwitches consists of the value of the alpha switch A-P and the numeric switch 1-16 as set on the intertechno device (for example A1 or G12). Please use the Wiki for more information how to decode your device.
The value of FLS100RotarySwitches consist of the value of the I,II,II,IV switch and the numeric 1,2,3,4 switch (for example I2 or IV4).
The value of ITRotarySwitches and FLS100RotarySwitches are internaly translated into a houscode value.
For the Intertechno protocol 3 the housecode consists of 26 numbers. Additionally 4 numbers are used as unit code as well as group code.
To add a new device in Fhem: define IT myITSwitch IT

Intertechno protocol 1 (ITv1)
<housecode> 10 numbers in tri state format (i.e., either 0/1/F) depending on the device.
<on-code> <off-code> 2 numbers in quad state format (0/1/F/D), containing the on-format; this number is added to the <housecode> to get the 12-number IT command that is acutally send.
optional <dimup-code> <dimdown-code> 2 numbers in quad state format (0/1/F/D), contains the command for dimming; this number is added to the <housecode> to define tha actual 12-number sending command.
Notice: orginal ITv1 devices are only defined using the on command.
Devices which are nt orignal ITv1 devices cen be defined as follows:

To autocreate press twice "on" within 30 seconds. The Log gives:
2016.11.27 11:47:37.753 4: sduinoD IT: 001F001000 not defined (Switch code: 11)
2016.11.27 11:47:37.755 2: autocreate: define IT_001F001000 IT 001F001000 0F F0

Now press "off" or any other button:
2016.11.27 11:48:32.004 3: sduinoD IT: Code 1D not supported by IT_001F001000.

Because this is not original Intertechno, the on/off code in the list is not correct and has to be changed. This can be done as follows
DEF 001F001000 11 1D

EV1527
If the housecode does not contain a valid (10) ITv1 tri state code, autocreate will define the deviceas EV1527.
<housecode> 1527xabcde , abcde is the collected housecode in hex format
<on-code> <off-code> 4 numbers bin number (0/1) containing the on command; this number is added to the housecode to get the entire 12-number sending command.
optional <dimup-code> <dimdown-code> 4 numbers in bin format (0/1), contains the command for dimming up or down; this number is added to the housecode to get the entire 12-number sending command.

If the device was autocreated the on/off- as well as the dimcode has to be adapted.

SBC_FreeTec
<housecode> 8 numbers in tri state format (0/1/F), depending from the used device.
<on-code> 4 numbers in tri state format, contains the on-command; this number is added to the housecode to form the 12-number sending command.
<off-code> 4 numbers in tri state format, contains the off-command; this number is added to the housecode to get the 12-number sending command.

HE800
<Transmitter ID> unique transmitter ID (1..65535)
<Receiver ID> receiver ID [0]1..15, 0=Broadcast 1-15 (HE844A button# 1-4 & MASTER=0, HE850 UNIT# 1-15, HE853 = 1)

Examples:
define lamp IT 01FF010101 11 00 01 10
define roll1 IT 111111111F 11 00 01 10
define otherlamp IT 000000000F 11 10 00 00
define otherroll1 IT FFFFFFF00F 11 10
define IT_1527xe0fec IT 1527xe0fec 1001 0000
define SBC_FreeTec_Steck1 IT FFF00FFF 000F 0000
define itswitch1 IT A1
define lamp IT J10
define flsswitch1 IT IV1
define lamp IT II2
define HE800_TID1_SW1 IT HE800 1 1

For Intertechno protocol 3 the <housecode> is a 26-digits number. Additionaly there is a 4-digits <unit code> and a 1-digit <group code>.
<address> is a 26 digit number (0/1)
<group> is a 1 digit number (0/1)
<unit> is a 4 digit number (0/1)

Examples:
define myITSwitch IT 00111100110101010110011111 0 0000

Set
set <name> <value> [<time>]

where value is one of:
    dimdown
    dimup
    off
    on
    on-till           # Special, see the note
    dim06% dim12% dim18% dim25% dim31% dim37% dim43% dim50%
    dim56% dim62% dim68% dim75% dim81% dim87% dim93% dim100%

   
set extensions are supported.

Examples:
set lamp on
set lamp1,lamp2,lamp3 on
set lamp1-lamp3 on
set lamp off

Notes:
on-till requires an absolute time in the "at" format (HH:MM:SS, HH:MM or { <perl code> }, where the perl-code returns a time specification). If the current time is greater than the specified time, the command is ignored, else an "on" command is generated, and for the given "till-time" an off command is scheduleld via the at command.

Get
N/A

Attributes
IODev
Set the IO device which will be used to send signals for this device. An example for the physical device is a CUL or the SIGNALduino. Note: On startup, fhem WILL NOT automatically assign an IODevice to the Intertechno device! The attribute IODev needs ALLWAYS to be set manually!

eventMap
Replace event names and set arguments. The value of this attribute consists of a list of space separated values. Each value is a colon separated pair. The first part specifies the value to be replaced, the second the new/desired value. In order to use spaces in the new/desired values it is necessary to inform Fhem about the new separating character. This is done by using a slash(/) or comma(,) as first character, then the values are not separated by space but by this character. Examples:
attr store eventMap on:open off:closed
attr store eventMap /on-for-timer 10:open/off:closed/
set store open

do_not_notify

dummy
Set the device attribute dummy to define devices which should not output any radio signals. Associated notifys will be executed if the signal is received. Used e.g. to react to a code from a sender, but it will not emit radio signal if triggered in the web frontend.

loglevel

showtime

readingFnAttributes

model
The model attribute denotes the type of the device. This attribute will (currently) not be used by Fhem directly. It can be used by e.g. external programs or web interfaces to distinguish classes of devices and send the appropriate commands (e.g. "on" or "off" to a switch, "dim..%" to dimmers etc.). The spelling of the model should match the modelname used in the documentation that comes which the device. The name should consist of lower-case characters without spaces. Valid characters are a-z 0-9 and - (dash), other characters should not be used. Here is a list of "official" devices:
Sender/Sensor: itremote
Dimmer: itdimmer
Receiver/Actor: itswitch
EV1527: ev1527

ignore
Ignore this device, e.g., if it belongs to your neighbour. The device will not trigger any FileLogs/notifys, issued commands will be silently ignored (no RF signal will be sent out, just like for the dummy attribute). The device will not appear in the list command (only if it is explicitely asked for it), nor will it be affected by commands which use wildcards or attributes as name specifiers (see devspec). You still get them with the "ignored=1" special devspec.

ITclock
IT clock is the smallest time length of any pulse while sending the Intertechno V1 protocol.
Any signal of the IT protocol typically consists of a sequence of HIGHs and LOWs with a particular time length. These lengths usually have a ratio of 1:3 (if, for example, LOW has a pulse length of X then HIGH has a pulse length of 3*X).
The default value of original IT devices is 250. Other vendors use sometimes a different value; nevertheless ITclock should only be changed if you encounter problems using this device in Fhem.
- In order to discover the correct ITclock using a SIGNALduino: After pressing a button at a remote the received raw signal can be found in the log as well as in the device view of the IT-device, for example
MS;P0=357;P2=-1128;P3=1155;P4=-428;P5=-11420;D=05023402020202020202020202020202020202023402340234;CP=0;SP=5;
The number after "CP=" shows the pattern number of the clock, so e.g. follows from CP=0 --> P0, which defines at the beginning of the message, hence the clock was 357 (microseconds).
- at the CUL can the ITclock found out from the raw messages (X31).

ITfrequency
Sets the frequency of the sender.

ITrepetition
Sets the number of repitions (default=6).

userV1setCodes
If an ITv1 protocol is used indivual setcodes can be added. Example:
attr lamp userV1setCodes red:FD blue:1F
attr lamp userV1setCodes up:1001 down:1000 stop:1011

SIGNALduinoProtocolId
Using this attribute the protocol ID can be choosen if one uses a SIGNALduino.


Generated events:
The IT device generates the following events.
on
off
dimdown
dimup
dim06% dim12% dim18% dim25% dim31% dim37% dim43% dim50%
dim56% dim62% dim68% dim75% dim81% dim87% dim93% dim100%
Which event is sent dependents on the device and can sometimes configured on the device.
RPi3/2 buster/stretch-SamsungAV_E/N-RFXTRX-IT-RSL-NC5462-Oregon-CUL433-GT-TMBBQ-01e-CUL868-FS20-EMGZ-1W(GPIO)-DS18B20-CO2-USBRS232-USBRS422-Betty_Boop-EchoDot-OBIS(Easymeter-Q3/EMH-KW8)-PCA301(S'duino)-Deebot(mqtt2)-zigbee2mqtt

Tommy82

Hm, garnicht so schwer wenn man bei intertechno gucken würde anstatt bei CUL....... ???

Habs jetzt mal auf 12 gesetzt, mal sehen ob es besser wird.

Danke für den Schuppser
Fhem Cubitruck  Armbian Buster with Linux 5.3.9-sunxi
HM-CC_RT-DN, HM-Sec-RHS,HM-Sec-SD, HM-Sec-SCo,IT1500,1xIT GRR-3500 Fritz!Dect200,Powerline546E,Enigma2 Modul mit 3 Vu+,Wol Modul für WinServer2016 und WinServer 2019,FB6590
Allnetl Wandtablett mit FTUI