"gelöst" AMAD2 "verbindung abgelehnt"

Begonnen von tagedieb, 18 März 2017, 11:34:52

Vorheriges Thema - Nächstes Thema

tagedieb

Hallo zusammen

ich habe gerade ein altes s2plus wieder auf Vordermann gebracht, und wollte das zur FHEMSteuerung mit einsetzten
AMAD2 ist bereits in Fhem installiert gewesen und läuft auch mit anderen Geräten - doch bei diesem erschienen erst zwar die Meldungen im FHEM, doch wollte ich das S2plus steuern - kam Gerät disable, jetzt habe ich alles noch einmal überprüft und Automagic läuft auf dem Handy, sendet fleissig die Informationen - doch in fhem erscheint192.168.xxx.xxx: Connection refused
die IP stimmt, die FB erkennt das s2plus auch unter dieser IP, die anderen Geräte haben keine identische IP - mit dem Handy komme ich auch ins Internet, die IP von amad ist auch mit der, welche in der WLAN einstellung  des s2 pluszu sehen ist identisch
port in den automagic einstellungen ist auch 8090

was habe ich übersehen?
ein kleiner schubs in die richtige Richtung wäre toll

gruss tagedieb
FHEM 5.6 auf Cubitruck
CUL und Cul 868 und 2 HM LAN an Zbox
Remoteserver auf 2.Zboxi
HM-CC-RT-DN,HM-LC-Bl1PBU-FM,HM-LC-SW1-FM,HM-LC-SW4-PCB,HM-LC-Sw1PBU-FM,HM-PB-2-WM55,HM-PB-6-WM55,HM-SCI-3-FM,HM-SEC-RHS,HM-SEC-SC,HM-SEC-SC-2,HM-SEC-TIS,HM-WDS10-TH-O u.viele mehr
diverse IT Empfänger und LW3

CoolTux

Verbindung zurück gewiesen deutet auf Firewall hin. Gib mal bitte ein list vom Device
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

tagedieb

Hallo CoolTux

danke für deine Zeit
Internals:
   APSSID
   DEF        192.168.xxx.xxx
   HOST       192.168.xx.xxx
   NAME       S2Plus
   NR         1680
   PORT       8090
   STATE      192.168.xxxx.xxx: Connection refused
   TYPE       AMAD
   VERSIONFLOWSET 2.6.12
   VERSIONMODUL 2.6.12
   Readings:
     2017-03-18 09:43:53   airplanemode    off
     2017-03-18 09:43:53   androidVersion  6.0 Marshmallow
     2017-03-18 09:59:35   automagicState  Automagic Premium
     2017-03-18 09:59:51   batteryHealth   2
     2017-03-18 09:59:51   batteryTemperature 30.9
     2017-03-18 09:56:39   bluetooth       off
     2017-03-18 09:59:55   checkActiveTask 0
     2017-03-18 09:56:39   connectedBTdevices none
     2017-03-18 09:56:39   connectedBTdevicesMAC none
     2017-02-14 06:26:48   currentMusicAlbum no player active
     2017-02-14 06:26:48   currentMusicApp no player active
     2017-02-14 06:26:48   currentMusicArtist no player active
     2017-02-14 06:26:48   currentMusicIcon no player active
     2017-02-14 06:26:48   currentMusicState
     2017-02-14 06:26:48   currentMusicTrack no player active
     2017-03-18 11:03:45   deviceState     offline
     2017-02-14 06:26:59   dockingState    undocked
     2017-03-18 09:59:55   flow_SetCommands aktiv
     2017-03-18 09:59:54   flow_informations aktiv
     2017-03-18 09:59:55   flowsetVersionAtDevice 2.6.12
     2017-02-14 06:26:59   keyguardSet     0
     2015-10-06 10:43:52   lastSetCommandError connect to your device is timed out. check network
     2017-02-13 07:20:56   lastSetCommandState setCmd_done
     2016-04-06 14:20:42   lastStatusRequestError connect to your device is timed out. check network
     2017-03-18 11:02:15   lastStatusRequestState statusRequest_error
     2017-02-14 06:26:59   nextAlarmDay    off
     2017-02-14 06:26:59   nextAlarmState
     2017-02-14 06:26:59   nextAlarmTime   off
     2017-03-18 09:59:51   powerLevel      83
     2017-03-18 09:59:51   powerPlugged    2
     2017-03-18 09:52:56   screen          on locked
     2017-03-18 09:43:53   screenBrightness 102
     2017-03-18 09:57:08   screenOrientation portrait
     2017-03-18 09:57:08   screenOrientationMode auto
     2017-03-18 11:02:15   state           192.168.xx.xx: Connection refused
     2017-03-18 09:43:53   volume
     2016-04-08 08:26:06   volumeMusikBluetooth
     2016-04-08 08:26:06   volumeMusikSpeaker 13
     2017-03-18 09:43:53   volumeNotification
   Helper:
     deviceStateErrorCounter 2
     infoErrorCounter 2
     setCmdErrorCounter 0
