HMCCU: Version 4.3 verfügbar

Begonnen von zap, 11 September 2018, 10:40:03

Vorheriges Thema - Nächstes Thema

rieders

Hallo

Ich habe wiedermal eine Frage.
Werden bei HM Geräten keine FileLog´s erzeugt?
Muss ich die selber estellen ?


Grüße
André

Wernieman

ZitatMuss ich die selber estellen ?
Ja
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

DR

Wieder eine Frage zur (in)komatibilität mit den anderen Modulen.

Ich betreibe FHEM auf Windows Server mit Strawberry Perl.
Vor kurzem habe ich CCU3 (davor habe ich HMLAN genutzt) gekauft und dafür HMCCU gemäß https://wiki.fhem.de/wiki/HMCCU_Best_Practice eingerichet (d.h. mit HMCCURPCPROC).
RPC::XML Paket wurde mit cpan install RPC::XML installiert.

Attributes:
   ccudef-readingfilter ^(LOW_?BAT|UNREACH)$
   ccudef-readingname ^(.+\.)?LOW_?BAT$:battery;;^(.+\.)?UNREACH$:activity
   ccudef-substitute AES_KEY!(0|false):off,(1|true):on;;LOWBAT,LOW_BAT!(0|false):ok,(1|true):low;;UNREACH!(0|false):alive,(1|true):dead;;MOTION!(0|false):noMotion,(1|true):motion;;DIRECTION!0:stop,1:up,2:down,3:undefined;;WORKING!0:false,1:true;;INHIBIT!(0|false):unlocked,(1|true):locked
   ccuflags   procrpc
   cmdIcon    on:general_an off:general_aus
   eventMap   /rpcserver on:on/rpcserver off:off/
   rpcinterfaces BidCos-RF
   rpcport    2001
   rpcserver  on
   stateFormat rpcstate/state


HMCCU funktioniert einwandfrei, verbindet sich mit dem CCU3 und liest auch die Geräte aus.

Aber nach der Installation funktionieren bei mir HUEBridge und Netatmo nicht mehr. Im Log finde ich folgende Einträge:

2020.12.19 18:21:26 2: netatmo_M03_00_00_07_a6_70: invalid json evaluation on dispatch type getmeasure JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at ./FHEM/38_netatmo.pm line 2752.
2020.12.19 18:21:26 2: netatmo_M05_00_00_03_93_bc: invalid json evaluation on dispatch type getmeasure JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at ./FHEM/38_netatmo.pm line 2752.
2020.12.19 18:21:26 2: netatmo_M03_00_00_08_4b_88: invalid json evaluation on dispatch type getmeasure JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at ./FHEM/38_netatmo.pm line 2752.
2020.12.19 18:21:26 2: netatmo_M02_00_00_31_b3_50: invalid json evaluation on dispatch type getmeasure JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at ./FHEM/38_netatmo.pm line 2752.

2020.12.19 18:21:43 2: Hue: json error: JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at ./FHEM/30_HUEBridge.pm line 1879.
2020.12.19 18:22:43 2: Hue: json error: JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at ./FHEM/30_HUEBridge.pm line 1879.


Ich habe sowohl https://forum.fhem.de/index.php/topic,74943.0/all.html als auch https://forum.fhem.de/index.php/topic,83544.0.html bereits gefunden und gelesen. Laut beiden soll das Problem an HMCCURPC liegen und mit dem Update auf HMCCU 4.2 behoben werden.

Ich nutze aber HMCCURPCPROC und HMCCU 4.3.025. HMCCURPC habe ich gar nicht (mit list TYPE=HMCCURPC extra überprüft). Was kann man hier noch machen?

Gruß
Dmitrij

Dirk070

Hallo zusammen,

ich nutze die Möglichkeit, mehrere Befehle mit einem Aufruf an die CCU zu übergeben.
Immer wieder werden einzelne Befehle nicht ausgeführt (Rollade fährt nicht).

Im Log der CCU3 finde ich keine Fehlermeldungen, in FHEM gibt es einen Tiemout:
HMCCUDEV: [CCU_EG_WZ_Bl1PBU_GAR : 5174] Error during CCU request. read from http://xx.xx.xx.xx:8181 timed out

Variable $Rollade wird gefüllt mit:
CCU_EG_WZ_Bl1PBU_GAR.4.LEVEL=0 CCU_EG_WZ_Bl1PBU_GAL.4.LEVEL=0 CCU_OG_SZ_Bl1PBU_GAL.4.LEVEL=7 CCU_OG_SZ_Bl1PBU_GAR.4.LEVEL=7

Ausgeführt werden die Befehle dann mit:
fhem("set ccu3 datapoint $Rollade_CCU");

Teils laufen alle Befehle ohne Probleme, teils kommt es zum Timeout. Die Menge und Art der Befehle sind aber immer identisch.

Hat jemand eine Idee, wie ich den Fehler eingrenzen kann?

Danke vorab und schöne Grüße
Dirk