Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devices are not shown at homebridge #14

Closed
FlulF opened this issue Mar 19, 2020 · 31 comments
Closed

Devices are not shown at homebridge #14

FlulF opened this issue Mar 19, 2020 · 31 comments

Comments

@FlulF
Copy link

FlulF commented Mar 19, 2020

Hello devices are not Popping up in Homebridge.
It seems it does not detect any devices.
I already reset room in the Teufel App - but no changes.
I am grateful for any advice.

Some information from the Log:

Started Node.js HomeKit Server.
[3/19/2020, 4:10:56 PM] Loaded config.json with 0 accessories and 4 platforms.
[3/19/2020, 4:10:56 PM] ---
[3/19/2020, 4:10:56 PM] Loaded plugin: homebridge-config-ui-x
[3/19/2020, 4:10:56 PM] Registering platform 'homebridge-config-ui-x.config'
[3/19/2020, 4:10:56 PM] ---
[3/19/2020, 4:10:56 PM] Loaded plugin: homebridge-shelly
[3/19/2020, 4:10:57 PM] Registering platform 'homebridge-shelly.Shelly'
[3/19/2020, 4:10:57 PM] ---
[3/19/2020, 4:10:59 PM] Loaded plugin: homebridge-teufel
[3/19/2020, 4:10:59 PM] Registering platform 'homebridge-teufel.Teufel'
[3/19/2020, 4:10:59 PM] ---
[3/19/2020, 4:10:59 PM] Loaded plugin: homebridge-tplink-smarthome
[3/19/2020, 4:10:59 PM] Registering platform 'homebridge-tplink-smarthome.TplinkSmarthome'
[3/19/2020, 4:10:59 PM] ---
[3/19/2020, 4:10:59 PM] Loading 4 platforms...
[3/19/2020, 4:10:59 PM] [Config] Initializing config platform...
[3/19/2020, 4:10:59 PM] [Config] Spawning homebridge-config-ui-x with PID 780
[3/19/2020, 4:10:59 PM] [Shelly] Initializing Shelly platform...
[3/19/2020, 4:10:59 PM] [TplinkSmarthome] Initializing TplinkSmarthome platform...
[3/19/2020, 4:10:59 PM] [TplinkSmarthome] homebridge-tplink-smarthome v4.0.1, node v12.16.1, homebridge v0.4.53
[3/19/2020, 4:10:59 PM] [Teufel] Initializing Teufel platform...
[3/19/2020, 4:11:00 PM] Loading 0 accessories...
[3/19/2020, 4:11:00 PM] [TplinkSmarthome] Configuring cached accessory: [Steckdose] 80066A532F85603668A26215D40A84111A060AF9 668ba3fb-dda1-46c8-8584-1a59c6753e4a
Setup Payload:
X-HM://0024D8MEUJ6G4
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
...
[3/19/2020, 4:11:00 PM] [Shelly] 5 accessories loaded from cache
[3/19/2020, 4:11:00 PM] Homebridge is running on port 51826.
[3/19/2020, 4:11:00 PM] [Shelly] Admin server is running on port 8080
(node:346) UnhandledPromiseRejectionWarning: Error: send ENETUNREACH 224.0.1.187:5683
at doSend (dgram.js:697:16)
at defaultTriggerAsyncIdScope (internal/async_hooks.js:311:12)
at afterDns (dgram.js:643:5)
at processTicksAndRejections (internal/process/task_queues.js:85:21)
(node:346) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:346) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[3/19/2020, 4:11:04 PM] [Config] Homebridge Config UI X v4.13.0 is listening on :: port 8081
[3/19/2020, 4:11:10 PM] [TplinkSmarthome] New Device Online: [Steckdose] plug [80066A532F85603668A26215D40A84111A060AF9] 192.168.1.207 9999
[3/19/2020, 4:11:10 PM] [TplinkSmarthome] Adding: [Steckdose] plug [80066A532F85603668A26215D40A84111A060AF9]
homebridge : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/kill -9 1056
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
[3/19/2020, 4:12:12 PM] [Config] Homebridge restart request received
[3/19/2020, 4:12:12 PM] [Config] Executing restart command: sudo -n systemctl restart homebridge
homebridge : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl restart homebridge
pam_unix(sudo:session): session opened for user root by (uid=0)
Stopping Node.js HomeKit Server...
[3/19/2020, 4:12:12 PM] Got SIGTERM, shutting down Homebridge...
homebridge.service: Main process exited, code=exited, status=143/n/a
homebridge.service: Failed with result 'exit-code'.
Stopped Node.js HomeKit Server.
homebridge.service: Found left-over process 780 (homebridge-conf) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 1743 (sh) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 1744 (sudo) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 1749 (systemctl) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Started Node.js HomeKit Server.
pam_unix(sudo:session): session closed for user root
[3/19/2020, 4:12:19 PM] Loaded config.json with 0 accessories and 4 platforms.
[3/19/2020, 4:12:19 PM] ---
[3/19/2020, 4:12:19 PM] Loaded plugin: homebridge-config-ui-x
[3/19/2020, 4:12:19 PM] Registering platform 'homebridge-config-ui-x.config'
[3/19/2020, 4:12:19 PM] ---
[3/19/2020, 4:12:19 PM] Loaded plugin: homebridge-shelly
[3/19/2020, 4:12:19 PM] Registering platform 'homebridge-shelly.Shelly'
[3/19/2020, 4:12:19 PM] ---
[3/19/2020, 4:12:20 PM] Loaded plugin: homebridge-teufel
[3/19/2020, 4:12:20 PM] Registering platform 'homebridge-teufel.Teufel'
[3/19/2020, 4:12:20 PM] ---
[3/19/2020, 4:12:20 PM] Loaded plugin: homebridge-tplink-smarthome
[3/19/2020, 4:12:20 PM] Registering platform 'homebridge-tplink-smarthome.TplinkSmarthome'
[3/19/2020, 4:12:20 PM] ---
[3/19/2020, 4:12:20 PM] Loading 4 platforms...
[3/19/2020, 4:12:20 PM] [Config] Initializing config platform...
[3/19/2020, 4:12:20 PM] [Config] Spawning homebridge-config-ui-x with PID 1775
[3/19/2020, 4:12:20 PM] [Shelly] Initializing Shelly platform...
[3/19/2020, 4:12:20 PM] [TplinkSmarthome] Initializing TplinkSmarthome platform...
[3/19/2020, 4:12:20 PM] [TplinkSmarthome] homebridge-tplink-smarthome v4.0.1, node v12.16.1, homebridge v0.4.53
[3/19/2020, 4:12:20 PM] [Teufel] Initializing Teufel platform...
[3/19/2020, 4:12:20 PM] Loading 0 accessories...
[3/19/2020, 4:12:20 PM] [TplinkSmarthome] Configuring cached accessory: [Steckdose] 80066A532F85603668A26215D40A84111A060AF9 668ba3fb-dda1-46c8-8584-1a59c6753e4a
Setup Payload:
X-HM://0024D8MEUJ6G4
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
....
[3/19/2020, 4:12:20 PM] [Shelly] 5 accessories loaded from cache
[3/19/2020, 4:12:20 PM] Homebridge is running on port 51826.
[3/19/2020, 4:12:20 PM] [Shelly] Admin server is running on port 8080
[3/19/2020, 4:12:20 PM] [TplinkSmarthome] New Device Online: [Steckdose] plug [80066A532F85603668A26215D40A84111A060AF9] 192.168.1.207 9999
[3/19/2020, 4:12:20 PM] [TplinkSmarthome] Adding: [Steckdose] plug [80066A532F85603668A26215D40A84111A060AF9]
[3/19/2020, 4:12:23 PM] [Config] Homebridge Config UI X v4.13.0 is listening on :: port 8081

