homebridge/homekit

Begonnen von justme1968, 01 Februar 2016, 16:16:37

Vorheriges Thema - Nächstes Thema

choetzu

ah, ok.. sorry...

sudo homebridge --debug
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
[2016-07-08 10:55:33] Warning: skipping plugin found at '/usr/lib/node_modules/homebridge-fhem' since we already loaded the same plugin from '/usr/local/lib/node_modules/homebridge-fhem'.
[2016-07-08 10:55:33] Loaded plugin: homebridge-fhem
homebridge API version: 2
[2016-07-08 10:55:33] Registering platform 'homebridge-fhem.FHEM'
[2016-07-08 10:55:33] ---
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ 031-45-154 │
    └────────────┘

[2016-07-08 10:55:33] Homebridge is running on port 51826.
Server listening on: http://<ip>:8282
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::51826
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at Server._listen2 (net.js:1231:14)
    at listen (net.js:1267:10)
    at Server.listen (net.js:1363:5)
    at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:58:19)
    at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:155:20)
    at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:480:16)
    at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:92:16)
    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:82:10)


wie finde ich die Version raus? Mit welchem Befehl?
Raspi3, EnOcean, Zwave, Homematic

justme1968

du musst es als gleicher user machen der auch beim automatischen start verwendet wird. sonst wird das config file nicht gefunden.

und du musst die automatisch gestartete version vorher anhalten.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

budy

Moin,

Zitat von: aski71 am 07 Juli 2016, 18:32:47Gibt es denn eine Diagnosemöglichkeit, wie man dem auf die Schliche kommt?

das ist fast immer ein falsches Mapping, welches zu solchen Dingen führt. Oder aber ein Device gibt einen falschen Datentyp zurück. Da meldet sich dann die HomeKit DB auf dem iOS Gerät gerne mal ab und du hast genau das Problem...

Als Diagnose bleibt nur die ld/2-Methode... nimm die Hälfte der Geräte aus dem Homekit-Raum lege die Homekit DB auf dem iOS Device neu an. Wenn das funktioniert hat, dann nimmst du wiederum die Hälfte von der Hälfte der vorher rausgeworfenen Geräte und wiederholst den Vorgang...

Erstzweise kannst du auch das Log durchwühlen, aber dafür muss man immer wissen, welche Datentypen Homekit erwartet. Meistens kommen irgendwo keine Integers wo aber Integers erwartet werden...

Auch möglich... alle eigenen Mappings entfernen... und dann testen. Da kann man auch viel Mist machen, das weiß ich aus Erfahrung... ;)


Gruß,
Stephan
Debian stretch, FHEM 5.9.
HM-CC-RT-DN, HM-ES-PMSw1-Pl, HM-LC-Dim1TPBU-FM, HMUARTLGW, HMLAN, HM-SEC-KEY, HM-SEC-RHS, HM-SEC-SC-2, HM-SEC-SCo, HM-SEC-SD-2, HM-OU-CFM-TW, div. HUEs, Wifilight, Ring Video Pro

choetzu

Zitat von: justme1968 am 08 Juli 2016, 11:14:12
du musst es als gleicher user machen der auch beim automatischen start verwendet wird. sonst wird das config file nicht gefunden.

--> also lediglich "homebridge --debug" (sudo weglassen)?ich log mich als user pi ein


Zitat von: justme1968 am 08 Juli 2016, 11:14:12
und du musst die automatisch gestartete version vorher anhalten.

--> ich habe "sudo service homebridge stop" gemacht und dann "npm update -g homebridge-fhem". Ist das korrekt?

hier der output nach "homebridge --debug"
homebridge --debug
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
[2016-07-08 20:30:51] Warning: skipping plugin found at '/usr/local/lib/node_modules/homebridge-fhem' since we already loaded the same plugin from '/usr/lib/node_modules/homebridge-fhem'.
[2016-07-08 20:30:51] Loaded plugin: homebridge-fhem
homebridge API version: 2
[2016-07-08 20:30:51] Registering platform 'homebridge-fhem.FHEM'
[2016-07-08 20:30:51] ---
[2016-07-08 20:30:51] Loaded config.json with 0 accessories and 1 platforms.
[2016-07-08 20:30:51] ---
[2016-07-08 20:30:51] Loading 1 platforms...
[2016-07-08 20:30:51] [FHEM] Initializing FHEM platform...
starting longpoll: http://127.0.0.1:8083/fhem.pl?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1468002652508
[2016-07-08 20:30:52] [FHEM] Checking genericDeviceType...
[2016-07-08 20:30:52] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&XHR=1
[2016-07-08 20:30:52] [FHEM] Fetching FHEM devices...
[2016-07-08 20:30:52] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20room=Homekit&XHR=1
[2016-07-08 20:30:52] Loading 0 accessories...
Server error: Error: listen EADDRINUSE :::8082
Server listening on: http://<ip>:8282
[2016-07-08 20:30:52] [FHEM] got: 18 results
[2016-07-08 20:30:53] [FHEM] mappings for Aussen_L_UG_Nodon2: { On: { reading: 'state', valueOff: 'off', cmdOn: 'on', cmdOff: 'off' } }
[2016-07-08 20:30:53] [FHEM] Aussen_L_UG_Nodon2 is light
[2016-07-08 20:30:53] [FHEM] Aussen_L_UG_Nodon2 has
[2016-07-08 20:30:53] [FHEM]   On [state;on,off]
  2016-07-08 20:30:53 caching: Aussen_L_UG_Nodon2-state: off
[2016-07-08 20:30:53] [FHEM] Aussen_L_UG_Nodon2-state valueOn/valueOff: value off mapped to 0
[2016-07-08 20:30:53] [FHEM]     caching: On: false (as boolean; from 'off')
[2016-07-08 20:30:53] [FHEM] mappings for EZ_L_NodOn1: { On: { reading: 'state', valueOff: 'off', cmdOn: 'on', cmdOff: 'off' } }
[2016-07-08 20:30:53] [FHEM] EZ_L_NodOn1 is light
[2016-07-08 20:30:53] [FHEM] EZ_L_NodOn1 has
[2016-07-08 20:30:53] [FHEM]   On [state;on,off]
  2016-07-08 20:30:53 caching: EZ_L_NodOn1-state: off
[2016-07-08 20:30:53] [FHEM] EZ_L_NodOn1-state valueOn/valueOff: value off mapped to 0
[2016-07-08 20:30:53] [FHEM]     caching: On: false (as boolean; from 'off')
[2016-07-08 20:30:53] [FHEM] homebridgeMapping: On=B0::B0
[2016-07-08 20:30:53] [FHEM] mappings for Garage_T_FSR61: { On: { reading: 'B0', cmd: 'B0' } }
[2016-07-08 20:30:53] [FHEM] Garage_T_FSR61 is switch
[2016-07-08 20:30:53] [FHEM] Garage_T_FSR61 has
[2016-07-08 20:30:53] [FHEM]   On [B0;undefined,undefined]
[2016-07-08 20:30:53] [FHEM] event_map: [object Object]
[2016-07-08 20:30:53] [FHEM] homebridgeMapping: Brightness=dim::dim
[2016-07-08 20:30:53] [FHEM] mappings for Kueche_D_FUD61: { On: { reading: 'state', valueOff: 'off', cmdOn: 'on', cmdOff: 'off' },
  Brightness: { reading: 'dim', cmd: 'dim' } }
[2016-07-08 20:30:53] [FHEM] Kueche_D_FUD61 is light
[2016-07-08 20:30:53] [FHEM] Kueche_D_FUD61 has
[2016-07-08 20:30:53] [FHEM]   On [state;on,off]
[2016-07-08 20:30:53] [FHEM]   Brightness [dim]
  2016-07-08 20:30:53 caching: Kueche_D_FUD61-state: off
[2016-07-08 20:30:53] [FHEM] Kueche_D_FUD61-state valueOn/valueOff: value off mapped to 0
[2016-07-08 20:30:53] [FHEM]     caching: On: false (as boolean; from 'off')
  2016-07-08 20:30:53 caching: Kueche_D_FUD61-dim: 0
[2016-07-08 20:30:53] [FHEM]     caching: Brightness: 0 (as number; from '0')
[2016-07-08 20:30:53] [FHEM] homebridgeMapping: CurrentPosition=position::position
[2016-07-08 20:30:53] [FHEM] mappings for Kueche_St_FSB61: { CurrentPosition: { reading: 'position', cmd: 'position' },
  TargetPosition: { reading: 'position', cmd: 'position', delay: true } }
[2016-07-08 20:30:53] [FHEM] Kueche_St_FSB61 is blind
[2016-07-08 20:30:53] [FHEM] Kueche_St_FSB61 has
[2016-07-08 20:30:53] [FHEM]   CurrentPosition [position]
[2016-07-08 20:30:53] [FHEM]   TargetPosition [position]
  2016-07-08 20:30:53 caching: Kueche_St_FSB61-position: 100
[2016-07-08 20:30:53] [FHEM]     caching: CurrentPosition: 100 (as number; from '100')
[2016-07-08 20:30:53] [FHEM]     caching: TargetPosition: 100 (as number; from '100')
[2016-07-08 20:30:53] [FHEM] homebridgeMapping: CurrentPosition=position::position
[2016-07-08 20:30:53] [FHEM] mappings for SZ_St1_FSB61: { CurrentPosition: { reading: 'position', cmd: 'position' },
  TargetPosition: { reading: 'position', cmd: 'position', delay: true } }
[2016-07-08 20:30:53] [FHEM] SZ_St1_FSB61 is blind
[2016-07-08 20:30:53] [FHEM] SZ_St1_FSB61 has
[2016-07-08 20:30:53] [FHEM]   CurrentPosition [position]
[2016-07-08 20:30:53] [FHEM]   TargetPosition [position]
  2016-07-08 20:30:53 caching: SZ_St1_FSB61-position: 98
[2016-07-08 20:30:53] [FHEM]     caching: CurrentPosition: 98 (as number; from '98')
[2016-07-08 20:30:53] [FHEM]     caching: TargetPosition: 98 (as number; from '98')
[2016-07-08 20:30:53] [FHEM] homebridgeMapping: CurrentPosition=position::position
[2016-07-08 20:30:53] [FHEM] mappings for SZ_St2_FSB61: { CurrentPosition: { reading: 'position', cmd: 'position' },
  TargetPosition: { reading: 'position', cmd: 'position', delay: true } }
[2016-07-08 20:30:53] [FHEM] SZ_St2_FSB61 is blind
[2016-07-08 20:30:53] [FHEM] SZ_St2_FSB61 has
[2016-07-08 20:30:53] [FHEM]   CurrentPosition [position]
[2016-07-08 20:30:53] [FHEM]   TargetPosition [position]
  2016-07-08 20:30:53 caching: SZ_St2_FSB61-position: 100
[2016-07-08 20:30:53] [FHEM]     caching: CurrentPosition: 100 (as number; from '100')
[2016-07-08 20:30:53] [FHEM]     caching: TargetPosition: 100 (as number; from '100')
[2016-07-08 20:30:53] [FHEM] mappings for Sonos_Bad__Schlafz: { '00001001-0000-1000-8000-135D67EC4377':
   { reading: 'Volume',
     cmd: 'Volume',
     delay: true,
     nocache: true,
     name: 'Volume',
     format: 'UINT8',
     unit: 'PERCENTAGE',
     minValue: 0,
     maxValue: 100,
     minStep: 1 },
  On:
   { reading: 'transportState',
     valueOn: 'PLAYING',
     cmdOn: 'play',
     cmdOff: 'pause' } }
[2016-07-08 20:30:53] [FHEM] Sonos_Bad__Schlafz is switch
[2016-07-08 20:30:53] [FHEM] Sonos_Bad__Schlafz has
[2016-07-08 20:30:53] [FHEM]   Custom Volume [Volume;not cached]
[2016-07-08 20:30:53] [FHEM]   On [transportState;play,pause]
  2016-07-08 20:30:53 caching: Sonos_Bad__Schlafz-Volume: 17
[2016-07-08 20:30:53] [FHEM]     caching: Custom Volume: 17 (as number; from '17')
  2016-07-08 20:30:53 caching: Sonos_Bad__Schlafz-transportState: PLAYING
[2016-07-08 20:30:53] [FHEM] Sonos_Bad__Schlafz-transportState valueOn/valueOff: value PLAYING mapped to 1
[2016-07-08 20:30:53] [FHEM]     caching: On: true (as boolean; from 'PLAYING')
[2016-07-08 20:30:53] [FHEM] mappings for Sonos_Buero: { '00001001-0000-1000-8000-135D67EC4377':
   { reading: 'Volume',
     cmd: 'Volume',
     delay: true,
     nocache: true,
     name: 'Volume',
     format: 'UINT8',
     unit: 'PERCENTAGE',
     minValue: 0,
     maxValue: 100,
     minStep: 1 },
  On:
   { reading: 'transportState',
     valueOn: 'PLAYING',
     cmdOn: 'play',
     cmdOff: 'pause' } }