Attributes:
   alias      Schlafzimmerradio
   checkActiveTask 1
   group      AMAD
   room       AMAD,WerIstAnwesend
   setOpenApp Radio


gruss tagedieb
FHEM 5.6 auf Cubitruck
CUL und Cul 868 und 2 HM LAN an Zbox
Remoteserver auf 2.Zboxi
HM-CC-RT-DN,HM-LC-Bl1PBU-FM,HM-LC-SW1-FM,HM-LC-SW4-PCB,HM-LC-Sw1PBU-FM,HM-PB-2-WM55,HM-PB-6-WM55,HM-SCI-3-FM,HM-SEC-RHS,HM-SEC-SC,HM-SEC-SC-2,HM-SEC-TIS,HM-WDS10-TH-O u.viele mehr
diverse IT Empfänger und LW3

CoolTux

Gib ihm Mal bitte das Attribut setAPSSID mit. Damit sollte der checkAktivTask laufen.
Ich denke das es nur nicht geht wenn der Bildschirm aus ist und das WLAN dann zur Ruhe geht.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

tagedieb

bringt leider keine Veränderung

ich habe jetzt aber mal die log dateien von 2 Geräten verglichen - das s2plus sendet auch keine daten
das s6 zeigt im Log zum beispiel an: Send data to Amadcommbridge
dieser Eintrag fehlt im s2plus
Gruss tagedieb
FHEM 5.6 auf Cubitruck
CUL und Cul 868 und 2 HM LAN an Zbox
Remoteserver auf 2.Zboxi
HM-CC-RT-DN,HM-LC-Bl1PBU-FM,HM-LC-SW1-FM,HM-LC-SW4-PCB,HM-LC-Sw1PBU-FM,HM-PB-2-WM55,HM-PB-6-WM55,HM-SCI-3-FM,HM-SEC-RHS,HM-SEC-SC,HM-SEC-SC-2,HM-SEC-TIS,HM-WDS10-TH-O u.viele mehr
diverse IT Empfänger und LW3

CoolTux

Zitat von: tagedieb am 18 März 2017, 13:10:56
bringt leider keine Veränderung

ich habe jetzt aber mal die log dateien von 2 Geräten verglichen - das s2plus sendet auch keine daten
das s6 zeigt im Log zum beispiel an: Send data to Amadcommbridge
dieser Eintrag fehlt im s2plus
Gruss tagedieb

Zeig Mal bitte dein aktuelles list.

Wenn du das Display an lässt und gleichzeitig lädst, kommen dann alle 30s Daten?
Send Data sieht man erst mit verbose 5
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

tagedieb

Hallo CoolTux

