[Бридж] Apple HomeKit и MajorDoMo

Разработка дополнительных модулей, подключение различных приложений.

Модератор: immortal

dfrozen
Сообщения: 35
Зарегистрирован: Ср апр 12, 2017 11:42 am
Откуда: Москва
Благодарил (а): 6 раз
Поблагодарили: 5 раз

Re: Интеграция MajorDoMo и HomeKit (iHome)

Сообщение dfrozen » Вт апр 25, 2017 3:26 pm

Да уж, без подробной иснтрукции с помощью кайла, лопаты какойто матери, да тонны мануалов заводится)
MDM Orange Pi Plus2
ARMBIAN 5.25 stable Ubuntu 16.04.2 LTS 3.4.113-sun8i
Аватара пользователя
nick7zmail
Сообщения: 7573
Зарегистрирован: Пн окт 28, 2013 8:14 am
Откуда: Екатеринбург
Благодарил (а): 121 раз
Поблагодарили: 2010 раз

Re: Интеграция MajorDoMo и HomeKit (iHome)

Сообщение nick7zmail » Вт апр 25, 2017 3:28 pm

Вроде уже есть поддержка в базовом образе для raspberry

Отправлено с моего Xperia Z через Tapatalk
Raspberry Pi3+Broadlink+esp8266 (blynk)+AMS
Если вам помогло какое-либо сообщение - не забывайте пользоваться кнопкой "СПАСИБО".
:arrow: Услуги в профиле коннект
>>>>>Мой новый канал на ютутбе, подписывайтесь!<<<<<
dfrozen
Сообщения: 35
Зарегистрирован: Ср апр 12, 2017 11:42 am
Откуда: Москва
Благодарил (а): 6 раз
Поблагодарили: 5 раз

Re: Интеграция MajorDoMo и HomeKit (iHome)

Сообщение dfrozen » Вт апр 25, 2017 5:57 pm

nick7zmail писал(а):Вроде уже есть поддержка в базовом образе для raspberry

Отправлено с моего Xperia Z через Tapatalk
Opange Pi+2 ))) у меня, и бубун понадобился при поднятии homebridge по причине установки пакетов от root, а запускается демон от пользователя homebridge

Однако возник вопрос, это работает только с простыми устройствами?? или если у меня MQTT устройства есть я их тоже могу закинуть без использования промежуточного блока?
За это сообщение автора dfrozen поблагодарил:
lost_post (Чт янв 16, 2020 7:41 pm)
Рейтинг: 1.16%
MDM Orange Pi Plus2
ARMBIAN 5.25 stable Ubuntu 16.04.2 LTS 3.4.113-sun8i
Аватара пользователя
igorewa
Сообщения: 515
Зарегистрирован: Ср дек 21, 2016 11:54 pm
Откуда: Киев
Благодарил (а): 12 раз
Поблагодарили: 43 раза

Re: Интеграция MajorDoMo и HomeKit (iHome)

Сообщение igorewa » Пн май 08, 2017 2:39 pm

Уже 2 месяца пользуюсь , а в MQTT вот такая картина Изображение
Вопрос почему нижние значения не разу не использовались? Я что то сделал неправильно, или так и должно быть?
ASUS H110T, I5 7500, DDR4-16Gb, SSD256 . WIN10 64 (LTSB)
humanam
Сообщения: 2
Зарегистрирован: Вт май 09, 2017 1:40 pm
Благодарил (а): 0
Поблагодарили: 0

Re: Интеграция MajorDoMo и HomeKit (iHome)

Сообщение humanam » Вт май 09, 2017 1:43 pm

C_3AXAPOB писал(а):Почему-то из приложения Дом не получается управлять устройствами. На статусы приложение Дом реагирует т.е. показывает градусы, что включено, что выключено, изменения статусов, но само ничего не может включить/выключить. Иконка меняется на включено/выключено но физическое устройство не реагирует. Что смотреть?
Система на Ubuntu server 16.10.
Здравствуйте, как победить идентичное ?

