Autor Thema: Pi3 enocean and fhem (BaseID not working)  (Gelesen 1015 mal)

Offline fibbi

  • New Member
  • *
  • Beiträge: 12
Pi3 enocean and fhem (BaseID not working)
« am: 27 August 2017, 19:05:22 »
I am up running with a enocean and a pi 3, but i am not able to get a baseID out of my enocean.

Anyone with a solution og where i can find one ?  ( english / german) does not matter.

Offline amenomade

  • Hero Member
  • *****
  • Beiträge: 2077
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #1 am: 27 August 2017, 19:14:04 »
Zitat
with a enocean
With a enocean what? Enocean is a protocol. What do you have for hardware using EnOcean protocol?
FHEM 5.8 Pi 3, EchoDot, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, und HM Komponenten

F:"Schatz? Mach aus bitte"
M: "Alexa? Licht aus"-"Ich bin mir leider nicht sicher"  M:"Alexa? aus Licht"-"Das weiss ich leider nicht" M:"Alexa? Schalte...
F: "Drück mal auf den blöden Knopf!

Offline fibbi

  • New Member
  • *
  • Beiträge: 12
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #2 am: 27 August 2017, 19:22:09 »
Sorry for beeing unclear earlier

I have the TCM310 module with an pi3.

have follow the wiki on this pages and have been able to log some enocean activity, but i am not able to get or write the Base ID unto the TCM.

seems like there is problem communication to the hardware

Offline amenomade

  • Hero Member
  • *****
  • Beiträge: 2077
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #3 am: 27 August 2017, 20:30:00 »
Did you read Command Ref?
https://fhem.de/commandref.html#TCM

Zitat
Get
    TCM 120
   
  • baseID
  • Get the BaseID. You need this command in order to control EnOcean devices, see the EnOcean paragraph.
     
FHEM 5.8 Pi 3, EchoDot, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, und HM Komponenten

F:"Schatz? Mach aus bitte"
M: "Alexa? Licht aus"-"Ich bin mir leider nicht sicher"  M:"Alexa? aus Licht"-"Das weiss ich leider nicht" M:"Alexa? Schalte...
F: "Drück mal auf den blöden Knopf!

Offline fibbi

  • New Member
  • *
  • Beiträge: 12
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #4 am: 27 August 2017, 20:51:50 »
yes i have read it.... think there is some problem with my initial setup with the pi serial?

Offline amenomade

  • Hero Member
  • *****
  • Beiträge: 2077
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #5 am: 27 August 2017, 20:58:08 »
Set your TCM device on verbose 5. And then try get <TCMdevice> baseID and post the corresponding log and the result of a "list <TCMdevice>"
FHEM 5.8 Pi 3, EchoDot, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, und HM Komponenten

F:"Schatz? Mach aus bitte"
M: "Alexa? Licht aus"-"Ich bin mir leider nicht sicher"  M:"Alexa? aus Licht"-"Das weiss ich leider nicht" M:"Alexa? Schalte...
F: "Drück mal auf den blöden Knopf!

Offline fibbi

  • New Member
  • *
  • Beiträge: 12
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #6 am: 27 August 2017, 21:33:34 »
Internals:
   BaseID     00000000
   DEF        ESP3  /dev/ttyAMA0@57600
   DeviceName /dev/ttyAMA0@57600
   FD         10
   LastID     00000000
   MODEL      ESP3
   NAME       TCM_ESP3_0
   NOTIFYDEV  global
   NR         20
   NTFY_ORDER 50-TCM_ESP3_0
   PARTIAL
   STATE      initialized
   TYPE       TCM
   Readings:
     2017-08-27 21:21:04   state           initialized
   Helper:
Attributes:
   comType    RS485
   learningMode always
   sendInterval 0
   verbose    5

Offline amenomade

  • Hero Member
  • *****
  • Beiträge: 2077
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #7 am: 27 August 2017, 21:41:30 »
What does the FHEM log says when starting fhem?
FHEM 5.8 Pi 3, EchoDot, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, und HM Komponenten

F:"Schatz? Mach aus bitte"
M: "Alexa? Licht aus"-"Ich bin mir leider nicht sicher"  M:"Alexa? aus Licht"-"Das weiss ich leider nicht" M:"Alexa? Schalte...
F: "Drück mal auf den blöden Knopf!

Offline fibbi

  • New Member
  • *
  • Beiträge: 12
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #8 am: 27 August 2017, 21:44:38 »
it is so long but i will post the last part

Online krikan

  • Global Moderator
  • Hero Member
  • ****
  • Beiträge: 5538
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #9 am: 27 August 2017, 21:47:23 »
Attributes:
   comType    RS485
Delete this attribute and try again, please.

Offline fibbi

  • New Member
  • *
  • Beiträge: 12
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #10 am: 27 August 2017, 21:48:28 »
2017.08.27 21:17:18 0: Server started with 31 defined entities (fhem.pl:13447/2017-02-19 perl:5.024001 os:linux user:fhem pid:523)
2017.08.27 21:21:00 0: Server shutdown
2017.08.27 21:21:03 1: Including fhem.cfg
2017.08.27 21:21:03 3: telnetPort: port 7072 opened
2017.08.27 21:21:03 3: WEB: port 8083 opened
2017.08.27 21:21:03 3: WEBphone: port 8084 opened
2017.08.27 21:21:03 3: WEBtablet: port 8085 opened
2017.08.27 21:21:03 2: eventTypes: loaded 62 events from ./log/eventTypes.txt
2017.08.27 21:21:03 3: Opening TCM_ESP3_0 device /dev/ttyAMA0
2017.08.27 21:21:03 3: Setting TCM_ESP3_0 serial parameters to 57600,8,N,1
2017.08.27 21:21:03 3: TCM_ESP3_0 device opened
2017.08.27 21:21:04 2: EnOcean Cryptographic functions are not available.
2017.08.27 21:21:04 1: Including ./log/fhem.save
2017.08.27 21:21:04 2: TCM TCM_ESP3_0 initialized
2017.08.27 21:21:04 1: usb create starting
2017.08.27 21:21:05 1: usb create end

Offline fibbi

  • New Member
  • *
  • Beiträge: 12
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #11 am: 27 August 2017, 21:54:42 »
same answer


Internals:
   BaseID     00000000
   DEF        ESP3  /dev/ttyAMA0@57600
   DeviceName /dev/ttyAMA0@57600
   FD         10
   LastID     00000000
   MODEL      ESP3
   NAME       TCM_ESP3_0
   NOTIFYDEV  global
   NR         20
   NTFY_ORDER 50-TCM_ESP3_0
   PARTIAL
   STATE      initialized
   TYPE       TCM
   Readings:
     2017-08-27 21:52:29   state           initialized
   Helper:
     telegramSentTimeLast 1503863585.39529
     awaitCmdResp:
Attributes:
   learningMode always
   sendInterval 0
   smartAckMailboxMax 0
   verbose    5


LOG:

2017.08.27 21:52:29 2: TCM TCM_ESP3_0 initialized
2017.08.27 21:52:29 1: usb create starting
2017.08.27 21:52:30 1: usb create end
2017.08.27 21:52:30 0: Featurelevel: 5.8
2017.08.27 21:52:30 0: Server started with 31 defined entities (fhem.pl:13447/2017-02-19 perl:5.024001 os:linux user:fhem pid:1228)
2017.08.27 21:52:35 3: TCM get TCM_ESP3_0 baseID
2017.08.27 21:52:35 5: TCM TCM_ESP3_0 sent ESP: 5500010005700838
2017.08.27 21:52:35 5: SW: 5500010005700838
2017.08.27 21:52:37 2: TCM TCM_ESP3_0 Timeout reading response for get baseID
2017.08.27 21:52:54 3: TCM get TCM_ESP3_0 baseID
2017.08.27 21:52:54 5: TCM TCM_ESP3_0 sent ESP: 5500010005700838
2017.08.27 21:52:54 5: SW: 5500010005700838
2017.08.27 21:52:56 2: TCM TCM_ESP3_0 Timeout reading response for get baseID
2017.08.27 21:53:05 3: TCM get TCM_ESP3_0 baseID
2017.08.27 21:53:05 5: TCM TCM_ESP3_0 sent ESP: 5500010005700838
2017.08.27 21:53:05 5: SW: 5500010005700838
2017.08.27 21:53:07 2: TCM TCM_ESP3_0 Timeout reading response for get baseID

jump to the top

Offline fibbi

  • New Member
  • *
  • Beiträge: 12
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #12 am: 27 August 2017, 22:10:34 »
any chance that someone would be intrested in remote acces my pi?

Online krikan

  • Global Moderator
  • Hero Member
  • ****
  • Beiträge: 5538

Offline fibbi

  • New Member
  • *
  • Beiträge: 12
Antw:Pi3 enocean and fhem (BaseID not working)
« Antwort #14 am: 27 August 2017, 22:21:14 »
yes have tried that setuo and no luck ;(

 

decade-submarginal