This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
Might be a good idea when the hub keeps losing connection... though it's running ok in the past few hours...
This is the stack trace:
Stack trace:
Error: Uncaught, unspecified "error" event. (XMPP authentication failure)
at Client.emit (events.js:144:17)
at Client._handleAuthState (/node_modules/node-xmpp-client/lib/Client.js:298:10)
at Client._handleStanza (/node_modules/node-xmpp-client/lib/Client.js:234:12)
at Client.onStanza (/node_modules/node-xmpp-client/lib/Client.js:222:8)
at emitOne (events.js:77:13)
at Connection.emit (events.js:169:7)
at Connection.onStanza (/node_modules/node-xmpp-core/lib/Connection.js:369:10)
at StreamParser.<anonymous> (/node_modules/node-xmpp-core/lib/Connection.js:226:10)
at emitOne (events.js:77:13)
at StreamParser.emit (events.js:169:7)
Exit code: 1
Exit signal: null
Maybe you could take a look at it for the next version of your app.
- Remove hub as device
- uninstall the app
- PTP (this was new!)
- install the app
- add the hub
- repaired my flows
This means you have to recreate al your harmony flows but for me and I believe others this is working great. I only had crashes because of my onkyo receiver (not really harmony related) but no other crashes for a few days now.
And maybe you can tell us / brinkie what you are doing when it crashes
The most difficult thing was to understand why I had to "Pay To Play" or how to implement the "Picture Transfer Protocol"... or set up a "Peer To Peer " connection... so I finally just Pulled The Plug... oh... wait...
Just pick one! ;-)
PTP
And the correct one isn't even there
On 1.0.4. If you want me to test anything, let me know!
Actually almost all error reports I get are identical: XMPP authentication failure. There are practically no errors that happen in the app itself.
I think there should be an option to provide your Logitech credentials to login to the hub, instead of the default credentials it uses now. I'll try to make some time during the weekend to look into this.
This is the hub closing the connection to Homey (to the Harmony Hub app that is). This used to result in a lost connection that would never be restored. Since version 1.0.4 the app automatically reconnects in 10 seconds. In the meanwhile there's obviously no connection, so during that period the app can't do anything.
While debugging the connection handling by the hub, I noticed it closes the connection after about 70 seconds of inactivity. This means there is no way of keeping a connection open, at least not without doing some polling or something.
To be able to retrieve some more useful debug data from the community, I'm going to add a settings page for the app. This will allow you to configure the reconnect delay and to enable the app to output logging by voice (by the lack of another good method to output error to the end user). Hopefully this will give us insight in a good value for the reconnect delay (currently set to 10 seconds) and into the errors that currently are mostly invisible to the end user.
Stack trace:
Error: Uncaught, unspecified "error" event. (XMPP authentication failure)
at Client.emit (events.js:144:17)
at Client._handleAuthState (/node_modules/node-xmpp-client/lib/Client.js:298:10)
at Client._handleStanza (/node_modules/node-xmpp-client/lib/Client.js:234:12)
at Client.onStanza (/node_modules/node-xmpp-client/lib/Client.js:222:8)
at emitOne (events.js:77:13)
at Connection.emit (events.js:169:7)
at Connection.onStanza (/node_modules/node-xmpp-core/lib/Connection.js:369:10)
at StreamParser.<anonymous> (/node_modules/node-xmpp-core/lib/Connection.js:226:10)
at emitOne (events.js:77:13)
at StreamParser.emit (events.js:169:7)
Exit code: 1
Exit signal: null
On my Harmony I have a Samsung 40D8000 TV as a device.
When I use the action card "Send a command" with settings: TV / Miscellaneous / .... , then nothing shows up when I click in the third (opdracht/command) field.
Then I click "Miscellaneous" field again ...
pop-up: Invalid Card ...
Harmony Hub crashed and this is what it says:
Stack trace:
TypeError: args.args.controlGroup.function.forEach is not a function
at Object.<anonymous> (/app.js:67:53)
at emitTwo (events.js:87:13)
at Object.emit (events.js:172:7)
at /homey-app/manager/flow.js:23:37
at /homey-app/helpers/client.js:1:1077
at Array.forEach (native)
at process.<anonymous> (/homey-app/helpers/client.js:1:1046)
at emitTwo (events.js:87:13)
at process.emit (events.js:172:7)
at internal/child_process.js:696:12
Exit code: 1
Exit signal: null
To select a channel, I tried to find a way to send three numbers in one command.
It would be great if this was possible!
Even better would be when I could enter anything alpha-numeric in that field...
The Harmony Hub App would delete everything that is not numeric from the string... So only the number would be left and send to the TV.
Why?
I could then say something like "OK Homey, Switch TV to channel 202".
My flow would filter on "TV" and "channel", and enter the complete string in the channel selection... And the TV switches to channel 202 so I can enjoy Discovery Science
You're idea about switching channels seems doable. I'll look into the options. Thanks!
Installed Harmony devices:
- Samsung 40D8000 TV
- Samsung D-BD6900 Blu-ray player
- Marantz SR7005 AV-receiver
- Sony HT-XT3 soundplate
- Sony DVP-CX860 300 disc DVD Changer
- Sony HAR-LH500 CD Player / HD Recorder
- Sony EV-S9000E Hi-8 recorder
- Philips VR550 VHS-recorder
- Canon HF M31 camcorder
- iRobot Roomba 866
- Philips Hue
- Nintendo Wii
- Apple TV (2nd gen)
- Mac Mini (late 2012)
@OpenMind_NL do you have this problem only with miscellaneous TV or also with other devices?
I tested all my devices and only my Onkyo receiver is having this problem with miscellaneous list
When I check the harmony iphone app I have 6 pages with all 12 options on it, so total 72 options (this is even without number and arrows). The total option I see in your app is only 40.
If you have an iphone can you check how many options your tv has?
I did not check the other devices yet.
All crashes showed the same stack trace.
All OK showed different commands in the pop-down menu.
About the action list:
It's not easy to compare, but I did a fast check for the Sony Hi-8 recorder and 'm sure some commands are missing... like: "Audio monitor", "Counter reset", "Index", "Index Mark", "Index Erase" etc.
Entone DVR - 3
CL-200T4M - 2
IR7243 - CRASHHHHHH
Vision 3D 137B - no misc options
M8 TV Box - 3
PS3 - 15
TX-P50VT30E - 18
TX-NR609 - CRASHHHHHH
XBOX - 5
ASF16R - 3
I just checked the IR7243 in the harmony app on my phone and this device is like my onkyo having a lot of options.
So what do we know atleast till 18 options it's working for my devices.
Can other people check if they have devices with a higher number then 18? And are the devices that are crashing have a lot of options?
Till today it crashes a few times.
I never used the activities( made always all the steps in Homey) which you can create in the APP from HARMONY itself (not the APP from homey) and while I was creating an activity then suddenly the App in homey crashed.
I thought that it was a coincidence so i restarted the APP in homey and tried building an new activity in the HARMONY APP. And the Hormony APP in homey did crash again. I didn't even made a flow to trigger the activity.
Once the activity was build and when I used it in a flow ( after restarting the APP) it didn't crash anymore.
So here the Homey Harmony App also crashes when building an activity in the Harmony APP (from Harmony)
So it would be great if you test all devices you have with Miscellaneous / Command and tell us if it is crashing or how many options you have. (don't forget to reset app after crash)
And hopefully brinkie can find a solution for the problem but we have to give him information.
It's not to DIS the app it's for making it even better!
I just published v1.0.5 to GitHub, which adds a settings page to the App. This will allow you to change the reconnect interval to for instance 0 seconds (immediate). It also allows you to enable debugging by voice, which currently will use Homey's voice to announce (dis)connect events.
Give it a try and please let me know if this is helpful!