@maxrad-nobrain
Copy link

Same issue here. I feel like I missed something during installation.

@Tscheggi
Copy link

Tscheggi commented Apr 3, 2020

i have the same issue…

It seems it does not detect any devices. (only 1, but is doesn't appear)
neither in homebridge nor in the Apple Home app :-S

I already reset room in the Teufel App - but no changes.

I'm also grateful for any advice.

Settings in Homebridge:

{
"platform": "Teufel",
"name": "Teufel",
"frozen": false,
"clearcache": false
}

Settings in Teufel Raumfeld

Screenshot

Log-File from Homebridge:


[4/3/2020, 8:36:43 PM] [Teufel] Initializing Teufel platform...
[4/3/2020, 8:36:43 PM] Loading 1 accessories...

[4/3/2020, 8:36:45 PM] Homebridge is running on port 51826.
[4/3/2020, 8:36:49 PM] [Config] Homebridge Config UI X v4.13.3 is listening on :: port 8080

@RandomMetalhead
Copy link
Owner

RandomMetalhead commented Apr 12, 2020

In my current setup, I have one speaker per room. Could you try, just for testing, to place one speaker per room. So create 2 additional rooms and place 1 speaker in each room.

At the moment I can not reproduce the issue, but I see, that many people see this behavior...

@maxrad-nobrain
Copy link

I have 2 rooms with one speaker each. Its not working unfortunately...
Can you may explain the exacts steps to install? Is it really only having the speakers set up in the teufel app via multiroom and modify the config in homebridge?

@FlulF
Copy link
Author

FlulF commented Apr 12, 2020

I have in total 3 rooms with one device each. 1x teufel Connect, 1xteufel connect, 1 x teufel oneS

@RandomMetalhead
Copy link
Owner

I will create a new debug version tomorrow, to investigate.

@RandomMetalhead
Copy link
Owner

@maxrad-nobrain Everything correct, the plugin should be almost auto-configured. Nothing todo for installation, instead of adding minimum 2 lines to config.json. Everyhing else should happen "magically" :) . Sadly not for you...

{ "platform": "Teufel", "name": "Teufel" }

@RandomMetalhead
Copy link
Owner

RandomMetalhead commented Apr 13, 2020

Could you please try the following:

  1. Install new branch in Homebridge: https://github.com/RandomMetalhead/homebridge-teufel/tree/ISSUE14-DEBUG
  2. Restart Homebridge with installed and configured plugin in config.json
  3. Change something in you zones in the teufel app, e.g. create a new virtual zone via spotify connect by adding or removing a speaker or create a complete new zone/room
  4. Open Homekit App again
  5. Post complete log from startup here

@maxrad-nobrain
Copy link

Sorry for the dumb question, but how do I install this specific branch? Can I somehow do it via the homebridge ui? Do I have to remove my current teufel plugin beforehand?

@Tscheggi
Copy link

Tscheggi commented Apr 13, 2020

i copied the git repository

~/node_modules/homebridge-teufel $ ls -l
total 72
-rw-r--r-- 1 homebridge root 1542 Oct 26 1985 CHANGELOG.md
-rw-r--r-- 1 homebridge root 505 Oct 26 1985 config-sample.json
-rw-r--r-- 1 homebridge root 11985 Oct 26 1985 index.js
-rw-r--r-- 1 homebridge root 35141 Oct 26 1985 LICENSE
drwxr-xr-x 117 homebridge root 4096 Apr 13 20:41 node_modules
-rw-r--r-- 1 homebridge root 1865 Apr 13 20:41 package.json
-rw-r--r-- 1 homebridge root 2198 Oct 26 1985 README.md
drwxr-xr-x 2 root root 4096 Apr 13 21:02 temp

i restarted homebrige, here is the log