[2016-07-08 20:30:53] [FHEM] Sonos_Buero is switch
[2016-07-08 20:30:53] [FHEM] Sonos_Buero has
[2016-07-08 20:30:53] [FHEM]   Custom Volume [Volume;not cached]
[2016-07-08 20:30:53] [FHEM]   On [transportState;play,pause]
  2016-07-08 20:30:53 caching: Sonos_Buero-Volume: 100
[2016-07-08 20:30:53] [FHEM]     caching: Custom Volume: 100 (as number; from '100')
  2016-07-08 20:30:53 caching: Sonos_Buero-transportState: STOPPED
[2016-07-08 20:30:53] [FHEM] Sonos_Buero-transportState valueOn/valueOff: value STOPPED mapped to 0
[2016-07-08 20:30:53] [FHEM]     caching: On: false (as boolean; from 'STOPPED')
[2016-07-08 20:30:53] [FHEM] mappings for Sonos_Mobil: { '00001001-0000-1000-8000-135D67EC4377':
   { reading: 'Volume',
     cmd: 'Volume',
     delay: true,
     nocache: true,
     name: 'Volume',
     format: 'UINT8',
     unit: 'PERCENTAGE',
     minValue: 0,
     maxValue: 100,
     minStep: 1 },
  On:
   { reading: 'transportState',
     valueOn: 'PLAYING',
     cmdOn: 'play',
     cmdOff: 'pause' } }
[2016-07-08 20:30:53] [FHEM] Sonos_Mobil is switch
[2016-07-08 20:30:53] [FHEM] Sonos_Mobil has
[2016-07-08 20:30:53] [FHEM]   Custom Volume [Volume;not cached]
[2016-07-08 20:30:53] [FHEM]   On [transportState;play,pause]
  2016-07-08 20:30:53 caching: Sonos_Mobil-Volume: 55
[2016-07-08 20:30:53] [FHEM]     caching: Custom Volume: 55 (as number; from '55')
  2016-07-08 20:30:53 caching: Sonos_Mobil-transportState: STOPPED
[2016-07-08 20:30:53] [FHEM] Sonos_Mobil-transportState valueOn/valueOff: value STOPPED mapped to 0
[2016-07-08 20:30:53] [FHEM]     caching: On: false (as boolean; from 'STOPPED')
[2016-07-08 20:30:53] [FHEM] mappings for Sonos_Wohnzimmer: { '00001001-0000-1000-8000-135D67EC4377':
   { reading: 'Volume',
     cmd: 'Volume',
     delay: true,
     nocache: true,
     name: 'Volume',
     format: 'UINT8',
     unit: 'PERCENTAGE',
     minValue: 0,
     maxValue: 100,
     minStep: 1 },
  On:
   { reading: 'transportState',
     valueOn: 'PLAYING',
     cmdOn: 'play',
     cmdOff: 'pause' } }
[2016-07-08 20:30:53] [FHEM] Sonos_Wohnzimmer is switch
[2016-07-08 20:30:53] [FHEM] Sonos_Wohnzimmer has
[2016-07-08 20:30:53] [FHEM]   Custom Volume [Volume;not cached]
[2016-07-08 20:30:53] [FHEM]   On [transportState;play,pause]
  2016-07-08 20:30:53 caching: Sonos_Wohnzimmer-Volume: 73
[2016-07-08 20:30:53] [FHEM]     caching: Custom Volume: 73 (as number; from '73')
  2016-07-08 20:30:53 caching: Sonos_Wohnzimmer-transportState: PAUSED_PLAYBACK
[2016-07-08 20:30:53] [FHEM] Sonos_Wohnzimmer-transportState valueOn/valueOff: value PAUSED_PLAYBACK mapped to 0
[2016-07-08 20:30:53] [FHEM]     caching: On: false (as boolean; from 'PAUSED_PLAYBACK')
[2016-07-08 20:30:53] [FHEM] homebridgeMapping: Brightness=dim::dim
[2016-07-08 20:30:53] [FHEM] mappings for TV_D_FUD61: { On: { reading: 'state', valueOff: 'off', cmdOn: 'on', cmdOff: 'off' },
  Brightness: { reading: 'dim', cmd: 'dim' } }
[2016-07-08 20:30:53] [FHEM] TV_D_FUD61 is light
[2016-07-08 20:30:53] [FHEM] TV_D_FUD61 has
[2016-07-08 20:30:53] [FHEM]   On [state;on,off]
[2016-07-08 20:30:53] [FHEM]   Brightness [dim]
  2016-07-08 20:30:53 caching: TV_D_FUD61-state: off
[2016-07-08 20:30:53] [FHEM] TV_D_FUD61-state valueOn/valueOff: value off mapped to 0
[2016-07-08 20:30:53] [FHEM]     caching: On: false (as boolean; from 'off')
  2016-07-08 20:30:53 caching: TV_D_FUD61-dim: 0
[2016-07-08 20:30:53] [FHEM]     caching: Brightness: 0 (as number; from '0')
[2016-07-08 20:30:53] [FHEM] homebridgeMapping: CurrentPosition=position::position
[2016-07-08 20:30:53] [FHEM] mappings for TV_St_FSB61: { CurrentPosition: { reading: 'position', cmd: 'position' },
  TargetPosition: { reading: 'position', cmd: 'position', delay: true } }
[2016-07-08 20:30:53] [FHEM] TV_St_FSB61 is blind
[2016-07-08 20:30:53] [FHEM] TV_St_FSB61 has
[2016-07-08 20:30:53] [FHEM]   CurrentPosition [position]
[2016-07-08 20:30:53] [FHEM]   TargetPosition [position]
  2016-07-08 20:30:53 caching: TV_St_FSB61-position: 100
[2016-07-08 20:30:53] [FHEM]     caching: CurrentPosition: 100 (as number; from '100')
[2016-07-08 20:30:53] [FHEM]     caching: TargetPosition: 100 (as number; from '100')
[2016-07-08 20:30:53] [FHEM] homebridgeMapping: Brightness=dim::dim
[2016-07-08 20:30:53] [FHEM] mappings for WZ_D_FUD61: { On: { reading: 'state', valueOff: 'off', cmdOn: 'on', cmdOff: 'off' },
  Brightness: { reading: 'dim', cmd: 'dim' } }
[2016-07-08 20:30:53] [FHEM] WZ_D_FUD61 is light
[2016-07-08 20:30:53] [FHEM] WZ_D_FUD61 has
[2016-07-08 20:30:53] [FHEM]   On [state;on,off]
[2016-07-08 20:30:53] [FHEM]   Brightness [dim]
  2016-07-08 20:30:53 caching: WZ_D_FUD61-state: off
[2016-07-08 20:30:53] [FHEM] WZ_D_FUD61-state valueOn/valueOff: value off mapped to 0
[2016-07-08 20:30:53] [FHEM]     caching: On: false (as boolean; from 'off')
  2016-07-08 20:30:53 caching: WZ_D_FUD61-dim: 0
[2016-07-08 20:30:53] [FHEM]     caching: Brightness: 0 (as number; from '0')
[2016-07-08 20:30:53] [FHEM] mappings for WZ_L_NodOn11: { On: { reading: 'state', valueOff: 'off', cmdOn: 'on', cmdOff: 'off' } }
[2016-07-08 20:30:53] [FHEM] WZ_L_NodOn11 is light
[2016-07-08 20:30:53] [FHEM] WZ_L_NodOn11 has
[2016-07-08 20:30:53] [FHEM]   On [state;on,off]
  2016-07-08 20:30:53 caching: WZ_L_NodOn11-state: off
[2016-07-08 20:30:53] [FHEM] WZ_L_NodOn11-state valueOn/valueOff: value off mapped to 0
[2016-07-08 20:30:53] [FHEM]     caching: On: false (as boolean; from 'off')
[2016-07-08 20:30:53] [FHEM] mappings for netatmo_D70_ee_50_02_92_3a: { CurrentTemperature: { reading: 'temperature', minValue: -30 },
  'E863F10F-079E-48FF-8F27-9C2605A29F52':
   { name: 'AirPressure',
     reading: 'pressure',
     format: 'UINT16',
     factor: 1 },
  CurrentRelativeHumidity: { reading: 'humidity' } }
[2016-07-08 20:30:53] [FHEM] netatmo_D70_ee_50_02_92_3a is thermometer
[2016-07-08 20:30:53] [FHEM] netatmo_D70_ee_50_02_92_3a has
[2016-07-08 20:30:53] [FHEM]   CurrentTemperature [temperature]
[2016-07-08 20:30:53] [FHEM]   Custom AirPressure [pressure]
[2016-07-08 20:30:53] [FHEM]   CurrentRelativeHumidity [humidity]
  2016-07-08 20:30:53 caching: netatmo_D70_ee_50_02_92_3a-temperature: 24.5
[2016-07-08 20:30:53] [FHEM]     caching: CurrentTemperature: 24.5 (as number; from '24.5')
  2016-07-08 20:30:53 caching: netatmo_D70_ee_50_02_92_3a-pressure: 1022.4
[2016-07-08 20:30:53] [FHEM] netatmo_D70_ee_50_02_92_3a-pressure factor: value 1022.4 mapped to 1022.4
[2016-07-08 20:30:53] [FHEM]     caching: Custom AirPressure: 1022 (as number; from '1022.4')
  2016-07-08 20:30:53 caching: netatmo_D70_ee_50_02_92_3a-humidity: 58
[2016-07-08 20:30:53] [FHEM]     caching: CurrentRelativeHumidity: 58 (as number; from '58')
[2016-07-08 20:30:53] [FHEM] mappings for netatmo_M02_00_00_02_b4_0a: { CurrentTemperature: { reading: 'temperature', minValue: -30 },
  CurrentRelativeHumidity: { reading: 'humidity' },
  StatusLowBattery:
   { reading: 'battery',
     values: [ 'ok:BATTERY_LEVEL_NORMAL', '/.*/:BATTERY_LEVEL_LOW' ] } }
[2016-07-08 20:30:53] [FHEM] netatmo_M02_00_00_02_b4_0a is thermometer
[2016-07-08 20:30:53] [FHEM] netatmo_M02_00_00_02_b4_0a has
[2016-07-08 20:30:53] [FHEM]   CurrentTemperature [temperature]
[2016-07-08 20:30:53] [FHEM]   CurrentRelativeHumidity [humidity]
[2016-07-08 20:30:53] [FHEM]   StatusLowBattery [battery]
  2016-07-08 20:30:53 caching: netatmo_M02_00_00_02_b4_0a-temperature: 27.5
[2016-07-08 20:30:53] [FHEM]     caching: CurrentTemperature: 27.5 (as number; from '27.5')
  2016-07-08 20:30:53 caching: netatmo_M02_00_00_02_b4_0a-humidity: 47
[2016-07-08 20:30:53] [FHEM]     caching: CurrentRelativeHumidity: 47 (as number; from '47')
[2016-07-08 20:30:53] [FHEM] value2homekit_re: [ { re: '.*', to: 1 } ]
[2016-07-08 20:30:53] [FHEM] value2homekit: { ok: 0 }
[2016-07-08 20:30:53] [FHEM] homekit2name: { '0': 'BATTERY_LEVEL_NORMAL', '1': 'BATTERY_LEVEL_LOW' }
  2016-07-08 20:30:53 caching: netatmo_M02_00_00_02_b4_0a-battery: ok
[2016-07-08 20:30:53] [FHEM] netatmo_M02_00_00_02_b4_0a-battery values: value ok mapped to 0
[2016-07-08 20:30:53] [FHEM]     caching: StatusLowBattery: 0 (as number; means BATTERY_LEVEL_NORMAL; from 'ok')
[2016-07-08 20:30:53] [FHEM] mappings for netatmo_M03_00_00_00_5c_4e: { CurrentTemperature: { reading: 'temperature', minValue: -30 },
  CurrentRelativeHumidity: { reading: 'humidity' },
  StatusLowBattery:
   { reading: 'battery',
     values: [ 'ok:BATTERY_LEVEL_NORMAL', '/.*/:BATTERY_LEVEL_LOW' ] } }
[2016-07-08 20:30:53] [FHEM] netatmo_M03_00_00_00_5c_4e is thermometer
[2016-07-08 20:30:53] [FHEM] netatmo_M03_00_00_00_5c_4e has
[2016-07-08 20:30:53] [FHEM]   CurrentTemperature [temperature]
[2016-07-08 20:30:53] [FHEM]   CurrentRelativeHumidity [humidity]
[2016-07-08 20:30:53] [FHEM]   StatusLowBattery [battery]
  2016-07-08 20:30:53 caching: netatmo_M03_00_00_00_5c_4e-temperature: 25
[2016-07-08 20:30:53] [FHEM]     caching: CurrentTemperature: 25 (as number; from '25')
  2016-07-08 20:30:53 caching: netatmo_M03_00_00_00_5c_4e-humidity: 51
[2016-07-08 20:30:53] [FHEM]     caching: CurrentRelativeHumidity: 51 (as number; from '51')
[2016-07-08 20:30:53] [FHEM] value2homekit_re: [ { re: '.*', to: 1 } ]
[2016-07-08 20:30:53] [FHEM] value2homekit: { ok: 0 }
[2016-07-08 20:30:53] [FHEM] homekit2name: { '0': 'BATTERY_LEVEL_NORMAL', '1': 'BATTERY_LEVEL_LOW' }
  2016-07-08 20:30:53 caching: netatmo_M03_00_00_00_5c_4e-battery: ok
[2016-07-08 20:30:53] [FHEM] netatmo_M03_00_00_00_5c_4e-battery values: value ok mapped to 0
[2016-07-08 20:30:53] [FHEM]     caching: StatusLowBattery: 0 (as number; means BATTERY_LEVEL_NORMAL; from 'ok')
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'Aussen_L_UG_Nodon2'...
[2016-07-08 20:30:53] [FHEM] creating services for Aussen_L_UG_Nodon2
[2016-07-08 20:30:53] [FHEM]   information service for Aussen_L_UG_Nodon2
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for Aussen_L_UG_Nodon2
[2016-07-08 20:30:53] [FHEM]   Lightbulb service for Aussen_L_UG_Nodon2
[2016-07-08 20:30:53] [FHEM]     On characteristic for Aussen_L_UG_Nodon2:state
[2016-07-08 20:30:53] [FHEM]       initial value is: false (boolean)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'bool',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'EZ_L_NodOn1'...
[2016-07-08 20:30:53] [FHEM] creating services for EZ_L_NodOn1
[2016-07-08 20:30:53] [FHEM]   information service for EZ_L_NodOn1
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for EZ_L_NodOn1
[2016-07-08 20:30:53] [FHEM]   Lightbulb service for EZ_L_NodOn1
[2016-07-08 20:30:53] [FHEM]     On characteristic for EZ_L_NodOn1:state
[2016-07-08 20:30:53] [FHEM]       initial value is: false (boolean)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'bool',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'Garage_T_FSR61'...
[2016-07-08 20:30:53] [FHEM] creating services for Garage_T_FSR61
[2016-07-08 20:30:53] [FHEM]   information service for Garage_T_FSR61
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for Garage_T_FSR61
[2016-07-08 20:30:53] [FHEM]   Switch service for Garage_T_FSR61
[2016-07-08 20:30:53] [FHEM]     On characteristic for Garage_T_FSR61:B0
[2016-07-08 20:30:53] [FHEM]       no default
[2016-07-08 20:30:53] [FHEM]       props: { format: 'bool',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'Kueche_D_FUD61'...
[2016-07-08 20:30:53] [FHEM] creating services for Kueche_D_FUD61
[2016-07-08 20:30:53] [FHEM]   information service for Kueche_D_FUD61
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for Kueche_D_FUD61
[2016-07-08 20:30:53] [FHEM]   Lightbulb service for Kueche_D_FUD61
[2016-07-08 20:30:53] [FHEM]     On characteristic for Kueche_D_FUD61:state
[2016-07-08 20:30:53] [FHEM]       initial value is: false (boolean)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'bool',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     Brightness characteristic for Kueche_D_FUD61:dim
[2016-07-08 20:30:53] [FHEM]       initial value is: 0 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'int',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'Kueche_St_FSB61'...
[2016-07-08 20:30:53] [FHEM] creating services for Kueche_St_FSB61
[2016-07-08 20:30:53] [FHEM]   information service for Kueche_St_FSB61
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for Kueche_St_FSB61
[2016-07-08 20:30:53] [FHEM]   WindowCovering service for Kueche_St_FSB61
[2016-07-08 20:30:53] [FHEM]     CurrentPosition characteristic for Kueche_St_FSB61:position
[2016-07-08 20:30:53] [FHEM]       initial value is: 100 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     TargetPosition characteristic for Kueche_St_FSB61:position
[2016-07-08 20:30:53] [FHEM]       initial value is: 100 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'SZ_St1_FSB61'...
[2016-07-08 20:30:53] [FHEM] creating services for SZ_St1_FSB61
[2016-07-08 20:30:53] [FHEM]   information service for SZ_St1_FSB61
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for SZ_St1_FSB61
[2016-07-08 20:30:53] [FHEM]   WindowCovering service for SZ_St1_FSB61
[2016-07-08 20:30:53] [FHEM]     CurrentPosition characteristic for SZ_St1_FSB61:position
[2016-07-08 20:30:53] [FHEM]       initial value is: 98 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     TargetPosition characteristic for SZ_St1_FSB61:position
[2016-07-08 20:30:53] [FHEM]       initial value is: 98 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'SZ_St2_FSB61'...
[2016-07-08 20:30:53] [FHEM] creating services for SZ_St2_FSB61
[2016-07-08 20:30:53] [FHEM]   information service for SZ_St2_FSB61
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for SZ_St2_FSB61
[2016-07-08 20:30:53] [FHEM]   WindowCovering service for SZ_St2_FSB61
[2016-07-08 20:30:53] [FHEM]     CurrentPosition characteristic for SZ_St2_FSB61:position
[2016-07-08 20:30:53] [FHEM]       initial value is: 100 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     TargetPosition characteristic for SZ_St2_FSB61:position
[2016-07-08 20:30:53] [FHEM]       initial value is: 100 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'Sonos_Bad__Schlafz'...
[2016-07-08 20:30:53] [FHEM] creating services for Sonos_Bad__Schlafz
[2016-07-08 20:30:53] [FHEM]   information service for Sonos_Bad__Schlafz
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for Sonos_Bad__Schlafz
[2016-07-08 20:30:53] [FHEM]   Switch service for Sonos_Bad__Schlafz
[2016-07-08 20:30:53] [FHEM]     Custom Volume characteristic for Sonos_Bad__Schlafz:Volume
[2016-07-08 20:30:53] [FHEM]       initial value is: 17 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     On characteristic for Sonos_Bad__Schlafz:transportState
[2016-07-08 20:30:53] [FHEM]       initial value is: true (boolean)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'bool',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'Sonos_Buero'...
[2016-07-08 20:30:53] [FHEM] creating services for Sonos_Buero
[2016-07-08 20:30:53] [FHEM]   information service for Sonos_Buero
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for Sonos_Buero
[2016-07-08 20:30:53] [FHEM]   Switch service for Sonos_Buero
[2016-07-08 20:30:53] [FHEM]     Custom Volume characteristic for Sonos_Buero:Volume
[2016-07-08 20:30:53] [FHEM]       initial value is: 100 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     On characteristic for Sonos_Buero:transportState
[2016-07-08 20:30:53] [FHEM]       initial value is: false (boolean)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'bool',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'Sonos_Mobil'...
[2016-07-08 20:30:53] [FHEM] creating services for Sonos_Mobil
[2016-07-08 20:30:53] [FHEM]   information service for Sonos_Mobil
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for Sonos_Mobil
[2016-07-08 20:30:53] [FHEM]   Switch service for Sonos_Mobil
[2016-07-08 20:30:53] [FHEM]     Custom Volume characteristic for Sonos_Mobil:Volume
[2016-07-08 20:30:53] [FHEM]       initial value is: 55 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     On characteristic for Sonos_Mobil:transportState
[2016-07-08 20:30:53] [FHEM]       initial value is: false (boolean)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'bool',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'Sonos_Wohnzimmer'...
[2016-07-08 20:30:53] [FHEM] creating services for Sonos_Wohnzimmer
[2016-07-08 20:30:53] [FHEM]   information service for Sonos_Wohnzimmer
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for Sonos_Wohnzimmer
[2016-07-08 20:30:53] [FHEM]   Switch service for Sonos_Wohnzimmer
[2016-07-08 20:30:53] [FHEM]     Custom Volume characteristic for Sonos_Wohnzimmer:Volume
[2016-07-08 20:30:53] [FHEM]       initial value is: 73 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     On characteristic for Sonos_Wohnzimmer:transportState
[2016-07-08 20:30:53] [FHEM]       initial value is: false (boolean)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'bool',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'TV_D_FUD61'...
[2016-07-08 20:30:53] [FHEM] creating services for TV_D_FUD61
[2016-07-08 20:30:53] [FHEM]   information service for TV_D_FUD61
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for TV_D_FUD61
[2016-07-08 20:30:53] [FHEM]   Lightbulb service for TV_D_FUD61
[2016-07-08 20:30:53] [FHEM]     On characteristic for TV_D_FUD61:state
[2016-07-08 20:30:53] [FHEM]       initial value is: false (boolean)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'bool',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     Brightness characteristic for TV_D_FUD61:dim
[2016-07-08 20:30:53] [FHEM]       initial value is: 0 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'int',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'TV_St_FSB61'...
[2016-07-08 20:30:53] [FHEM] creating services for TV_St_FSB61
[2016-07-08 20:30:53] [FHEM]   information service for TV_St_FSB61
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for TV_St_FSB61
[2016-07-08 20:30:53] [FHEM]   WindowCovering service for TV_St_FSB61
[2016-07-08 20:30:53] [FHEM]     CurrentPosition characteristic for TV_St_FSB61:position
[2016-07-08 20:30:53] [FHEM]       initial value is: 100 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     TargetPosition characteristic for TV_St_FSB61:position
[2016-07-08 20:30:53] [FHEM]       initial value is: 100 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'WZ_D_FUD61'...
[2016-07-08 20:30:53] [FHEM] creating services for WZ_D_FUD61
[2016-07-08 20:30:53] [FHEM]   information service for WZ_D_FUD61
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for WZ_D_FUD61
[2016-07-08 20:30:53] [FHEM]   Lightbulb service for WZ_D_FUD61
[2016-07-08 20:30:53] [FHEM]     On characteristic for WZ_D_FUD61:state
[2016-07-08 20:30:53] [FHEM]       initial value is: false (boolean)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'bool',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     Brightness characteristic for WZ_D_FUD61:dim
[2016-07-08 20:30:53] [FHEM]       initial value is: 0 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'int',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'WZ_L_NodOn11'...
[2016-07-08 20:30:53] [FHEM] creating services for WZ_L_NodOn11
[2016-07-08 20:30:53] [FHEM]   information service for WZ_L_NodOn11
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for WZ_L_NodOn11
[2016-07-08 20:30:53] [FHEM]   Lightbulb service for WZ_L_NodOn11
[2016-07-08 20:30:53] [FHEM]     On characteristic for WZ_L_NodOn11:state
[2016-07-08 20:30:53] [FHEM]       initial value is: false (boolean)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'bool',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'pw', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'netatmo_D70_ee_50_02_92_3a'...
[2016-07-08 20:30:53] [FHEM] creating services for netatmo_D70_ee_50_02_92_3a
[2016-07-08 20:30:53] [FHEM]   information service for netatmo_D70_ee_50_02_92_3a
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for netatmo_D70_ee_50_02_92_3a
[2016-07-08 20:30:53] [FHEM]   TemperatureSensor service for netatmo_D70_ee_50_02_92_3a
[2016-07-08 20:30:53] [FHEM]     CurrentTemperature characteristic for netatmo_D70_ee_50_02_92_3a:temperature
[2016-07-08 20:30:53] [FHEM]       initial value is: 24.5 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'float',
  unit: 'celsius',
  minValue: -30,
  maxValue: 100,
  minStep: 0.1,
  perms: [ 'pr', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     Custom AirPressure characteristic for netatmo_D70_ee_50_02_92_3a:pressure
[2016-07-08 20:30:53] [FHEM]       initial value is: 1022 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint16',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     CurrentRelativeHumidity characteristic for netatmo_D70_ee_50_02_92_3a:humidity
[2016-07-08 20:30:53] [FHEM]       initial value is: 58 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'float',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'netatmo_M02_00_00_02_b4_0a'...
[2016-07-08 20:30:53] [FHEM] creating services for netatmo_M02_00_00_02_b4_0a
[2016-07-08 20:30:53] [FHEM]   information service for netatmo_M02_00_00_02_b4_0a
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for netatmo_M02_00_00_02_b4_0a
[2016-07-08 20:30:53] [FHEM]   TemperatureSensor service for netatmo_M02_00_00_02_b4_0a
[2016-07-08 20:30:53] [FHEM]     CurrentTemperature characteristic for netatmo_M02_00_00_02_b4_0a:temperature
[2016-07-08 20:30:53] [FHEM]       initial value is: 27.5 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'float',
  unit: 'celsius',
  minValue: -30,
  maxValue: 100,
  minStep: 0.1,
  perms: [ 'pr', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     CurrentRelativeHumidity characteristic for netatmo_M02_00_00_02_b4_0a:humidity
[2016-07-08 20:30:53] [FHEM]       initial value is: 47 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'float',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     StatusLowBattery characteristic for netatmo_M02_00_00_02_b4_0a:battery
[2016-07-08 20:30:53] [FHEM]       initial value is: 0 (number; means BATTERY_LEVEL_NORMAL)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'ev' ] }
[2016-07-08 20:30:53] [FHEM] Initializing platform accessory 'netatmo_M03_00_00_00_5c_4e'...
[2016-07-08 20:30:53] [FHEM] creating services for netatmo_M03_00_00_00_5c_4e
[2016-07-08 20:30:53] [FHEM]   information service for netatmo_M03_00_00_00_5c_4e
[2016-07-08 20:30:53] [FHEM]     manufacturer, model and serial number characteristics for netatmo_M03_00_00_00_5c_4e
[2016-07-08 20:30:53] [FHEM]   TemperatureSensor service for netatmo_M03_00_00_00_5c_4e
[2016-07-08 20:30:53] [FHEM]     CurrentTemperature characteristic for netatmo_M03_00_00_00_5c_4e:temperature
[2016-07-08 20:30:53] [FHEM]       initial value is: 25 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'float',
  unit: 'celsius',
  minValue: -30,
  maxValue: 100,
  minStep: 0.1,
  perms: [ 'pr', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     CurrentRelativeHumidity characteristic for netatmo_M03_00_00_00_5c_4e:humidity
[2016-07-08 20:30:53] [FHEM]       initial value is: 51 (number)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'float',
  unit: 'percentage',
  minValue: 0,
  maxValue: 100,
  minStep: 1,
  perms: [ 'pr', 'ev' ] }
[2016-07-08 20:30:53] [FHEM]     StatusLowBattery characteristic for netatmo_M03_00_00_00_5c_4e:battery
[2016-07-08 20:30:53] [FHEM]       initial value is: 0 (number; means BATTERY_LEVEL_NORMAL)
[2016-07-08 20:30:53] [FHEM]       props: { format: 'uint8',
  unit: null,
  minValue: null,
  maxValue: null,
  minStep: null,
  perms: [ 'pr', 'ev' ] }
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 062-46-167 │     
    └────────────┘     
                       
[2016-07-08 20:30:53] Homebridge is running on port 51826.
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::51826
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at Server._listen2 (net.js:1231:14)
    at listen (net.js:1267:10)
    at Server.listen (net.js:1363:5)
    at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:58:19)
    at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:155:20)
    at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:480:16)
    at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:92:16)
    at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:351:14)
pi@raspberrypi:~ $

Raspi3, EnOcean, Zwave, Homematic

justme1968

das schaut erst mal gut aus. aber co2 fehlt.

welche homebridge-fhem version ist aktuell installiert?npm -g ls | grep homebridge

gruss
andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

choetzu

Zitat von: justme1968 am 08 Juli 2016, 21:10:05
welche homebridge-fhem version ist aktuell installiert?npm -g ls | grep homebridge

├─┬ homebridge@0.3.4
├─┬ homebridge-fhem@0.2.31

danke für deine Hilfe!
Raspi3, EnOcean, Zwave, Homematic

aski71

Zitat von: budy am 08 Juli 2016, 14:18:11
Moin,

das ist fast immer ein falsches Mapping, welches zu solchen Dingen führt. Oder aber ein Device gibt einen falschen Datentyp zurück. Da meldet sich dann die HomeKit DB auf dem iOS Gerät gerne mal ab und du hast genau das Problem...

Als Diagnose bleibt nur die ld/2-Methode... nimm die Hälfte der Geräte aus dem Homekit-Raum lege die Homekit DB auf dem iOS Device neu an. Wenn das funktioniert hat, dann nimmst du wiederum die Hälfte von der Hälfte der vorher rausgeworfenen Geräte und wiederholst den Vorgang...

Erstzweise kannst du auch das Log durchwühlen, aber dafür muss man immer wissen, welche Datentypen Homekit erwartet. Meistens kommen irgendwo keine Integers wo aber Integers erwartet werden...

Auch möglich... alle eigenen Mappings entfernen... und dann testen. Da kann man auch viel Mist machen, das weiß ich aus Erfahrung... ;)


Gruß,
Stephan

Moin.

Ist das auch die Erklärung, wenn's drei Tage lang funktioniert und dann plötzlich nicht mehr, obwohl man gar nichts an der Config gemacht hat?  ???
Oder: Warum es heute ohne Zutun dann nach erneutem Booten des Raspi einfach wieder ging? :-O (Obwohl ich ihn zwischendurch schon mal gebootet hatte...)

Gruß Alex

justme1968

@choetzu: sehr komisch. zeig mal bitte dein mapping für das netatmo device.

@aski71: ja. auch dann. es kann passieren das irgendwann ein reading auftaucht mit dem homekit probleme hat. aber eigentlich wird in der aktuellen homebridge und homebridge-fhem version das sehr gut kontrolliert. die konsolen ausgabe und auch der debug browser sollten hier etwas info liefern.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

choetzu

Zitat von: justme1968 am 08 Juli 2016, 21:44:46
@choetzu: sehr komisch. zeig mal bitte dein mapping für das netatmo device.

ich habe eigentlich bei netatmo kein Mapping gemacht, da es ja die Werte automatisch übernommen hat. Ich habe lediglich genericDeviceType=thermometer gemacht und in den Homekit Ordner gemacht.. Offensichtlich scheint es daran zu liegen, oder?
Raspi3, EnOcean, Zwave, Homematic

justme1968

ich habe es gerade mit der 0.2.31 version hier probiert und ich bekomme ein mapping für AirQuality und CarbonDioxideLevel.

kann es sein das du zwei installierte versionen hast hast die falsche aktualisiert hast?

was gibt ein sudo find / -name homebridge-fhem -print

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

choetzu

da kommt das raus:

/home/pi/.npm/registry.npmjs.org/homebridge-fhem
/home/pi/.npm/homebridge-fhem
Raspi3, EnOcean, Zwave, Homematic

justme1968

ich bin leider etwas ratlos...

zeig mal ein jsonlist2 auf das netatmo device.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

choetzu

meinst du folgende liste mit jsonlist? Das ist das Listing vom netatmo Modul im Schlafzimmer...

Internals:
   DEF        70:ee:50:02:92:3a
   Device     70:ee:50:02:92:3a
   INTERVAL   900
   IODev      Netatmo
   LAST_POLL  2016-07-09 10:35:03
   NAME       netatmo_D70_ee_50_02_92_3a
   NOTIFYDEV  global
   NR         29
   NTFY_ORDER 50-netatmo_D70_ee_50_02_92_3a
   STATE      24.4 grad / 460 ppm / 60 %
   SUBTYPE    DEVICE
   TYPE       netatmo
   altitude   437
   city       Kappel
   country    CH
   dataTypes  Temperature,CO2,Humidity,Noise,Pressure
   date_setup 2013-12-27 15:00:49
   firmware   102
   lastError
   last_setup 2013-12-27 15:00:49
   last_status_store 2016-07-09 09:56:55
   last_upgrade 2015-08-19 21:14:20
   location   47.322399029391,7.849207844119
   model      NAMain
   moduleName Schlafzimmer
   openRequests 0
   stationName Luethi Home
   status     ok
   wifi_status 64
   CHANGETIME:
     2016-07-09 10:27:01
   Readings:
     2016-07-09 10:27:01   co2             460
     2016-07-09 10:27:01   humidity        60
     2016-07-09 10:27:01   noise           43
     2016-07-09 10:27:01   pressure        1025.6
     2016-07-09 09:56:40   pressure_abs    973.4
     2016-07-09 09:56:40   pressure_trend  stable
     2016-07-09 00:45:32   temp_max        24.7
     2016-07-09 09:46:34   temp_min        23.9
     2016-07-09 09:56:40   temp_trend      down
     2016-07-09 10:27:01   temperature     24.4
   Helper:
     readingNames:
       temperature
       co2
       humidity
       noise
       pressure
Attributes:
   IODev      Netatmo
   alias      Schlafzimmer
   event-on-change-reading .*
   fhem_widget_command {"allowed_values":[],"order":105}
   genericDeviceType thermometer
   room       Homekit,Netatmo,Widget_App
   stateFormat temperature grad / co2 ppm / humidity %
Raspi3, EnOcean, Zwave, Homematic

justme1968

nein. das ist die ausgabe von list. ich brauche die ausgabe von jsonlist2.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

choetzu

jetzt aber, sorry...

{
  "Arg":"netatmo_D70_ee_50_02_92_3a",
  "Results": [
  {
    "Name":"netatmo_D70_ee_50_02_92_3a",
    "PossibleSets":"",
    "PossibleAttrs":"verbose:0,1,2,3,4,5 room group comment:textField-long alias eventMap userReadings:textField-long IODev disable:1 interval videoquality:poor,low,medium,high ignored_device_ids setpoint_duration addresslimit event-on-change-reading event-on-update-reading event-aggregator event-min-interval stateFormat:textField-long timestamp-on-change-reading cmdIcon devStateIcon devStateStyle fhem_widget_command fm_type genericDeviceType:switch,outlet,light,blind,speaker,thermostat,thermometer homebridgeMapping:textField-long icon sortby webCmd widgetOverride userattr",
    "Internals": {
      "DEF": "70:ee:50:02:92:3a",
      "Device": "70:ee:50:02:92:3a",
      "INTERVAL": "900",
      "LAST_POLL": "2016-07-09 13:05:03",
      "NAME": "netatmo_D70_ee_50_02_92_3a",
      "NOTIFYDEV": "global",
      "NR": "29",
      "NTFY_ORDER": "50-netatmo_D70_ee_50_02_92_3a",
      "STATE": "24.7 grad / 542 ppm / 60 %",
      "SUBTYPE": "DEVICE",
      "TYPE": "netatmo",
      "altitude": "437",
      "city": "Kappel",
      "country": "CH",
      "dataTypes": "Temperature,CO2,Humidity,Noise,Pressure",
      "date_setup": "2013-12-27 15:00:49",
      "firmware": "102",
      "lastError": "null",
      "last_setup": "2013-12-27 15:00:49",
      "last_status_store": "2016-07-09 12:59:01",
      "last_upgrade": "2015-08-19 21:14:20",
      "location": "47.322399029391,7.849207844119",
      "model": "NAMain",
      "moduleName": "Schlafzimmer",
      "openRequests": "0",
      "stationName": "Luethi Home",
      "status": "ok",
      "wifi_status": "67"
    },
    "Readings": {
      "co2": { "Value":"542", "Time":"2016-07-09 12:58:46" },
      "humidity": { "Value":"60", "Time":"2016-07-09 12:58:46" },
      "noise": { "Value":"36", "Time":"2016-07-09 12:58:46" },
      "pressure": { "Value":"1025.1", "Time":"2016-07-09 12:58:46" },
      "pressure_abs": { "Value":"973.1", "Time":"2016-07-09 12:58:46" },
      "pressure_trend": { "Value":"stable", "Time":"2016-07-09 12:58:46" },
      "temp_max": { "Value":"24.7", "Time":"2016-07-09 00:45:32" },
      "temp_min": { "Value":"23.9", "Time":"2016-07-09 09:46:34" },
      "temp_trend": { "Value":"stable", "Time":"2016-07-09 12:58:46" },
      "temperature": { "Value":"24.7", "Time":"2016-07-09 12:58:46" }
    },
    "Attributes": {
      "IODev": "Netatmo",
      "alias": "Schlafzimmer",
      "event-on-change-reading": ".*",
      "fhem_widget_command": "{\"allowed_values\":[],\"order\":105}",
      "genericDeviceType": "thermometer",
      "room": "Homekit,Netatmo,Widget_App",
      "stateFormat": "temperature grad / co2 ppm / humidity %"
    }
  }  ],
  "totalResultsReturned":1
}
Raspi3, EnOcean, Zwave, Homematic