[gelöst] save config nach rename speichert die Umbennenung nicht

Begonnen von Charity, 26 Dezember 2014, 12:47:34

Vorheriges Thema - Nächstes Thema

Charity

Hatte jemand für mich einen Tipp.

Ich habe gerade HM-OU-CFM-PL in Fhem gepaired und das Device umbenannt.
Mit save config das ganze abgespeichert.


define GongMP3 CUL_HM 322B56
attr GongMP3 IODev HMLAN1
attr GongMP3 autoReadReg 4_reqStatus
attr GongMP3 expert 2_full
attr GongMP3 firmware 2.3
attr GongMP3 model HM-OU-CFM-PL
attr GongMP3 room CUL_HM
attr GongMP3 serialNr LEQ1003456
attr GongMP3 subType outputUnit
attr GongMP3 webCmd getConfig:clear msgEvents
attr GongMP3 room 90Alarmanlage
attr GongMP3 alias SoundInfo

define FileLog_GongMP3 FileLog ./log/GongMP3-%Y.log GongMP3
attr FileLog_GongMP3 logtype text
attr FileLog_GongMP3 room 99Logging


Das hat auch noch gut funktioniert.

Dann habe ich mit rename die beiden Kanäle umbenannt und wieder mit save config abgespeichert.
Im entsprechenden room sehe ich, die richtige Anzeige der Kanäle.


rename CUL_HM_HM_OU_CFM_PL_322B56_Led GongLED
rename CUL_HM_HM_OU_CFM_PL_322B56_Mp3 GongSound


Aber in der fhem.cfg sind die Definitionen weiterhin noch mit der ursprünglichen Bezeichnung

define CUL_HM_HM_OU_CFM_PL_322B56_Led CUL_HM 322B5601
attr CUL_HM_HM_OU_CFM_PL_322B56_Led model HM-OU-CFM-PL
attr CUL_HM_HM_OU_CFM_PL_322B56_Led peerIDs 00000000,
attr CUL_HM_HM_OU_CFM_PL_322B56_Led webCmd press short:press long

define CUL_HM_HM_OU_CFM_PL_322B56_Mp3 CUL_HM 322B5602
attr CUL_HM_HM_OU_CFM_PL_322B56_Mp3 model HM-OU-CFM-PL
attr CUL_HM_HM_OU_CFM_PL_322B56_Mp3 peerIDs 00000000,
attr CUL_HM_HM_OU_CFM_PL_322B56_Mp3 webCmd press short:press long:playTone replay



Das Commando

set GongSound playTone 010

funktioniert einwandfrei.

Wie speichere ich meine Änderungen nun ab ?

Charity


Charity

Lösung gefunden :

In der Commandzeile habe ich stets "save config" eingegeben.
Das funktioniert nicht.

Das Command ist "Save config" :-)

Besser geht es noch mit dem Menüeintrag