[4/13/2020, 9:04:04 PM] [Config] Homebridge restart request received
[4/13/2020, 9:04:04 PM] [Config] Executing restart command: sudo -n systemctl restart homebridge
homebridge : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl restart homebridge
pam_unix(sudo:session): session opened for user root by (uid=0)
Stopping Node.js HomeKit Server...
[4/13/2020, 9:04:04 PM] Got SIGTERM, shutting down Homebridge...
homebridge.service: Main process exited, code=exited, status=143/n/a
homebridge.service: Failed with result 'exit-code'.
Stopped Node.js HomeKit Server.
homebridge.service: Found left-over process 2134 (homebridge-conf) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 17944 (sh) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 17945 (sudo) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 17950 (systemctl) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Started Node.js HomeKit Server.
pam_unix(sudo:session): session closed for user root
[4/13/2020, 9:04:12 PM] Loaded config.json with 1 accessories and 5 platforms.
[4/13/2020, 9:04:12 PM] ---
[4/13/2020, 9:04:12 PM] Plugin /usr/local/lib/node_modules/homebridge-lib package.json does not contain the keyword 'homebridge-plugin'.
[4/13/2020, 9:04:12 PM] Loaded plugin: homebridge-automation-switches
[4/13/2020, 9:04:12 PM] Registering platform 'homebridge-switches.AutomationSwitches'
[4/13/2020, 9:04:12 PM] ---
[4/13/2020, 9:04:12 PM] Loaded plugin: homebridge-config-ui-x
[4/13/2020, 9:04:12 PM] Registering platform 'homebridge-config-ui-x.config'
[4/13/2020, 9:04:12 PM] ---
[4/13/2020, 9:04:12 PM] Loaded plugin: homebridge-dummy
[4/13/2020, 9:04:12 PM] Registering accessory 'homebridge-dummy.DummySwitch'
[4/13/2020, 9:04:12 PM] ---
[4/13/2020, 9:04:12 PM] Plugin /usr/local/lib/node_modules/homebridge-hue requires Node version of ^12.16.1 which does not satisfy the current Node version of v10.16.3. You may need to upgrade your installation of Node.
[4/13/2020, 9:04:15 PM] Loaded plugin: homebridge-hue
[4/13/2020, 9:04:15 PM] Registering platform 'homebridge-hue.Hue'
[4/13/2020, 9:04:15 PM] ---
[4/13/2020, 9:04:15 PM] Loaded plugin: homebridge-hue-scenes
[4/13/2020, 9:04:15 PM] Registering accessory 'homebridge-hue-scenes.HueScenes'
[4/13/2020, 9:04:15 PM] ---
[4/13/2020, 9:04:15 PM] Loaded plugin: homebridge-pushover
[4/13/2020, 9:04:15 PM] Registering platform 'homebridge-pushover.Pushover'
[4/13/2020, 9:04:15 PM] ---
[4/13/2020, 9:04:16 PM] Loaded plugin: homebridge-teufel
[4/13/2020, 9:04:16 PM] Registering platform 'homebridge-teufel.Teufel'
[4/13/2020, 9:04:16 PM] ---
[4/13/2020, 9:04:17 PM] Loaded plugin: homebridge-xiaomi-roborock-vacuum
[4/13/2020, 9:04:17 PM] Registering accessory 'homebridge-xiaomi-roborock-vacuum.XiaomiRoborockVacuum'
[4/13/2020, 9:04:17 PM] ---
[4/13/2020, 9:04:17 PM] Loading 5 platforms...
[4/13/2020, 9:04:17 PM] [Config] Initializing config platform...
[4/13/2020, 9:04:17 PM] [Config] Spawning homebridge-config-ui-x with PID 18087
[4/13/2020, 9:04:17 PM] [Phoscon-GW] Initializing Hue platform...
[4/13/2020, 9:04:17 PM] [Phoscon-GW] homebridge-hue v0.11.61, node v10.16.3, homebridge v0.4.53
[4/13/2020, 9:04:17 PM] [Phoscon-GW] warning: not using recommended node version v12.16.1 LTS
[4/13/2020, 9:04:18 PM] [AutomationSwitches] Initializing AutomationSwitches platform...
[4/13/2020, 9:04:18 PM] [AutomationSwitches] AutomationSwitchesPlatform Plugin Loaded - Version 3.2.1
[4/13/2020, 9:04:18 PM] [AutomationSwitches] Found automation switch in config: "Fenster/Türe #1"
[4/13/2020, 9:04:18 PM] [AutomationSwitches] Found automation switch in config: "Fenster/Türe #2"
[4/13/2020, 9:04:18 PM] [AutomationSwitches] Found automation switch in config: "Fenster/Türe #3"
[4/13/2020, 9:04:18 PM] [AutomationSwitches] Found automation switch in config: "Fenster/Türe #4"
[4/13/2020, 9:04:18 PM] [AutomationSwitches] Found automation switch in config: "Fenster/Türe #5"
[4/13/2020, 9:04:18 PM] [AutomationSwitches] Initializing platform accessory 'Fenster/Türe #1'...
[4/13/2020, 9:04:18 PM] [AutomationSwitches] Initializing platform accessory 'Fenster/Türe #2'...
[4/13/2020, 9:04:18 PM] [AutomationSwitches] Initializing platform accessory 'Fenster/Türe #3'...
[4/13/2020, 9:04:18 PM] [AutomationSwitches] Initializing platform accessory 'Fenster/Türe #4'...
[4/13/2020, 9:04:18 PM] [AutomationSwitches] Initializing platform accessory 'Fenster/Türe #5'...
[4/13/2020, 9:04:18 PM] [Teufel] Initializing Teufel platform...
[4/13/2020, 9:04:18 PM] [Messages] Initializing Pushover platform...
[4/13/2020, 9:04:18 PM] [Messages] Initializing platform accessory 'Messages'...
[4/13/2020, 9:04:18 PM] [Messages] Initializing platform accessory 'Schlafzimmer'...
[4/13/2020, 9:04:18 PM] [Messages] Initializing platform accessory 'Küche'...
[4/13/2020, 9:04:18 PM] [Messages] Initializing platform accessory 'Badezimmer'...
[4/13/2020, 9:04:18 PM] [Messages] Initializing platform accessory 'Kinderzimmer'...
[4/13/2020, 9:04:18 PM] [Messages] Initializing platform accessory 'Wohnzimmer'...
[4/13/2020, 9:04:18 PM] Loading 1 accessories...
[4/13/2020, 9:04:18 PM] [Roborocky] Initializing XiaomiRoborockVacuum accessory...
Load homebridge-switches.AutomationSwitches
[4/13/2020, 9:04:18 PM] [homebridge-switches.AutomationSwitches] AutomationSwitchesPlatform Plugin Loaded - Version 3.2.1
(node:17979) ExperimentalWarning: The fs.promises API is experimental
[4/13/2020, 9:04:18 PM] [Roborocky] STA getDevice | Connected to: 192.168.0.XX
[4/13/2020, 9:04:18 PM] [Roborocky] STA getDevice | Model: roborock.vacuum.s5
[4/13/2020, 9:04:18 PM] [Roborocky] STA getDevice | State: charging
[4/13/2020, 9:04:18 PM] [Roborocky] STA getDevice | FanSpeed: 104
[4/13/2020, 9:04:18 PM] [Roborocky] STA getDevice | BatteryLevel: 100
[4/13/2020, 9:04:18 PM] [Roborocky] INF getSerialNumber | roborock.vacuum.s5 | Serial Number is XXXXXX
[4/13/2020, 9:04:18 PM] [Roborocky] STA getDevice | Serialnumber: XXXXXXX
[4/13/2020, 9:04:18 PM] [Roborocky] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[4/13/2020, 9:04:18 PM] [Roborocky] STA getDevice | Firmwareversion: 3.5.7_002008
[4/13/2020, 9:04:18 PM] [Roborocky] INF changedCleaning | roborock.vacuum.s5 | Cleaning is OFF.
[4/13/2020, 9:04:18 PM] [Roborocky] MON changedCharging | roborock.vacuum.s5 | ChargingState is now true
[4/13/2020, 9:04:18 PM] [Roborocky] INF changedCharging | roborock.vacuum.s5 | Charging is active
[4/13/2020, 9:04:18 PM] [Roborocky] INF changedCharging | roborock.vacuum.s5 | Robot was docked.
[4/13/2020, 9:04:18 PM] [Roborocky] MON changedSpeed | roborock.vacuum.s5 | FanSpeed is now 104%
[4/13/2020, 9:04:18 PM] [Roborocky] INF changedSpeed | roborock.vacuum.s5 | Speed was changed to 104% (Max), for HomeKit 100%
[4/13/2020, 9:04:19 PM] [Phoscon-GW] warning: latest version: homebridge-hue v0.11.62
[4/13/2020, 9:04:19 PM] [Phoscon-GW] Phoscon-GW: dresden elektronik deCONZ gateway v2.5.67, api v1.16.0
[4/13/2020, 9:04:19 PM] [Phoscon-GW] Phoscon-GW: warning: not using recommended deCONZ gateway version 2.5.75
[4/13/2020, 9:04:19 PM] [Phoscon-GW] Phoscon-GW: gateway request 1: post / {"devicetype":"homebridge-hue#raspberrypi"}
[4/13/2020, 9:04:19 PM] [Phoscon-GW] Phoscon-GW: gateway communication error: link button not pressed
[4/13/2020, 9:04:19 PM] [Phoscon-GW] Phoscon-GW: unlock gateway to create a user - retrying in 15s
[4/13/2020, 9:04:25 PM] [Config] Homebridge Config UI X v4.13.3 is listening on :: port 8080
[4/13/2020, 9:04:34 PM] [Phoscon-GW] Phoscon-GW: created user - please edit config.json and restart homebridge
"platforms": [
{
"platform": "Hue",
"users": {
"----": "-----"
}
}
]
[4/13/2020, 9:04:34 PM] [Phoscon-GW] Daylight: set homekit light level from 0.0001 lux to 1.2586 lux
[4/13/2020, 9:04:34 PM] [Phoscon-GW] Phoscon-GW: 17 accessories
[4/13/2020, 9:04:35 PM] [Phoscon-GW] masked debug info dumped to /var/homebridge/homebridge-hue.json.gz
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'Phoscon-GW'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Phoscon-GW: 2 services
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'Stecker'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'Daylight'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'BS-Schlafzimmer'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'BS-Badezimmer'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'BS-Kinderzimmer'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'Smart Switch (1)'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'Smart Switch (2)'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'BS-Dusche-WC'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'TRADFRI on/off switch '...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'DS-Küche'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'DS-Kinderzimmer'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'DS-Schlafzimmer'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'FS-Badezimmer'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'DS-Wohnnzimmer'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'BS-Korridor'...
[4/13/2020, 9:04:35 PM] [Phoscon-GW] Initializing platform accessory 'BS-Esszimmer'...
Setup Payload:
X-HM://0023ISYWYHLED
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
│ XXX-CC-XXX │
[4/13/2020, 9:04:35 PM] Homebridge is running on port 51826.
[4/13/2020, 9:04:59 PM] [Roborocky] INF getBatteryLow | roborock.vacuum.s5 | Batterylevel is 100%
[4/13/2020, 9:04:59 PM] [Roborocky] INF getCleaning | roborock.vacuum.s5 | Cleaning is false
[4/13/2020, 9:04:59 PM] [Roborocky] INF getSpeed | roborock.vacuum.s5 | Fanspeed is 104 over miIO. Converting to HomeKit
[4/13/2020, 9:04:59 PM] [Roborocky] INF getSpeed | roborock.vacuum.s5 | Fanspeed is 104 over miIO "Max" > HomeKit speed 100%
[4/13/2020, 9:04:59 PM] [Roborocky] INF getDocked | roborock.vacuum.s5 | Robot Docked is true (Status is charging)
[4/13/2020, 9:06:35 PM] [Phoscon-GW] BS-Korridor: set homekit motion from 0 to 1
[4/13/2020, 9:06:46 PM] [Phoscon-GW] BS-Schlafzimmer: set homekit motion from 0 to 1
[4/13/2020, 9:06:52 PM] [Phoscon-GW] BS-Badezimmer: set homekit light level from 6.9984 lux to 0.0001 lux
[4/13/2020, 9:06:52 PM] [Phoscon-GW] BS-Badezimmer: set homekit motion from 0 to 1
[4/13/2020, 9:08:22 PM] [Phoscon-GW] BS-Badezimmer: set homekit motion from 1 to 0
[4/13/2020, 9:08:43 PM] [Phoscon-GW] BS-Badezimmer: set homekit light level from 0.0001 lux to 2.9999 lux
[4/13/2020, 9:08:43 PM] [Phoscon-GW] BS-Badezimmer: set homekit motion from 0 to 1
[4/13/2020, 9:08:56 PM] [Phoscon-GW] BS-Kinderzimmer: set homekit motion from 0 to 1
[4/13/2020, 9:10:14 PM] [Phoscon-GW] BS-Badezimmer: set homekit motion from 1 to 0
[4/13/2020, 9:10:26 PM] [Phoscon-GW] BS-Korridor: set homekit motion from 1 to 0
[4/13/2020, 9:11:01 PM] [Phoscon-GW] BS-Schlafzimmer: set homekit motion from 1 to 0
homebridge : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/kill -9 18234
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
[4/13/2020, 9:12:36 PM] [Phoscon-GW] BS-Korridor: set homekit light level from 2.9999 lux to 0.0001 lux
homebridge : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/kill -9 23571
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
[4/13/2020, 9:13:56 PM] [Phoscon-GW] BS-Kinderzimmer: set homekit motion from 1 to 0

i changed things in teufel app, after the reset:

https://ibb.co/DWhkRw9

@RandomMetalhead
Copy link
Owner

@Tscheggi
I have added new debugging at the beginning of the initialization process:

this.log("******* ISSUE 14 DEBUG: TeufelPlatform");

but I don´t see it in your logs. This could mean 2 things:

  1. It is not the new branched plugin, starting up in your homebridge
  2. The plugin is not initializing at all

Could you please double check for problem 1) ? See also below, new version released for easier debugging

@maxrad-nobrain
I have release a new version 0.4.6 with easier additional debugging and follow the steps posted above.

@FlulF
Copy link
Author

FlulF commented Apr 14, 2020

Hello,
thanks for your support on this topic.
I installed the updated plugin, please find below the log:

Started Node.js HomeKit Server.
pam_unix(sudo:session): session closed for user root
[4/14/2020, 8:47:21 AM] Loaded config.json with 0 accessories and 4 platforms.
[4/14/2020, 8:47:21 AM] ---
[4/14/2020, 8:47:21 AM] Loaded plugin: homebridge-config-ui-x
[4/14/2020, 8:47:21 AM] Registering platform 'homebridge-config-ui-x.config'
[4/14/2020, 8:47:21 AM] ---
[4/14/2020, 8:47:21 AM] Loaded plugin: homebridge-shelly
[4/14/2020, 8:47:22 AM] Registering platform 'homebridge-shelly.Shelly'
[4/14/2020, 8:47:22 AM] ---
[4/14/2020, 8:47:23 AM] Loaded plugin: homebridge-teufel
[4/14/2020, 8:47:23 AM] Registering platform 'homebridge-teufel.Teufel'
[4/14/2020, 8:47:23 AM] ---
[4/14/2020, 8:47:23 AM] Loaded plugin: homebridge-tplink-smarthome
[4/14/2020, 8:47:23 AM] Registering platform 'homebridge-tplink-smarthome.TplinkSmarthome'
[4/14/2020, 8:47:23 AM] ---
[4/14/2020, 8:47:23 AM] Loading 4 platforms...
[4/14/2020, 8:47:23 AM] [Config] Initializing config platform...
[4/14/2020, 8:47:23 AM] [Config] Spawning homebridge-config-ui-x with PID 13496
[4/14/2020, 8:47:23 AM] [Teufel] Initializing Teufel platform...
[4/14/2020, 8:47:23 AM] [Teufel] ******* ISSUE 14 DEBUG: TeufelPlatform
[4/14/2020, 8:47:23 AM] [Shelly] Initializing Shelly platform...
[4/14/2020, 8:47:23 AM] [TplinkSmarthome] Initializing TplinkSmarthome platform...
[4/14/2020, 8:47:23 AM] [TplinkSmarthome] homebridge-tplink-smarthome v4.0.1, node v12.16.1, homebridge v0.4.53
[4/14/2020, 8:47:23 AM] Loading 0 accessories...
[4/14/2020, 8:47:23 AM] [TplinkSmarthome] Configuring cached accessory: [Steckdose] 80066A532F85603668A26215D40A84111A060AF9 668ba3fb-dda1-46c8-8584-1a59c6753e4a
Setup Payload:
X-HM://0024D8MEUJ6G4
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐
│  │
└────────────┘

