Autor Thema: HM-ES-PMSw1-Pl: model unknown  (Gelesen 1737 mal)

Hyla

  • Gast
HM-ES-PMSw1-Pl: model unknown
« am: 19 Juni 2014, 21:00:30 »
Hallo,

First of all excuse me to write in English, I can read and understand German but writing is a bit of a problem .. feel free to answer in German or English as you wish!

The situation: I use raspberry pie, raspbian. I think the latest version of FHEM, and I just have the LAN configuration adapter tool HM-CFG-LAN which seems connected ok + 1 HM-ES-PMSw1-Pl to start

After adding a powerplug, Funk-Schaltaktor of type HM-ES-PMSw1-Pl the device is detected but not recognised: it shows up as "model unknown" in fhem.cfg:

define CUL_HM_ID_00AC_274251 CUL_HM 274251
attr CUL_HM_ID_00AC_274251 .devInfo 3F0100
attr CUL_HM_ID_00AC_274251 .stc 51
attr CUL_HM_ID_00AC_274251 expert 2_full
attr CUL_HM_ID_00AC_274251 firmware 1.5
attr CUL_HM_ID_00AC_274251 model unknown
attr CUL_HM_ID_00AC_274251 peerIDs
attr CUL_HM_ID_00AC_274251 room CUL_HM
attr CUL_HM_ID_00AC_274251 serialNr LEQ0183556
attr CUL_HM_ID_00AC_274251 subType
define FileLog_CUL_HM_ID_00AC_274251 FileLog ./log/CUL_HM_ID_00AC_274251-%Y.log CUL_HM_ID_00AC_274251
attr FileLog_CUL_HM_ID_00AC_274251 logtype text
attr FileLog_CUL_HM_ID_00AC_274251 room CUL_HM
define ActionDetector CUL_HM 000000
attr ActionDetector actCycle 600
attr ActionDetector event-on-change-reading .*
attr ActionDetector room CUL_HMni

define FileLog_ActionDetector FileLog ./log/ActionDetector-%Y.log ActionDetector
attr FileLog_ActionDetector logtype text
attr FileLog_ActionDetector room CUL_HM

in ssh I go to the logfile on the raspberry and find the following:
root@raspy:/opt/fhem/log#
2014-06-18_22:03:44 CUL_HM_ID_00AC_274251 noReceiver: src:274251 845E 8000000000000000091CFC
2014-06-18_22:06:00 CUL_HM_ID_00AC_274251 noReceiver: src:274251 845E 80000000000000000912FD
2014-06-18_22:08:02 CUL_HM_ID_00AC_274251 noReceiver: src:274251 845E 8000000000000000092EFE
2014-06-18_22:10:53 CUL_HM_ID_00AC_274251 noReceiver: src:274251 845E 8000000000000000092CFD


Other people had the same problem before, for example:
Zitat
http://forum.fhem.de/index.php?topic=22615.10


their solution was:
Zitat
entweder sendet das Device keine korrekte ID => rohmessage der Anlernmessage aufzeichnen
oder es ist ein neuer typ => eher unwahrscheinlich  [not the case]
oder du hast eine alte FHEM SW => update force [also I just downloaded and installed, apt-get, update, upgrade so suppose to have latest version - update force command in fhem does not work by the way, says "not defined"]


reply:
rohmessage der Anlernmessage aufzeichnen habe ich gemacht, danach hat er die 6 Channel gefunden...

In another thread I find:
Zitat
« Antwort #262 am: 23 Februar 2014, 13:51:52 »
einfach rohmessages
aufzeichnen, anderlernen drücken - fertig

Could someone explain me about this "rohmessage der Anlernmessage aufzeichnen ?" as it seems to be the solution to this type of problem, but I do not understand what they mean or how to do this.  (I googled, searched the forum. and looked in the beginners einleitung but did not find the answer)

Vielen dank im voraus!



Offline betateilchen

  • Developer
  • Hero Member
  • ****
  • Beiträge: 16154
  • s/fhem\.cfg/configDB/g
Antw: HM-ES-PMSw1-Pl: model unknown
« Antwort #1 am: 19 Juni 2014, 21:06:57 »
I think the latest version of FHEM,

Please be sure you have installed ALL fhem update packages being published since release of the installation package fhem 5.5!
-----------------------
Unaufgeforderte Anfragen per email werden von mir nicht beantwortet. Dafür ist das Forum da.

Hyla

  • Gast
Antw: HM-ES-PMSw1-Pl: model unknown
« Antwort #2 am: 19 Juni 2014, 22:13:57 »

Zitat
Please be sure you have installed ALL fhem update packages being published since release of the installation package fhem 5.5!

you were right... actually I "thought" my setup was up to date as I had downloaded 5.5, and also done apt-get update/upgrade etc. But that is not enough like you pointed out.

When I did "update"  in the FHEM command field I got errors, "update force" I got "not defined" so could not do it.    SOLVED now as I just reinstalled my raspberry pie (was full of other experimental stuff anyway, clean install was a good idea) reinstalled FHEM from scratch, and this time I could do the update command without problem - and FHEM is now at the latest version.

And yes, now I detect the funk-schaltaktor HM-ES-PMSw1-Pl correctly it seems :-)

define CUL_HM_HM_ES_PMSw1_Pl_274251 CUL_HM 274251
attr CUL_HM_HM_ES_PMSw1_Pl_274251 room CUL_HM
define FileLog_CUL_HM_HM_ES_PMSw1_Pl_274251 FileLog ./log/CUL_HM_HM_ES_PMSw1_Pl_274251-%Y.log CUL_HM_HM_ES_PMSw1_Pl_274251

attr FileLog_CUL_HM_HM_ES_PMSw1_Pl_274251 logtype text
attr FileLog_CUL_HM_HM_ES_PMSw1_Pl_274251 room CUL_HM

Offline martinp876

  • Moderator
  • Hero Member
  • ***
  • Beiträge: 10683
Antw: HM-ES-PMSw1-Pl: model unknown
« Antwort #3 am: 20 Juni 2014, 07:10:39 »
as the model is not detected it should be a problem with the model-id. I would like to see the config-messages, that comes when you issue config on the  device.
to enable raw-message logging with HMLAN/USB you need to set

attr global verbose 1
attr global mseclog 1
attr <hmlan> logIDs all,sys

the messages will be logged to FHEM general logfile

I have the suspicion that your file HMConfig.pm is not the current one. Maybe you just check this one

Offline betateilchen

  • Developer
  • Hero Member
  • ****
  • Beiträge: 16154
  • s/fhem\.cfg/configDB/g
Antw: HM-ES-PMSw1-Pl: model unknown
« Antwort #4 am: 20 Juni 2014, 10:24:30 »
martin, the problem is solved after successful fhem update ;)


Zitat
and this time I could do the update command without problem - and FHEM is now at the latest version.
And yes, now I detect the funk-schaltaktor HM-ES-PMSw1-Pl correctly
-----------------------
Unaufgeforderte Anfragen per email werden von mir nicht beantwortet. Dafür ist das Forum da.

 

decade-submarginal