Page 2 of 2

Voice Control

Posted: Tuesday 21 April 2015 0:30
by pepijn
simonrg wrote:
pepijn wrote:...... but the 'native' HomeKit way works really great. ......
Am I right that in order to use "the 'native' HomeKit way", I would need to either buy an Apple developer license and write my own app or Jailbreak my iPhone (which I can't do as other software I have to use won't run on a Jailbroken iPhone)?

It would be really nice if somebody could write a simple wiki page to summarise this thread at least as to what approaches there are and what is needed to do them, as some things are not so obvious to me, that no doubt are obvious to people who have already done them. :)
You need a HomeKit aware app on your iPhone, since these are not available in the AppStore you need to create your own. To deploy the app on your phone an apple developer account.

There are some options:
* existing Dominicz app developers need to add HomeKit support
* a new app (based on the demo app) needs to be submitted to the AppStore but i think Apple will not approve it
* someone needs to share the demo app using testflight (limited time and max 1000 users)

https://vimeo.com/125516049

Re: Voice Control

Posted: Wednesday 22 April 2015 22:44
by Shyam
Im trying to test out the HAP-NodeJS on my Macbook and everytime i start the server I get:

/../HAP-NodeJS-master/node_modules/ed25519/node_modules/bindings/bindings.js:83
throw e
^
Error: Symbol ed25519_module not found.
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at bindings (/.../HAP-NodeJS-master/node_modules/ed25519/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/.../HAP-NodeJS-master/node_modules/ed25519/index.js:1:99)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)

Any ideas?

Thanks

Re: Voice Control

Posted: Thursday 23 April 2015 9:42
by Shyam
Issue resolved. It was due to my version of node.

Would it be possible for one of you guys that have it working to share the http post message for domoticz? I seem to be getting a error response every time.

Thanks

Re: Voice Control

Posted: Friday 24 April 2015 9:23
by brian
Shyam wrote: Would it be possible for one of you guys that have it working to share the http post message for domoticz? I seem to be getting a error response every time.
I just turn on and off a switch in Domoticz via HAP-NodeJS, is that what you need?

POST URL in the accessory code is

Code: Select all

http://[domoticz_ip:port]/json.htm?type=command&param=switchlight&idx=[idx_no]&switchcmd=[On_or_Off]
API can be found here: http://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s

Re: Voice Control

Posted: Friday 24 April 2015 10:06
by Shyam
Thanks Brian.

One more thing I can get my head around, in the accessory code, there are loads of places where the name of the accessory is mentioned, where is the actual name of the accessory that siri listens out for?

Re: Voice Control

Posted: Sunday 27 September 2015 17:12
by fransiefrans
Has anybody Japser voice control working with domoticz?

Re: Voice Control

Posted: Thursday 07 January 2016 19:52
by nibor
Hoi Pepijn,

Heb je inmiddels een betere oplossing dan een developer?

grt
Robin
pepijn wrote:
simonrg wrote:
pepijn wrote:...... but the 'native' HomeKit way works really great. ......
Am I right that in order to use "the 'native' HomeKit way", I would need to either buy an Apple developer license and write my own app or Jailbreak my iPhone (which I can't do as other software I have to use won't run on a Jailbroken iPhone)?

It would be really nice if somebody could write a simple wiki page to summarise this thread at least as to what approaches there are and what is needed to do them, as some things are not so obvious to me, that no doubt are obvious to people who have already done them. :)
You need a HomeKit aware app on your iPhone, since these are not available in the AppStore you need to create your own. To deploy the app on your phone an apple developer account.

There are some options:
* existing Dominicz app developers need to add HomeKit support
* a new app (based on the demo app) needs to be submitted to the AppStore but i think Apple will not approve it
* someone needs to share the demo app using testflight (limited time and max 1000 users)

https://vimeo.com/125516049

Re: Voice Control

Posted: Thursday 07 January 2016 19:55
by pepijn
nibor wrote:Hoi Pepijn,

Heb je inmiddels een betere oplossing dan een developer?

grt
Robin
pepijn wrote:
simonrg wrote: Am I right that in order to use "the 'native' HomeKit way", I would need to either buy an Apple developer license and write my own app or Jailbreak my iPhone (which I can't do as other software I have to use won't run on a Jailbroken iPhone)?

It would be really nice if somebody could write a simple wiki page to summarise this thread at least as to what approaches there are and what is needed to do them, as some things are not so obvious to me, that no doubt are obvious to people who have already done them. :)
You need a HomeKit aware app on your iPhone, since these are not available in the AppStore you need to create your own. To deploy the app on your phone an apple developer account.

There are some options:
* existing Dominicz app developers need to add HomeKit support
* a new app (based on the demo app) needs to be submitted to the AppStore but i think Apple will not approve it
* someone needs to share the demo app using testflight (limited time and max 1000 users)

https://vimeo.com/125516049
There are a lot of HomeKit compliant apps in the AppStore and the Domoticz SD card image contains homebridge by default