[4/14/2020, 8:47:23 AM] [Teufel] ******* ISSUE 14 DEBUG: didFinishLaunching
[4/14/2020, 8:47:23 AM] [Shelly] 5 accessories loaded from cache
[4/14/2020, 8:47:23 AM] Homebridge is running on port 51826.
[4/14/2020, 8:47:23 AM] [Shelly] Admin server is running on port 8080
[4/14/2020, 8:47:24 AM] [TplinkSmarthome] New Device Online: [Steckdose] plug [80066A532F85603668A26215D40A84111A060AF9] 192.168.1.207 9999
[4/14/2020, 8:47:24 AM] [TplinkSmarthome] Adding: [Steckdose] plug [80066A532F85603668A26215D40A84111A060AF9]
[4/14/2020, 8:47:29 AM] [Config] Homebridge Config UI X v4.14.0 is listening on :: port 8081

@RandomMetalhead
Copy link
Owner

Thanks, could you please try to change something in your room configuration in the Teufel app, while having the log open? Please post any entry with [Teufel] ******* ISSUE 14 in it here, while doing this confguration changes... Thanks

@FlulF
Copy link
Author

FlulF commented Apr 14, 2020

Hello, I renamed some rooms, than I delted one room, created a new room with a different name and added my device Teufel One S.
No additional Postings [Teufel] Issue at all.
Also after a reboot of the homebridge no new postings compared to above.

@RandomMetalhead
Copy link
Owner

In Raumserver, there is the event "zoneConfigurationChanged", which this plugin is build upon. Without this event, this plugin does not work. It seems that this event is not fired in your case. I will try to check out why, but as this is a Raumserver event, it may not be fixable by me.

@maxrad-nobrain
Copy link

maxrad-nobrain commented Apr 14, 2020

Thanks for you support. Unfortunately still not working for me as well.
The only "Teufel" related log lines are the following:
[2020-4-14 10:38:43] Loaded plugin: homebridge-teufel
[2020-4-14 10:38:43] Registering platform 'homebridge-teufel.Teufel'
[2020-4-14 10:38:43] ---
[2020-4-14 10:38:43] Loading 3 platforms...
[2020-4-14 10:38:43] [Teufel] Initializing Teufel platform...
[2020-4-14 10:38:43] [Teufel] ******* ISSUE 14 DEBUG: TeufelPlatform

Nothing else... One question my platform "Config" (from homebridge) is set on port 8083. Is this causing a problem as Raumserver is working on port 8080? My Homebridge plugin itself is set n port: 51826

@RandomMetalhead
Copy link
Owner

RandomMetalhead commented Apr 14, 2020

Could you try the following and post the log here in your homebridge directory?

cd node_modules/homebridge-teufel/node_modules/node-raumserver/
npm start

if you see "address already in use :::8080", stop homebridge and try again.
I need some more infos from Raumserver itself

@RandomMetalhead
Copy link
Owner

@maxrad-nobrain : Is it possible to change homebridge to 8080 and try again? Raumserver itself is communicating to Teufel on the port homebridge is running on. This may be an issue...

@Tscheggi
Copy link

node-raumserver@0.1.9 start /usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver
node raumserver.js

info: [Raumserver] Welcome to raumserver v0.1.9 (raumkernel v1.2.22)
info: [Raumserver] eth0 192.168.0.39
error: uncaughtException: listen EADDRINUSE: address already in use :::8080 date=Tue Apr 14 2020 11:25:05 GMT+0200 (Central European Summer Time), pid=17621, uid=1001, gid=1001, cwd=/usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver, execPath=/usr/local/bin/node, version=v10.16.3, argv=[/usr/local/bin/node, /usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver/raumserver.js], rss=45838336, heapTotal=20008960, heapUsed=12862960, external=402339, loadavg=[1.13037109375, 0.7109375, 0.53125], uptime=7008334
Error: listen EADDRINUSE: address already in use :::8080
at Server.setupListenHandle [as _listen2] (net.js:1279:14)
at listenInCluster (net.js:1327:12)
at Server.listen (net.js:1414:7)
at Raumserver.startHTTPServer (/usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver/lib/lib.raumserver.js:88:29)
at Raumserver.init (/usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver/lib/lib.raumserver.js:68:14)
at Object. (/usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver/raumserver.js:22:12)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
info: [Raumkernel] Found raumfeld host on: 192.168.0.24
info: [DeviceManager] Raumfeld Media renderer added: Speaker Shower (uuid:759f684a-19b2-4980-8d7a-8b6b62b32e58)
info: [DeviceManager] Raumfeld Media renderer added: Speaker Bathroom (uuid:7438472d-489b-4a1d-95fb-0edcf890512f)
info: [DeviceManager] Raumfeld Media renderer added: Speaker Virtual Zone (uuid:e0bc9033-64cb-4787-ad17-8d5a2c61f9c7)
info: [DeviceManager] Raumfeld media server added: Raumfeld MediaServer (uuid:c420ddce-9b5b-4ffa-9951-62271481872a)

@Tscheggi
Copy link

