FHEM Forum

FHEM - Hausautomations-Systeme => EnOcean => Thema gestartet von: ivanyohuno am 16 Juli 2014, 11:58:13

Titel: [ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: ivanyohuno am 16 Juli 2014, 11:58:13
Hi there, beginner here.

I've installed FHEM onto my Raspberry Pi running Raspian with an EnOcean Pi connected to the UART GPIOs. I am receiving signals from all my EnOcean devices fine but I cannot send any telegrams using the FHEM Interface from the EnOcean Pi to devices such as relays (PTM250/200). I have been told this may not be possible but this wouldn't make sense as it would render using FHEM useless. Can anyone give me a simple step by step example of how to send telegrams from FHEM e.g. turning a switch devices (relay) on (BI, Pressed).

Is there something quite obvious I'm missing? I have studied the FHEM site references, EnOcean device ESP3 EEPs and many forums and haven't been able to find anything. In desperate need of help as I am undertaking a project.

Thank you in advance
Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: fiedel am 16 Juli 2014, 13:31:19
Hi Ivan,

sending should also be no problem, have you seen this (http://www.fhemwiki.de/wiki/EnOcean_Starter_Guide#EnOcean_Funk_mit_Fhem_empfangen_und_senden)?

Best regards

Frank
Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: immi am 16 Juli 2014, 20:20:24
Hi ivanyohuno
nice that you joined the community.
nice that you installed successfully fhem.
start from the basics:
1) use the update command
2) restart
3) post logs and config
immi
Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: ivanyohuno am 17 Juli 2014, 11:32:30
Hi there,

thank you all for the quick replies. As requested I will post my logfile and fhem.cfg:

Logfile:

2014.07.16 15:44:58 1: Including fhem.cfg

2014.07.16 15:45:02 3: telnetPort: port 7072 opened

2014.07.16 15:45:07 3: WEB: port 8083 opened

2014.07.16 15:45:08 3: WEBphone: port 8084 opened

2014.07.16 15:45:08 3: WEBtablet: port 8085 opened

2014.07.16 15:45:10 1: usb create starting
2014.07.16 15:45:16 3: Opening CUL device /dev/ttyAMA0

2014.07.16 15:45:16 3: Can't open /dev/ttyAMA0: Permission denied

2014.07.16 15:45:16 1: usb create end

2014.07.16 15:45:16 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2014.07.16 15:45:16 0: Server started with 9 defined entities (version $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $, os linux, user fhem, pid 8247)
2014.07.16 15:46:00 1: Including fhem.cfg
2014.07.16 15:46:01 1: telnetPort: Can't open server port at 7072: Address already in use. Exiting.
2014.07.16 15:47:06 0: Server shutdown

2014.07.16 15:47:25 1: Including fhem.cfg

2014.07.16 15:47:28 3: telnetPort: port 7072 opened

2014.07.16 15:47:32 3: WEB: port 8083 opened

2014.07.16 15:47:32 3: WEBphone: port 8084 opened

2014.07.16 15:47:32 3: WEBtablet: port 8085 opened

2014.07.16 15:47:35 1: Including ./log/fhem.save

2014.07.16 15:47:36 1: usb create starting

2014.07.16 15:48:29 3: Opening CUL device /dev/ttyAMA0

2014.07.16 15:48:31 3: Setting CUL baudrate to 38400

2014.07.16 15:48:31 3: CUL device opened

2014.07.16 15:48:31 3: Opening TCM310 device /dev/ttyAMA0

2014.07.16 15:48:31 3: Setting TCM310 baudrate to 57600

2014.07.16 15:48:31 3: TCM310 device opened

2014.07.16 15:48:31 1: usb create end

2014.07.16 15:48:31 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.

2014.07.16 15:48:31 0: Server started with 9 defined entities (version $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $, os linux, user fhem, pid 1936)

2014.07.16 15:50:48 1: Including fhem.cfg

2014.07.16 15:50:48 3: telnetPort: port 7072 opened

2014.07.16 15:50:48 3: WEB: port 8083 opened

2014.07.16 15:50:48 3: Opening TCM310_0 device /dev/ttyAMA0

2014.07.16 15:50:48 3: Setting TCM310_0 baudrate to 57600

2014.07.16 15:50:48 3: TCM310_0 device opened

2014.07.16 15:50:48 2: TCM TCM310_0 BaseID=FF880280,RemainingWriteCycles=0A

2014.07.16 15:50:48 3: WEBphone: port 8084 opened

2014.07.16 15:50:48 3: WEBtablet: port 8085 opened

2014.07.16 15:50:48 1: Including ./log/fhem.save

2014.07.16 15:51:02 3: EnOcean Unknown device with ID 0011C868, please define it

2014.07.16 15:51:02 2: autocreate: define EnO_switch_0011C868 EnOcean 0011C868

2014.07.16 15:51:02 2: autocreate: define FileLog_EnO_switch_0011C868 FileLog ./log/EnO_switch_0011C868-%Y.log EnO_switch_0011C868

2014.07.16 15:51:18 3: EnOcean Unknown device with ID 0027DE1E, please define it

2014.07.16 15:51:18 2: autocreate: define EnO_switch_0027DE1E EnOcean 0027DE1E

2014.07.16 15:51:18 2: autocreate: define FileLog_EnO_switch_0027DE1E FileLog ./log/EnO_switch_0027DE1E-%Y.log EnO_switch_0027DE1E

2014.07.16 15:57:53 2: EnOcean set EnO_switch_0011C868 BI

2014.07.16 15:57:56 2: EnOcean set EnO_switch_0011C868 B0

2014.07.16 15:57:56 2: EnOcean set EnO_switch_0011C868 BI

2014.07.16 15:57:57 2: EnOcean set EnO_switch_0011C868 B0

2014.07.16 15:57:58 2: EnOcean set EnO_switch_0011C868 BI

2014.07.16 15:58:00 2: EnOcean set EnO_switch_0011C868 B0

2014.07.16 15:58:46 3: EnOcean Unknown device with ID 008774B3, please define it

2014.07.16 15:58:46 2: autocreate: define EnO_sensor_008774B3 EnOcean 008774B3

2014.07.16 15:58:46 2: autocreate: define FileLog_EnO_sensor_008774B3 FileLog ./log/EnO_sensor_008774B3-%Y.log EnO_sensor_008774B3

2014.07.16 16:04:05 3: EnOcean Unknown device with ID 000366E9, please define it

2014.07.16 16:04:05 2: autocreate: define EnO_sensor_000366E9 EnOcean 000366E9

2014.07.16 16:04:05 2: autocreate: define FileLog_EnO_sensor_000366E9 FileLog ./log/EnO_sensor_000366E9-%Y.log EnO_sensor_000366E9

2014.07.16 16:09:23 3: EnOcean Unknown device with ID 01824824, please define it

2014.07.16 16:09:23 2: autocreate: define EnO_sensor_01824824 EnOcean 01824824

2014.07.16 16:09:23 2: autocreate: define FileLog_EnO_sensor_01824824 FileLog ./log/EnO_sensor_01824824-%Y.log EnO_sensor_01824824

2014.07.16 17:00:09 3: EnOcean Unknown device with ID 0181C155, please define it

2014.07.16 17:00:09 2: autocreate: define EnO_switch_0181C155 EnOcean 0181C155

2014.07.16 17:00:09 2: autocreate: define FileLog_EnO_switch_0181C155 FileLog ./log/EnO_switch_0181C155-%Y.log EnO_switch_0181C155

2014.07.17 08:47:08 1: Including fhem.cfg
2014.07.17 08:47:08 3: telnetPort: port 7072 opened

2014.07.17 08:47:08 3: WEB: port 8083 opened

2014.07.17 08:47:08 3: Opening TCM310_0 device /dev/ttyAMA0

2014.07.17 08:47:08 3: Setting TCM310_0 baudrate to 57600

2014.07.17 08:47:08 3: TCM310_0 device opened

2014.07.17 08:47:08 2: TCM TCM310_0 BaseID=FF880280,RemainingWriteCycles=0A

2014.07.17 08:47:08 3: WEBphone: port 8084 opened

2014.07.17 08:47:08 3: WEBtablet: port 8085 opened

2014.07.17 08:47:08 1: Including ./log/fhem.save

2014.07.17 08:52:53 1: Including fhem.cfg

2014.07.17 08:52:53 3: telnetPort: port 7072 opened

