Open elbugs opened 7 years ago
I have the same issue: Ramons-iMac-2:~ ramoncollado$ homebridge [2017-10-9 23:35:55] Loaded plugin: homebridge-vantage [2017-10-9 23:35:55] Registering platform 'homebridge-vantage.VantageControls' [2017-10-9 23:35:55] --- [2017-10-9 23:35:55] Loaded config.json with 0 accessories and 1 platforms. [2017-10-9 23:35:55] --- [2017-10-9 23:35:55] Loading 1 platforms... [2017-10-9 23:35:55] [VantageControls] Initializing VantageControls platform... [2017-10-9 23:35:55] [VantageControls] VantagePlatform for InFusion Controller at 192.168.1.201 [2017-10-9 23:35:55] Loading 0 accessories... [2017-10-9 23:35:56] [VantageControls] VantagePlatform for InFusion Controller (end configuration store) [2017-10-9 23:35:56] [VantageControls] VantagePlatform for InFusion Controller (is open for business) Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 342-52-220 │
└────────────┘
[2017-10-9 23:35:56] Homebridge is running on port 51826.
Facing the exact same issue. Were you guys able to resolve it?
No, kinda gave up on it. Sorry!
Sent from my iPhone
On Oct 24, 2017, at 4:56 AM, gulfautosys notifications@github.com wrote:
Facing the exact same issue. Were you guys able to resolve it?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Do you have a backup configuration file on Backup\Project.dc path in the controller's SD?
I cannot get this to work. It wouldn't install correctly once again, to /usr/local/lib/node_modules with my other home bridge modules. I had to manually drag it then run the nom installer again. If I add it to my config.son file it hangs in Terminal just before displaying the home kit code. I noticed this hang point is just before it registers the accessories in the persist folder. They never get written to that folder. Not sure what the heck is going on. Take the vantage platform code out - problem goes away. Any ideas?
I wasn’t able to get it to work either.
Sent from my iPhone
On Mar 24, 2018, at 9:58 PM, geofbuck notifications@github.com wrote:
I cannot get this to work. It wouldn't install correctly once again, to /usr/local/lib/node_modules with my other home bridge modules. I had to manually drag it then run the nom installer again. If I add it to my config.son file it hangs in Terminal just before displaying the home kit code. I noticed this hang point is just before it registers the accessories in the persist folder. They never get written to that folder. Not sure what the heck is going on. Take the vantage platform code out - problem goes away. Any ideas?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Do you have a backup configuration file on Backup\Project.dc path in the controller's SD?
I’ll try that today and give feedback.
El 25 mar 2018, a las 9:59, angeloxx notifications@github.com escribió:
Do you have a backup configuration file on Backup\Project.dc path in the controller's SD?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hmm, think I got the node version figured out but when I run in terminal I get: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode. That is what is causing the plugin not to load for me.
OK I did a clean install of node 5.10.0 and homebridge. Whenr I install homebridge-vantage (had to use --unsafe-perm) it installs but there are some strange errors in terminal during installation. Calling homebridge initially runs, but dropping the homebridge-vantage config.json into ~/.homebridge folder and restart takes me right back to SyntaxError: Block-scoped..... and the plugin refuses to load. It displays this:
at exports.runinthiscontext (vm.js:53:16) at Module._compile (module.js:387:25) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Module.require (module.js:367:17) at require (internal/module.js:16:19) at Plugin.load (/usr/local/lib/node_modules/homebridge/lib/server.js:142:14) at Array.forEach (native)
Ok solved all the load issues. All related to dependencies with npm and nodejs. I can get it to run but no accessories show up just like Ramon1536 said. My Infusion controller is running software version 3.8.2. I saved the full program, and loaded it back from the memory card to confirm its backed up. I don't think that's the issue with the plugin not seeing the Vantage accessories. I have a simple test system, 1 controller and 1 UDM module with a Dali/DMX gateway. 10 loads total in the program.
Update: My home bridge instance ran 2 times but with no accessories for the Vantage platform. Now it just hangs at loading 0 accessories. Troubleshooting continues.....
What's the latest version of Infusion firmware that anyone ran that actually worked? My processor is running 3.8.2 but I may try to downgrade it to see if I get any communication.
To answer your question angeloxx, yes I have a backup project saved to the memory card. I did a backup to the SD card directly from the front display on the IC. Multiple times as well, and I restored one of the backups just to make sure it was good. Does it matter what the dc file is named? Also, I can only get this plugin to load to "open for business" then it hangs. It never writes files to the persist folder as well.
Ok, I resolved the issue with homebridge hang and can get it load reliably every time. I can also add the instance to an iOS device with no issue. However, it never loads any accessories from the running vantage program, same as mentioned above. I can confirm that a project.dc file does exist on the memory card.
Here is my output when I try a clean install of latest node, gcc, homebridge, and homebridge-vantage:
pi@raspberrypi:~ $ sudo npm install -g --unsafe-perm homebridge-vantage
node-expat@2.3.16 install /usr/lib/node_modules/homebridge-vantage/node_modules/node-expat node-gyp rebuild
make: Entering directory '/usr/lib/node_modules/homebridge-vantage/node_modules/node-expat/build'
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
../deps/libexpat/lib/xmlparse.c: In function ‘gather_time_entropy’:
../deps/libexpat/lib/xmlparse.c:780:7: warning: variable ‘gettimeofday_res’ set but not used [-Wunused-but-set-variable]
int gettimeofday_res;
^~~~
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
AR(target) Release/obj.target/deps/libexpat/libexpat.a
COPY Release/libexpat.a
CXX(target) Release/obj.target/node_expat/node-expat.o
In file included from ../../nan/nan.h:190:0,
from ../node-expat.cc:1:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe~~~~~
SOLINK_MODULE(target) Release/obj.target/node_expat.node
COPY Release/node_expat.node
make: Leaving directory '/usr/lib/node_modules/homebridge-vantage/node_modules/node-expat/build'
libxmljs@0.18.7 install /usr/lib/node_modules/homebridge-vantage/node_modules/libxmljs node-pre-gyp install --fallback-to-build --loglevel http
node-pre-gyp http GET https://github.com/libxmljs/libxmljs/releases/download/v0.18.7/node-v59-linux-arm.tar.gz
node-pre-gyp http 404 https://github.com/libxmljs/libxmljs/releases/download/v0.18.7/node-v59-linux-arm.tar.gz
node-pre-gyp ERR! Tried to download(404): https://github.com/libxmljs/libxmljs/releases/download/v0.18.7/node-v59-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for libxmljs@0.18.7 and node@9.9.0 (node-v59 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://github.com/libxmljs/libxmljs/releases/download/v0.18.7/node-v59-linux-arm.tar.gz
make: Entering directory '/usr/lib/node_modules/homebridge-vantage/node_modules/libxmljs/build'
CXX(target) Release/obj.target/xmljs/src/libxmljs.o
In file included from ../../nan/nan.h:190:0,
from ../src/libxmljs.h:7,
from ../src/libxmljs.cc:7:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe~~~~~
CXX(target) Release/obj.target/xmljs/src/xml_attribute.o
In file included from ../../nan/nan.h:190:0,
from ../src/libxmljs.h:7,
from ../src/xml_attribute.h:5,
from ../src/xml_attribute.cc:2:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe~~~~~
CXX(target) Release/obj.target/xmljs/src/xml_document.o
In file included from ../../nan/nan.h:190:0,
from ../src/libxmljs.h:7,
from ../src/xml_document.h:7,
from ../src/xml_document.cc:15:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe~~~~~
CXX(target) Release/obj.target/xmljs/src/xml_element.o
In file included from ../../nan/nan.h:190:0,
from ../src/libxmljs.h:7,
from ../src/xml_element.cc:7:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe~~~~~
CXX(target) Release/obj.target/xmljs/src/xml_comment.o
In file included from ../../nan/nan.h:190:0,
from ../src/libxmljs.h:7,
from ../src/xml_comment.cc:5:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe~~~~~
CXX(target) Release/obj.target/xmljs/src/xml_namespace.o
In file included from ../../nan/nan.h:190:0,
from ../src/xml_namespace.h:8,
from ../src/xml_namespace.cc:5:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe~~~~~
CXX(target) Release/obj.target/xmljs/src/xml_node.o
In file included from ../../nan/nan.h:190:0,
from ../src/xml_node.h:6,
from ../src/xml_node.cc:7:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe~~~~~
CXX(target) Release/obj.target/xmljs/src/xml_sax_parser.o
In file included from ../../nan/nan.h:190:0,
from ../src/libxmljs.h:7,
from ../src/xml_sax_parser.cc:7:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe~~~~~
CXX(target) Release/obj.target/xmljs/src/xml_syntax_error.o
In file included from ../../nan/nan.h:190:0,
from ../src/libxmljs.h:7,
from ../src/xml_syntax_error.h:7,
from ../src/xml_syntax_error.cc:5:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe~~~~~
CXX(target) Release/obj.target/xmljs/src/xml_text.o
In file included from ../../nan/nan.h:190:0,
from ../src/libxmljs.h:7,
from ../src/xml_text.cc:7:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe~~~~~
CXX(target) Release/obj.target/xmljs/src/xml_xpath_context.o
In file included from ../../nan/nan.h:190:0,
from ../src/libxmljs.h:7,
from ../src/xml_xpath_context.h:7,
from ../src/xml_xpath_context.cc:6:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe~~~~~
CC(target) Release/obj.target/xmljs/vendor/libxml/buf.o
../vendor/libxml/buf.c: In function ‘xmlBufMemoryError’:
../vendor/libxml/buf.c:94:5: warning: too many arguments for format [-Wformat-extra-args]
xmlSimpleError(XML_FROM_BUFFER, XML_ERR_NO_MEMORY, NULL, NULL, extra);
^~~~
../vendor/libxml/buf.c: In function ‘xmlBufOverflowError’:
../vendor/libxml/buf.c:109:5: warning: too many arguments for format [-Wformat-extra-args]
xmlSimpleError(XML_FROM_BUFFER, XML_BUF_OVERFLOW, NULL, NULL, extra);
^~~~
CC(target) Release/obj.target/xmljs/vendor/libxml/catalog.o
CC(target) Release/obj.target/xmljs/vendor/libxml/chvalid.o
CC(target) Release/obj.target/xmljs/vendor/libxml/dict.o
../vendor/libxml/dict.c: In function ‘xmlDictAddString’:
../vendor/libxml/dict.c:252:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pool->end - pool->free > namelen)
^
../vendor/libxml/dict.c: In function ‘xmlDictAddQString’:
../vendor/libxml/dict.c:320:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pool->end - pool->free > namelen + plen + 1)
^
CC(target) Release/obj.target/xmljs/vendor/libxml/encoding.o
../vendor/libxml/encoding.c: In function ‘xmlEncodingErrMemory’:
../vendor/libxml/encoding.c:86:5: warning: too many arguments for format [-Wformat-extra-args]
xmlSimpleError(XML_FROM_I18N, XML_ERR_NO_MEMORY, NULL, NULL, extra);
^~~~
../vendor/libxml/encoding.c: In function ‘xmlCharEncCloseFunc’:
../vendor/libxml/encoding.c:2856:12: warning: variable ‘handler_in_list’ set but not used [-Wunused-but-set-variable]
int i, handler_in_list = 0;
^~~~~~~
CC(target) Release/obj.target/xmljs/vendor/libxml/entities.o
../vendor/libxml/entities.c: In function ‘xmlEntitiesErrMemory’:
../vendor/libxml/entities.c:76:5: warning: too many arguments for format [-Wformat-extra-args]
xmlSimpleError(XML_FROM_TREE, XML_ERR_NO_MEMORY, NULL, NULL, extra);
^~~~
CC(target) Release/obj.target/xmljs/vendor/libxml/error.o
CC(target) Release/obj.target/xmljs/vendor/libxml/globals.o
CC(target) Release/obj.target/xmljs/vendor/libxml/hash.o
CC(target) Release/obj.target/xmljs/vendor/libxml/HTMLparser.o
CC(target) Release/obj.target/xmljs/vendor/libxml/HTMLtree.o
../vendor/libxml/HTMLtree.c: In function ‘htmlSaveErrMemory’:
../vendor/libxml/HTMLtree.c:355:5: warning: too many arguments for format [-Wformat-extra-args]
xmlSimpleError(XML_FROM_OUTPUT, XML_ERR_NO_MEMORY, NULL, NULL, extra);
^~~~
CC(target) Release/obj.target/xmljs/vendor/libxml/legacy.o
CC(target) Release/obj.target/xmljs/vendor/libxml/list.o
CC(target) Release/obj.target/xmljs/vendor/libxml/parser.o
CC(target) Release/obj.target/xmljs/vendor/libxml/parserInternals.o
../vendor/libxml/parserInternals.c: In function ‘xmlNextChar’:
../vendor/libxml/parserInternals.c:473:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (c == 0xC0)
^~
../vendor/libxml/parserInternals.c:475:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if (cur[1] == 0) {
^~
CC(target) Release/obj.target/xmljs/vendor/libxml/pattern.o
CC(target) Release/obj.target/xmljs/vendor/libxml/relaxng.o
CC(target) Release/obj.target/xmljs/vendor/libxml/SAX2.o
CC(target) Release/obj.target/xmljs/vendor/libxml/SAX.o
CC(target) Release/obj.target/xmljs/vendor/libxml/tree.o
../vendor/libxml/tree.c: In function ‘xmlTreeErrMemory’:
../vendor/libxml/tree.c:74:5: warning: too many arguments for format [-Wformat-extra-args]
__xmlSimpleError(XML_FROM_TREE, XML_ERR_NO_MEMORY, NULL, NULL, extra);
^~~~
../vendor/libxml/tree.c: In function ‘xmlGetNodePath’:
../vendor/libxml/tree.c:4758:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (tmp->type == XML_COMMENT_NODE)
^~
../vendor/libxml/tree.c:4760:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
tmp = tmp->next;
^~~
CC(target) Release/obj.target/xmljs/vendor/libxml/threads.o
CC(target) Release/obj.target/xmljs/vendor/libxml/uri.o
CC(target) Release/obj.target/xmljs/vendor/libxml/valid.o
CC(target) Release/obj.target/xmljs/vendor/libxml/xinclude.o
CC(target) Release/obj.target/xmljs/vendor/libxml/xlink.o
CC(target) Release/obj.target/xmljs/vendor/libxml/xmlIO.o
../vendor/libxml/xmlIO.c: In function ‘xmlIOErrMemory’:
../vendor/libxml/xmlIO.c:256:5: warning: too many arguments for format [-Wformat-extra-args]
xmlSimpleError(XML_FROM_IO, XML_ERR_NO_MEMORY, NULL, NULL, extra);
^~~~
CC(target) Release/obj.target/xmljs/vendor/libxml/xmlmemory.o
CC(target) Release/obj.target/xmljs/vendor/libxml/xmlmodule.o
CC(target) Release/obj.target/xmljs/vendor/libxml/xmlreader.o
CC(target) Release/obj.target/xmljs/vendor/libxml/xmlregexp.o
CC(target) Release/obj.target/xmljs/vendor/libxml/xmlsave.o
../vendor/libxml/xmlsave.c: In function ‘xmlSaveErrMemory’:
../vendor/libxml/xmlsave.c:111:5: warning: too many arguments for format [-Wformat-extra-args]
__xmlSimpleError(XML_FROM_OUTPUT, XML_ERR_NO_MEMORY, NULL, NULL, extra);
^~~~
../vendor/libxml/xmlsave.c: In function ‘xhtmlNodeDumpOutput’:
../vendor/libxml/xmlsave.c:1595:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (cur->properties != NULL)
^~
../vendor/libxml/xmlsave.c:1598:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if ((cur->type == XML_ELEMENT_NODE) &&
^~
CC(target) Release/obj.target/xmljs/vendor/libxml/xmlschemas.o
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaPSimpleErr’:
../vendor/libxml/xmlschemas.c:1861:22: warning: too many arguments for format [-Wformat-extra-args]
msg);
^~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaPErrMemory’:
../vendor/libxml/xmlschemas.c:1878:22: warning: too many arguments for format [-Wformat-extra-args]
extra);
^~~~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaVErrMemory’:
../vendor/libxml/xmlschemas.c:2002:22: warning: too many arguments for format [-Wformat-extra-args]
extra);
^~~~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaPResCompAttrErr’:
../vendor/libxml/xmlschemas.c:2834:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (refTypeStr == NULL)
^~
../vendor/libxml/xmlschemas.c:2836:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
xmlSchemaPErrExt(ctxt, ownerElem, error,
^~~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaPValAttrNodeQNameValue’:
../vendor/libxml/xmlschemas.c:5823:6: warning: too many arguments for format [-Wformat-extra-args]
NULL, value, NULL, NULL, NULL);
^~~~
../vendor/libxml/xmlschemas.c: In function ‘xmlGetMaxOccurs’:
../vendor/libxml/xmlschemas.c:6046:3: warning: too many arguments for format [-Wformat-extra-args]
val, NULL, NULL, NULL);
^~~
../vendor/libxml/xmlschemas.c:6060:6: warning: too many arguments for format [-Wformat-extra-args]
val, NULL, NULL, NULL);
^~~
../vendor/libxml/xmlschemas.c:6077:6: warning: too many arguments for format [-Wformat-extra-args]
val, NULL, NULL, NULL);
^~~
../vendor/libxml/xmlschemas.c: In function ‘xmlGetMinOccurs’:
../vendor/libxml/xmlschemas.c:6112:6: warning: too many arguments for format [-Wformat-extra-args]
val, NULL, NULL, NULL);
^~~
../vendor/libxml/xmlschemas.c:6129:6: warning: too many arguments for format [-Wformat-extra-args]
val, NULL, NULL, NULL);
^~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaPGetBoolNodeValue’:
../vendor/libxml/xmlschemas.c:6174:6: warning: too many arguments for format [-Wformat-extra-args]
NULL, NULL, NULL);
^~~~
../vendor/libxml/xmlschemas.c: In function ‘xmlGetBooleanProp’:
../vendor/libxml/xmlschemas.c:6222:6: warning: too many arguments for format [-Wformat-extra-args]
NULL, val, NULL, NULL, NULL);
^~~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaPValAttrNodeValue’:
../vendor/libxml/xmlschemas.c:6327:6: warning: too many arguments for format [-Wformat-extra-args]
type, NULL, value, NULL, NULL, NULL);
^~~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaParseWildcardNs’:
../vendor/libxml/xmlschemas.c:6762:6: warning: too many arguments for format [-Wformat-extra-args]
NULL, NULL, NULL);
^~~~
../vendor/libxml/xmlschemas.c:6800:7: warning: too many arguments for format [-Wformat-extra-args]
nsItem, NULL, NULL, NULL);
^~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaParseLocalAttribute’:
../vendor/libxml/xmlschemas.c:7187:8: warning: too many arguments for format [-Wformat-extra-args]
attrValue, NULL, NULL, NULL);
^~~~~
../vendor/libxml/xmlschemas.c:7207:4: warning: too many arguments for format [-Wformat-extra-args]
attrValue, NULL, NULL, NULL);
^~~~~
../vendor/libxml/xmlschemas.c:7365:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (defValue != NULL)
^~
../vendor/libxml/xmlschemas.c:7367:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if (defValueType == WXS_ATTR_DEF_VAL_FIXED)
^~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaParseElement’:
../vendor/libxml/xmlschemas.c:8628:4: warning: too many arguments for format [-Wformat-extra-args]
attrValue, NULL, NULL, NULL);
^~~~~
../vendor/libxml/xmlschemas.c:8707:4: warning: too many arguments for format [-Wformat-extra-args]
attrValue, NULL, NULL, NULL);
^~~~~
../vendor/libxml/xmlschemas.c:8737:7: warning: too many arguments for format [-Wformat-extra-args]
NULL, NULL, NULL);
^~~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaParseSimpleType’:
../vendor/libxml/xmlschemas.c:9293:7: warning: too many arguments for format [-Wformat-extra-args]
attrValue, NULL, NULL, NULL);
^~~~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaParseSchemaElement’:
../vendor/libxml/xmlschemas.c:9692:3: warning: too many arguments for format [-Wformat-extra-args]
"(qualified | unqualified)", val, NULL, NULL, NULL);
^~~~~~~
../vendor/libxml/xmlschemas.c:9705:3: warning: too many arguments for format [-Wformat-extra-args]
"(qualified | unqualified)", val, NULL, NULL, NULL);
^~~~~~~
../vendor/libxml/xmlschemas.c:9723:3: warning: too many arguments for format [-Wformat-extra-args]
val, NULL, NULL, NULL);
^~~
../vendor/libxml/xmlschemas.c:9739:3: warning: too many arguments for format [-Wformat-extra-args]
val, NULL, NULL, NULL);
^~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaParseImport’:
../vendor/libxml/xmlschemas.c:10762:6: warning: too many arguments for format [-Wformat-extra-args]
NULL, namespaceName, NULL, NULL, NULL);
^~~~
../vendor/libxml/xmlschemas.c:10773:6: warning: too many arguments for format [-Wformat-extra-args]
NULL, schemaLocation, NULL, NULL, NULL);
^~~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaParseComplexType’:
../vendor/libxml/xmlschemas.c:12232:8: warning: too many arguments for format [-Wformat-extra-args]
attrValue, NULL, NULL, NULL);
^~~~~
../vendor/libxml/xmlschemas.c:12250:8: warning: too many arguments for format [-Wformat-extra-args]
attrValue, NULL, NULL, NULL);
^~~~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaValidateFacets’:
../vendor/libxml/xmlschemas.c:24252:3: warning: too many arguments for format [-Wformat-extra-args]
value, len, type, facetLink->facet, NULL, NULL, NULL);
^~~~~
../vendor/libxml/xmlschemas.c:24288:3: warning: too many arguments for format [-Wformat-extra-args]
value, length, type, facetLink->facet, NULL, NULL, NULL);
^~~~~
../vendor/libxml/xmlschemas.c:24340:7: warning: too many arguments for format [-Wformat-extra-args]
value, 0, type, NULL, NULL, NULL, NULL);
^~~~~
../vendor/libxml/xmlschemas.c:24385:4: warning: too many arguments for format [-Wformat-extra-args]
value, 0, type, facet, NULL, NULL, NULL);
^~~~~
../vendor/libxml/xmlschemas.c: In function ‘xmlSchemaSetValidStructuredErrors’:
../vendor/libxml/xmlschemas.c:27789:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (ctxt == NULL)
^~
../vendor/libxml/xmlschemas.c:27791:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
ctxt->serror = serror;
^~~~
CC(target) Release/obj.target/xmljs/vendor/libxml/xmlschemastypes.o
../vendor/libxml/xmlschemastypes.c: In function ‘xmlSchemaTypeErrMemory’:
../vendor/libxml/xmlschemastypes.c:204:5: warning: too many arguments for format [-Wformat-extra-args]
__xmlSimpleError(XML_FROM_DATATYPE, XML_ERR_NO_MEMORY, node, NULL, extra);
^~~~
CC(target) Release/obj.target/xmljs/vendor/libxml/xmlstring.o
CC(target) Release/obj.target/xmljs/vendor/libxml/xmlunicode.o
CC(target) Release/obj.target/xmljs/vendor/libxml/xmlwriter.o
CC(target) Release/obj.target/xmljs/vendor/libxml/xpath.o
In file included from ../vendor/libxml/xpath.c:462:0:
../vendor/libxml/timsort.h: In function ‘libxml_domnode_tim_sort_resize’:
../vendor/libxml/timsort.h:326:80: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
fprintf(stderr, "Error allocating temporary storage for tim sort: need %lu bytes", sizeof(SORT_TYPE) * new_size);
^
../vendor/libxml/timsort.h: In function ‘libxml_domnode_tim_sort_collapse’:
../vendor/libxml/timsort.h:397:19: warning: variable ‘BD’ set but not used [-Wunused-but-set-variable]
int ABC, BCD, BD, CD;
^~
../vendor/libxml/xpath.c: In function ‘xmlXPathNodeCollectAndTest’:
../vendor/libxml/xpath.c:12409:28: warning: comparison between ‘xmlElementType {aka enum ~~~
../vendor/libxml/trionan.c:194:1: warning: ‘trio_is_special_quantity’ defined but not used [-Wunused-function]
trio_is_special_quantity
^~~~~~~~
../vendor/libxml/xpath.c: In function ‘xmlXPathCastNumberToString’:
../vendor/libxml/xpath.c:3197:7: warning: array subscript is above array bounds [-Warray-bounds]
work[buffersize - 1] = 0;
CC(target) Release/obj.target/xmljs/vendor/libxml/xpointer.o
../vendor/libxml/xpointer.c: In function ‘xmlXPtrNewRangeNodePoint’:
../vendor/libxml/xpointer.c:451:21: warning: comparison between ‘xmlElementType {aka enum <anonymous>}’ and ‘enum <anonymous>’ [-Wenum-compare]
if (start->type != XPATH_POINT)
^~
SOLINK(target) Release/obj.target/xmljs.node
COPY Release/xmljs.node
make: Leaving directory '/usr/lib/node_modules/homebridge-vantage/node_modules/libxmljs/build'
> sleep@5.1.1 install /usr/lib/node_modules/homebridge-vantage/node_modules/sleep
> node-gyp rebuild
make: Entering directory '/usr/lib/node_modules/homebridge-vantage/node_modules/sleep/build'
CXX(target) Release/obj.target/node_sleep/sleep.o
In file included from ../../nan/nan.h:190:0,
from ../sleep.cc:2:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../../nan/nan_maybe_43_inl.h:112:73: warning: ‘v8::Maybe<bool> v8::Object::ForceSet(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated: Use CreateDataProperty / DefineOwnProperty [-Wdeprecated-declarations]
return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
^
In file included from /root/.node-gyp/9.9.0/include/node/v8.h:26:0,
from /root/.node-gyp/9.9.0/include/node/node.h:63,
from ../../nan/nan.h:47,
from ../sleep.cc:2:
/root/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: declared here
Maybe<bool> ForceSet(Local<Context> context, Local<Value> key,
^
/root/.node-gyp/9.
I have the plug-in starting up consistently now and can confirm it makes a connection to the processor initially, but it doesn't seem to pull the configuration from /Backup/Project.dc on the installed SD card. It always registers as 1 platform with no accessories. Unfortunately, I am not much of a node.js programmer so I am not sure how to troubleshoot the problem further. I have inserted many types of devices into the Vantage program to see if its a device ID issue, including dimmers, switches, DMX loads, module loads, etc. but still it won't work. Is there a way to force it to pull the config file? I am using a 2nd generation ICII processor (36V), could this be causing the issue? The fact that it connects to the processor easily is half the battle, but I would love to get this to work! I am willing to pay someone to help me get this going!!!
I have the plug-in starting up consistently now and can confirm it makes a connection to the processor initially, but it doesn't seem to pull the configuration from /Backup/Project.dc on the installed SD card. It always registers as 1 platform with no accessories. Unfortunately, I am not much of a node.js programmer so I am not sure how to troubleshoot the problem further. I have inserted many types of devices into the Vantage program to see if its a device ID issue, including dimmers, switches, DMX loads, module loads, etc. but still it won't work. Is there a way to force it to pull the config file? I am using a 2nd generation ICII processor (36V), could this be causing the issue? The fact that it connects to the processor easily is half the battle, but I would love to get this to work! I am willing to pay someone to help me get this going!!!
Geof, I have put together a complete plug and play package that works out of the box. Please send me a direct message and I can send you the device
Has anyone managed to move forward with this package? I have a Vantage setup with dozens od devices connected at home but when I try this I get only thermostat readings and no other accessories...
I am selling the package at https://SmarterHome.io
Let me know if you have any questions. Thanks Salim
On Jul 16, 2019, at 7:16 AM, Michal Pobuda notifications@github.com wrote:
Has anyone managed to move forward with this package? I have a Vantage setup with dozens od devices connected at home but when I try this I get only thermostat readings and no other accessories...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Salimyzadeh is correct it works beautifully. Make sure you do a backup to the SD card from the front of your IC controller first before you add the smarterhome piece with Vantage platform. I initially had the same problem trying to build a homebridge Pi on my own but the SmarterHome appliance worked.
From what I can see this seems to be to do with filters such as:
thisItem.DeviceCategory == "Lighting"
I don't see any usage of DeviceCategory
in my .dc files.
Stopping wasting time and effort on this. Just buy one of these, https://www.smarterhome.io/, and be done. Works great!
Sent from my iPhone
On Jan 12, 2020, at 3:23 AM, Fil Mackay notifications@github.com wrote:
From what I can see this seems to be to do with tests such as: thisItem.DeviceCategory == "Lighting"
I don't see any usage of DeviceCategory in my .dc files.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Hello, I finally could install the plugin. I was having some issues everytime I launched the homebrdige from terminal, (The sleep module was not found) I just deleted the sleep in index.js and now it works.
I don't get any error and I have a nice log, but the system can't find any load.