[4/14/2020, 11:24:01 AM] [Config] Changes to config.json saved.
[4/14/2020, 11:24:04 AM] [Config] Homebridge restart request received
[4/14/2020, 11:24:04 AM] [Config] Executing restart command: sudo -n systemctl restart homebridge
homebridge : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl restart homebridge
pam_unix(sudo:session): session opened for user root by (uid=0)
Stopping Node.js HomeKit Server...
[4/14/2020, 11:24:04 AM] Got SIGTERM, shutting down Homebridge...
homebridge.service: Main process exited, code=exited, status=143/n/a
homebridge.service: Failed with result 'exit-code'.
Stopped Node.js HomeKit Server.
homebridge.service: Found left-over process 14178 (homebridge-conf) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 16778 (sh) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 16779 (sudo) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 16789 (systemctl) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Started Node.js HomeKit Server.
pam_unix(sudo:session): session closed for user root
[4/14/2020, 11:24:12 AM] Loaded config.json with 1 accessories and 5 platforms.
[4/14/2020, 11:24:12 AM] ---
[4/14/2020, 11:24:12 AM] Plugin /usr/local/lib/node_modules/homebridge-lib package.json does not contain the keyword 'homebridge-plugin'.
[4/14/2020, 11:24:12 AM] Loaded plugin: homebridge-automation-switches
[4/14/2020, 11:24:12 AM] Registering platform 'homebridge-switches.AutomationSwitches'
[4/14/2020, 11:24:12 AM] ---
[4/14/2020, 11:24:12 AM] Loaded plugin: homebridge-config-ui-x
[4/14/2020, 11:24:12 AM] Registering platform 'homebridge-config-ui-x.config'
[4/14/2020, 11:24:12 AM] ---
[4/14/2020, 11:24:12 AM] Loaded plugin: homebridge-dummy
[4/14/2020, 11:24:12 AM] Registering accessory 'homebridge-dummy.DummySwitch'
[4/14/2020, 11:24:12 AM] ---
[4/14/2020, 11:24:12 AM] Plugin /usr/local/lib/node_modules/homebridge-hue requires Node version of ^12.16.1 which does not satisfy the current Node version of v10.16.3. You may need to upgrade your installation of Node.
[4/14/2020, 11:24:15 AM] Loaded plugin: homebridge-hue
[4/14/2020, 11:24:15 AM] Registering platform 'homebridge-hue.Hue'
[4/14/2020, 11:24:15 AM] ---
[4/14/2020, 11:24:16 AM] Loaded plugin: homebridge-hue-scenes
[4/14/2020, 11:24:16 AM] Registering accessory 'homebridge-hue-scenes.HueScenes'
[4/14/2020, 11:24:16 AM] ---
[4/14/2020, 11:24:16 AM] Loaded plugin: homebridge-pushover
[4/14/2020, 11:24:16 AM] Registering platform 'homebridge-pushover.Pushover'
[4/14/2020, 11:24:16 AM] ---
[4/14/2020, 11:24:17 AM] Loaded plugin: homebridge-teufel
[4/14/2020, 11:24:17 AM] Registering platform 'homebridge-teufel.Teufel'
[4/14/2020, 11:24:17 AM] ---
[4/14/2020, 11:24:18 AM] Loaded plugin: homebridge-xiaomi-roborock-vacuum
[4/14/2020, 11:24:18 AM] Registering accessory 'homebridge-xiaomi-roborock-vacuum.XiaomiRoborockVacuum'
[4/14/2020, 11:24:18 AM] ---
[4/14/2020, 11:24:18 AM] Loading 5 platforms...
[4/14/2020, 11:24:18 AM] [Config] Initializing config platform...
[4/14/2020, 11:24:18 AM] [Config] Spawning homebridge-config-ui-x with PID 16928
[4/14/2020, 11:24:18 AM] [Phoscon-GW] Initializing Hue platform...
[4/14/2020, 11:24:18 AM] [Phoscon-GW] homebridge-hue v0.11.61, node v10.16.3, homebridge v0.4.53
[4/14/2020, 11:24:18 AM] [Phoscon-GW] warning: not using recommended node version v12.16.1 LTS
[4/14/2020, 11:24:18 AM] [AutomationSwitches] Initializing AutomationSwitches platform...
[4/14/2020, 11:24:18 AM] [AutomationSwitches] AutomationSwitchesPlatform Plugin Loaded - Version 3.2.1
[4/14/2020, 11:24:18 AM] [AutomationSwitches] Found automation switch in config: "Fenster/Türe #1"
[4/14/2020, 11:24:18 AM] [AutomationSwitches] Found automation switch in config: "Fenster/Türe #2"
[4/14/2020, 11:24:18 AM] [AutomationSwitches] Found automation switch in config: "Fenster/Türe #3"
[4/14/2020, 11:24:18 AM] [AutomationSwitches] Found automation switch in config: "Fenster/Türe #4"
[4/14/2020, 11:24:18 AM] [AutomationSwitches] Found automation switch in config: "Fenster/Türe #5"
[4/14/2020, 11:24:18 AM] [AutomationSwitches] Initializing platform accessory 'Fenster/Türe #1'...
[4/14/2020, 11:24:18 AM] [AutomationSwitches] Initializing platform accessory 'Fenster/Türe #2'...
[4/14/2020, 11:24:18 AM] [AutomationSwitches] Initializing platform accessory 'Fenster/Türe #3'...
[4/14/2020, 11:24:18 AM] [AutomationSwitches] Initializing platform accessory 'Fenster/Türe #4'...
[4/14/2020, 11:24:18 AM] [AutomationSwitches] Initializing platform accessory 'Fenster/Türe #5'...
[4/14/2020, 11:24:18 AM] [Teufel] Initializing Teufel platform...
[4/14/2020, 11:24:18 AM] [Teufel] ******* ISSUE 14 DEBUG: TeufelPlatform
[4/14/2020, 11:24:18 AM] [Messages] Initializing Pushover platform...
[4/14/2020, 11:24:18 AM] [Messages] Initializing platform accessory 'Messages'...
[4/14/2020, 11:24:18 AM] [Messages] Initializing platform accessory 'Schlafzimmer'...
[4/14/2020, 11:24:18 AM] [Messages] Initializing platform accessory 'Küche'...
[4/14/2020, 11:24:18 AM] [Messages] Initializing platform accessory 'Badezimmer'...
[4/14/2020, 11:24:18 AM] [Messages] Initializing platform accessory 'Kinderzimmer'...
[4/14/2020, 11:24:18 AM] [Messages] Initializing platform accessory 'Wohnzimmer'...
[4/14/2020, 11:24:18 AM] Loading 1 accessories...
[4/14/2020, 11:24:18 AM] [Roborocky] Initializing XiaomiRoborockVacuum accessory...
Load homebridge-switches.AutomationSwitches
[4/14/2020, 11:24:18 AM] [homebridge-switches.AutomationSwitches] AutomationSwitchesPlatform Plugin Loaded - Version 3.2.1
[4/14/2020, 11:24:18 AM] [Teufel] ******* ISSUE 14 DEBUG: didFinishLaunching
(node:16818) ExperimentalWarning: The fs.promises API is experimental
[4/14/2020, 11:24:19 AM] [Phoscon-GW] warning: latest version: homebridge-hue v0.11.62
[4/14/2020, 11:24:19 AM] [Phoscon-GW] Phoscon-GW: dresden elektronik deCONZ gateway v2.5.67, api v1.16.0
[4/14/2020, 11:24:19 AM] [Phoscon-GW] Phoscon-GW: warning: not using recommended deCONZ gateway version 2.5.75
[4/14/2020, 11:24:19 AM] [Phoscon-GW] Phoscon-GW: created user - please edit config.json and restart homebridge
"platforms": [
{
"platform": "Hue",
"users": {
"XXXX": "XXXX"
}
}
]
[4/14/2020, 11:24:19 AM] [Phoscon-GW] Daylight: set homekit light level from 0.0001 lux to 100000 lux
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Phoscon-GW: 17 accessories
[4/14/2020, 11:24:20 AM] [Phoscon-GW] masked debug info dumped to /var/homebridge/homebridge-hue.json.gz
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'Phoscon-GW'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Phoscon-GW: 2 services
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'Stecker'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'Daylight'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'BS-Schlafzimmer'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'BS-Badezimmer'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'BS-Kinderzimmer'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'Smart Switch (1)'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'Smart Switch (2)'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'BS-Dusche-WC'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'TRADFRI on/off switch '...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'DS-Küche'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'DS-Kinderzimmer'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'DS-Schlafzimmer'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'FS-Badezimmer'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'DS-Wohnnzimmer'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'BS-Korridor'...
[4/14/2020, 11:24:20 AM] [Phoscon-GW] Initializing platform accessory 'BS-Esszimmer'...
Setup Payload:
X-HM://0023ISYWYHLAD
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
│ XXXX │
[4/14/2020, 11:24:20 AM] Homebridge is running on port 8080.
[4/14/2020, 11:24:20 AM] [Roborocky] STA getDevice | Connected to: 192.168.0.34
[4/14/2020, 11:24:20 AM] [Roborocky] STA getDevice | Model: roborock.vacuum.s5
[4/14/2020, 11:24:20 AM] [Roborocky] STA getDevice | State: charging
[4/14/2020, 11:24:20 AM] [Roborocky] STA getDevice | FanSpeed: 104
[4/14/2020, 11:24:20 AM] [Roborocky] STA getDevice | BatteryLevel: 100
[4/14/2020, 11:24:20 AM] [Roborocky] INF getSerialNumber | roborock.vacuum.s5 | Serial Number is XXXX
[4/14/2020, 11:24:20 AM] [Roborocky] STA getDevice | Serialnumber: XXXX
[4/14/2020, 11:24:20 AM] [Roborocky] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[4/14/2020, 11:24:20 AM] [Roborocky] STA getDevice | Firmwareversion: 3.5.7_002008
[4/14/2020, 11:24:20 AM] [Roborocky] INF changedCleaning | roborock.vacuum.s5 | Cleaning is OFF.
[4/14/2020, 11:24:20 AM] [Roborocky] MON changedCharging | roborock.vacuum.s5 | ChargingState is now true
[4/14/2020, 11:24:20 AM] [Roborocky] INF changedCharging | roborock.vacuum.s5 | Charging is active
[4/14/2020, 11:24:20 AM] [Roborocky] INF changedCharging | roborock.vacuum.s5 | Robot was docked.
[4/14/2020, 11:24:20 AM] [Roborocky] MON changedSpeed | roborock.vacuum.s5 | FanSpeed is now 104%
[4/14/2020, 11:24:20 AM] [Roborocky] INF changedSpeed | roborock.vacuum.s5 | Speed was changed to 104% (Max), for HomeKit 100%
[4/14/2020, 11:24:25 AM] [Config] Homebridge Config UI X v4.13.3 is listening on :: port 8085
homebridge : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/kill -9 17102
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
[4/14/2020, 11:25:55 AM] [Phoscon-GW] BS-Kinderzimmer: set homekit light level from 758.927 lux to 752.8353 lux
[4/14/2020, 11:25:56 AM] [Phoscon-GW] BS-Kinderzimmer: set homekit motion from 0 to 1