2014.07.17 08:52:53 3: WEB: port 8083 opened

2014.07.17 08:52:53 3: Opening TCM310_0 device /dev/ttyAMA0

2014.07.17 08:52:53 3: Setting TCM310_0 baudrate to 57600

2014.07.17 08:52:53 3: TCM310_0 device opened

2014.07.17 08:52:53 2: TCM TCM310_0 BaseID=FF880280,RemainingWriteCycles=0A

2014.07.17 08:52:53 3: WEBphone: port 8084 opened

2014.07.17 08:52:53 3: WEBtablet: port 8085 opened

2014.07.17 08:52:53 1: Including ./log/fhem.save

2014.07.17 08:59:29 1: update Action required: please run 'notice view update-20130127-001'


Config:
attr global autoload_undefined_devices 1

attr global logfile ./log/fhem-%Y-%m.log

attr global modpath .

attr global statefile ./log/fhem.save

attr global updateInBackground 1
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global

define TCM310_0 TCM 310 /dev/ttyAMA0@57600

define WEBphone FHEMWEB 8084 global
attr WEBphone stylesheetPrefix smallscreen

define WEBtablet FHEMWEB 8085 global
attr WEBtablet stylesheetPrefix touchpad

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate filelog ./log/%NAME-%Y.log

define eventTypes eventTypes ./log/eventTypes.txt

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create

define 11C868_switch EnOcean AABBCC02   <-- this is a "virtual" switch I just created to control the relay 0011C868, I haven't got it working yet because I don't understand how to "Teach In"

attr 11C868_switch room Unsorted
attr 11C868_switch EventMap BI: on B0: off
attr 11C868_switch subType switch
define FileLog_11C868_switch FileLog ./log/11C868_switch%Y.log 11C868_switch
attr FileLog_11C868_switch logtype text

define EnO_switch_0011C868 EnOcean 0011C868
attr EnO_switch_0011C868 eventMap B0:off BI:on
attr EnO_switch_0011C868 model FT55
attr EnO_switch_0011C868 room EnOcean
attr EnO_switch_0011C868 subType switch
attr EnO_switch_0011C868 switchMode switch
define FileLog_EnO_switch_0011C868 FileLog ./log/EnO_switch_0011C868-%Y.log EnO_switch_0011C868
attr FileLog_EnO_switch_0011C868 logtype text
attr FileLog_EnO_switch_0011C868 room EnOcean


define EnO_switch_0027DE1E EnOcean 0027DE1E
attr EnO_switch_0027DE1E room EnOcean
attr EnO_switch_0027DE1E subType switch
define FileLog_EnO_switch_0027DE1E FileLog ./log/EnO_switch_0027DE1E-%Y.log EnO_switch_0027DE1E
attr FileLog_EnO_switch_0027DE1E logtype text
attr FileLog_EnO_switch_0027DE1E room EnOcean
define EnO_sensor_008774B3 EnOcean 008774B3
attr EnO_sensor_008774B3 room EnOcean
attr EnO_sensor_008774B3 subType sensor
define FileLog_EnO_sensor_008774B3 FileLog ./log/EnO_sensor_008774B3-%Y.log EnO_sensor_008774B3
attr FileLog_EnO_sensor_008774B3 logtype text
attr FileLog_EnO_sensor_008774B3 room EnOcean


define EnO_sensor_000366E9 EnOcean 000366E9
attr EnO_sensor_000366E9 room EnOcean
attr EnO_sensor_000366E9 subType sensor
define FileLog_EnO_sensor_000366E9 FileLog ./log/EnO_sensor_000366E9-%Y.log EnO_sensor_000366E9
attr FileLog_EnO_sensor_000366E9 logtype text
attr FileLog_EnO_sensor_000366E9 room EnOcean
define EnO_sensor_01824824 EnOcean 01824824
attr EnO_sensor_01824824 room EnOcean
attr EnO_sensor_01824824 subType sensor
define FileLog_EnO_sensor_01824824 FileLog ./log/EnO_sensor_01824824-%Y.log EnO_sensor_01824824
attr FileLog_EnO_sensor_01824824 logtype text
attr FileLog_EnO_sensor_01824824 room EnOcean
define EnO_switch_0181C155 EnOcean 0181C155
attr EnO_switch_0181C155 room EnOcean
attr EnO_switch_0181C155 subType switch
define FileLog_EnO_switch_0181C155 FileLog ./log/EnO_switch_0181C155-%Y.log EnO_switch_0181C155
attr FileLog_EnO_switch_0181C155 logtype text
attr FileLog_EnO_switch_0181C155 room EnOcean


