peterwoj / homebridge-blynk-platform Goto Github PK
View Code? Open in Web Editor NEWhomebridge plugin to use Blynk
License: MIT License
homebridge plugin to use Blynk
License: MIT License
So I have been trying to get this temp sensor to report for awhile and can't get past it reporting 32 degrees always. I delete, re-add, homekit picks it up but just says 32 in the home app. The humidity sensor & all the other blynk switches report consistently & correctly. Its only calling TEMPERATURE_SENSOR that doesn't work. If anyone has anymore ideas I'm all ears. Log below.
`[8/27/2021, 5:41:35 PM] [BlynkPlatform] Initializing BlynkPlatform platform...
[8/27/2021, 5:41:35 PM] [BlynkPlatform] Initializing child bridge 0E:B1:*****
[8/27/2021, 5:41:35 PM] [Nest] Initializing Nest platform...
[8/27/2021, 5:41:35 PM] [Nest] Initializing child bridge 0E:F7:*****
[8/27/2021, 5:41:35 PM] [myQ] Initializing myQ platform...
[8/27/2021, 5:41:35 PM] [myQ] Initializing child bridge 0E:39:*****
Preparing Advertiser for 'Homebridge D17E' using bonjour-hap backend!
Setup Payload:
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 99999999999 │
└────────────┘
Starting to advertise 'Homebridge D17E' using bonjour-hap backend!
[8/27/2021, 5:41:35 PM] Homebridge v1.3.4 (Homebridge) is running on port 51277.
Initializing HAP-NodeJS v0.9.4...
Initializing HAP-NodeJS v0.9.4...
Initializing HAP-NodeJS v0.9.4...
[8/27/2021, 5:41:36 PM] [Nest] Launched child bridge with PID 19215
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Launched child bridge with PID 19213
[8/27/2021, 5:41:36 PM] [myQ] Launched child bridge with PID 19220
[8/27/2021, 5:41:36 PM] Registering platform 'homebridge-blynk-platform.BlynkPlatform'
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Loaded homebridge-blynk-platform v0.2.7 child bridge successfully
[8/27/2021, 5:41:36 PM] Loaded 6 cached accessories from cachedAccessories.0EB11435C64B.
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Adding accessory: Soldering Iron
[8/27/2021, 5:41:36 PM] Registering platform 'homebridge-nest.Nest'
[8/27/2021, 5:41:36 PM] [Nest] Loaded homebridge-nest v4.5.3 child bridge successfully
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] addWidget found: kirtch2020 made a BUTTON(0) named Soldering Iron on pin V0
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Adding accessory: Aquarium Light
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] addWidget found: kirtch2020 made a BUTTON(0) named Aquarium Light on pin V1
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Adding accessory: Grow Light
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] addWidget found: kirtch2020 made a BUTTON(0) named Grow Light on pin V14
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Adding accessory: Smart Outlet1
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] addWidget found: kritch2020 made a BUTTON(0) named Smart Outlet1 on pin V0
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Adding accessory: RoomTemp
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] addWidget found: kritch2021 made a STYLED_BUTTON(0) named RoomTemp on pin V2
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Adding accessory: RoomHumidity
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] addWidget found: kritch2021 made a STYLED_BUTTON(0) named RoomHumidity on pin V1
[8/27/2021, 5:41:36 PM] Loaded 5 cached accessories from cachedAccessories.0EF7C*****.
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Checking if config is ready: waiting for 500 ms remaining configs to fetch: 5
Preparing Advertiser for 'homebridge-blynk-platform B37B' using bonjour-hap backend!
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] BlynkPlatform has finishing launching.
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Switch Soldering Iron has been created
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] PlatformAccessory: identified Soldering Iron(OUTLET) - 0 [68fc7ca3-f9d9-486d-b343-] seed: 0-kirtch2020-SI01-VIRTUAL-0
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Soldering Iron is a OUTLET
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] OUTLET Soldering Iron has been attached.
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Switch Aquarium Light has been created
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] PlatformAccessory: identified Aquarium Light(LIGHTBULB) - 0 [15308768-f1d1-4280-b2ba-] seed: 0-kirtch2020-AL01-VIRTUAL-1
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Aquarium Light is a LIGHTBULB
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] LIGHTBULB Aquarium Light has been attached.
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Switch Grow Light has been created
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] PlatformAccessory: identified Grow Light(LIGHTBULB) - 0 [123a39fd-a668-4191-b671-] seed: 0-kirtch2020-GL01-VIRTUAL-14
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Grow Light is a LIGHTBULB
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] LIGHTBULB Grow Light has been attached.
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Switch Smart Outlet1 has been created
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] PlatformAccessory: identified Smart Outlet1(OUTLET) - 0 [c7aa4cbd-03cf-4744-b967-] seed: 0-kritch2020-SO101-VIRTUAL-0
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Smart Outlet1 is a OUTLET
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] OUTLET Smart Outlet1 has been attached.
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Switch RoomTemp has been created
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] PlatformAccessory: identified RoomTemp(TEMPERATURE_SENSOR) - 0 [7378d8c5-b5c7-49c6-86fe-] seed: 0-kritch2021-AT01-VIRTUAL-2
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] RoomTemp is a TEMPERATURE_SENSOR
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] setting temperature sensor
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] TEMPERATURE_SENSOR RoomTemp has been attached.
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] Switch RoomHumidity has been created
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] PlatformAccessory: identified RoomHumidity(HUMIDITY_SENSOR) - 0 [f475fdc4-7965-40fa-a9f8-] seed: 0-kritch2021-AT02-VIRTUAL-1
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] RoomHumidity is a HUMIDITY_SENSOR
[8/27/2021, 5:41:36 PM] [homebridge-blynk-platform] HUMIDITY_SENSOR RoomHumidity has been attached.
Starting to advertise 'homebridge-blynk-platform B37B' using bonjour-hap backend!
[8/27/2021, 5:41:36 PM] Homebridge v1.3.4 (homebridge-blynk-platform) is running on port 55188.`
The call to widget.getId.toString()
does not return what widget.getId().toString()
does causing a device with multiple accessories to fail adding the accessories due to duplicate UUID.
Everything is configured perfectly except that when a device is turned on, it goes off, when it is turned off, it goes on. The switches are acting in a reversed state.
Hi,
I try to add a digital pin 14 like a button.
the Blynk api url look like this : http://45.55.96.146/token/get/14
Blynk server respond "Wrong pin format."
The right digital pin name need 'D' like this: http://45.55.96.146/token/get/D14
Is any config on add-in setting can change the pin name to make it has 'D'
Thanks,
Recently started using homebridge-blynk-platform and I noticed that there is no option for a ‘push’ button like on blynk platform, and it’s only ‘switch’. Please add a push button. Thankyou!
So I have been using homebridge-blynk-platform on my home server for awhile and it works great. Recently I went to add a new accessory I made and got a error every 1 sec (assumed cause thats my polling interval) reading:
[BlynkPlatform] problem refresh state: Error: This callback function has already been called by someone else; it can only be called one time.
I tried all I could think of for at least a hour with still the same error. I tried adding it thru the plugin add device, and manually thru the config file. I get the same error no matter what I do. If I remove the device, no more problems. I don't know what else to try. Any ideas would be great!
Homebridge v1.1.6
BlynkPlatform v0.2.5
Ubuntu Server 20.4
One more thing to note is this project is one project in Blynk with two devices. They are both independent programs/chips with their own unique auth tokens. The other smart outlet works fine, just the second when I add it to homebridge I get issues.
Here is my unchanged config file:
{
"mdns": {
"interface": "10.32.1.1"
},
"bridge": {
"name": "Homebridge",
"username": "XXXXXXX",
"port": 8081,
"pin": "XXXXXXXX"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "none",
"theme": "auto",
"tempUnits": "c",
"lang": "auto",
"platform": "config"
},
{
"platform": "BlynkPlatform",
"serverurl": "http://10.32.1.1:8080",
"pollerseconds": 1,
"devices": [
{
"name": "Aquarium",
"token": "XXXXXXXXX",
"deviceId": 111,
"manufacturer": "kirtch2020",
"accessories": [
{
"model": "Light",
"name": "Aquarium Light",
"pintype": "VIRTUAL",
"pinnumber": 1,
"type": "BUTTON"
}
]
},
{
"name": "Soldering Iron",
"token": "XXXXXXXXXX",
"deviceId": 113,
"manufacturer": "kirtch2020",
"accessories": [
{
"model": "Switch",
"name": "Soldering Iron",
"pintype": "VIRTUAL",
"pinnumber": 0,
"type": "BUTTON"
}
]
},
{
"name": "Grow Light",
"token": "XXXXXXXX",
"deviceId": 115,
"manufacturer": "kirtch2020",
"accessories": [
{
"model": "Switch",
"name": "Grow Light",
"pintype": "VIRTUAL",
"pinnumber": 14,
"type": "BUTTON"
}
]
},
{
"name": "Smart Outlet1",
"token": "XXXXXXXX",
"deviceId": 116,
"manufacturer": "kritch2020",
"accessories": [
{
"model": "Switch",
"name": "Smart Outlet1",
"pintype": "VIRTUAL",
"pinnumber": 0,
"type": "BUTTON"
}
]
}
]
},
{
"name": "Nest",
"googleAuth": {
"issueToken": "token",
"cookies": "cookie",
"apiKey": "apikey"
},
"fanDurationMinutes": 480,
"options": [
"Thermostat.Disable.XXXXXX",
"HomeAway.AsOccupancySensor",
"HomeAway.Disable.XXXXXX",
"Thermostat.SeparateBuiltInTemperatureSensor.Enable",
"Thermostat.Eco.Disable",
"Thermostat.SeparateBuiltInHumiditySensor.Enable"
],
"platform": "Nest"
}
]
}
Here is my errored config file:
{
"mdns": {
"interface": "10.32.1.1"
},
"bridge": {
"name": "Homebridge",
"username": "XXXXXXX",
"port": 8081,
"pin": "7XXXXXXX"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "none",
"theme": "auto",
"tempUnits": "c",
"lang": "auto",
"platform": "config"
},
{
"platform": "BlynkPlatform",
"serverurl": "http://10.32.1.1:8080",
"pollerseconds": 1,
"devices": [
{
"name": "Aquarium",
"token": "XXXXXXX",
"deviceId": 111,
"manufacturer": "kirtch2020",
"accessories": [
{
"model": "Light",
"name": "Aquarium Light",
"pintype": "VIRTUAL",
"pinnumber": 1,
"type": "BUTTON"
}
]
},
{
"name": "Soldering Iron",
"token": "XXXXXXX",
"deviceId": 113,
"manufacturer": "kirtch2020",
"accessories": [
{
"model": "Switch",
"name": "Soldering Iron",
"pintype": "VIRTUAL",
"pinnumber": 0,
"type": "BUTTON"
}
]
},
{
"name": "Grow Light",
"token": "XXXXXXX",
"deviceId": 115,
"manufacturer": "kirtch2020",
"accessories": [
{
"model": "Switch",
"name": "Grow Light",
"pintype": "VIRTUAL",
"pinnumber": 14,
"type": "BUTTON"
}
]
},
{
"name": "Smart Outlet1",
"token": "XXXXXXX",
"deviceId": 116,
"manufacturer": "kritch2020",
"accessories": [
{
"model": "Switch",
"name": "Smart Outlet1",
"pintype": "VIRTUAL",
"pinnumber": 0,
"type": "BUTTON"
}
]
},
{
"name": "Smart Outlet2",
"token": "XXXXXXX",
"deviceId": 117,
"manufacturer": "kritch2020",
"accessories": [
{
"model": "Switch",
"name": "Smart Outlet2",
"pintype": "VIRTUAL",
"pinnumber": 0,
"type": "BUTTON"
}
]
}
]
},
{
"name": "Nest",
"googleAuth": {
"issueToken": "token",
"cookies": "cookie",
"apiKey": "apikey"
},
"fanDurationMinutes": 480,
"options": [
"Thermostat.Disable.XXXXXXX",
"HomeAway.AsOccupancySensor",
"HomeAway.Disable.XXXXXXX",
"Thermostat.SeparateBuiltInTemperatureSensor.Enable",
"Thermostat.Eco.Disable",
"Thermostat.SeparateBuiltInHumiditySensor.Enable"
],
"platform": "Nest"
}
]
}
Fresh install of both homebridge and homebridge-blynk-platform...
Issue:
After everything is paired and my device is connected to homebridge, i go to turn on my first accessory, and it send the update command with the value of 0 or 1 respectively (http://blynk-cloud.com/xxxxxxx/update/D5?value=0), but following that homebridge freezes, the ui continues to update and everything works but it seems that homekit-blynk-platform just freezes, the logs show nothing out of the ordinary (actually they show nothing at all)
Steps to reproduce:
{ "mdns": { "interface": "192.168.1.21" }, "bridge": { "name": "Homebridge", "username": "C8:D7:19:C5:45:4B", "port": 51826, "pin": "031-45-154" }, "description": "This is an example configuration file. You can use this as a template for creating your own configuration file.", "platforms": [ { "platform": "config", "name": "Config", "port": 8080, "sudo": true, "restart": "sudo -n systemctl restart homebridge", "log": { "method": "systemd", "service": "homebridge" } }, { "platform": "BlynkPlatform", "serverurl": "http://blynk-cloud.com", "pollerseconds": 1, "devices": [ { "manufacturer": "WTPGaming", "name": "DeskLights", "token": "xxxxxxxxxx", "deviceId": "31225", "discover": true }, { "manufacturer": "WTPGaming", "name": "DeskLightsThing", "token": "xxxxxxxxxx", "deviceId": "112233", "discover": false, "accessories": [ { "model": "DeskLight", "name": "DeskLightWarm", "pintype": "DIGITAL", "pinnumber": "D4", "type": "BUTTON" }, { "model": "DeskLight", "name": "DeskLightCold", "pintype": "DIGITAL", "pinnumber": "D5", "type": "BUTTON" } ] } ] } ], "accessories": [] }
Please help me! I'm a big fan of all the work you've done here and I've given you a star!!! thanks for your consideration!!!
Trying to get the temperature sensor accessory to work in the Blynk platform but having no luck. I ended up resetting my whole Homebridge and Blynk Platform & now I'm having issues adding my accessories. Even those I have all the fields filled in, it is defaulting to the platform default config it seems. Every accessory shows up as "Wojstead Button" in HomeKit. It recognizes the type as outlet or light but that it. I've tried moving around the platform config options in different arrangements but no luck. Logs show it's complaining about a label. Thoughts? I'm out of ideas to try.
One other question... in the config when it asks for the field "deviceId", which ID does that refer to on the blink server? If I go into my Blynk Server admin page, under user profile, there are several IDs:
or is it just a unique number you set in Homebridge whatever you want? Ive tried mixing and matching with no luck.
Also the "Name" field, is that required to be same as your Blynk project or is that just what is shown in HomeKit?
Thanks!!!!
Here is my config & log:
Config:
{
"mdns": {
"interface": "10.32.1.1"
},
"bridge": {
"name": "Homebridge",
"username": "0E:65:3A:XXXXXX",
"port": 50XXX,
"pin": "829-XXXXXX",
"bind": [
"enp0s25"
],
"advertiser": "bonjour-hap"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "none",
"theme": "auto",
"tempUnits": "c",
"lang": "auto",
"platform": "config"
},
{
"platform": "BlynkPlatform",
"serverurl": "http://10.32.1.1:8080",
"pollerseconds": 5,
"devices": [
{
"name": "Soldering Iron",
"token": "My Token",
"deviceId": 113,
"manufacturer": "kirtch2020",
"discover": false,
"accessories": [
{
"model": "SI01",
"name": "Soldering Iron",
"pintype": "VIRTUAL",
"pinnumber": 0,
"type": "BUTTON",
"typeOf": "OUTLET"
}
]
},
{
"name": "Aquarium V3",
"token": "My Token",
"deviceId": 114,
"manufacturer": "kirtch2020",
"discover": false,
"accessories": [
{
"model": "AL01",
"name": "Aquarium Light",
"pintype": "VIRTUAL",
"pinnumber": 1,
"type": "BUTTON",
"typeOf": "LIGHTBULB"
}
]
},
{
"name": "Greenhouse",
"token": "My Token",
"deviceId": 115,
"manufacturer": "kirtch2020",
"discover": false,
"accessories": [
{
"model": "GL01",
"name": "Grow Light",
"pintype": "VIRTUAL",
"pinnumber": 14,
"type": "BUTTON",
"typeOf": "LIGHTBULB"
}
]
},
{
"name": "Smart Switch",
"token": "My Token",
"deviceId": 116,
"manufacturer": "kritch2020",
"discover": false,
"accessories": [
{
"model": "SO101",
"name": "Smart Outlet1",
"pintype": "VIRTUAL",
"pinnumber": 0,
"type": "BUTTON",
"typeOf": "OUTLET"
}
]
},
{
"name": "Ambiant",
"token": "My Token",
"deviceId": 117,
"manufacturer": "kritch2020",
"discover": false,
"accessories": [
{
"model": "RT01",
"name": "Temperature",
"pintype": "VIRTUAL",
"pinnumber": 0,
"typeOf": "TEMPERATURE_SENSOR"
}
]
}
],
"_bridge": {
"username": "0E:B1:14:35:XXXX",
"port": 551XX
}
},
{
"name": "Nest",
"googleAuth": {
"issueToken": "token",
"cookies": "cookie",
"apiKey": "api key"
},
"fanDurationMinutes": 480,
"options": [
"Thermostat.Disable.09AA01AF2XXXXXXX",
"HomeAway.AsOccupancySensor",
"HomeAway.Disable.c5e37950-c57bXXXXXXXXXXX",
"Thermostat.SeparateBuiltInTemperatureSensor.Enable",
"Thermostat.Eco.Disable",
"Thermostat.SeparateBuiltInHumiditySensor.Enable"
],
"_bridge": {
"username": "0E:F7:CB:6B:XXXX",
"port": 567XX
},
"platform": "Nest"
},
{
"email": "my email",
"password": "password",
"name": "myQ",
"_bridge": {
"username": "0E:39:E7XXXXXX",
"port": 42XXX
},
"platform": "myQ"
}
]
}
Logs with reboot:
[6/11/2021, 8:04:13 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[6/11/2021, 8:04:13 AM] [HB Supervisor] Started Homebridge v1.3.4 with PID: 11005
Initializing HAP-NodeJS v0.9.4...
[6/11/2021, 8:04:14 AM] Loaded config.json with 0 accessories and 4 platforms.
[6/11/2021, 8:04:14 AM] Loaded 0 cached accessories from cachedAccessories.
[6/11/2021, 8:04:14 AM] ---
[6/11/2021, 8:04:14 AM] Loaded plugin: [email protected]
[6/11/2021, 8:04:14 AM] Registering platform 'homebridge-blynk-platform.BlynkPlatform'
[6/11/2021, 8:04:14 AM] ---
[6/11/2021, 8:04:14 AM] Loaded plugin: [email protected]
[6/11/2021, 8:04:14 AM] Registering platform 'homebridge-config-ui-x.config'
[6/11/2021, 8:04:14 AM] ---
[6/11/2021, 8:04:14 AM] Loaded plugin: [email protected]
[6/11/2021, 8:04:14 AM] Registering platform 'homebridge-myq.myQ'
[6/11/2021, 8:04:14 AM] ---
[6/11/2021, 8:04:14 AM] Loaded plugin: [email protected]
[6/11/2021, 8:04:14 AM] Registering platform 'homebridge-nest.Nest'
[6/11/2021, 8:04:14 AM] ---
[6/11/2021, 8:04:14 AM] Loading 4 platforms...
[6/11/2021, 8:04:14 AM] [Config] Initializing config platform...
[6/11/2021, 8:04:14 AM] [Config] Running in Service Mode
[6/11/2021, 8:04:14 AM] [BlynkPlatform] Initializing BlynkPlatform platform...
[6/11/2021, 8:04:14 AM] [BlynkPlatform] Initializing child bridge 0E:B1:14:35:C6:4B
[6/11/2021, 8:04:14 AM] [Nest] Initializing Nest platform...
[6/11/2021, 8:04:14 AM] [Nest] Initializing child bridge 0E:F7:CB:6B:73:68
[6/11/2021, 8:04:14 AM] [myQ] Initializing myQ platform...
[6/11/2021, 8:04:14 AM] [myQ] Initializing child bridge 0E:39:E7:D0:27:B2
Preparing Advertiser for 'Homebridge D17E' using bonjour-hap backend!
Setup Payload:
X-HM://0024UB1LZYMAH
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 829-30-407 │
└────────────┘
Starting to advertise 'Homebridge D17E' using bonjour-hap backend!
[6/11/2021, 8:04:14 AM] Homebridge v1.3.4 (Homebridge) is running on port 51277.
Initializing HAP-NodeJS v0.9.4...
Initializing HAP-NodeJS v0.9.4...
Initializing HAP-NodeJS v0.9.4...
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Launched child bridge with PID 11229
[6/11/2021, 8:04:14 AM] [Nest] Launched child bridge with PID 11234
[6/11/2021, 8:04:14 AM] [myQ] Launched child bridge with PID 11236
[6/11/2021, 8:04:14 AM] Registering platform 'homebridge-blynk-platform.BlynkPlatform'
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Loaded homebridge-blynk-platform v0.2.6 child bridge successfully
[6/11/2021, 8:04:14 AM] Loaded 4 cached accessories from cachedAccessories.0EB11435C64B.
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Adding accessory: undefined
[6/11/2021, 8:04:14 AM] Registering platform 'homebridge-nest.Nest'
[6/11/2021, 8:04:14 AM] [Nest] Loaded homebridge-nest v4.5.3 child bridge successfully
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] addWidget found: WojStead made a BUTTON(0) named missing label here.... on pin V0
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Adding accessory: undefined
[6/11/2021, 8:04:14 AM] Registering platform 'homebridge-myq.myQ'
[6/11/2021, 8:04:14 AM] [myQ] Loaded homebridge-myq v2.6.2 child bridge successfully
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] addWidget found: WojStead made a BUTTON(0) named missing label here.... on pin V1
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Adding accessory: undefined
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] addWidget found: WojStead made a BUTTON(0) named missing label here.... on pin V14
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Adding accessory: undefined
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] addWidget found: WojStead made a BUTTON(0) named missing label here.... on pin V0
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Adding accessory: undefined
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] addWidget skipped item: undefined is a undefined
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Checking if config is ready: waiting for -> 5
Preparing Advertiser for 'homebridge-blynk-platform B37B' using bonjour-hap backend!
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] BlynkPlatform has finishing launching.
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Switch Wojstead Button has been created
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] PlatformAccessory: identified Wojstead Button(OUTLET) - 0 [c0b793bb-e180-41c5-8251-c7ca0666a91a] seed: 0-kirtch2020-missing label here....-VIRTUAL-0
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Wojstead Button is a OUTLET
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] OUTLET Wojstead Button has been attached.
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Switch Wojstead Button has been created
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] PlatformAccessory: identified Wojstead Button(LIGHTBULB) - 0 [62684866-eb62-41fd-ba5f-1a3cd66c7d1d] seed: 0-kirtch2020-missing label here....-VIRTUAL-1
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Wojstead Button is a LIGHTBULB
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] LIGHTBULB Wojstead Button has been attached.
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Switch Wojstead Button has been created
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] PlatformAccessory: identified Wojstead Button(LIGHTBULB) - 0 [79dbb056-883d-4f3d-b1f1-5eb982872fdf] seed: 0-kirtch2020-missing label here....-VIRTUAL-14
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Wojstead Button is a LIGHTBULB
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] LIGHTBULB Wojstead Button has been attached.
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Switch Wojstead Button has been created
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] PlatformAccessory: identified Wojstead Button(OUTLET) - 0 [6b9cb991-f34d-438e-b966-9fcef6cc0b9c] seed: 0-kritch2020-missing label here....-VIRTUAL-0
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] Wojstead Button is a OUTLET
[6/11/2021, 8:04:14 AM] [homebridge-blynk-platform] OUTLET Wojstead Button has been attached.
Starting to advertise 'homebridge-blynk-platform B37B' using bonjour-hap backend!
[6/11/2021, 8:04:14 AM] Homebridge v1.3.4 (homebridge-blynk-platform) is running on port 55188.
[6/11/2021, 8:04:14 AM] Loaded 5 cached accessories from cachedAccessories.0EF7CB6B7368.
[6/11/2021, 8:04:14 AM] Loaded 1 cached accessories from cachedAccessories.0E39E7D027B2.
Preparing Advertiser for 'myQ ECF8' using bonjour-hap backend!
Starting to advertise 'myQ ECF8' using bonjour-hap backend!
[6/11/2021, 8:04:14 AM] Homebridge v1.3.4 (myQ) is running on port 42031.
Preparing Advertiser for 'Nest 8ADB' using bonjour-hap backend!
[6/11/2021, 8:04:14 AM] [Nest] Fetching Nest devices.
[6/11/2021, 8:04:14 AM] [Nest] Authenticating via Google.
Starting to advertise 'Nest 8ADB' using bonjour-hap backend!
[6/11/2021, 8:04:14 AM] Homebridge v1.3.4 (Nest) is running on port 57968.
[6/11/2021, 8:04:15 AM] [homebridge-blynk-platform] Checking if config is ready: waiting for -> 0
[6/11/2021, 8:04:15 AM] [homebridge-blynk-platform] Checking if accessories have been removed to clean up cache.
[6/11/2021, 8:04:15 AM] [homebridge-blynk-platform] Committing defined accessory(Wojstead Button) to cache
[6/11/2021, 8:04:15 AM] [homebridge-blynk-platform] Committing defined accessory(Wojstead Button) to cache
[6/11/2021, 8:04:15 AM] [homebridge-blynk-platform] Committing defined accessory(Wojstead Button) to cache
[6/11/2021, 8:04:15 AM] [homebridge-blynk-platform] Committing defined accessory(Wojstead Button) to cache
[6/11/2021, 8:04:15 AM] [homebridge-blynk-platform] Poller will refresh setting for 4 item(s).
"pollerseconds": 1,
Please update the sample configuration settings on the repository home page to include this setting ;-)
Hi Peter,
Thank you for developing this plugin!
I've noticed that my Raspberry Pi CPU load goes from 1% to 40% when the plugin is configured on Homebridge. Is this because the device polling frequency is too high?
There is another older blynk-homebridge plugin that is currently broken (I think because it's not exposing all the required characteristics for Homebridge 1.x.x). However, this version allowed the polling frequency for each device to be specified. Could you take a look and perhaps collaborate with the owner of this repository?
Thanks!
Plugin config;
{ "bridge": { "name": "Homebridge XXXX", "username": "xx:xx:xx:xx:xx:xx", "port": 51238, "pin": "000-00-000" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "auth": "form", "theme": "auto", "tempUnits": "c", "lang": "auto", "platform": "config" }, { "platform": "BlynkPlatform", "serverurl": "http://192.168.1.101:8080", "devices": [ { "manufacturer": "Me", "name": "LED Dimmer", "token": "*******************************", "deviceId": "*********", "discover": false, "accessories": [ { "model": "LED Dimmer", "name": "Light", "pintype": "VIRTUAL", "pinnumber": 0, "type": "SWITCH" } ] } ] } ] }
Node.js Version: v14.15.0
NPM Version: v6.14.8
Homebridge Version: v1.1.6
Operating System: Raspbian
Process Supervisor: hb-service
homebridge-blynk-platform: v0.2.5
Accessory doesn't display name set in the plugin config. It has to be changed in home app, and quite frequently resets to the default "worsted button" name. Probably an issue with the cache? please look into it.
Hello,
I am using Blynk and I would like to know why in HomeKit it only identifies buttons / switches, regardless of the type of accessory that I put on it. Is there a way that I can identify temperature sensors or other things?
Thank you and have a nice day.
Blynk has sliders (vertical and horizontal) which can be used as dimmers for lights or curtain openers. Integrating these sliders as a mode of switch in plugin and exposing them as dimmer/curtain sliders in home app would be great!
Hello,
I get the following error, because I use self-signed certificate
11/4/2020, 1:51:15 AM] Homebridge v1.2.3 is running on port 53133.
(node:1368) UnhandledPromiseRejectionWarning: Error: RequestError: self signed certificate
at BlynkDeviceConfig.getProjectJSON (/homebridge/node_modules/homebridge-blynk-platform/src/config.ts:196:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at BlynkDeviceConfig.readProject (/homebridge/node_modules/homebridge-blynk-platform/src/config.ts:158:40)
at /homebridge/node_modules/homebridge-blynk-platform/src/index.ts:84:21
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1368) 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:1368) [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.
Hello, everyone.
Can you tell me how to run a switch in "push mode".
It works with the homebridge-Blynk plugin, but I can’t do it with this plugin.
Thank you 🙂
Hello friend, it is the only complement that works for me with blynk and homekit, the others do not work.
Please implement push button thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.