@maxrad-nobrain
Copy link

Maybe I misunderstand something (story complete newbie here), but when I connect to my pi and open the node_modules folder I don't even have the teufel-homebridge folder.
pi@All-In-One_RasPi:~ $ ls node_modules/
anymatch glob once
array-unique glob-base optimist
arr-diff glob-parent parse-glob
arr-flatten graceful-fs path-is-absolute
async i pkginfo
async-each inflight preserve
balanced-match inherits prettyjson
binary-extensions ini process-nextick-args
brace-expansion isarray prompt
braces is-binary-path ps-tree
broadway is-buffer randomatic
caller is-dotfile read
chokidar is-equal-shallow readable-stream
cliff is-extendable readdirp
clone is-extglob regex-cache
colors is-glob remove-trailing-separator
concat-map is-number repeat-element
core-util-is isobject repeat-string
cycle is-posix-bracket resumer
deep-equal is-primitive revalidator
defined isstream rimraf
director jsonify safe-buffer
eventemitter2 kind-of set-immediate-shim
event-stream lazy shush
expand-brackets math-random stack-trace
expand-range micromatch string_decoder
extglob minimatch strip-json-comments
eyes minimist tape
filename-regex mkdirp through
fill-range mute-stream timespan
flatiron nconf util-deprecate
forever ncp utile
forever-monitor normalize-path winston
for-in nssocket wordwrap
for-own object-assign wrappy
fs.realpath object.omit

@maxrad-nobrain
Copy link

maxrad-nobrain commented Apr 14, 2020

changing to the homebrdige config ui platform to port 8080 did not help btw

@RandomMetalhead
Copy link
Owner

@maxrad-nobrain : So your Teufel devices show up, when Port is changed to 8080? Everything fine?

@FlulF
Copy link
Author

FlulF commented Apr 14, 2020

I may have the same issue as homebrdge is running on port 8081 cause shelly needs port 8080. I will see how I can change this.

@Tscheggi
Copy link

Tscheggi commented Apr 14, 2020

so my Homebridge is now running on port 8080, and the Homebridge Config UI X on port 8085. But still no Devices in Home APP

when i do changes in Raumfeld App, the log shows following:

warn: [DeviceManager] Media renderer removed: Speaker Virtual Zone
error: [MediaRenderer|Speaker Virtual Zone] Error: UNSUBSCRIBE error
error: [MediaRenderer|Speaker Virtual Zone] Error: UNSUBSCRIBE error
info: [DeviceManager] Raumfeld Media renderer added: Speaker New Room (uuid:e0bc9033-64cb-4787-ad17-8d5a2c61f9c7)

and after some time additional:

error: [MediaRenderer|Speaker Virtual Zone] Error: SUBSCRIBE renewal error
error: [MediaRenderer|Speaker Virtual Zone] Error: SUBSCRIBE renewal error

Thanks for your Support, it's very kind

@FlulF
Copy link
Author

FlulF commented Apr 14, 2020

Changed in the meantime the Homebridge to port 8080 and UI to 8085.
Raumserver is showing below
I wonder why 8080 is already in use....

i@raspberrypi:/usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver $ npm start

node-raumserver@0.1.9 start /usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver
node raumserver.js

info: [Raumserver] Welcome to raumserver v0.1.9 (raumkernel v1.2.22)
info: [Raumserver] eth0 192.168.1.199
error: uncaughtException: listen EADDRINUSE: address already in use :::8080 date=Tue Apr 14 2020 13:04:08 GMT+0200 (Central European Summer Time), pid=2278, uid=1000, gid=1000, cwd=/usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver, execPath=/usr/local/bin/node, version=v12.16.1, argv=[/usr/local/bin/node, /usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver/raumserver.js], rss=43966464, heapTotal=16723968, heapUsed=9311696, external=1412997, loadavg=[0.73779296875, 0.93994140625, 0.8857421875], uptime=836595
Error: listen EADDRINUSE: address already in use :::8080
at Server.setupListenHandle [as listen2] (net.js:1309:16)
at listenInCluster (net.js:1357:12)
at Server.listen (net.js:1445:7)
at Raumserver.startHTTPServer (/usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver/lib/lib.raumserver.js:88:29)
at Raumserver.init (/usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver/lib/lib.raumserver.js:68:14)
at Object. (/usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver/raumserver.js:22:12)
at Module.compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module.extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module.load (internal/modules/cjs/loader.js:901:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47
info: [Raumkernel] Found raumfeld host on: 192.168.1.100
info: [DeviceManager] Raumfeld Media renderer added: Speaker Virtual Zone (uuid:57b8fe76-c3f9-4ea0-9f5c-401ad39b64b0)
info: [DeviceManager] Raumfeld Media renderer added: Connector Keller (uuid:b0246b9b-4c72-48b8-a927-656d77aedbd9)
info: [DeviceManager] Raumfeld Media renderer added: Connector Wohnzimmer (uuid:b03f1707-2f8f-4691-8a32-85be7675f8f0)
info: [DeviceManager] Raumfeld media server added: Raumfeld MediaServer (uuid:197c3c14-ea4c-4855-b3da-b16f2c4acbe9)
warn: [MediaDataConverter] Unhandled media item type: object.item.audioitem.podcastepisode id=0/Spotify/Track, parentID=0/Spotify, restricted=0, upnp:class=[object.item.audioItem.podcastEpisode], raumfeld:section=[Spotify], dc:title=[Im Sushi ist auch Gurke drin], upnp:artist=[Jan Böhmermann & Olli Schulz], upnp:album=[Fest & Flauschig], upnp:albumArtURI=[
=http://i.scdn.co/image/c7d25e7b0d79f1a9716ae236d69308262e9806e9, dlna:profileID=JPEG_TN], res=[
=spotify:episode:1yPb37SIv4cbpaJNlQI3Ax, duration=1:10:00.000, protocolInfo=spotify::audio/spotify-track:]
warn: [MediaDataConverter] Unhandled media item type: object.item.audioitem.podcastepisode id=0/Spotify/Track, parentID=0/Spotify, restricted=0, upnp:class=[object.item.audioItem.podcastEpisode], raumfeld:section=[Spotify], dc:title=[Im Sushi ist auch Gurke drin], upnp:artist=[Jan Böhmermann & Olli Schulz], upnp:album=[Fest & Flauschig], upnp:albumArtURI=[
=http://i.scdn.co/image/c7d25e7b0d79f1a9716ae236d69308262e9806e9, dlna:profileID=JPEG_TN], res=[=spotify:episode:1yPb37SIv4cbpaJNlQI3Ax, duration=1:10:00.000, protocolInfo=spotify::audio/spotify-track:]
l

@FlulF
Copy link
Author

FlulF commented Apr 14, 2020

changed Port of homebridge back 51826
Devices are still not shown in Homebridge UI
Raumfeldserver is showing following information below it includes a permission denied Error may this be the reason?

node-raumserver@0.1.9 start /usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver
node raumserver.js

info: [Raumserver] Welcome to raumserver v0.1.9 (raumkernel v1.2.22)
info: [Raumserver] eth0 192.168.1.199
info: [Raumkernel] Found raumfeld host on: 192.168.1.100
error: uncaughtException: EACCES: permission denied, open 'logs/app.2020-04-14-1115.log' date=Tue Apr 14 2020 13:15:02 GMT+0200 (Central European Summer Time), pid=3293, uid=1000, gid=1000, cwd=/usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver, execPath=/usr/local/bin/node, version=v12.16.1, argv=[/usr/local/bin/node, /usr/local/lib/node_modules/homebridge-teufel/node_modules/node-raumserver/raumserver.js], rss=46428160, heapTotal=17248256, heapUsed=11356860, external=1465561, loadavg=[0.52734375, 0.5712890625, 0.68603515625], uptime=837248
Error: EACCES: permission denied, open 'logs/app.2020-04-14-1115.log'
info: [DeviceManager] Raumfeld Media renderer added: Speaker Virtual Zone (uuid:57b8fe76-c3f9-4ea0-9f5c-401ad39b64b0)
info: [DeviceManager] Raumfeld Media renderer added: Connector Wohnzimmer (uuid:b03f1707-2f8f-4691-8a32-85be7675f8f0)
info: [DeviceManager] Raumfeld Media renderer added: Connector Keller (uuid:b02

@maxrad-nobrain
Copy link

maxrad-nobrain commented Apr 14, 2020

@maxrad-nobrain : So your Teufel devices show up, when Port is changed to 8080? Everything fine?

No, no devices showing up. No change in comparison to previous port setup. Sorry :(

@RandomMetalhead
Copy link
Owner

I could not find any problem. I may need to rewrite the plugin, so you can add raumfeld speaker manually. But this will be a lot of work. Not sure when I will be able to do this

@RandomMetalhead
Copy link
Owner

Could you please test the new version, if the problem is fixed for you? Thanks

@FlulF
Copy link
Author

FlulF commented May 21, 2020

It works :)
I updated the plugin. I have one „virtual zone“ and two devices (Keller & Schlafzimmer) shown up. One room (Wohnzimmer) is missing I believe. So far I not fully figured out how all this works - but I see the devices and can turn off and on.
Thanks for your help! Great work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants