Need advice with local server/homebridege

I have Homebridge and a local Blynk server both running on the same RPi, but couldn’t make them work with each other for now.

Homebridge is set up to switch Philips Hue bulbs and is working fine with Homekit.
The local Blynk server is up and switches an RGB stripe connected to a NodeMCU via the Blynk App. The stripe gets controlled by a single Blynk button (V0), when tapped, the NodeMCU sets 3 related digital pins to defined values for R, G and B, and it works fine within the Blynk App.

Now when I setup and add this V0 button in Homebridges’ config.json, according to the Homebridge-Blynk-plugin’s given example here, it shows up in Home-App (iOS10) as switch with correct labeling, but remains unreachable. Also all of the hue bulbs then turn out to be unreachable as well, all devices keeps kind of greyed out along with a red ‘no response’ message after some time.

Could not find any debug or log entry so far, which may tell what the problem is. Hombridge says it found all platforms and plugins, the local Blynk server is up and seems to run fine as well. Might be a port related issue or maybe Homebridge can’t access its own IP address, which is the same as the one of the local Blynk server?! Whatever, at this point I would need some further advice of someone more experienced as well. Would be too awesome to have this working.


Edit: You need to put all the platforms and devices in one single config.json file for Homebridge. To set up or edit a config.json file, type ‘sudo nano config.json’ while in the Homebridge folder. From home directory you might do it like 'sudo nano /[path/to/Homebridge]/config.json.

Type ctrl+o to save, Ctrl+x to close. If you type ‘ls’ it should list all the folders and files in the directory you’re currently in. Type ‘cd /[path]’ to change the directory according the given path value. ‘cd’ without value takes you back to the home directory.

You might check the content of your config.json with this ‘validator’ here for valid json formating.

My config.json looks like this:

{
	"bridge": {
		"name": "Homebridge",
		"username": "CC:22:3D:E3:CE:30",
		"port": 51826,
		"pin": "031-45-154"
	},

	"platforms": [{
		"platform": "PhilipsHue",
		"name": "Philips Hue",
		"ip_address": "127.0.0.1",
		"username": "xxxxxxxxxxxxxxxxxxxxxxxx",
		"excludephilips": false
	}, {
		"platform": "Blynk",
		"name": "Blynk",
		"server": "127.0.0.42",
		"appPort": "8443",
		"username": "xxx@xxx.com",
		"password": "xxx",
		"dashboardName": "RGB",
		"accessories": [{
			"name": "Amber",
			"widget": "Switch",
			"mode": "SWITCH",
			"caption": "Amber",
			"pin": "V0"
		}]
	}],

	"accessories": []
}