Avant toute chose merci de (re)prendre connaissance de la charte et de la respecter.
Pour résumer :
- Avant de poser une question, je cherche si la réponse existe
- Je suis poli, courtois et je respecte tout un chacun sur le forum
- Si un post m'agace : je m'en éloigne plutôt que de répondre d'une façon qui pourrait être mal interprétée


Il n'est jamais du luxe que de rappeler des choses simples :
Courtoisie, amabilité, politesse et bonne humeur sont les maîtres mots pour un forum sympathique, bienveillant et accueillant :)

Le groupe des Helpers est present pour vous aidez, n'hésitez pas à poser des questions ;)

Toute la communauté vous remercie

homebridge et alexa

Modérateur : Nebz

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6214
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: homebridge et alexa

Message par Nebz » 25 sept. 2018, 09:30

comme je te disais, ils indiquent tout ca chez eux :)

https://lprhodes.github.io/homebridge-a ... e-apple-tv
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

sylvestre
Timide
Messages : 14
Inscription : 23 sept. 2018, 16:39

Re: homebridge et alexa

Message par sylvestre » 25 sept. 2018, 09:43

Oui, grâce à cette doc j'ai installé le plug-in mais je ne comprend pas bien les langages développeur :?

Donc, si tu peux m'aider, je suis preneur ;)

Voici ma configuration plate-forme Homebridge supplémentaire:

{
"platform": "Alexa",
"name": "Alexa",
"username": "--------",
"password": "----------"
}|{
"platform":"AppleTV",
"name":"Apple TV",
"devices": [{
"id": "---------",
"name": "Apple TV",
"credentials": "...." }
],
"showDefaultSwitches": true,
"defaultSwitchesIncludeATVName": true,
"showPairSwitches": false,
"hideWelcomeMessage": true
}

Pour id, j'ai mis le numéro de série de l'Apple TV trouvé dans l'application maison.

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6214
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: homebridge et alexa

Message par Nebz » 25 sept. 2018, 09:46

il faut d'abord que ton appleTV ait le partage à domicile d'activé, tu me confirmes que c'est fait ? dans Paramètres > Comptes > Partage à domicile
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

sylvestre
Timide
Messages : 14
Inscription : 23 sept. 2018, 16:39

Re: homebridge et alexa

Message par sylvestre » 25 sept. 2018, 09:52

Merci pour ton aide. Oui il est bien activé.

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6214
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: homebridge et alexa

Message par Nebz » 25 sept. 2018, 09:53

alors t'as pas besoin de credentials :)
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

sylvestre
Timide
Messages : 14
Inscription : 23 sept. 2018, 16:39

Re: homebridge et alexa

Message par sylvestre » 25 sept. 2018, 10:03

Ok
Mais après avoir supprimé credentials, l'Apple Tv n'est plus reconnue par Alexa.

{
"platform": "Alexa",
"name": "Alexa",
"username": "--------",
"password": "----------"
}|{
"platform":"AppleTV",
"name":"Apple TV",
"devices": [{
"id": "---------",
"name": "Apple TV",
}
],
"showDefaultSwitches": true,
"defaultSwitchesIncludeATVName": true,
"showPairSwitches": false,
"hideWelcomeMessage": true
}

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6214
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: homebridge et alexa

Message par Nebz » 25 sept. 2018, 10:05

et tu as fait la procédure de pairage via l'interrupteur qu'ils ont l'air d'ajouter ?

en fait, je peux pas t'aider bcp plus que ca... je l'ai pas fait chez moi... mais si qqun l'a fait, il pourrait t'aider.
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

sylvestre
Timide
Messages : 14
Inscription : 23 sept. 2018, 16:39

Re: homebridge et alexa

Message par sylvestre » 25 sept. 2018, 10:19

Ok merci pour ton aide.
je confirme bien quand rajoutant credentials, Alexa ajoute l'Apple Tv dans le menu "maison connecté" mais les commandes ne fonctionne pas.

sylvestre
Timide
Messages : 14
Inscription : 23 sept. 2018, 16:39

Re: homebridge et alexa

Message par sylvestre » 25 sept. 2018, 10:25

voici la log dans Jeedom.

Code : Tout sélectionner

{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
config:
{ name: 'Select (Apple TV)',
command: 'select',
deviceID: '----------',
persistState: false,
offDuration: 0.1,
onDuration: 0.1,
enableAutoOn: false,
enableAutoOff: true },
host: undefined,
name: 'Select (Apple TV)',
data: undefined,
state: { switchState: false },
serviceManager:
ServiceManager {
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
service:
Service {
displayName: 'Select (Apple TV)',
UUID: '--------------',
subtype: undefined,
iid: null,
characteristics: [Array],
optionalCharacteristics: [Array],
isHiddenService: false,
isPrimaryService: false,
linkedServices: [] },
characteristics: { name: [Object], switchState: [Object] } },
manufacturer: 'Apple',
model: 'Apple TV',
serialNumber: '-------------',
device: undefined,
ignoreAccessory: true }
[2018-9-25 10:09:16] [Apple TV] [31m[CONFIG ERROR][0m Sleep (Apple TV); No connected device could be found with a [33mdeviceID[0m of "---------".
switchAccessory SwitchAccessory {
serviceManagerType: 'ServiceManager',
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
config:
{ name: 'Sleep (Apple TV)',
command: 'sleep',
deviceID: '----------',
persistState: false,
offDuration: 0.1,
onDuration: 0.1,
enableAutoOn: false,
enableAutoOff: true },
host: undefined,
name: 'Sleep (Apple TV)',
data: undefined,
state: { switchState: false },
serviceManager:
ServiceManager {
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
service:
Service {
displayName: 'Sleep (Apple TV)',
UUID: '--------------',
subtype: undefined,
iid: null,
characteristics: [Array],
optionalCharacteristics: [Array],
isHiddenService: false,
isPrimaryService: false,
linkedServices: [] },
characteristics: { name: [Object], switchState: [Object] } },
manufacturer: 'Apple',
model: 'Apple TV',
serialNumber: '------------',
device: undefined,
ignoreAccessory: true }
[2018-9-25 10:09:16] [Apple TV] [35m[INFO][0m Added default switches for Apple TV (Apple TV).
[2018-9-25 10:09:16] [Apple TV] No accessories have been added to the "Apple TV" platform config.
[2018-9-25 10:09:16] [Apple TV] Initializing platform accessory 'Menu (Apple TV)'...
[2018-9-25 10:09:16] [Apple TV] Initializing platform accessory 'TV/Home (Apple TV)'...
[2018-9-25 10:09:16] [Apple TV] Initializing platform accessory 'Mic/Siri (Apple TV)'...
[2018-9-25 10:09:16] [Apple TV] Initializing platform accessory 'Play (Apple TV)'...
[2018-9-25 10:09:16] [Apple TV] Initializing platform accessory 'Pause (Apple TV)'...
[2018-9-25 10:09:16] [Apple TV] Initializing platform accessory 'Up (Apple TV)'...
[2018-9-25 10:09:16] [Apple TV] Initializing platform accessory 'Down (Apple TV)'...
[2018-9-25 10:09:16] [Apple TV] Initializing platform accessory 'Left (Apple TV)'...
[2018-9-25 10:09:16] [Apple TV] Initializing platform accessory 'Right (Apple TV)'...
[2018-9-25 10:09:16] [Apple TV] Initializing platform accessory 'Select (Apple TV)'...
[2018-9-25 10:09:16] [Apple TV] Initializing platform accessory 'Sleep (Apple TV)'...
Setup Payload:
X-HM://-----------
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 067-13-266 │
└────────────┘
[2018-9-25 10:09:17] Homebridge is running on port 51826.
[2018-9-25 10:10:01] [Alexa] alexaDiscovery - returned 21 devices
[2018-9-25 10:10:03] [Alexa] alexaDiscovery - returned 21 devices
[2018-9-25 10:11:29] [Apple TV] Pause (Apple TV) setSwitchState: true
[2018-9-25 10:11:29] [Apple TV] Pause (Apple TV) sendCommand ([33mpause[0m)
(node:1435) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sendKeyPressAndRelease' of undefined
at module.exports (/usr/lib/node_modules/homebridge-apple-tv/helpers/sendCommand.js:22:21)
at SwitchAccessory.performSend (/usr/lib/node_modules/homebridge-apple-tv/accessories/accessory.js:39:7)
at SwitchAccessory.setSwitchState (/usr/lib/node_modules/homebridge-apple-tv/accessories/switch.js:78:29)
at SwitchAccessory.setCharacteristicValue (/usr/lib/node_modules/homebridge-apple-tv/node_modules/homebridge-platform-helper/accessory.js:139:10)
at emitMany (events.js:147:13)
at Characteristic.On.emit (events.js:224:7)
at Characteristic.On.Characteristic.setValue (/var/www/html/plugins/homebridge/resources/node_modules/hap-nodejs/lib/Characteristic.js:320:10)
at Bridge.<anonymous> (/var/www/html/plugins/homebridge/resources/node_modules/hap-nodejs/lib/Accessory.js:871:22)
at Array.forEach (<anonymous>:null:null)
at Bridge.Accessory._handleSetCharacteristics (/var/www/html/plugins/homebridge/resources/node_modules/hap-nodejs/lib/Accessory.js:811:8)
at emitMany (events.js:147:13)
at HAPServer.emit (events.js:224:7)
at HAPServer._handleCharacteristics (/var/www/html/plugins/homebridge/resources/node_modules/hap-nodejs/lib/HAPServer.js:972:10)
at HAPServer.<anonymous> (/var/www/html/plugins/homebridge/resources/node_modules/hap-nodejs/lib/HAPServer.js:209:39)
at emitNone (events.js:106:13)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
(node:1435) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:1435) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[2018-9-25 10:11:29] [Alexa] PlaybackController Pause 192.168.1.44 51826 { characteristics: [ { aid: 36, iid: 10, status: 0 } ] } null

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6214
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: homebridge et alexa

Message par Nebz » 25 sept. 2018, 10:50

mmm tu as un crash de leur plugin... je te conseille quand même de voir avec eux via leur ISSUE sur leur github...

https://github.com/lprhodes/homebridge-apple-tv/issues

ou de voir si qqun l'a pas déjà eu
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6214
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: homebridge et alexa

Message par Nebz » 25 sept. 2018, 13:42

https://github.com/lprhodes/homebridge- ... /issues/11

d'après ca il faut que tu désactives le switch "showDefaultSwitches"
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

sylvestre
Timide
Messages : 14
Inscription : 23 sept. 2018, 16:39

Re: homebridge et alexa

Message par sylvestre » 25 sept. 2018, 14:30

Merci pour tes recherches.

J'ai essayé de mettre "showDefaultSwitches" en "false" mais Alexa ne vois plus Apple Tv.

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6214
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: homebridge et alexa

Message par Nebz » 25 sept. 2018, 14:47

refournis les logs stp
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

sylvestre
Timide
Messages : 14
Inscription : 23 sept. 2018, 16:39

Re: homebridge et alexa

Message par sylvestre » 25 sept. 2018, 14:59

Voici:

Code : Tout sélectionner

warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
config:
{ name: 'Mic/Siri (Salon Apple TV)',
command: 'mic',
deviceID: '-------',
persistState: false,
offDuration: 0.1,
onDuration: 0.1,
enableAutoOn: false,
enableAutoOff: true },
host: undefined,
name: 'Mic/Siri (Salon Apple TV)',
data: undefined,
state: { switchState: false },
serviceManager:
ServiceManager {
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
service:
Service {
displayName: 'Mic/Siri (Salon Apple TV)',
UUID: '00000049-0000-1000-8000-0026BB765291',
subtype: undefined,
iid: null,
characteristics: [Array],
optionalCharacteristics: [Array],
isHiddenService: false,
isPrimaryService: false,
linkedServices: [] },
characteristics: { name: [Object], switchState: [Object] } },
manufacturer: 'Apple',
model: 'Apple TV',
serialNumber: '2454d3b9-169c-4edf',
device: undefined,
ignoreAccessory: true }
[2018-9-25 14:53:11] [Apple TV] [31m[CONFIG ERROR][0m Play (Salon Apple TV); No connected device could be found with a [33mdeviceID[0m of "-----------".
switchAccessory SwitchAccessory {
serviceManagerType: 'ServiceManager',
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
config:
{ name: 'Play (Salon Apple TV)',
command: 'play',
deviceID: '----------',
persistState: false,
offDuration: 0.1,
onDuration: 0.1,
enableAutoOn: false,
enableAutoOff: true },
host: undefined,
name: 'Play (Salon Apple TV)',
data: undefined,
state: { switchState: false },
serviceManager:
ServiceManager {
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
service:
Service {
displayName: 'Play (Salon Apple TV)',
UUID: '00000049-0000-1000-',
subtype: undefined,
iid: null,
characteristics: [Array],
optionalCharacteristics: [Array],
isHiddenService: false,
isPrimaryService: false,
linkedServices: [] },
characteristics: { name: [Object], switchState: [Object] } },
manufacturer: 'Apple',
model: 'Apple TV',
serialNumber: '2a5979dd-6ead-4f01',
device: undefined,
ignoreAccessory: true }
[2018-9-25 14:53:11] [Apple TV] [31m[CONFIG ERROR][0m Pause (Salon Apple TV); No connected device could be found with a [33mdeviceID[0m of "---------".
switchAccessory SwitchAccessory {
serviceManagerType: 'ServiceManager',
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
config:
{ name: 'Pause (Salon Apple TV)',
command: 'pause',
deviceID: '----------',
persistState: false,
offDuration: 0.1,
onDuration: 0.1,
enableAutoOn: false,
enableAutoOff: true },
host: undefined,
name: 'Pause (Salon Apple TV)',
data: undefined,
state: { switchState: false },
serviceManager:
ServiceManager {
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
service:
Service {
displayName: 'Pause (Salon Apple TV)',
UUID: '00000049-0000-1000',
subtype: undefined,
iid: null,
characteristics: [Array],
optionalCharacteristics: [Array],
isHiddenService: false,
isPrimaryService: false,
linkedServices: [] },
characteristics: { name: [Object], switchState: [Object] } },
manufacturer: 'Apple',
model: 'Apple TV',
serialNumber: 'a8f4d13d-b4ea-48b5',
device: undefined,
ignoreAccessory: true }
[2018-9-25 14:53:11] [Apple TV] [31m[CONFIG ERROR][0m Up (Salon Apple TV); No connected device could be found with a [33mdeviceID[0m of "--------".
switchAccessory SwitchAccessory {
serviceManagerType: 'ServiceManager',
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
config:
{ name: 'Up (Salon Apple TV)',
command: 'up',
deviceID: '----------',
persistState: false,
offDuration: 0.1,
onDuration: 0.1,
enableAutoOn: false,
enableAutoOff: true },
host: undefined,
name: 'Up (Salon Apple TV)',
data: undefined,
state: { switchState: false },
serviceManager:
ServiceManager {
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
service:
Service {
displayName: 'Up (Salon Apple TV)',
UUID: '00000049-0000-1000',
subtype: undefined,
iid: null,
characteristics: [Array],
optionalCharacteristics: [Array],
isHiddenService: false,
isPrimaryService: false,
linkedServices: [] },
characteristics: { name: [Object], switchState: [Object] } },
manufacturer: 'Apple',
model: 'Apple TV',
serialNumber: '59cd19e0-c0da',
device: undefined,
ignoreAccessory: true }
[2018-9-25 14:53:11] [Apple TV] [31m[CONFIG ERROR][0m Down (Salon Apple TV); No connected device could be found with a [33mdeviceID[0m of "------------".
switchAccessory SwitchAccessory {
serviceManagerType: 'ServiceManager',
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
config:
{ name: 'Down (Salon Apple TV)',
command: 'down',
deviceID: '------',
persistState: false,
offDuration: 0.1,
onDuration: 0.1,
enableAutoOn: false,
enableAutoOff: true },
host: undefined,
name: 'Down (Salon Apple TV)',
data: undefined,
state: { switchState: false },
serviceManager:
ServiceManager {
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
service:
Service {
displayName: 'Down (Salon Apple TV)',
UUID: '00000049-0000-1000',
subtype: undefined,
iid: null,
characteristics: [Array],
optionalCharacteristics: [Array],
isHiddenService: false,
isPrimaryService: false,
linkedServices: [] },
characteristics: { name: [Object], switchState: [Object] } },
manufacturer: 'Apple',
model: 'Apple TV',
serialNumber: 'c46627e6-3c61-416a',
device: undefined,
ignoreAccessory: true }
[2018-9-25 14:53:11] [Apple TV] [31m[CONFIG ERROR][0m Left (Salon Apple TV); No connected device could be found with a [33mdeviceID[0m of "------------".
switchAccessory SwitchAccessory {
serviceManagerType: 'ServiceManager',
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
config:
{ name: 'Left (Salon Apple TV)',
command: 'left',
deviceID: '---------',
persistState: false,
offDuration: 0.1,
onDuration: 0.1,
enableAutoOn: false,
enableAutoOff: true },
host: undefined,
name: 'Left (Salon Apple TV)',
data: undefined,
state: { switchState: false },
serviceManager:
ServiceManager {
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
service:
Service {
displayName: 'Left (Salon Apple TV)',
UUID: '00000049-0000-1000',
subtype: undefined,
iid: null,
characteristics: [Array],
optionalCharacteristics: [Array],
isHiddenService: false,
isPrimaryService: false,
linkedServices: [] },
characteristics: { name: [Object], switchState: [Object] } },
manufacturer: 'Apple',
model: 'Apple TV',
serialNumber: '81ce6a6d-3f73-4e4d',
device: undefined,
ignoreAccessory: true }
[2018-9-25 14:53:11] [Apple TV] [31m[CONFIG ERROR][0m Right (Salon Apple TV); No connected device could be found with a [33mdeviceID[0m of "-----------".
switchAccessory SwitchAccessory {
serviceManagerType: 'ServiceManager',
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
config:
{ name: 'Right (Salon Apple TV)',
command: 'right',
deviceID: '--------',
persistState: false,
offDuration: 0.1,
onDuration: 0.1,
enableAutoOn: false,
enableAutoOff: true },
host: undefined,
name: 'Right (Salon Apple TV)',
data: undefined,
state: { switchState: false },
serviceManager:
ServiceManager {
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
service:
Service {
displayName: 'Right (Salon Apple TV)',
UUID: '00000049-0000-1000',
subtype: undefined,
iid: null,
characteristics: [Array],
optionalCharacteristics: [Array],
isHiddenService: false,
isPrimaryService: false,
linkedServices: [] },
characteristics: { name: [Object], switchState: [Object] } },
manufacturer: 'Apple',
model: 'Apple TV',
serialNumber: '210d4a9e-f417',
device: undefined,
ignoreAccessory: true }
[2018-9-25 14:53:11] [Apple TV] [31m[CONFIG ERROR][0m Select (Salon Apple TV); No connected device could be found with a [33mdeviceID[0m of "-----------".
switchAccessory SwitchAccessory {
serviceManagerType: 'ServiceManager',
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
config:
{ name: 'Select (Salon Apple TV)',
command: 'select',
deviceID: '------',
persistState: false,
offDuration: 0.1,
onDuration: 0.1,
enableAutoOn: false,
enableAutoOff: true },
host: undefined,
name: 'Select (Salon Apple TV)',
data: undefined,
state: { switchState: false },
serviceManager:
ServiceManager {
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
service:
Service {
displayName: 'Select (Salon Apple TV)',
UUID: '00000049-0000-1000',
subtype: undefined,
iid: null,
characteristics: [Array],
optionalCharacteristics: [Array],
isHiddenService: false,
isPrimaryService: false,
linkedServices: [] },
characteristics: { name: [Object], switchState: [Object] } },
manufacturer: 'Apple',
model: 'Apple TV',
serialNumber: '9b65b488-7d42-4a59',
device: undefined,
ignoreAccessory: true }
[2018-9-25 14:53:11] [Apple TV] [31m[CONFIG ERROR][0m Sleep (Salon Apple TV); No connected device could be found with a [33mdeviceID[0m of "-----------".
switchAccessory SwitchAccessory {
serviceManagerType: 'ServiceManager',
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
config:
{ name: 'Sleep (Salon Apple TV)',
command: 'sleep',
deviceID: '---------',
persistState: false,
offDuration: 0.1,
onDuration: 0.1,
enableAutoOn: false,
enableAutoOff: true },
host: undefined,
name: 'Sleep (Salon Apple TV)',
data: undefined,
state: { switchState: false },
serviceManager:
ServiceManager {
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'Apple TV' },
service:
Service {
displayName: 'Sleep (Salon Apple TV)',
UUID: '00000049-0000-1000',
subtype: undefined,
iid: null,
characteristics: [Array],
optionalCharacteristics: [Array],
isHiddenService: false,
isPrimaryService: false,
linkedServices: [] },
characteristics: { name: [Object], switchState: [Object] } },
manufacturer: 'Apple',
model: 'Apple TV',
serialNumber: '84698cac-0f4c------',
device: undefined,
ignoreAccessory: true }
[2018-9-25 14:53:11] [Apple TV] [35m[INFO][0m Added default switches for Apple TV (Salon Apple TV).
[2018-9-25 14:53:11] [Apple TV] No accessories have been added to the "Apple TV" platform config.
[2018-9-25 14:53:11] [Apple TV] Initializing platform accessory 'Menu (Salon Apple TV)'...
[2018-9-25 14:53:11] [Apple TV] Initializing platform accessory 'TV/Home (Salon Apple TV)'...
[2018-9-25 14:53:11] [Apple TV] Initializing platform accessory 'Mic/Siri (Salon Apple TV)'...
[2018-9-25 14:53:11] [Apple TV] Initializing platform accessory 'Play (Salon Apple TV)'...
[2018-9-25 14:53:11] [Apple TV] Initializing platform accessory 'Pause (Salon Apple TV)'...
[2018-9-25 14:53:11] [Apple TV] Initializing platform accessory 'Up (Salon Apple TV)'...
[2018-9-25 14:53:11] [Apple TV] Initializing platform accessory 'Down (Salon Apple TV)'...
[2018-9-25 14:53:11] [Apple TV] Initializing platform accessory 'Left (Salon Apple TV)'...
[2018-9-25 14:53:11] [Apple TV] Initializing platform accessory 'Right (Salon Apple TV)'...
[2018-9-25 14:53:11] [Apple TV] Initializing platform accessory 'Select (Salon Apple TV)'...
[2018-9-25 14:53:11] [Apple TV] Initializing platform accessory 'Sleep (Salon Apple TV)'...
Setup Payload:
X-HM://0023ISYWY8932
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
[2018-9-25 14:53:11] Homebridge is running on port 51826.
[2018-9-25 14:53:31] [Apple TV] Pause (Salon Apple TV) setSwitchState: true
[2018-9-25 14:53:31] [Apple TV] Pause (Salon Apple TV) sendCommand ([33mpause[0m)
(node:16409) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sendKeyPressAndRelease' of undefined
at module.exports (/usr/lib/node_modules/homebridge-apple-tv/helpers/sendCommand.js:22:21)
at SwitchAccessory.performSend (/usr/lib/node_modules/homebridge-apple-tv/accessories/accessory.js:39:7)
at SwitchAccessory.setSwitchState (/usr/lib/node_modules/homebridge-apple-tv/accessories/switch.js:78:29)
at SwitchAccessory.setCharacteristicValue (/usr/lib/node_modules/homebridge-apple-tv/node_modules/homebridge-platform-helper/accessory.js:139:10)
at emitMany (events.js:147:13)
at Characteristic.On.emit (events.js:224:7)
at Characteristic.On.Characteristic.setValue (/var/www/html/plugins/homebridge/resources/node_modules/hap-nodejs/lib/Characteristic.js:320:10)
at Bridge.<anonymous> (/var/www/html/plugins/homebridge/resources/node_modules/hap-nodejs/lib/Accessory.js:871:22)
at Array.forEach (<anonymous>:null:null)
at Bridge.Accessory._handleSetCharacteristics (/var/www/html/plugins/homebridge/resources/node_modules/hap-nodejs/lib/Accessory.js:811:8)
at emitMany (events.js:147:13)
at HAPServer.emit (events.js:224:7)
at HAPServer._handleCharacteristics (/var/www/html/plugins/homebridge/resources/node_modules/hap-nodejs/lib/HAPServer.js:972:10)
at HAPServer.<anonymous> (/var/www/html/plugins/homebridge/resources/node_modules/hap-nodejs/lib/HAPServer.js:209:39)
at emitNone (events.js:106:13)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
(node:16409) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:16409) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[2018-9-25 14:53:31] [Alexa] PlaybackController Pause 192.168.1.65 51826 { characteristics: [ { aid: 47, iid: 10, status: 0 } ] } null
Dernière édition par sylvestre le 25 sept. 2018, 15:12, édité 1 fois.

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6214
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: homebridge et alexa

Message par Nebz » 25 sept. 2018, 15:02

mmm alors je sais pas.... le message d'erreur est toujours là... essaye de voir avec eux car là je calle
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

sylvestre
Timide
Messages : 14
Inscription : 23 sept. 2018, 16:39

Re: homebridge et alexa

Message par sylvestre » 25 sept. 2018, 15:09

Ok merci pour le temps que tu as passé à chercher.
si je trouve la solution, je n'hésiterai pas à la communiquer.

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6214
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: homebridge et alexa

Message par Nebz » 25 sept. 2018, 15:28

ok merci :)

sinon en beta j'ai un plugin pour Jeedom qui se prépare :)
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

sylvestre
Timide
Messages : 14
Inscription : 23 sept. 2018, 16:39

Re: homebridge et alexa

Message par sylvestre » 25 sept. 2018, 15:49

Si tu as besoin, je veux bien être beta testeur.

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6214
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: homebridge et alexa

Message par Nebz » 25 sept. 2018, 15:50

si tu es déjà en beta, oui tu peux l'utiliser :)
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Kyoshi
Timide
Messages : 363
Inscription : 04 mai 2018, 14:05

Re: homebridge et alexa

Message par Kyoshi » 07 oct. 2018, 22:30

Hello,

Est-ce que avec ce plugin, pour faire agir Alexa sur mes modules configurés dans Jeedom, je dois avec mon pont homebridge chez moi au même moment ?
Je n'ai pas encore le plugin homebridge et pas d'iPhone. La femme a un iPhone.
Si elle n'est pas à la maison (on a pas d'autres ponts), puis-je demander à Alexa de fermer les volets?

Je cherche une alternative au plugin officiel Alexa... Dans devoir ouvrir mon Jeedom au monde extérieur et sans payer un abonnement dont personne n'est capable de donner un tarif (peu cher... C'est relatif...). Et ceci tout en utilisant les Amazon Echo (je suis prêt à ouvrir mon Jeedom à la terre entière mais tant que je ne connaîtrais pas le tarif ou qu'une solution aussi viable me permet de ne pas exposer mon Jeedom à la terre entière, je suis partant).

Répondre

Revenir vers « [Plugin Tiers] Homebridge »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 1 invité