In reference to the virtual switch (11C868_switch) I want to create for the switch, EnO_switch_0011C868, I looked at the link you provided and I am having troubles with the part where I have to "Teach at the Actuator", I unfortunately do not speak any German and I am confused by the translation, the link states:

Zitat

  • Teach at the actuator
    Lower Function rotary switch: on need to adjust channel
    Lower Function rotary switch:
    0: "a" teach-
    Middle-function rotary switch: position "LRN" (LED flashes)
    Fhem box: "set eg_fl_licht B0" <Enter> (LED off)
    Middle-function rotary switch: position "1"
    Lower Function rotary switch:
    Learning "from": 2
    Middle-function rotary switch: position "LRN" (LED flashes)
    Fhem box: "set eg_fl_licht BI" <Enter> (LED off)
    Set to "Auto": Middle and Bottom Function rotary switch

If possible, could you provide a better translation of the steps required to link this "virtual" switch to the EnOcean switch? As mentioned before, I am using PTM200 push button switch module (EEP: F6-02-02)

Many thanks!
Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: krikan am 17 Juli 2014, 11:46:05
Hi ivanyohuno,

please:
- use the version command
  Is 10_EnOcean.pm: "$Id: 10_EnOcean.pm 6143 2014-06-19 19:11:44Z klaus-schauer $" ?
- post actuator/switching receiver name

Christian

edit:
Have you read this? Have you done it?:
Zitat2014.07.17 08:59:29 1: update Action required: please run 'notice view update-20130127-001'
If not: please do it
-use the update command again
-use the shutdown restart
- back to my questions from above
Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: Marko am 17 Juli 2014, 12:50:42
Hi Ivanyohuno,

Some more hints to understand EnOcean radio.
- a switch (e.g. PTM 210 or PTM 200) can only send (and not receive)
- most actuators (e.g. RCM 250) can only receive (and not send)
- this is a german forum, so most users have equipment from manufacturers
  like Eltako, Peha or Thermokon, since some manufacturers have additional
  concepts on learning (e.g. by server) you need to specify your equipment
- EnOcean basic conecpt is:
  a switch is paired with an actuator by pressing the learn button on the actor
  and than press the rocker of the switch, the ID of the switch is stored in
  the receiver table
- if you want to switch lights by the Smart Home Server you have to learn
   one of the 128 transceiver IDs (EnOcean Pi or USB 300) to the actuator.
   Transceiver IDs are based on the "base ID". FHEM reports the base ID via
   the command "get TCM310_0 baseID". Use the reported base ID and increment
   this by one for the first transceiver ID.  Use this ID to define
   a switch at FHEM and learn this switch to the actor.
   For details have a look at the FHEM command reference:
   http://fhem.de/commandref_DE.html
   For security reasons every transceiver has its own ID area beginning
   with the base ID +1 


This should help to understand,
Marko
Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: ivanyohuno am 17 Juli 2014, 13:16:25
Hello Everybody,

Thank you for the quick replies yet again, sorry I skipped a couple of the things you asked before, I will show you all the updated files:


Config:
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global statefile ./log/fhem.save
attr global updateInBackground 1
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global

define TCM310_0 TCM 310 /dev/ttyAMA0@57600

define WEBphone FHEMWEB 8084 global
attr WEBphone stylesheetPrefix smallscreen

define WEBtablet FHEMWEB 8085 global
attr WEBtablet stylesheetPrefix touchpad

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate filelog ./log/%NAME-%Y.log

define eventTypes eventTypes ./log/eventTypes.txt

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create

define 11C868_switch EnOcean AABBCC02
attr 11C868_switch room Unsorted
attr 11C868_switch EventMap BI: on B0: off
attr 11C868_switch subType switch
define FileLog_11C868_switch FileLog ./log/11C868_switch%Y.log 11C868_switch
attr FileLog_11C868_switch logtype text

define EnO_switch_0011C868 EnOcean 0011C868
attr EnO_switch_0011C868 eventMap B0:off BI:on
attr EnO_switch_0011C868 model FT55
attr EnO_switch_0011C868 room EnOcean
attr EnO_switch_0011C868 subType switch
attr EnO_switch_0011C868 switchMode switch
define FileLog_EnO_switch_0011C868 FileLog ./log/EnO_switch_0011C868-%Y.log EnO_switch_0011C868
attr FileLog_EnO_switch_0011C868 logtype text
attr FileLog_EnO_switch_0011C868 room EnOcean


define EnO_switch_0027DE1E EnOcean 0027DE1E
attr EnO_switch_0027DE1E room EnOcean
attr EnO_switch_0027DE1E subType switch
define FileLog_EnO_switch_0027DE1E FileLog ./log/EnO_switch_0027DE1E-%Y.log EnO_switch_0027DE1E
attr FileLog_EnO_switch_0027DE1E logtype text
attr FileLog_EnO_switch_0027DE1E room EnOcean
define EnO_sensor_008774B3 EnOcean 008774B3
attr EnO_sensor_008774B3 room EnOcean
attr EnO_sensor_008774B3 subType sensor
define FileLog_EnO_sensor_008774B3 FileLog ./log/EnO_sensor_008774B3-%Y.log EnO_sensor_008774B3
attr FileLog_EnO_sensor_008774B3 logtype text
attr FileLog_EnO_sensor_008774B3 room EnOcean


define EnO_sensor_000366E9 EnOcean 000366E9
attr EnO_sensor_000366E9 room EnOcean
attr EnO_sensor_000366E9 subType sensor
define FileLog_EnO_sensor_000366E9 FileLog ./log/EnO_sensor_000366E9-%Y.log EnO_sensor_000366E9
attr FileLog_EnO_sensor_000366E9 logtype text
attr FileLog_EnO_sensor_000366E9 room EnOcean
define EnO_sensor_01824824 EnOcean 01824824
attr EnO_sensor_01824824 room EnOcean
attr EnO_sensor_01824824 subType sensor
define FileLog_EnO_sensor_01824824 FileLog ./log/EnO_sensor_01824824-%Y.log EnO_sensor_01824824
attr FileLog_EnO_sensor_01824824 logtype text
attr FileLog_EnO_sensor_01824824 room EnOcean
define EnO_switch_0181C155 EnOcean 0181C155
attr EnO_switch_0181C155 room EnOcean
attr EnO_switch_0181C155 subType switch
define FileLog_EnO_switch_0181C155 FileLog ./log/EnO_switch_0181C155-%Y.log EnO_switch_0181C155
attr FileLog_EnO_switch_0181C155 logtype text
attr FileLog_EnO_switch_0181C155 room EnOcean


Filelog:

2014.07.17 08:59:29 1: update Action required: please run 'notice view update-20130127-001'
2014.07.17 10:22:23 3: update get http://fhem.de/fhemupdate4/svn/controls_fhem.txt
2014.07.17 10:22:41 1: update Action required: please run 'notice view update-20130127-001'
2014.07.17 10:25:58 0: Server shutdown
2014.07.17 10:26:16 1: Including fhem.cfg
2014.07.17 10:26:19 3: telnetPort: port 7072 opened
2014.07.17 10:26:24 3: WEB: port 8083 opened
2014.07.17 10:26:25 3: Opening TCM310_0 device /dev/ttyAMA0
2014.07.17 10:26:28 3: Setting TCM310_0 baudrate to 57600
2014.07.17 10:26:28 3: TCM310_0 device opened
2014.07.17 10:26:28 2: TCM TCM310_0 BaseID=FF880280,RemainingWriteCycles=0A
2014.07.17 10:26:28 3: WEBphone: port 8084 opened
2014.07.17 10:26:28 3: WEBtablet: port 8085 opened
2014.07.17 10:27:15 3: 11C868_switch: unknown attribute EventMap, choose one of verbose:0,1,2,3,4,5 room group comment alias eventMap userReadings IODev do_not_notify:1,0 ignore:0,1 dummy:0,1 showtime:1,0 actualTemp angleMax:slider,-180,20,180 angleMin:slider,-180,20,180 angleTime:0,1,2,3,4,5,6 comMode:biDir,uniDir destinationID devChannel dimValueOn gwCmd:blindCmd,controlVar,dimming,fanStage,setpointBasic,setpointShift,switching humidityRefDev manufID:001,002,003,004,005,006,007,008,009,00A,00B,00C,00D,00E,00F,010,011,012,013,014,015,016,017,018,019,01A,01B,01C,7FF model:other,FAE14,FHK14,FSB14,FSB61,FSB70,FSM12,FSM61,FT55,FTS12 rampTime repeatingAllowed:yes,no scaleDecimals:0,1,2,3,4,5,6,7,8,9 scaleMax scaleMin securityLevel:unencrypted sensorMode:switch,pushbutton shutTime shutTimeCloses subDef subDef0 subDefI subType:COSensor.01,FRW,MD15,PM101,autoMeterReading.00,autoMeterReading.01,autoMeterReading.02,autoMeterReading.03,contact,digitalInput.01,digitalInput.02,environmentApp,gateway,keycard,lightCtrlState.01,lightCtrlState.02,lightSensor.01,lightSensor.02,lightSensor.03,lightTempOccupSensor.01,lightTempOccupSensor.02,lightTempOccupSensor.03,manufProfile,multiFuncSensor,occupSensor.01,occupSensor.02,occupSensor.03,particlesSensor.01,radonSensor.01,raw,roomSensorControl.01,roomSensorControl.02,roomSensorControl.05,roomSensorControl.18,roomSensorControl.19,roomSensorControl.1A,roomSensorControl.1B,roomSensorControl.1C,roomSensorControl.1D,roomSensorControl.1F,sensor,shutterCtrlState.01,switch,tempCtrlState.01,tempHumiCO2Sensor.01,tempHumiSensor.02,tempSensor.01,tempSensor.02,tempSensor.03,tempSensor.04,tempSensor.05,tempSensor.06,tempSensor.07,tempSensor.08,tempSensor.09,tempSensor.0A,tempSensor.0B,tempSensor.10,tempSensor.11,tempSensor.12,tempSensor.13,tempSensor.14,tempSensor.15,tempSensor.16,tempSensor.17,tempSensor.18,tempSensor.19,tempSensor.1A,tempSensor.1B,tempSensor.20,tempSensor.30,vocSensor.01,windowHandle subTypeSet:COSensor.01,FRW,MD15,PM101,autoMeterReading.00,autoMeterReading.01,autoMeterReading.02,autoMeterReading.03,contact,digitalInput.01,digitalInput.02,environmentApp,gateway,keycard,lightCtrlState.01,lightCtrlState.02,lightSensor.01,lightSensor.02,lightSensor.03,lightTempOccupSensor.01,lightTempOccupSensor.02,lightTempOccupSensor.03,manufProfile,multiFuncSensor,occupSensor.01,occupSensor.02,occupSensor.03,particlesSensor.01,radonSensor.01,raw,roomSensorControl.01,roomSensorControl.02,roomSensorControl.05,roomSensorControl.18,roomSensorControl.19,roomSensorControl.1A,roomSensorControl.1B,roomSensorControl.1C,roomSensorControl.1D,roomSensorControl.1F,sensor,shutterCtrlState.01,switch,tempCtrlState.01,tempHumiCO2Sensor.01,tempHumiSensor.02,tempSensor.01,tempSensor.02,tempSensor.03,tempSensor.04,tempSensor.05,tempSensor.06,tempSensor.07,tempSensor.08,tempSensor.09,tempSensor.0A,tempSensor.0B,tempSensor.10,tempSensor.11,tempSensor.12,tempSensor.13,tempSensor.14,tempSensor.15,tempSensor.16,tempSensor.17,tempSensor.18,tempSensor.19,tempSensor.1A,tempSensor.1B,tempSensor.20,tempSensor.30,vocSensor.01,windowHandle switchMode:switch,pushbutton switchType:direction,universal,central temperatureRefDev event-on-change-reading event-on-update-reading event-min-interval stateFormat devStateIcon devStateStyle icon sortby webCmd or use attr global userattr EventMap
2014.07.17 10:27:15 1: configfile: 11C868_switch: unknown attribute EventMap, choose one of verbose:0,1,2,3,4,5 room group comment alias eventMap userReadings IODev do_not_notify:1,0 ignore:0,1 dummy:0,1 showtime:1,0 actualTemp angleMax:slider,-180,20,180 angleMin:slider,-180,20,180 angleTime:0,1,2,3,4,5,6 comMode:biDir,uniDir destinationID devChannel dimValueOn gwCmd:blindCmd,controlVar,dimming,fanStage,setpointBasic,setpointShift,switching humidityRefDev manufID:001,002,003,004,005,006,007,008,009,00A,00B,00C,00D,00E,00F,010,011,012,013,014,015,016,017,018,019,01A,01B,01C,7FF model:other,FAE14,FHK14,FSB14,FSB61,FSB70,FSM12,FSM61,FT55,FTS12 rampTime repeatingAllowed:yes,no scaleDecimals:0,1,2,3,4,5,6,7,8,9 scaleMax scaleMin securityLevel:unencrypted sensorMode:switch,pushbutton shutTime shutTimeCloses subDef subDef0 subDefI subType:COSensor.01,FRW,MD15,PM101,autoMeterReading.00,autoMeterReading.01,autoMeterReading.02,autoMeterReading.03,contact,digitalInput.01,digitalInput.02,environmentApp,gateway,keycard,lightCtrlState.01,lightCtrlState.02,lightSensor.01,lightSensor.02,lightSensor.03,lightTempOccupSensor.01,lightTempOccupSensor.02,lightTempOccupSensor.03,manufProfile,multiFuncSensor,occupSensor.01,occupSensor.02,occupSensor.03,particlesSensor.01,radonSensor.01,raw,roomSensorControl.01,roomSensorControl.02,roomSensorControl.05,roomSensorControl.18,roomSensorControl.19,roomSensorControl.1A,roomSensorControl.1B,roomSensorControl.1C,roomSensorControl.1D,roomSensorControl.1F,sensor,shutterCtrlState.01,switch,tempCtrlState.01,tempHumiCO2Sensor.01,tempHumiSensor.02,tempSensor.01,tempSensor.02,tempSensor.03,tempSensor.04,tempSensor.05,tempSensor.06,tempSensor.07,tempSensor.08,tempSensor.09,tempSensor.0A,tempSensor.0B,tempSensor.10,tempSensor.11,tempSensor.12,tempSensor.13,tempSensor.14,tempSensor.15,tempSensor.16,tempSensor.17,tempSensor.18,tempSensor.19,tempSensor.1A,tempSensor.1B,tempSensor.20,tempSensor.30,vocSensor.01,windowHandle subTypeSet:COSensor.01,FRW,MD15,PM101,autoMeterReading.00,autoMeterReading.01,autoMeterReading.02,autoMeterReading.03,contact,digitalInput.01,digitalInput.02,environmentApp,gateway,keycard,lightCtrlState.01,lightCtrlState.02,lightSensor.01,lightSensor.02,lightSensor.03,lightTempOccupSensor.01,lightTempOccupSensor.02,lightTempOccupSensor.03,manufProfile,multiFuncSensor,occupSensor.01,occupSensor.02,occupSensor.03,particlesSensor.01,radonSensor.01,raw,roomSensorControl.01,roomSensorControl.02,roomSensorControl.05,roomSensorControl.18,roomSensorControl.19,roomSensorControl.1A,roomSensorControl.1B,roomSensorControl.1C,roomSensorControl.1D,roomSensorControl.1F,sensor,shutterCtrlState.01,switch,tempCtrlState.01,tempHumiCO2Sensor.01,tempHumiSensor.02,tempSensor.01,tempSensor.02,tempSensor.03,tempSensor.04,tempSensor.05,tempSensor.06,tempSensor.07,tempSensor.08,tempSensor.09,tempSensor.0A,tempSensor.0B,tempSensor.10,tempSensor.11,tempSensor.12,tempSensor.13,tempSensor.14,tempSensor.15,tempSensor.16,tempSensor.17,tempSensor.18,tempSensor.19,tempSensor.1A,tempSensor.1B,tempSensor.20,tempSensor.30,vocSensor.01,windowHandle switchMode:switch,pushbutton switchType:direction,universal,central temperatureRefDev event-on-change-reading event-on-update-reading event-min-interval stateFormat devStateIcon devStateStyle icon sortby webCmd or use attr global userattr EventMap
2014.07.17 10:27:15 1: Including ./log/fhem.save
2014.07.17 10:27:15 1: usb create starting
2014.07.17 10:27:21 1: usb create end
2014.07.17 10:27:21 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2014.07.17 10:27:21 0: Server started with 24 defined entities (version $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $, os linux, user fhem, pid 1944)



you asked:
Zitatplease:
- use the version command
  Is 10_EnOcean.pm: "$Id: 10_EnOcean.pm 6143 2014-06-19 19:11:44Z klaus-schauer $" ?
- post actuator/switching receiver name

I got:
# $id: 10_EnOcean.pm 3958 2013-09-25 09:42:55Z klaus-schauer $

Actuator information (It is a RCM 250, sorry I can't believe I forgot to tell you guys this)

I will try everything stated above and come back to you


Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: krikan am 17 Juli 2014, 13:30:53
# $id: 10_EnOcean.pm 3958 2013-09-25 09:42:55Z klaus-schauer $

Thats very very old. Please use notice as mentioned before and update/shutdown restart.

You MUST have:
$Id: 10_EnOcean.pm 6143 2014-06-19 19:11:44Z klaus-schauer $

Todays English commandref http://fhem.de/commandref
Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: krikan am 17 Juli 2014, 13:50:58
If
$Id: 10_EnOcean.pm 6143 2014-06-19 19:11:44Z klaus-schauer $

Further you go:

get TCM310_0 baseId

According to your logfile should be: FF880280

Define your virtual Fhem-switch:
define myswitch EnOcean FF880281     <--- baseId +1hex
attr myswitch subType switch
attr myswitch room EnOcean


learn switch to RCM250:
http://www.enocean.com/de/enocean_module/rcm-250-oem-user-manual-pdf/   see 2.4
acitivate programming mode

set myswitch A0

Thats it, I hope so..  ;)

Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: ivanyohuno am 17 Juli 2014, 13:53:39
Thanks, you guys are definitely putting me on the right path, I when I used the update command earlier, it didn't update because I had to confirm the message. After I confirmed the message and updated and rebooted, I can't access the interface with my browser (hostname not resolved). I will try reinstalling FHEM and updating again.
Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: krikan am 17 Juli 2014, 13:58:18
Attention:
update can take some time - please wait until Fhem informs you about what is update
Probably you should use
update force
Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: ivanyohuno am 17 Juli 2014, 17:18:10
Hello everyone, I'm sorry for going AWOL. Still haven't managed to get any working results.

