Eurotronic comet blue Modul Entwicklung

Begonnen von gent, 28 November 2016, 21:45:59

Vorheriges Thema - Nächstes Thema

Caleus

So also ich habe es nun geschafft ich weis nicht warum aber aus irgendeinem Grund wurde mir der teil zum eintragen für neue Attribute nicht angezeigt erst nach einem restart vom FHEM war es da geht nun aber leider wird mir nun das angezeigt

Internals:
   BTMAC      D6:EA:EE:C7:BD:DD
   DEF        D6:EA:EE:C7:BD:DD
   INTERVAL   150
   NAME       Bad
   NOTIFYDEV  global,Bad
   NR         32
   NTFY_ORDER 50-Bad
   STATE      T: -100 desired: -100
   TYPE       CometBlueBTLE
   VERSION    0.1.45
   loglevel   4
   Readings:
     2018-05-04 14:39:18   battery         low
     2018-05-04 14:39:18   batteryLevel    0
     2018-05-04 14:39:18   lastChangeBy    Thermostat
     2018-05-05 08:23:21   state           T: -100 desired: -100
   Helper:
     CallBattery 0
     writePin   0
     Paramgatttool:
       handle     0x18
       mod        read
       value      00000000000000
   tempListsHandleQueue:
Attributes:
   model      SilverCrest
   room       CometBlueBTLE


Gruß Caleus

CoolTux

Dann schein das model nicht zu stimmen. wähle mal ein anderes.
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

Caleus

Ich habe nun die 4 Modelle ausprobiert erst kommt immer

pairing thermostat with pin: 00000000

warum eigentlich 8 x 0 ?
und dann

T: -100 desired: -100

bei alle 4 mache ich noch irgendwo einen Fehler ? ich verstehe es nicht.

Also auf dem Thermostat steht von auch SilverCrest drauf.

Caleus

CoolTux

Stimmt die MAC Adresse? Was genau hast du für ein Teil?
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

Caleus

Hallo CoolTux

ich habe noch mal nach geschaut und ja die MAC Adresse ist richtig es ist auch ein Reset gemacht worden am Thermostat habe noch mal 3 Bilder angehängt vieleicht bringen sie ja was

Caleus

CoolTux

Bin da selbst ratlos.

Aber ich brauche Mal bitte den ganzen verbose 5.
Bluez und somit auch gatttool hast aber schon installiert?

Bitte die ganze verbose 5 Ausgabe vom Device hier posten. Kein Screenshot.
Verbose 5 am Device einstellen. Ist ein Attribut.
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

Caleus

habe jetzt mal die Log file komplett angehängt vieleicht ist ja da was bei was hilft.

2018.05.05 13:18:59 1: Including fhem.cfg
2018.05.05 13:18:59 1: reload: Error:Modul 99_Utils deactivated:
Attempt to reload DWDODweblink.pm aborted.
Compilation failed in require at ./FHEM/99_Utils.pm line 5, <$fh> line 4.
BEGIN failed--compilation aborted at ./FHEM/99_Utils.pm line 5, <$fh> line 4.

2018.05.05 13:18:59 3: telnetPort: port 7072 opened
2018.05.05 13:18:59 3: WEB: port 8083 opened
2018.05.05 13:18:59 3: WEBphone: port 8084 opened
2018.05.05 13:18:59 3: WEBtablet: port 8085 opened
2018.05.05 13:18:59 2: eventTypes: loaded 52 events from ./log/eventTypes.txt
2018.05.05 13:18:59 1: PERL WARNING: Backslash found where operator expected at ./FHEM/74_CometBlueBTLE.pm line 929, near "encode_json \"
2018.05.05 13:18:59 1: PERL WARNING: (Do you need to predeclare encode_json?)
2018.05.05 13:18:59 3: CometBlueBTLE (Bad) - defined with BTMAC D6:EA:EE:C7:BD:DD
2018.05.05 13:18:59 3: NUKIBridge (NBridge) - defined with host 192.168.178.48 on port 8080, Token ilgqoi
2018.05.05 13:18:59 3: NUKIDevice (NUKIDevice246883369) - I/O device is NBridge
2018.05.05 13:18:59 3: NUKIDevice (NUKIDevice246883369) - defined with Code: NBridge-246883369
2018.05.05 13:18:59 2: NUKIDevice (NUKIDevice246883369) - Registering NUKIDevice for webhook URI /NUKIDevice ...
2018.05.05 13:18:59 3: TABLETUI: new ext defined infix:ftui/: dir:./www/tablet/:
2018.05.05 13:18:59 3: Registering HTTPSRV TABLETUI for URL /ftui   and assigned link ftui/ ...
2018.05.05 13:18:59 1: Including ./log/fhem.save
2018.05.05 13:18:59 4: CometBlueBTLE (Bad) - Run CreateParamGatttool with mod: read
2018.05.05 13:18:59 5: CometBlueBTLE (Bad) - Noch in Queue nach pop: 0
2018.05.05 13:18:59 3: CometBlueBTLE (Bad) - CreateParamGatttool erstes if
2018.05.05 13:18:59 4: CometBlueBTLE (Bad) - Read CometBlueBTLE_ExecGatttool_Run Bad|D6:EA:EE:C7:BD:DD|read|0x18
2018.05.05 13:18:59 4: CometBlueBTLE (Bad) - stateRequestTimer: Call Request Timer
2018.05.05 13:18:59 1: usb create starting
2018.05.05 13:18:59 4: CometBlueBTLE (Bad) - ExecGatttool_Run: call gatttool with command gatttool -i hci0 -b D6:EA:EE:C7:BD:DD --char-write-req -a 0x48 -n 00000000 2>&1 /dev/null and loop 0
2018.05.05 13:18:59 5: CometBlueBTLE (Bad) - ExecGatttool_Run: gatttool loop result connect,No route to host (113)

2018.05.05 13:18:59 4: CometBlueBTLE (Bad) - ExecGatttool_Run: gatttool result connect,No route to host (113)

2018.05.05 13:19:00 3: Probing CUL device /dev/ttyAMA0
2018.05.05 13:19:00 3: Probing TCM_ESP3 device /dev/ttyAMA0
2018.05.05 13:19:00 3: Probing FRM device /dev/ttyAMA0
2018.05.05 13:19:05 1: usb create end
2018.05.05 13:19:05 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no associated allowed device with basicAuth. telnetPort has no associated allowed device with password/globalpassword.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2018.05.05 13:19:05 0: Featurelevel: 5.8
2018.05.05 13:19:05 0: Server started with 28 defined entities (fhem.pl:13447/2017-02-19 perl:5.024001 os:linux user:fhem pid:7582)
2018.05.05 13:19:05 4: CometBlueBTLE (Bad) - ExecGatttool_Done: gatttool return string: Bad|D6:EA:EE:C7:BD:DD|ok|write|0x48|HASH(0x234b750)
2018.05.05 13:19:05 4: CometBlueBTLE (Bad) - Run CreateParamGatttool with mod: read
2018.05.05 13:19:05 5: CometBlueBTLE (Bad) - Noch in Queue nach pop: 0
2018.05.05 13:19:05 3: CometBlueBTLE (Bad) - CreateParamGatttool zweites if
2018.05.05 13:19:05 4: CometBlueBTLE (Bad) - Read CometBlueBTLE_ExecGatttool_Run Bad|D6:EA:EE:C7:BD:DD|read|0x18
2018.05.05 13:19:05 4: CometBlueBTLE (Bad) - ExecGatttool_Run: call gatttool with command gatttool -i hci0 -b D6:EA:EE:C7:BD:DD --char-read -a 0x18 2>&1 /dev/null and loop 0
2018.05.05 13:19:05 5: CometBlueBTLE (Bad) - ExecGatttool_Run: gatttool loop result connect,No route to host (113)

2018.05.05 13:19:05 4: CometBlueBTLE (Bad) - ExecGatttool_Run: gatttool result connect,No route to host (113)

2018.05.05 13:19:05 4: CometBlueBTLE (Bad) - ExecGatttool_Done: gatttool return string: Bad|D6:EA:EE:C7:BD:DD|error|read|0x18|HASH(0x234b750)
2018.05.05 13:19:05 3: CometBlueBTLE (Bad) - ExecGatttool_Done: JSON error while request: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "HASH(0x234b750)") at ./FHEM/74_CometBlueBTLE.pm line 636.

2018.05.05 13:19:05 4: CometBlueBTLE (Bad) - ProcessingErrors
2018.05.05 13:19:05 1: PERL WARNING: Use of uninitialized value $v in concatenation (.) or string at ./FHEM/74_CometBlueBTLE.pm line 887.
2018.05.05 13:19:05 5: CometBlueBTLE (Bad) - WriteReadings: Reading lastGattError, value  altes value
2018.05.05 13:19:05 1: PERL WARNING: Use of uninitialized value $v in string ne at ./FHEM/74_CometBlueBTLE.pm line 888.
2018.05.05 13:19:05 4: CometBlueBTLE (Bad) - WriteReadings: Readings were written
2018.05.05 13:19:14 3: NUKIDevice (NBridge) - NukiId '246883369' already defined as 'NUKIDevice246883369'


Caleus

P.S. sollte Fehler durch andere Ereignisse enthalten sein ich bin zur zeit nur am basteln und wenn alles läuft mache ich den Raspberry eh neu.

CoolTux

Er findet den Thermostat wohl nicht. Kannst du ihn mal zum testen näher an den FHEM Server bringen?
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

Caleus

So habe kurzer Hand das Raspberry mal an die Heizung gestellt, habe verbose 5 noch mal eingestellt und folgendes kommt im log

2018.05.05 13:41:34 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/74_CometBlueBTLE.pm line 995.
2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - Run CreateParamGatttool with mod: write
2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - Run CreateParamGatttool with mod: write : 0x3d : 00150000000000
2018.05.05 13:41:34 5: CometBlueBTLE (Bad) - Noch in Queue nach pop: 0
2018.05.05 13:41:34 3: CometBlueBTLE (Bad) - CreateParamGatttool erstes if
2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - Read CometBlueBTLE_ExecGatttool_Run Bad|D6:EA:EE:C7:BD:DD|write|0x3d
2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - ExecGatttool_Run: call gatttool with command gatttool -i hci0 -b D6:EA:EE:C7:BD:DD --char-write-req -a 0x48 -n 00000000 2>&1 /dev/null and loop 0
2018.05.05 13:41:34 5: CometBlueBTLE (Bad) - ExecGatttool_Run: gatttool loop result connect,No route to host (113)

2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - ExecGatttool_Run: gatttool result connect,No route to host (113)

2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - ExecGatttool_Done: gatttool return string: Bad|D6:EA:EE:C7:BD:DD|ok|write|0x48|HASH(0xf55d90)
2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - Run CreateParamGatttool with mod: write
2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - Run CreateParamGatttool with mod: write : 0x3d : 00150000000000
2018.05.05 13:41:34 5: CometBlueBTLE (Bad) - Noch in Queue nach pop: 0
2018.05.05 13:41:34 3: CometBlueBTLE (Bad) - CreateParamGatttool drittes if
2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - Write CometBlueBTLE_ExecGatttool_Run Bad|D6:EA:EE:C7:BD:DD|write|0x3d|00150000000000
2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - ExecGatttool_Run: call gatttool with command gatttool -i hci0 -b D6:EA:EE:C7:BD:DD --char-write-req -a 0x3d -n 00150000000000 2>&1 /dev/null and loop 0
2018.05.05 13:41:34 5: CometBlueBTLE (Bad) - ExecGatttool_Run: gatttool loop result connect,No route to host (113)

2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - ExecGatttool_Run: gatttool result connect,No route to host (113)

2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - ExecGatttool_Done: gatttool return string: Bad|D6:EA:EE:C7:BD:DD|error|write|0x3d|HASH(0xf55d90)
2018.05.05 13:41:34 3: CometBlueBTLE (Bad) - ExecGatttool_Done: JSON error while request: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "HASH(0xf55d90)") at ./FHEM/74_CometBlueBTLE.pm line 636.

2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - ProcessingErrors
2018.05.05 13:41:34 5: CometBlueBTLE (Bad) - WriteReadings: Reading lastGattError, value  altes value
2018.05.05 13:41:34 4: CometBlueBTLE (Bad) - WriteReadings: Readings were written


also an der Entfernung liegt es wohl nicht ?

Caleus

CoolTux

Mach mal bitte
hciconfig hci0 down
und dann
hciconfig hci0 up

Und schau ob dann was 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

Caleus


CoolTux

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

Caleus


CoolTux

OK bin nun zu Hause und kann selbst schauen.

Mach mal bitte einfach nur hciconfig und poste die Ausgabe
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

Caleus

wenn ich nur hciconfig eingebe kommt nichts