anbei neue List
Internals:
   APSSID
   DEF        192.168.
   HOST       192.168.
   NAME       S2Plus
   NR         1680
   PORT       8090
   STATE      initialized
   TYPE       AMAD
   VERSIONFLOWSET 2.6.12
   VERSIONMODUL 2.6.12
   Readings:
     2017-03-18 09:43:53   airplanemode    off
     2017-03-18 09:43:53   androidVersion  6.0 Marshmallow
     2017-03-18 09:59:35   automagicState  Automagic Premium
     2017-03-18 09:59:51   batteryHealth   2
     2017-03-18 09:59:51   batteryTemperature 30.9
     2017-03-18 09:56:39   bluetooth       off
     2017-03-18 09:59:55   checkActiveTask 0
     2017-03-18 09:56:39   connectedBTdevices none
     2017-03-18 09:56:39   connectedBTdevicesMAC none
     2017-02-14 06:26:48   currentMusicAlbum no player active
     2017-02-14 06:26:48   currentMusicApp no player active
     2017-02-14 06:26:48   currentMusicArtist no player active
     2017-02-14 06:26:48   currentMusicIcon no player active
     2017-02-14 06:26:48   currentMusicState
     2017-02-14 06:26:48   currentMusicTrack no player active
     2017-03-18 13:33:42   deviceState     offline
     2017-02-14 06:26:59   dockingState    undocked
     2017-03-18 09:59:55   flow_SetCommands aktiv
     2017-03-18 09:59:54   flow_informations aktiv
     2017-03-18 09:59:55   flowsetVersionAtDevice 2.6.12
     2017-02-14 06:26:59   keyguardSet     0
     2015-10-06 10:43:52   lastSetCommandError connect to your device is timed out. check network
     2017-02-13 07:20:56   lastSetCommandState setCmd_done
     2016-04-06 14:20:42   lastStatusRequestError connect to your device is timed out. check network
     2017-03-18 13:01:15   lastStatusRequestState statusRequest_error
     2017-02-14 06:26:59   nextAlarmDay    off
     2017-02-14 06:26:59   nextAlarmState
     2017-02-14 06:26:59   nextAlarmTime   off
     2017-03-18 09:59:51   powerLevel      83
     2017-03-18 09:59:51   powerPlugged    2
     2017-03-18 09:52:56   screen          on locked
     2017-03-18 09:43:53   screenBrightness 102
     2017-03-18 09:57:08   screenOrientation portrait
     2017-03-18 09:57:08   screenOrientationMode auto
     2017-03-18 12:58:49   state           initialized
     2017-03-18 09:43:53   volume
     2016-04-08 08:26:06   volumeMusikBluetooth
     2016-04-08 08:26:06   volumeMusikSpeaker 13
     2017-03-18 09:43:53   volumeNotification
   Helper:
     deviceStateErrorCounter 19
     infoErrorCounter 2
     setCmdErrorCounter 0
Attributes:
   alias      Schlafzimmerradio
   checkActiveTask 1
   group      AMAD
   room       AMAD,WerIstAnwesend
   setAPSSID  HomeserverE5_nomap,HomeserverE_nomap,HomeserverR_nomap,Homeserver_nomap
   setOpenApp Radio

habe auch gerade noch einmal automagic neu installiert
er zeigt keine Fehler im Log, aber auch keinen Eintrag Send data to.....
gruss tagedieb
FHEM 5.6 auf Cubitruck
CUL und Cul 868 und 2 HM LAN an Zbox
Remoteserver auf 2.Zboxi
HM-CC-RT-DN,HM-LC-Bl1PBU-FM,HM-LC-SW1-FM,HM-LC-SW4-PCB,HM-LC-Sw1PBU-FM,HM-PB-2-WM55,HM-PB-6-WM55,HM-SCI-3-FM,HM-SEC-RHS,HM-SEC-SC,HM-SEC-SC-2,HM-SEC-TIS,HM-WDS10-TH-O u.viele mehr
diverse IT Empfänger und LW3

