Zitat von: NewMatic am 23 April 2024, 16:45:13Teils funktioniert es ohne Probleme. dann reagiert er manchmal verzögert (im Sekunden Bereich), und reagiert "teils" gar nicht mehr.möglich, dass beim hochfahren plus senden das netzteil am meisten belastet wird und dadurch das funkmodul ausfällt. nach entsprechender pause erholt es sich?
ZitatWas genau ist mit der 1% regel bei #3 gemeint?jeder sender darf pro stunde nur 1% der zeit senden (overload).
Zitat von: frank am 23 April 2024, 14:20:49es gibt viele möglichkeiten, warum keine antworten zu sehen sind.
1. hmuart hat die cmd nicht gesendet
2. device hat die cmd nicht gehört
3. device konnte keine antworten senden, wegen 1% regel
4. hmuart hat die antworten nicht gehört
2024.04.22 22:12:12 5: myMPD, idle PID 16142 found
2024.04.22 22:12:12 5: myMPD, mpd_cmd[1] -> status
2024.04.22 22:12:12 5: myMPD, rec: repeat: 1
2024.04.22 22:12:12 5: myMPD, rec: random: 1
2024.04.22 22:12:12 5: myMPD, rec: single: 0
2024.04.22 22:12:12 5: myMPD, rec: consume: 0
2024.04.22 22:12:12 5: myMPD, rec: partition: default
2024.04.22 22:12:12 5: myMPD, rec: playlist: 2
2024.04.22 22:12:12 5: myMPD, rec: playlistlength: 9225
2024.04.22 22:12:12 5: myMPD, rec: mixrampdb: 0
2024.04.22 22:12:12 5: myMPD, rec: state: play
2024.04.22 22:12:12 5: myMPD, rec: song: 8766
2024.04.22 22:12:12 5: myMPD, rec: songid: 8767
2024.04.22 22:12:12 5: myMPD, rec: time: 142:152
2024.04.22 22:12:12 5: myMPD, rec: elapsed: 142.254
2024.04.22 22:12:12 5: myMPD, rec: bitrate: 0
2024.04.22 22:12:12 5: myMPD, rec: duration: 152.000
2024.04.22 22:12:12 5: myMPD, rec: audio: 44100:f:2
2024.04.22 22:12:12 5: myMPD, rec: nextsong: 7925
2024.04.22 22:12:12 5: myMPD, rec: nextsongid: 7926
!--------------------------------------------------------------
2024.04.22 22:12:22 5: myMPD, MPD_EVENT : player
2024.04.22 22:12:22 4: myMPD, MPD_EVENT : player
!--------------------------------------------------------------
2024.04.22 22:12:22 5: myMPD, mpd_cmd[1] -> command_list_begin
status
stats
currentsong
command_list_end
2024.04.22 22:12:22 5: myMPD, rec: repeat: 1
2024.04.22 22:12:22 5: myMPD, rec: random: 1
2024.04.22 22:12:22 5: myMPD, rec: single: 0
2024.04.22 22:12:22 5: myMPD, rec: consume: 0
2024.04.22 22:12:22 5: myMPD, rec: partition: default
2024.04.22 22:12:22 5: myMPD, rec: playlist: 2
2024.04.22 22:12:22 5: myMPD, rec: playlistlength: 9225
2024.04.22 22:12:22 5: myMPD, rec: mixrampdb: 0
2024.04.22 22:12:22 5: myMPD, rec: state: play
2024.04.22 22:12:22 5: myMPD, rec: song: 7925
2024.04.22 22:12:22 5: myMPD, rec: songid: 7926
2024.04.22 22:12:22 5: myMPD, rec: time: 0:409
2024.04.22 22:12:22 5: myMPD, rec: elapsed: 0.000
2024.04.22 22:12:22 5: myMPD, rec: bitrate: 128
2024.04.22 22:12:22 5: myMPD, rec: duration: 408.829
2024.04.22 22:12:22 5: myMPD, rec: audio: 44100:24:2
2024.04.22 22:12:22 5: myMPD, rec: nextsong: 7288
2024.04.22 22:12:22 5: myMPD, rec: nextsongid: 7289
2024.04.22 22:12:22 5: myMPD, rec: uptime: 10734
2024.04.22 22:12:22 5: myMPD, rec: playtime: 10735
2024.04.22 22:12:22 5: myMPD, rec: artists: 2508
2024.04.22 22:12:22 5: myMPD, rec: albums: 1260
2024.04.22 22:12:22 5: myMPD, rec: songs: 9225
2024.04.22 22:12:22 5: myMPD, rec: db_playtime: 2105031
2024.04.22 22:12:22 5: myMPD, rec: db_update: 1713802306
2024.04.22 22:12:22 5: myMPD, rec: file: International/T/Type O Negative/October Rust/Type O Negative - Red Water (Christmas Mourning).mp3
2024.04.22 22:12:22 5: myMPD, rec: Last-Modified: 2020-10-29T14:51:32Z
2024.04.22 22:12:22 5: myMPD, rec: Format: 44100:24:2
2024.04.22 22:12:22 5: myMPD, rec: Artist: Type O Negative
2024.04.22 22:12:22 5: myMPD, rec: Title: Red Water (Christmas Mourning)
2024.04.22 22:12:22 5: myMPD, rec: Album: October Rust
2024.04.22 22:12:22 5: myMPD, rec: Date: 1996
2024.04.22 22:12:22 5: myMPD, rec: Genre: Rock
2024.04.22 22:12:22 5: myMPD, rec: Time: 409
2024.04.22 22:12:22 5: myMPD, rec: duration: 408.829
2024.04.22 22:12:22 5: myMPD, rec: Pos: 7925
2024.04.22 22:12:22 5: myMPD, rec: Id: 7926
!--------------------------------------------------------------
2024.04.22 22:12:22 5: myMPD, new Playlist in ->
2024.04.22 22:12:22 5: myMPD, IdleDone -> myMPD|socket error
2024.04.22 22:12:22 4: myMPD, idle error -> socket error
2024.04.22 22:12:37 4: myMPD, Idle new PID : 16558
!--------------------------------------------------------------
2024.04.22 22:12:37 5: myMPD, mpd_cmd[1] -> command_list_begin
status
stats
currentsong
command_list_end
2024.04.22 22:12:37 5: myMPD, rec: repeat: 1
2024.04.22 22:12:37 5: myMPD, rec: random: 1
2024.04.22 22:12:37 5: myMPD, rec: single: 0
2024.04.22 22:12:37 5: myMPD, rec: consume: 0
2024.04.22 22:12:37 5: myMPD, rec: partition: default
2024.04.22 22:12:37 5: myMPD, rec: playlist: 2
2024.04.22 22:12:37 5: myMPD, rec: playlistlength: 9225
2024.04.22 22:12:37 5: myMPD, rec: mixrampdb: 0
2024.04.22 22:12:37 5: myMPD, rec: state: play
2024.04.22 22:12:37 5: myMPD, rec: song: 7925
2024.04.22 22:12:37 5: myMPD, rec: songid: 7926
2024.04.22 22:12:37 5: myMPD, rec: time: 15:409
2024.04.22 22:12:37 5: myMPD, rec: elapsed: 15.124
2024.04.22 22:12:37 5: myMPD, rec: bitrate: 128
2024.04.22 22:12:37 5: myMPD, rec: duration: 408.829
2024.04.22 22:12:37 5: myMPD, rec: audio: 44100:24:2
2024.04.22 22:12:37 5: myMPD, rec: nextsong: 7288
2024.04.22 22:12:37 5: myMPD, rec: nextsongid: 7289
2024.04.22 22:12:37 5: myMPD, rec: uptime: 10749
2024.04.22 22:12:37 5: myMPD, rec: playtime: 10750
2024.04.22 22:12:37 5: myMPD, rec: artists: 2508
2024.04.22 22:12:37 5: myMPD, rec: albums: 1260
2024.04.22 22:12:37 5: myMPD, rec: songs: 9225
2024.04.22 22:12:37 5: myMPD, rec: db_playtime: 2105031
2024.04.22 22:12:37 5: myMPD, rec: db_update: 1713802306
2024.04.22 22:12:37 5: myMPD, rec: file: International/T/Type O Negative/October Rust/Type O Negative - Red Water (Christmas Mourning).mp3
2024.04.22 22:12:37 5: myMPD, rec: Last-Modified: 2020-10-29T14:51:32Z
2024.04.22 22:12:37 5: myMPD, rec: Format: 44100:24:2
2024.04.22 22:12:37 5: myMPD, rec: Artist: Type O Negative
2024.04.22 22:12:37 5: myMPD, rec: Title: Red Water (Christmas Mourning)
2024.04.22 22:12:37 5: myMPD, rec: Album: October Rust
2024.04.22 22:12:37 5: myMPD, rec: Date: 1996
2024.04.22 22:12:37 5: myMPD, rec: Genre: Rock
2024.04.22 22:12:37 5: myMPD, rec: Time: 409
2024.04.22 22:12:37 5: myMPD, rec: duration: 408.829
2024.04.22 22:12:37 5: myMPD, rec: Pos: 7925
2024.04.22 22:12:37 5: myMPD, rec: Id: 7926
2024.04.22 22:12:37 5: myMPD, mpd_cmd[2] -> command_list_begin
status
stats
currentsong
command_list_end
2024.04.22 22:12:52 5: myMPD, idle PID 16558 found
2024.04.22 22:12:52 5: myMPD, mpd_cmd[1] -> status
2024.04.22 22:12:52 5: myMPD, rec: repeat: 1
2024.04.22 22:12:52 5: myMPD, rec: random: 1
2024.04.22 22:12:52 5: myMPD, rec: single: 0
2024.04.22 22:12:52 5: myMPD, rec: consume: 0
2024.04.22 22:12:52 5: myMPD, rec: partition: default
2024.04.22 22:12:52 5: myMPD, rec: playlist: 2
2024.04.22 22:12:52 5: myMPD, rec: playlistlength: 9225
2024.04.22 22:12:52 5: myMPD, rec: mixrampdb: 0
2024.04.22 22:12:52 5: myMPD, rec: state: play
2024.04.22 22:12:52 5: myMPD, rec: song: 7925
2024.04.22 22:12:52 5: myMPD, rec: songid: 7926
2024.04.22 22:12:52 5: myMPD, rec: time: 30:409
2024.04.22 22:12:52 5: myMPD, rec: elapsed: 30.088
2024.04.22 22:12:52 5: myMPD, rec: bitrate: 128
2024.04.22 22:12:52 5: myMPD, rec: duration: 408.829
2024.04.22 22:12:52 5: myMPD, rec: audio: 44100:24:2
2024.04.22 22:12:52 5: myMPD, rec: nextsong: 7288
2024.04.22 22:12:52 5: myMPD, rec: nextsongid: 7289
define MPD_local MPD 192.168.178.40 6600
attr MPD_local devStateIcon play:rc_PLAY:stop stop:rc_STOP:play pause:rc_PAUSE:pause error:icoBlitz
attr MPD_local icon it_radio
attr MPD_local loadMusic 0
attr MPD_local loadPlaylists 0
attr MPD_local no_playlistcollection 1
attr MPD_local player mpd
attr MPD_local titleSplit 1
attr MPD_local unknown_artist_image /fhem/icons/1px-spacer
attr MPD_local verbose 5
attr MPD_local waits 15
# DEF 192.168.178.40 6600
# DeviceName 192.168.178.40:6600
# FUUID 659c465f-f33f-3b1b-687c-9d8d598910939ba3
# HOST 192.168.178.40
# IPID 13129
# NAME MPD_local
# NR 269
# PORT 6600
# PRESENCE present
# STATE play
# SUBVERSION 23
# TIMEOUT 0.7
# TYPE MPD
# VERSION 0.23.5
# eventCount 9325
# mute -1
# helper:
# RUNNING_PID:
# abortArg
# abortFn
# arg MPD_local
# bc_pid 44845
# finishFn MPD_IdleDone
# fn MPD_IdleStart
# pid 13129
# timeout
# playlistcollection:
# val -1
define MPD_remote MPD
attr MPD_remote devStateIcon play:rc_PLAY:stop stop:rc_STOP:play pause:rc_PAUSE:pause error:icoBlitz
attr MPD_remote icon it_radio
attr MPD_remote loadMusic 0
attr MPD_remote loadPlaylists 0
attr MPD_remote no_playlistcollection 1
attr MPD_remote player mpd
attr MPD_remote titleSplit 1
attr MPD_remote unknown_artist_image /fhem/icons/1px-spacer
attr MPD_remote verbose 5
attr MPD_remote waits 15
# DeviceName 127.0.0.1:6600
# FUUID 61444f90-f33f-3b1b-5541-f87ec1b1ec77cb43
# HOST 127.0.0.1
# IPID 14481
# NAME MPD_remote
# NR 208
# PORT 6600
# PRESENCE present
# STATE play
# SUBVERSION 19
# TIMEOUT 0.7
# TYPE MPD
# VERSION 0.19.0
# eventCount 13063
# mute -1
# helper:
# RUNNING_PID:
# abortArg
# abortFn
# arg MPD_remote
# bc_pid 45199
# finishFn MPD_IdleDone
# fn MPD_IdleStart
# pid 14481
# timeout
# playlistcollection:
# val -1
stateInverted {
if( ReadingsVal($NAME,"state","") eq "on") {return 0}
elsif(ReadingsVal($NAME,"state","") eq "MISSING ACK") {return "MISSING ACK"}
elsif(ReadingsVal($NAME,"state","") eq "off") {return 100}
elsif(ReadingsVal($NAME,"state","") eq "set_stop") {return "stop"}
elsif(ReadingsVal($NAME,"state","") eq "unreachable") {return "unreachable!!"}
else {return int((ReadingsVal($NAME,"state",0)-100)*-1)}
}
2024.04.23 08:24:13.592 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 52 A0 11 12AEB3 6686E7 8001C8CA
2024.04.23 08:24:13.752 0: HMUARTLGW myHmUART recv: 01 04 03 00 39 msg: 52 80 02 6686E7 12AEB3 01011010 44 3C01
2024.04.23 08:24:15.928 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 53 A0 11 12AEB3 6686E7 0301
2024.04.23 08:24:19.128 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 53 A0 11 12AEB3 6686E7 0301
2024.04.23 08:24:23.652 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 53 A0 11 12AEB3 6686E7 0301
2024.04.23 08:24:29.290 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 53 A0 11 12AEB3 6686E7 0301
2024.04.23 08:25:22.828 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 54 A0 11 12AEB3 6686E7 800100CA
2024.04.23 08:25:26.040 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 54 A0 11 12AEB3 6686E7 800100CA
2024.04.23 08:25:26.496 0: HMUARTLGW myHmUART recv: 01 04 03 00 35 msg: 54 80 02 6686E7 12AEB3 01013220 44 C802
2024.04.23 08:25:29.363 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 55 A0 11 12AEB3 6686E7 0301
2024.04.23 08:25:33.362 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 55 A0 11 12AEB3 6686E7 0301
curl --location --request POST 'http://192.168.xxx.xxx:7070/api/loadpoints/3/mode/off
(wen es interessiert: es handelt sich hier um einen Heizstab in EVCC)defmod di_heizstab_maxtemp_evcc DOIF ([OekoFEN:WW-Temp-Ein-Ist] > 60 and [Heizstab_Puffersp] eq "on" ) ({ GetHttpFile("192.168.xxx.xxx:7070/", "api/loadpoints/3/mode/off") }) DOELSEIF ([OekoFEN:WW-Temp-Ein-Ist] <=53 ) ({ GetHttpFile("192.168.xxx.xxx:7070/", "api/loadpoints/3/mode/pv") })