Comments (42)
Hi, definitely it is the plugin. I will check but I think it is because of the name of the activity . I had an option for naming it and disabled it since you can rename in HomeKit but in your case I didnβt think of it might be a problem . I will check ASAP and propose a fix to you for testing.
Could you post your logs and especially the activity discovery at homebridge startup ?
from homebridge-harmony.
You're welcome, I definitely want this plugin to be useful :)
Just one more thing you could try : Have 2 homebridge instances where each one runs a platform for each hub (if not too difficult in your config). you can try this if everything else fails ;p
I suspect either a problem with "timing" or some kind of overlap between the paltform, but not sure (I am not a "senior dev" in node.js so I might have missed something)..
Will continue tomorrow.
from homebridge-harmony.
Ok, so 1.2.0 install and manually replace index file π
from homebridge-harmony.
Good news, V1.2.0 works with the new index file!
from homebridge-harmony.
Ok, I gave it a look quickly, I am definitely interested into your logs in debug mode, while starting homebridge and while launching your scene !
from homebridge-harmony.
No problem, I restarted the homebridge in debug mode and ran the scene. I hope this helps you further?
from homebridge-harmony.
from homebridge-harmony.
did you put the -D switch ? can't see the plugin logs.
from homebridge-harmony.
Yes I have, the pictures of me can you see it?
Without -D, much less data will be displayed.
from homebridge-harmony.
Look here is my homebridge config for the instance with which I started your plugin in debug mode.
from homebridge-harmony.
strange I was expecting far more logs ! (and I don't see the startup activities discovery logs).
However, If I correctly understand, you try to activate Apple Tv scene on your schlafzimmer and power off i your wohnzimmer, and the power off goes "right" but the scene activatio ndoesn't fire ?Are you doing this through home app ? If yes, whatr are the state of the switches in it ? (immedialtely and after exiting and relaunching the app) Can I see your config file ?
from homebridge-harmony.
from homebridge-harmony.
Yes, exactly. I started the scene to try out the Home app and Siri. The switches of activities are off after firing in the living room. As it should be. And in the bedroom too. Here, however, an activity should be started. The activity is also started in the log. I observed the HarmonyHub in the bedroom when I triggered the scene and I did not realize that there were any IR commands sent.
from homebridge-harmony.
At these points in the log can be seen that the activities have started?
from homebridge-harmony.
This log is indeed put when we have a status 200 after sending the command to the hub. What seems strange to me is that I can't see a lot of other logs you should have on debug . Are you in 0.0.9 version ? In previous I might had a problem with background refresh with multiple platforms.
from homebridge-harmony.
by the way, you can try to narrow the issue to :
- disable refreshtimer on both platforms (set it to 0).
- disable the turnoffactivity on the hub you want to turn on with this scene (bedroom).
Sorry, but I only have one hub so I must figure it out by reading the code and it is not obvious right now :)
from homebridge-harmony.
No problem, I'm glad that you have interest in the bug .-)
Yes I am on the version 0.0.9 I am now on the way but later try the hints of you and give you notice.
Thank you!
from homebridge-harmony.
hi @Nastras , do you have any update on that issue ?
from homebridge-harmony.
Hello @nicoduj,
sorry for the late reply. At the moment I have a lot to do that unfortunately I have not got around yet. I wanted to start trying the tips of you now. For this I have updated to V1.2.0.
Unfortunately, after the update my instance for your plugin does not start anymore. I did not make any changes.
I read that you want to show each activity individually and no longer grouped under one device. Or is this optional? Could not see an option in the config for it.
It's good for the Apple Home users.
Not so nice for the third party apps user.
I suspect that he has a problem since V1.2.0 when using two hubs that use the same name in the activity.
What do you think?
from homebridge-harmony.
I have just tested all versions. From version 1.0.0 the error occurs. I also deleted the accessories folder.
from homebridge-harmony.
I have now tested your tips in version 0.0.9.
refreshtimer deactivated = no improvement
Turnoffactivity deactivated and scenes adjusted in homekit = no improvement
The problem is still there. I think with an additional instance for the second harmonyhub it should definitely go. I have not tested it yet. Would be nice of course if it goes with one instance if you still have an idea? π
from homebridge-harmony.
Hi @nicoduj ,
Just for information...have the same problem... homebridge crashed after update to a version later then 0.0.9 - have also two hubs in my environment!
from homebridge-harmony.
Hi , indeed I broke something for users with 2 hubs. Will fix asap but until then stay on below 1.0.0.
I will try to make the behavior optionnal also.
Sorry for the bugs, i have only one hub ;)
from homebridge-harmony.
I have now tested your tips in version 0.0.9.
refreshtimer deactivated = no improvement
Turnoffactivity deactivated and scenes adjusted in homekit = no improvementThe problem is still there. I think with an additional instance for the second harmonyhub it should definitely go. I have not tested it yet. Would be nice of course if it goes with one instance if you still have an idea? π
Definitely I still have ideas for your problem ( id of services since you have similar names on 2 hubs might be related !) , but as I cannot test them I might need your help :) will let you know
from homebridge-harmony.
Let me know when you're ready π
from homebridge-harmony.
You can try updating manually to see if it solves at least the crash issue and maybe your other one (I will work on an option for #29 afterwards) thanks for the help !
from homebridge-harmony.
What do you mean to update manually? I have just the 1.2.0 Installed error still available...
from homebridge-harmony.
Replace index.js by the one on the github repository in your homebridge/node_modules/homebridge-harmony folder
from homebridge-harmony.
ok I understand. Should I replace the index file in the 0.0.9 version?
I have previously installed version 1.2.0 as written above. Since the new index file was already online and the error has occurred.
from homebridge-harmony.
You should replace your current file. I havenβt publish my attempt to fix through npm. You will have to restart homebridge after.
from homebridge-harmony.
I am curious : do you still have your issue on activity change ?
from homebridge-harmony.
I have to test it now. As I said the V1.2.0 runs with the new index file. The problem with switching between two TVs still exists. I also noticed that the power off switch is not working properly anymore.
Also, as announced by you, all activities will be displayed as a separate device. Pretty ugly π
from homebridge-harmony.
Hi, what do you mean by power switch not working properly anymore ?
I am working on an option for the separate device mode, will keep you updated but will post an official version before that integrate the fix for #28
from homebridge-harmony.
The power off switch works. I tested it again. Sorry!
Only the change between the tv's is not possible. I think you can do the update for the index file.
from homebridge-harmony.
ok thx. Option is on its way for getting only one accessory for all activities, hope to post this evening. I released howerver an update with the fix before as I said.
from homebridge-harmony.
#29 is up (version 0.1.5) . Let me know if it is ok.
Concerning your original issue, does addAllActivitiesToSkipedIfSameStateActivitiesList have an effect on it ?
from homebridge-harmony.
I do not think so, but I'm not sure because I set up the scene later.
from homebridge-harmony.
Ok, still need to check some things but I really donβt know why especially if commands are working individually.
By the way I pushed a version but I am not 100% certain it will work with multiple hubs, any feedback would be much appreciated !
from homebridge-harmony.
Hello @nicoduj,
wanted to briefly give you a current state of affairs because of the problem.
I have just updated to the current version and tried again. Now works the switch between two scenes without a problem. I think the issue can be closed.
Thanks again for your help and the great plugin!
from homebridge-harmony.
WOW ;) Great news ! Can I ask which version exactly you were on, and if in latest it is still ok (I assume your are not using tv mode).
from homebridge-harmony.
With latest I meant the version 0.2.7 yesterday. No, I do not use the tv mode because I have no ios 12 beta installed. But I have it planned π
from homebridge-harmony.
ok, I close, feel free to reopen especially since latest version od not use anymore polling for background refresh and had a lot of refactoring, I hope it still works since I didnt narrow this one :)
from homebridge-harmony.
Related Issues (20)
- Volume for a Device HOT 1
- Crash after updating 1.6.2 --> Error: WebSocket closed with reason: undefined (undefined). HOT 1
- Help to start HOT 2
- [FEATURE] - More Accessory types, choosable separately for each device, e.g. "window blinds" for IR-controlled projector screens or window blinds HOT 1
- Not all hubs are loaded HOT 1
- [solved] Returns "Error retrieving info from hub .... connect EHOSTUNREACH" but IP is correct HOT 3
- [BUG] Only a few buttons show up in the Apple TV Remote app HOT 2
- [FEATURE] Generic "do nothing" command for non stateless switches HOT 1
- Hue Sync Samsung App HOT 1
- Add Correct name to the Accessories HOT 1
- Don't see devices in HomeKit App [BUG] HOT 5
- Guide for using Siri with this plugin, especially with switching Activities? HOT 2
- [BUG] EHOSTUNREACH error HOT 1
- Allow spaces in Device Mapping commands input
- [BUG] The `sortInput` setting does not seem to work HOT 5
- An option to Trigger Switch flip while activity is starting or stopping HOT 1
- "Error - No function list found for <device>" for several devices HOT 9
- [BUG] Cannot add TV accessory due to setup code already being used by another plugin HOT 5
- [FEATURE]Publish a device as a sensor to indicate if it is on/off. HOT 1
- [BUG] When using Siri or home app : activities toggle remains off and activities does not appear on remote HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-harmony.