Closed rubyon closed 9 years ago
harmonyclient.js#sendCommand should allow you to do this. further does your hub expose a list of available commands. you can retrieve this list via harmonyclient.js#getAvailableCommands
please let us know how this works out.
I get this data
harmonyhubjs:client:harmonyclient handleStanza(
I want "Power On" command send... plz,help me...
plz, show me the sample code... please...
find a new example in the examples directory: https://github.com/swissmanu/harmonyhubjs-client/blob/master/examples/sendCommand.js
harmonyhubjs-client
and harmonyhubjs-discover
is the result of an extensive amount of reverse engineering. @jterrace implemented a first version in Python. I took his work and made some compatibility improvements and implemented these libraries in JavaScript.
As part of the open source community, I dont want any material reward for this work. In fact I love to contribute my part to an amazing ecosystem.
When you consider to open an issue to any open source project anytime in the future, please reward the author not with money. Appreciate the project maintainers work by taking some time to look into the projects code, try to fix things by yourself first.
Last but not least: Keep in mind that most project maintainers have a regular job to earn their livings. We love to improve and grow our babies... But we don't always have the capacities to respond in a manner of hours or days. Keep your writing friendly and don't whine if you don't get an immediate response. You won't improve your place in the queue ;)
Thank you for your contribution & keep hacking, @swissmanu
I want just "IRCommand" send... not startActivity
Is this possible?
please let me show sample code...