-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
[BUG] All Homebridge accessories disappear form Homekit after 30seconds #280
Comments
Seeing this in debug mode: [6/7/2020, 11:04:31] [Harmony Hub] (Harmony Hub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1 [6/7/2020, 11:04:43] [Harmony Hub] (Harmony Hub)INFO - GET Characteristic.Active |
Hi, can you share your config and environment ? What do you mean by all accessories ? In no way this plugin can interfere with devices it does not expose itself |
Any other info? As an example, I have the nest and nest cam plugins installed. When harmony is uninstalled, those plugins work fine. As soon as I install Harmony, everything shows up fine for 30 seconds, then everything disappears from the home app |
Are you using regular homebridge ? What is your config.json file ? |
{ |
when you say disapeear, they are no more there ? DO you see harmony exposed activities at all ? Do you have any devices on an old ios version that could cause some Icloud sync issues ? |
They aren't there anymore. I don't see them anywhere in the Home App. Don't know if there's any old devices causing issues, but again, everything with home bridge seems to work fine when I uninstall Harmony. |
i would need the full log while in debug mode when it happens, and check if it is on all your ios device or only one. Please also check if you have any old device (priori to ios 10) on your icloud account with home syn enabled. But once again, if oher devices disappears than the one exposed form harmony, it seems very strange ... Such kind of issue was never reported ... |
And by the way, is it a standard homebridge or hoobs install ? |
I believe it's just the standard |
Also had one device on iOS connected to iCloud / Homekit, so took it off. |
Removed the iOS device, still been having the same problem since yesterday. Have removed all plugins to make sure there's nothing else causing the issue. |
Hi, I am sorry but I don’t know what to do with this . Are they still visible in homebridge itself (config ui ?) did you try eve app ? It could be some cache messed up issue but you would see in your log some removers accessory , still you can try deleting the cached accessory folder . |
They are still visible in Homebridge and turn on / off. I've deleted cached accessories multiple times. Anything else I can try? definitely something specific with the Harmony plugin. |
reboot your phone ? Do you have multiple ios device in your home ? Or maybe you have some problem with permission, what are the settings of your home app concerning access autorization (everyone, users of the same network, users of the same home, any code ? ) |
only 2 iPhones in the house, both with full permissions. Two Apple TVs and 3 HomePods that are hubs. |
and both iphones have the same behavior ? one thing however in your config : remove hubName if you have hubIP set (and fixed on your network) |
same behavior on all of our devices. Even computers with home app. Will try the removing hub name |
and I'd like to know the version of your homebridge / Hap by the way. |
1.1.1. Same behavior after removing the name |
last thing you can do is to launch homebridge on full log (DEBUG=*) and check events when it disappears but like I said first time I hear of such issue. |
1.1.1 ? It is not released, only 1.1.0 . You checked that it is not back in another room / default room ? Do you have any file named harmony* in the root dir of your homebridge ? If yes you can try to delete them. Also, you did not make multiple trials and error on the same install with config change like publishAsExternalAccessory ? |
Sorry. 1.1.0. Attached a log. I've tried a number of different settings with the config, still the same thing. Haven't checked for any files in the toor directory. Not in another room either. |
No harmony file in the root dir |
Everything seems fine in your homebridge log as far as I can tell . You can also try to not publish a tv at first, but only switches (see corresponding options) |
Not publishing as a TV and just publishing as an external accessory did it. It seems to be working now. Wonder why that would be the issue. It was working like that before for about a month or so. |
I don't understand what you did. If you don't publish as tV it will not publish anything at all if you don't expose siwtches. Do you have a Tv accessory or not ? If you publish As external accessory, you have to add it manually after. I think you have messed up your cache at some point, but I don't know in what state is your config. |
I switched off TV Accessory and switched on Switches Accessory in HomeKit. On restart it published one switch with my activity options as different switches inside of it. Didn't need to add anything manually. |
Config and screenshot in home app, not sure I understood what you said . because if I understand you don’t have any tv accessory anymore but only one switch per activity |
ok, and if you try to add the option to publish a tv accessory, does it shows up and stay (don't remove switch, you can have both) |
Did what you suggested and it disappeared again |
when it "appears", where does it appear ? in which room ? |
Default Room. I'm looking in the home section, see it show up, then disappear. Attached a screen capture of what happens. Just hitting restart on home bridge, not doing anything else. |
So, been testing this all morning. Disabled the TV Accessory and went back to the switch. Reinstalled my Nest plugins, everything is working as expected. There's clearly something up with the TV Accessory option, or at the least, the way it's interacting with my HomeKit. Not sure if you have any other suggestions, or if I should just stick with the switch options. |
Same issue here, except it didn’t affect other homebridge accessories, only the Harmony accessories would disappear from the Home screen after ~30s. Disabling “TV accessory in homekit” and enabling “Publish all TV as external accessory” seems to be a workaround.
{
"platform": "HarmonyHubWebSocket",
"plugin_map": {
"plugin_name": "homebridge-harmony"
},
"name": "Harmony Hub",
"hubIP": "192.168.77.9",
"hubName": "Harmony Hub",
"publishAllTVAsExternalAccessory": true,
"TVAccessory": false,
"mainActivity": "Watch Apple TV",
"switchAccessories": true,
"publishGeneralMuteSwitch": true,
"publishGeneralVolumeSlider": true,
"linkVolumeControlToTV": true,
"publishSwitchActivitiesAsIndividualAccessories": true,
"publishDevicesAsIndividualAccessories": true,
"publishSequencesAsIndividualAccessories": true,
"publishHomeControlsAsIndividualAccessories": true,
"showCommandsAtStartup": false,
"addAllActivitiesToSkippedIfSameStateActivitiesList": false,
"playPauseBehavior": false,
"cleanCache": false,
"activitiesToPublishAsInputForTVMode": [],
"remoteOverrideCommandsList": [],
"activitiesToPublishAsAccessoriesSwitch": [],
"skippedIfSameStateActivities": [],
"devicesToPublishAsAccessoriesSwitch": [],
"sequencesToPublishAsAccessoriesSwitch": [],
"homeControlsToPublishAsAccessoriesSwitch": [],
"otherPlatforms": []
}
|
Hello, |
PS: Maybe nice to know, only the Xiaomi roborock appear in HomeKit. It is configured as Accessoires in config.json, all other devices are configured in platforms. |
Sorry to hear that it is spreading. I don’t have the issue and using a lot of accessories so I can’t figure out what is happening. Could you try downgrading the plugin maybe to the one that was not causing the issue ? Are you all on external accessory mode or bridge mode ? All platform accessories are affected ? Is it an upgrade of harmony or an upgrade of homebridge that made it happen ? Is it happening on a fresh install ? |
I don't use your plugin before, so I can't say it is caused by an upgrade/downgrade.
|
@beckern can you share your config please ? |
@ALL Try latest version, I removed AccessControl on TV accessories to see if it helps, not sur however ... And for those who have an old IOS Device (IOS 10 or prior) in your home, please try to remove it from homekit (disable homekit on that device through settings) . Since TV Accessory was not available, it seems to mess things up. |
Hello,
sorry, it doesn`t work. I installed the latest version. Still only the accessory XiamoiRoborock is in homekit. Other accessories disappaer.
This is my config.json
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"accessories": [
{
"name": "Staubi",
"ip": "192.168.178.63",
"token": "72347636414c554149367545424f437a",
"waterBox": true,
"pause": true,
"dock": true,
"delay": false,
"cleanword": "clean",
"autoroom": true,
"rooms": [
{
"name": "Wohnzimmer",
"id": 1
},
{
"name": "Küche",
"id": 2
},
{
"name": "Bad",
"id": 3
},
{
"name": "Flur",
"id": 4
},
{
"name": "Büro",
"id": 5
}
],
"accessory": "XiaomiRoborockVacuum"
}
],
"platforms": [
{
"name": "HomeMatic CCU",
"ccu_ip": "192.168.178.32",
"subsection": "Siri",
"ios10": true,
"windows": [
"BidCos-RF.MEQ0332793:1",
"BidCos-RF.MEQ0332995:1",
"BidCos-RF.NEQ0049735:1",
"BidCos-RF.NEQ0050591:1",
"BidCos-RF.NEQ0081450:1",
"BidCos-RF.OEQ0541692:1",
"BidCos-RF.OEQ0891151:1",
"BidCos-RF.OEQ0984465:1"
],
"programs": [
"Homebridge Subwoofer an",
"Homebridge Subwoofer aus",
"Harmony Jalousie hoch",
"Harmony Jalousie runter",
"Das Haus verlassen",
"Gute Nacht",
"Homebridge Licht an",
"Homebridge Licht aus",
"Homebridge Licht TV",
"Homebridge Licht TV aus"
],
"platform": "HomeMatic"
},
{
"name": "Config",
"port": 8080,
"auth": "none",
"theme": "auto",
"tempUnits": "c",
"lang": "de",
"sudo": true,
"standalone": true,
"log": {
"method": "systemd",
"path": "/var/log/homebridge.log"
},
"platform": "config"
},
{
"name": "Harmony",
"hubIP": "192.168.178.21",
"hubName": "Wohn",
"TVAccessory": true,
"mainActivity": "Fernsehen",
"switchAccessories": true,
"publishGeneralMuteSwitch": true,
"publishGeneralVolumeSlider": true,
"platform": "HarmonyHubWebSocket"
}
],
"id": "config"
}
Von: Nicolas Dujardin [mailto:notifications@github.com]
Gesendet: Sonntag, 5. Juli 2020 18:39
An: nicoduj/homebridge-harmony
Cc: beckern; Mention
Betreff: Re: [nicoduj/homebridge-harmony] [BUG] All Homebridge accessories disappear form Homekit after 30seconds (#280)
@ALL <https://github.com/ALL> Try latest version, I removed AccessControl on TV accessories to see if it helps, not sur however ...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#280 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AP4UYP5HVSMIJQ5YND76XWLR2CUDPANCNFSM4NXPLONQ> .Das Bild wurde vom Absender entfernt.
|
@beckern which version your iOS device are on ? iOS 11 at least ? |
Ok, but do you have any device in your home on iOS 10 or lower ? I saw on one of your config that you set ios10 mode for a plugin |
No, there is no device with ios 10 or lower.
https://github.com/thkl/homebridge-homematic#programs
Von: Nicolas Dujardin [mailto:notifications@github.com]
Gesendet: Sonntag, 5. Juli 2020 22:14
An: nicoduj/homebridge-harmony
Cc: beckern; Mention
Betreff: Re: [nicoduj/homebridge-harmony] [BUG] All Homebridge accessories disappear form Homekit after 30seconds (#280)
Version 13.5.1
Am 05.07.2020 um 21:19 schrieb Nicolas Dujardin notifications@github.com:
@beckern <https://github.com/beckern> which erosion your iOS device are on ? iOS 11 at least ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Ok, but do you have any device in your home on iOS 10 or lower ? I saw on one of your config that you set ios10 mode for a plugin
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#280 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AP4UYP464SZKZI4RKRUPNOTR2DNITANCNFSM4NXPLONQ> .Das Bild wurde vom Absender entfernt.
|
Hi all, I am curious about this one, Is it still occuring for some of you ? (with Tv accessories) ? |
It only works with this configuration: |
Can you try with latest version and TV accessory as an external accessory ? |
@beckern If you can, I would like you to test with 1.4.1 if possible. I had no other reports of this, but I played with some serialization and external accessories, so maybe it will help Please note that as an external accessory you need to add the TV manually from home app. |
no other feedback, closing since it seems not widespread. Feel free to reopen if you have new informations. |
30 seconds after homebridge restart, all accessories on home bridge disappear from HomeKit. Narrowed it down to harmony plugin. Not seeing any errors in the logs. Tried reinstalling everything, still no fix
The text was updated successfully, but these errors were encountered: