Comments (14)
Hi,
thank you for the feedback. It is indeed a problem :) I will take a look at it.
from homebridge-harmony.
hi,
@carsten-h
@det-box
In 0.0.8 you MUST add a config key like this even if you don't want to use the option :
"skipedIfSameStateActivities" : []
I will fix this in the next version (in order to make it optionnal), as well as being able to include all activites by default. - see #21
from homebridge-harmony.
Perfect, if you need support then tell me.
ThxβοΈ
from homebridge-harmony.
I think we have 3 options there :
- either adding a global option like that was made - not very "fan" of that, since you might want different behaviors depending on the scene (especially for the "turn off TV" one while using siri if you are on another scene,
- either setting an option per activity (some parameter with a list of scene to have this behavior)
- or maybe we could decide of the beahivour automatically if the scene has at least one device that doesn't have 2 IR command for on / off.
What do you think ?
from homebridge-harmony.
I think point 2 would not be bad. Point 3 sounds good too. But I can not really judge what is technically best implemented. π
from homebridge-harmony.
Hi,
@Nastras : Let's give a try to the latest version and tell me if it suits your needs :)
https://github.com/nicoduj/homebridge-harmony/releases/tag/0.0.8
from homebridge-harmony.
Hello @nicoduj, thanks for fixing it. I have tested it quickly and so far everything works fine. I'll call you tomorrow after a long test again .-)
Greeting Nastra
from homebridge-harmony.
Hi,
After updating to version 0.0.8 , the hombridge reboots when activating an action
error:
Jan 7 18:32:12 hbridge3 homebridge[21296]: /usr/local/lib/node_modules/homebridge-harmony/index.js:460 Jan 7 18:32:12 hbridge3 homebridge[21296]: this.skipedIfSameStateActivities.includes( Jan 7 18:32:12 hbridge3 homebridge[21296]: ^ Jan 7 18:32:12 hbridge3 homebridge[21296]: TypeError: Cannot read property 'includes' of undefined Jan 7 18:32:12 hbridge3 homebridge[21296]: at HarmonyPlatform.<anonymous> (/usr/local/lib/node_modules/homebridge-harmony/index.js:460:44) Jan 7 18:32:12 hbridge3 homebridge[21296]: at Characteristic.On.emit (events.js:188:13) Jan 7 18:32:12 hbridge3 homebridge[21296]: at Characteristic.On.Characteristic.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:320:10) Jan 7 18:32:12 hbridge3 homebridge[21296]: at Bridge.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:871:22) Jan 7 18:32:12 hbridge3 homebridge[21296]: at Array.forEach (<anonymous>) Jan 7 18:32:12 hbridge3 homebridge[21296]: at Bridge.Accessory._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:811:8) Jan 7 18:32:12 hbridge3 homebridge[21296]: at HAPServer.emit (events.js:188:13) Jan 7 18:32:12 hbridge3 homebridge[21296]: at HAPServer._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:972:10) Jan 7 18:32:12 hbridge3 homebridge[21296]: at HAPServer.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:209:39) Jan 7 18:32:12 hbridge3 homebridge[21296]: at IncomingMessage.emit (events.js:188:13) Jan 7 18:32:12 hbridge3 systemd[1]: homebridge-harmony.service: Main process exited, code=exited, status=1/FAILURE Jan 7 18:32:12 hbridge3 systemd[1]: homebridge-harmony.service: Unit entered failed state. Jan 7 18:32:12 hbridge3 systemd[1]: homebridge-harmony.service: Failed with result 'exit-code'. Jan 7 18:32:22 hbridge3 systemd[1]: homebridge-harmony.service: Service hold-off time over, scheduling restart. Jan 7 18:32:22 hbridge3 systemd[1]: Stopped Node.js HomeKit homebridge-harmony. Jan 7 18:32:22 hbridge3 systemd[1]: Started Node.js HomeKit homebridge-harmony.
Version 0.0.7 does not do that
from homebridge-harmony.
Hello!
I have the same problems like det-box here. I didn't change the config from 0.0.7 to 0.0.8:
{ "platform": "HarmonyHubWebSocket", "name": "HarmonyHub", "hubIP": "192.168.178.106", "showTurnOffActivity": true, "turnOffActivityName": "Medienruhe", "refreshTimer": 30 },
After switching back to 0.0.7 everything is working fine!
from homebridge-harmony.
Being able to have a setting to include everything in skippedIfSameState would be nice, since that is how I would use it.
from homebridge-harmony.
Sorry, the error was due to wrong configuration
from homebridge-harmony.
Yes, this is correct, adding the option "skipedIfSameStateActivities" is working fine!
Thank you!
from homebridge-harmony.
@Sunoo : check latest version, I have added the option you were asking for.
from homebridge-harmony.
It works for me π
from homebridge-harmony.
Related Issues (20)
- "devicesToPublishAsAccessoriesSwitch" HOT 10
- [BUG] Cannot add service with the same UUID. HOT 3
- Can't add Harmony TV manually in Home app HOT 2
- Experiencing Homebridge crashing HOT 5
- Change heading level h6 to h5 HOT 1
- 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
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.