В X-ray - от телефона ничего не видно
C_3AXAPOB
Сообщения: 510
Зарегистрирован: Ср июн 08, 2016 4:17 pm
Благодарил (а): 124 раза
Поблагодарили: 101 раз

Re: Интеграция MajorDoMo и HomeKit (iHome)

Сообщение C_3AXAPOB » Вт май 09, 2017 2:27 pm

Это уже исправлено.


Отправлено с моего iPhone используя Tapatalk
Orange pi pc plus, megaD-2561, Xiaomi
--------------------------------------------------
http://connect.smartliving.ru/profile/908
humanam
Сообщения: 2
Зарегистрирован: Вт май 09, 2017 1:40 pm
Благодарил (а): 0
Поблагодарили: 0

Re: Интеграция MajorDoMo и HomeKit (iHome)

Сообщение humanam » Вт май 09, 2017 3:35 pm

У меня не реагируют устройства от телефона. В X-Ray нет данных от телефона, хотя телефон видит и реагирует на все устройства и включения из вебморды и из простых устроств. Перепроверил все свойства homebridge.. все как в вышеописанной инструкции.
Akorolev
Сообщения: 119
Зарегистрирован: Вт ноя 08, 2016 4:27 pm
Благодарил (а): 11 раз
Поблагодарили: 10 раз

Re: Интеграция MajorDoMo и HomeKit (iHome)

Сообщение Akorolev » Чт май 11, 2017 7:59 pm

dfrozen писал(а):Да уж, без подробной иснтрукции с помощью кайла, лопаты какойто матери, да тонны мануалов заводится)
А как завел то? У меня при homebridge ошибки валятся в процессе установки:
СпойлерПоказать

Код: Выделить всё

root@raspberrypi:/node-v6.10.3-linux-armv7l# node -v
v6.10.3
root@raspberrypi:/node-v6.10.3-linux-armv7l# sudo npm install -g --unsafe-perm homebridge hap-nodejs node-gyp
/usr/local/bin/homebridge -> /usr/local/lib/node_modules/homebridge/bin/homebridge
/usr/local/bin/node-gyp -> /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js

> curve25519-n2@1.1.3 install /usr/local/lib/node_modules/hap-nodejs/node_modules/curve25519-n2
> node-gyp rebuild

make: Entering directory '/usr/local/lib/node_modules/hap-nodejs/node_modules/curve25519-n2/build'
  CXX(target) Release/obj.target/curve/node_curve.o
In file included from ../node_curve.cc:13:0:
../../nan/nan.h:45:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
In file included from ../node_curve.cc:1:0:
/root/.node-gyp/6.10.3/include/node/v8.h:345:1: error: expected unqualified-id before ‘using’
/root/.node-gyp/6.10.3/include/node/v8.h:481:1: error: expected unqualified-id before ‘using’
/root/.node-gyp/6.10.3/include/node/v8.h:882:1: error: expected unqualified-id before ‘using’
/root/.node-gyp/6.10.3/include/node/v8.h:5432:35: error: ‘virtual v8::EmbedderHeapTracer::~EmbedderHeapTracer()’ declared virtual cannot be defaulted in the class body
In file included from ../../nan/nan.h:192:0,
                 from ../node_curve.cc:13:
../../nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’
../../nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’
../../nan/nan_maybe_43_inl.h:19:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:24:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:29:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:37:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:45:1: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:52:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:60:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:71:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:79:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:87:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:96:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:105:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:115:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:125:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:141:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:149:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:155:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:164:1: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:171:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:179:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:186:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:194:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:202:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:210:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:218:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:226:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:234:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:244:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:254:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:266:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:277:1: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:284:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:290:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:296:8: error: ‘Maybe’ does not name a type
../../nan/nan_maybe_43_inl.h:302:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_maybe_43_inl.h:326:8: error: ‘MaybeLocal’ does not name a type
In file included from ../../nan/nan.h:197:0,
                 from ../node_curve.cc:13:
../../nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type
../../nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type
../../nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:46:1: error: ‘return_t’ does not name a type
In file included from ../../nan/nan_converters.h:59:0,
                 from ../../nan/nan.h:197,
                 from ../node_curve.cc:13:
../../nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Boolean>’ does not name a type
../../nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Number>’ does not name a type
../../nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::String>’ does not name a type
../../nan/nan_converters_43_inl.h:25:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Object>’ does not name a type
../../nan/nan_converters_43_inl.h:26:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Integer>’ does not name a type
../../nan/nan_converters_43_inl.h:27:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Uint32>’ does not name a type
../../nan/nan_converters_43_inl.h:28:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Int32>’ does not name a type
../../nan/nan_converters_43_inl.h:40:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type
../../nan/nan_converters_43_inl.h:41:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type
../../nan/nan_converters_43_inl.h:42:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long long int>’ does not name a type
../../nan/nan_converters_43_inl.h:43:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int>’ does not name a type
../../nan/nan_converters_43_inl.h:44:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a type
In file included from ../../nan/nan.h:198:0,
                 from ../node_curve.cc:13:
../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:
../../nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../../nan/nan_new.h:21:32: note: candidate is:
../../nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:
../../nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../../nan/nan_new.h:28:30: note: candidate is:
../../nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:
../../nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../../nan/nan_new.h:35:31: note: candidate is:
../../nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../../nan/nan_new.h: At global scope:
../../nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type
../../nan/nan_new.h:75:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:141:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:147:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:148:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:160:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:161:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:162:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:163:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:165:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:166:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:182:17: error: ‘return_t’ does not name a type
../../nan/nan_new.h:183:17: error: ‘return_t’ does not name a type
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:198,
                 from ../node_curve.cc:13:
../../nan/nan_implementation_12_inl.h:61:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
../../nan/nan_implementation_12_inl.h:91:46: error: ‘NewInstance’ was not declared in this scope
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’:
../../nan/nan_implementation_12_inl.h:119:48: error: ‘NewInstance’ was not declared in this scope
../../nan/nan_implementation_12_inl.h: At global scope:
../../nan/nan_implementation_12_inl.h:198:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type
../../nan/nan_implementation_12_inl.h:221:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type
../../nan/nan_implementation_12_inl.h:231:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type
../../nan/nan_implementation_12_inl.h:265:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:272:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:278:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:285:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:296:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:344:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type
../../nan/nan_implementation_12_inl.h:351:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type
In file included from ../../nan/nan.h:198:0,
                 from ../node_curve.cc:13:
../../nan/nan_new.h:293:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:299:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:305:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:311:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:317:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:323:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:329:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:335:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type
In file included from ../node_curve.cc:13:0:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:
../../nan/nan.h:664:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:
../../nan/nan.h:664:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:
../../nan/nan.h:665:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:
../../nan/nan.h:665:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:
../../nan/nan.h:666:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:
../../nan/nan.h:666:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:
../../nan/nan.h:667:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:
../../nan/nan.h:667:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:
../../nan/nan.h:668:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:
../../nan/nan.h:668:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: At global scope:
../../nan/nan.h:676:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:698:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:713:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:725:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:741:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:747:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:759:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:770:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:780:10: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1533:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../../nan/nan.h:1551:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:
../../nan/nan.h:1587:58: error: no matching function for call to ‘New(const char*)’
../../nan/nan.h:1587:58: note: candidates are:
../../nan/nan_implementation_12_inl.h:385:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../../nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../../nan/nan_implementation_12_inl.h:395:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../../nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../../nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../../nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../../nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../../nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../../nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../../nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../../nan/nan.h: In function ‘void Nan::imp::SetMethodAux(T, v8::Local<v8::String>, v8::Local<v8::FunctionTemplate>, ...)’:
../../nan/nan.h:1902:34: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]
../../nan/nan.h:1902:34: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../nan/nan.h: In function ‘void Nan::SetMethod(HandleType<T>, const char*, Nan::FunctionCallback)’:
../../nan/nan.h:1914:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)’:
../../nan/nan.h:1929:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
../../nan/nan.h:1954:47: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
../../nan/nan.h:1997:51: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::Value>)’:
../../nan/nan.h:2056:47: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::Value>)’:
../../nan/nan.h:2126:47: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetCallHandler(v8::Local<v8::FunctionTemplate>, Nan::FunctionCallback, v8::Local<v8::Value>)’:
../../nan/nan.h:2181:47: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetCallAsFunctionHandler(v8::Local<v8::ObjectTemplate>, Nan::FunctionCallback, v8::Local<v8::Value>)’:
../../nan/nan.h:2203:47: error: ‘NewInstance’ was not declared in this scope
In file included from ../../nan/nan.h:2226:0,
                 from ../node_curve.cc:13:
../../nan/nan_private.h: At global scope:
../../nan/nan_private.h:12:8: error: ‘Maybe’ does not name a type
../../nan/nan_private.h:25:8: error: ‘MaybeLocal’ does not name a type
../../nan/nan_private.h:44:8: error: ‘Maybe’ does not name a type
../../nan/nan_private.h:59:8: error: ‘Maybe’ does not name a type
In file included from ../node_curve.cc:13:0:
../../nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:
../../nan/nan.h:2236:35: error: no matching function for call to ‘New(const char*&)’
../../nan/nan.h:2236:35: note: candidates are:
../../nan/nan_implementation_12_inl.h:385:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../../nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../../nan/nan_implementation_12_inl.h:395:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../../nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../../nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../../nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../../nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../../nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../../nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../../nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../../nan/nan.h:2237:47: error: ‘GetFunction’ was not declared in this scope
../../nan/nan.h:2237:65: error: ‘Set’ was not declared in this scope
../../nan/nan.h:2237:65: note: suggested alternative:
/root/.node-gyp/6.10.3/include/node/v8.h:3087:17: note:   ‘v8::Set’
../../nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:
../../nan/nan.h:2246:30: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’
../../nan/nan.h:2246:30: note: candidate is:
../../nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../../nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:
../../nan/nan.h:2261:33: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:
../../nan/nan.h:2268:30: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan.h: At global scope:
../../nan/nan.h:2292:17: error: ‘MaybeLocal’ does not name a type
../../nan/nan.h:2297:40: error: ‘MaybeLocal’ was not declared in this scope
../../nan/nan.h:2297:40: note: suggested alternative:
/root/.node-gyp/6.10.3/include/node/v8.h:115:7: note:   ‘v8::MaybeLocal’
../../nan/nan.h:2297:52: error: template argument 1 is invalid
../../nan/nan.h:2297:54: error: expected unqualified-id before ‘>’ token
../../nan/nan.h:2306:8: error: ‘MaybeLocal’ does not name a type
In file included from ../../nan/nan.h:2317:0,
                 from ../node_curve.cc:13:
../../nan/nan_json.h:75:3: error: ‘MaybeLocal’ in namespace ‘Nan’ does not name a type
../../nan/nan_json.h:97:3: error: ‘MaybeLocal’ in namespace ‘Nan’ does not name a type
../../nan/nan_json.h:110:3: error: ‘MaybeLocal’ in namespace ‘Nan’ does not name a type
../../nan/nan_json.h: In constructor ‘Nan::JSON::JSON()’:
../../nan/nan_json.h:30:5: error: ‘MaybeLocal’ is not a member of ‘Nan’
../../nan/nan_json.h:30:5: note: suggested alternative:
/root/.node-gyp/6.10.3/include/node/v8.h:115:7: note:   ‘v8::MaybeLocal’
../../nan/nan_json.h:30:30: error: expected primary-expression before ‘>’ token
../../nan/nan_json.h:30:32: error: ‘maybe_global_json’ was not declared in this scope
../../nan/nan_json.h:30:52: error: ‘Get’ is not a member of ‘Nan’
../../nan/nan_json.h:32:24: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../../nan/nan_json.h:39:5: error: ‘MaybeLocal’ is not a member of ‘Nan’
../../nan/nan_json.h:39:5: note: suggested alternative:
/root/.node-gyp/6.10.3/include/node/v8.h:115:7: note:   ‘v8::MaybeLocal’
../../nan/nan_json.h:39:31: error: expected primary-expression before ‘>’ token
../../nan/nan_json.h:39:33: error: ‘maybe_obj_global_json’ was not declared in this scope
../../nan/nan_json.h:40:42: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’
../../nan/nan_json.h:40:42: note: candidate is:
../../nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../../nan/nan_json.h:58:5: error: ‘MaybeLocal’ is not a member of ‘Nan’
../../nan/nan_json.h:58:5: note: suggested alternative:
/root/.node-gyp/6.10.3/include/node/v8.h:115:7: note:   ‘v8::MaybeLocal’
../../nan/nan_json.h:58:30: error: expected primary-expression before ‘>’ token
../../nan/nan_json.h:58:32: error: ‘maybe_stringify_method’ was not declared in this scope
../../nan/nan_json.h:58:57: error: ‘Get’ is not a member of ‘Nan’
../../nan/nan_json.h:59:42: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_curve.cc: At global scope:
../node_curve.cc:20:23: error: variable or field ‘init’ declared void
../node_curve.cc:20:23: error: ‘Handle’ was not declared in this scope
../node_curve.cc:20:36: error: expected primary-expression before ‘>’ token
../node_curve.cc:20:37: error: expected primary-expression before ‘)’ token
../node_curve.cc:34:23: error: variable or field ‘init’ declared void
../node_curve.cc:34:23: error: ‘Handle’ was not declared in this scope
../node_curve.cc:34:36: error: expected primary-expression before ‘>’ token
../node_curve.cc:34:38: error: ‘target’ was not declared in this scope
../node_curve.cc:40:1: error: ‘init’ was not declared in this scope
../node_curve.cc:22:8: warning: ‘Nan::NAN_METHOD_RETURN_TYPE DoCurve(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
curve.target.mk:92: recipe for target 'Release/obj.target/curve/node_curve.o' failed
make: *** [Release/obj.target/curve/node_curve.o] Error 1
make: Leaving directory '/usr/local/lib/node_modules/hap-nodejs/node_modules/curve25519-n2/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.1.19-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/hap-nodejs/node_modules/curve25519-n2
gyp ERR! node -v v6.10.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
/usr/local/lib
├── homebridge@0.4.20
└── node-gyp@3.6.1

npm ERR! Linux 4.1.19-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "--unsafe-perm" "homebridge" "hap-nodejs" "node-gyp"
npm ERR! node v6.10.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! curve25519-n2@1.1.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the curve25519-n2@1.1.3 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the curve25519-n2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs curve25519-n2
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls curve25519-n2
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /node-v6.10.3-linux-armv7l/npm-debug.log
root@raspberrypi:/node-v6.10.3-linux-armv7l#
Последний раз редактировалось Akorolev Чт май 11, 2017 9:22 pm, всего редактировалось 1 раз.
serghei
Сообщения: 2575
Зарегистрирован: Пт ноя 06, 2015 10:22 am
Откуда: Кишинёв
Благодарил (а): 303 раза
Поблагодарили: 282 раза

Re: Интеграция MajorDoMo и HomeKit (iHome)

Сообщение serghei » Чт май 11, 2017 8:06 pm

Ребята , давайте возьмём за правило длинные коды прятать за спойлер.
AMS : ESP32 + NRF24 + 1Wire-I2C мост DS2482 + счетчик DS2423 + сеть MySensors + редактирование страниц в браузере + Upload по воздуху + SPIFFS
Akorolev
Сообщения: 119
Зарегистрирован: Вт ноя 08, 2016 4:27 pm
Благодарил (а): 11 раз
Поблагодарили: 10 раз

Re: Интеграция MajorDoMo и HomeKit (iHome)

Сообщение Akorolev » Чт май 11, 2017 9:21 pm

serghei писал(а):Ребята , давайте возьмём за правило длинные коды прятать за спойлер.
я прятал но он не отобразился
Ответить