tagedieb

Ergänzung

jetzt erscheint auf dem s2plus die fehlermeldungFehler:Flow with name "null" does not exist
Last executed.Condition Flow Aktiv
{global_userflowstate}


gruss
FHEM 5.6 auf Cubitruck
CUL und Cul 868 und 2 HM LAN an Zbox
Remoteserver auf 2.Zboxi
HM-CC-RT-DN,HM-LC-Bl1PBU-FM,HM-LC-SW1-FM,HM-LC-SW4-PCB,HM-LC-Sw1PBU-FM,HM-PB-2-WM55,HM-PB-6-WM55,HM-SCI-3-FM,HM-SEC-RHS,HM-SEC-SC,HM-SEC-SC-2,HM-SEC-TIS,HM-WDS10-TH-O u.viele mehr
diverse IT Empfänger und LW3

CoolTux

Da fehlt ihm noch was. Sorge Mal bitte dafür das nachweißlich alle Flows aktiv sind und mache dann ein statusRequest
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

tagedieb

so, nachdem ich auch das Handy noch einmal aufgesetzt habe funktioniert es

danke für deine Hilfe

gruss tagedieb
FHEM 5.6 auf Cubitruck
CUL und Cul 868 und 2 HM LAN an Zbox
Remoteserver auf 2.Zboxi
HM-CC-RT-DN,HM-LC-Bl1PBU-FM,HM-LC-SW1-FM,HM-LC-SW4-PCB,HM-LC-Sw1PBU-FM,HM-PB-2-WM55,HM-PB-6-WM55,HM-SCI-3-FM,HM-SEC-RHS,HM-SEC-SC,HM-SEC-SC-2,HM-SEC-TIS,HM-WDS10-TH-O u.viele mehr
diverse IT Empfänger und LW3

CoolTux

Gern geschehen. Schönes Wochenende.


Grüße
Leon
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

tagedieb

FHEM 5.6 auf Cubitruck
CUL und Cul 868 und 2 HM LAN an Zbox
Remoteserver auf 2.Zboxi
HM-CC-RT-DN,HM-LC-Bl1PBU-FM,HM-LC-SW1-FM,HM-LC-SW4-PCB,HM-LC-Sw1PBU-FM,HM-PB-2-WM55,HM-PB-6-WM55,HM-SCI-3-FM,HM-SEC-RHS,HM-SEC-SC,HM-SEC-SC-2,HM-SEC-TIS,HM-WDS10-TH-O u.viele mehr
diverse IT Empfänger und LW3

Gisbert

#12
Hallo CoolTux,

ich habe auf einem neuen Handy in der Automagic Premium App den initialen Control Flowset ausgeführt, ein neues Device und eine Log-Datei wurden in Fhem entsprechend angelegt, und es kommen Daten in Fhem rein. Wenn ich jedoch in Fhem einen set-Befehl absetze, erhalte ich "Connection refused (111)".

Was kann das sein?
Automagic hat so ziemlich alle Berechtigungen auf dem Handy, die gehen.

Viele Grüße Gisbert

Ein list, kurz nachdem ich einen set-Befehl ausgeführt habe:
Internals:
   AMAD_ID    1608461473243
   CFGFN     
   DEF        192.168.2.18 1608461473243 Automagic
   FUUID      5fdf2cc2-f33f-e986-fc0a-33d679f5dadf0bdd
   FVERSION   74_AMADDevice.pm:v4.4.8-s21406/2020-03-11
   HOST       192.168.2.18
   IODev      myAMADBridge
   LASTInputDev myAMADBridge
   MODEL      Automagic
   MSGCNT     128
   NAME       GooglePixel
   NOTIFYDEV  global,GooglePixel,myAMADBridge
   NR         7802
   NTFY_ORDER 50-GooglePixel
   PORT       8090
   STATE      192.168.2.18: Connection refused (111)
   TYPE       AMADDevice
   VERSION    v4.4.8
   VERSIONFLOWSET 4.4.3
   myAMADBridge_MSGCNT 128
   myAMADBridge_TIME 2020-12-20 12:05:28
   READINGS:
     2020-12-20 11:51:47   airplanemode    off
     2020-12-20 12:02:10   batteryHealth   2
     2020-12-20 12:02:10   batteryPercent  86
     2020-12-20 12:02:10   batteryTemperature 28.1
     2020-12-20 11:55:47   bluetooth       on
     2020-12-20 11:51:47   connectedBTdevices none
     2020-12-20 11:51:47   connectedBTdevicesMAC none
     2020-12-20 11:51:49   currentMusicAlbum no player active
     2020-12-20 11:51:49   currentMusicApp no player active
     2020-12-20 11:51:49   currentMusicArtist no player active
     2020-12-20 11:51:49   currentMusicIcon no player active
     2020-12-20 11:55:50   currentMusicState none
     2020-12-20 11:51:49   currentMusicTrack no player active
     2020-12-20 12:00:42   daydream        off
     2020-12-20 11:51:47   deviceState     online
     2020-12-20 11:51:49   doNotDisturb    always
     2020-12-20 11:51:47   dockingState    undocked
     2020-12-20 11:51:47   flow_informations aktiv
     2020-12-20 11:51:47   flowsetVersionAtDevice 4.4.3
     2020-12-20 11:51:49   keyguardSet     1
     2020-12-20 12:05:46   lastSetCommandState setCmd_error
     2020-12-20 11:51:52   lastStatusRequestState statusRequest_done
     2020-12-20 11:51:47   mute            off
     2020-12-20 11:51:47   nextAlarmDay    So
     2020-12-20 11:51:47   nextAlarmTime   20:00
     2020-12-20 12:02:10   powerPlugged    0
     2020-12-20 12:00:40   screen          on unlocked
     2020-12-20 12:05:28   screenBrightness 16
     2020-12-20 11:51:49   screenOrientation portrait
     2020-12-20 11:51:49   screenOrientationMode auto
     2020-12-20 12:05:46   state           192.168.2.18: Connection refused (111)
   helper:
     deviceStateErrorCounter 0
     infoErrorCounter 0
     setCmdErrorCounter 10
     bm:
       FHEM::AMADDevice::Attr:
         cnt        3
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        20.12. 11:51:46
         max        0.000195980072021484
         tot        0.000247001647949219
         mAr:
           set
           GooglePixel
           remoteServer
           Automagic
       FHEM::AMADDevice::Define:
         cnt        1
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        20.12. 11:51:46
         max        0.0192360877990723
         tot        0.0192360877990723
         mAr:
           HASH(0x55a282e3a2f8)
           GooglePixel AMADDevice 192.168.2.18 1608461473243 Automagic
       FHEM::AMADDevice::Notify:
         cnt        82
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        20.12. 11:51:46
         max        0.00186014175415039
         tot        0.0145714282989502
         mAr:
           HASH(0x55a282e3a2f8)
           HASH(0x55a27709f198)
       FHEM::AMADDevice::Set:
         cnt        103
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        20.12. 11:59:41
         max        0.0044701099395752
         tot        0.050274133682251
         mAr:
           HASH(0x55a282e3a2f8)
           GooglePixel
           ?
Attributes:
   IODev      myAMADBridge
   remoteServer Automagic
   room       AMAD


Edit: Ich habe mich im IP-Adressbereich vertan, jetzt funktioniert es sofort, entschuldige bitte die Störung.
Aktuelles FHEM | PROXMOX | Fujitsu Futro S740 | Debian 12 | UniFi | Homematic, VCCU, HMUART | ESP8266 | ATtiny85 | Wasser-, Stromzähler | Wlan-Kamera | SIGNALduino, Flamingo Rauchmelder FA21/22RF | RHASSPY