Further you go:

Zitatget TCM310_0 baseId
According to your logfile should be: FF880280

Define your virtual Fhem-switch:

define myswitch EnOcean FF880281     <--- baseId +1hex
attr myswitch subType switch
attr myswitch room EnOcean


learn switch to RCM250:
http://www.enocean.com/de/enocean_module/rcm-250-oem-user-manual-pdf/   see 2.4
acitivate programming mode

I have done all but learning the switch to the RCM250. The FHEM reference suggests I use the "teach" command to learn the switch (e.g. set switch teach 3000 and then pressing the LRN button on RCM250) but this command isn't recognized. I have also tried using pairForSec but that didn't work either. How exactly do I learn the RCM250 to this virtual switch
Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: krikan am 17 Juli 2014, 17:25:00
I think:
no teach, pairForSec because RCM250 is unidirektional, isn´t it?

Therefore:

First:
Press learn button

Second:
set myswitch A0

Thats it.
Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: ivanyohuno am 17 Juli 2014, 17:38:00
I tried this and still didn't get any luck. Is it:

set TCM310_0 pairForSec 10

then

Press LRN button

then

set switch A0
??
Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: krikan am 17 Juli 2014, 17:43:45
set TCM310_0 pairForSec 10 You do not need this.

Press LRN Button to activate programming mode

Then

command:
set myswitch A0
               ^
    name of virtual fhem switch


If you do not get lucky:
please post output of
get TCM310_0 baseId
and
list myswitch
          ^
    name of virtual fhem switch
and
your logfile



Titel: Antw:[ENGLISH] Sending Telegrams to PTM210 using FHEM Interface
Beitrag von: ivanyohuno am 17 Juli 2014, 17:53:43
Yes this worked, thanks a bunch!!