This works but it gives an error in the docker console and it keeps shutting down mqtt server.
Using '/app/data' as data directory
> [email protected] start /app
> node index.js
2018-5-19 11:28:11 INFO Starting zigbee-shepherd
2018-5-19 11:28:12 INFO zigbee-shepherd started
2018-5-19 11:28:12 INFO Currently 0 devices are joined:
2018-5-19 11:28:12 INFO Connecting to MQTT server at 192.168.85.5
/app/node_modules/q/q.js:155
throw e;
^
Error: Missing protocol
at Object.connect (/app/node_modules/mqtt/lib/connect/index.js:64:13)
at MQTT.connect (/app/lib/mqtt.js:21:28)
at zigbee.start (/app/lib/controller.js:42:27)
at shepherd.start (/app/lib/zigbee.js:29:13)
at /app/node_modules/q/q.js:2055:17
at runSingle (/app/node_modules/q/q.js:137:13)
at flush (/app/node_modules/q/q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node index.js`
npm ERR! Exit status 1
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-05-19T11_28_12_389Z-debug.log
Using '/app/data' as data directory
> [email protected] start /app
> node index.js
Any help on this pleaseā¦
EDIT
Got it working, had just in the configuration.yaml file -
server:ā192.168.85.5ā instead of -
mqtt:
base_topic: zigbee2mqtt
server: āmqtt://192.168.85.5ā
user: xx
password: xx
Does anyone know if the hardware is available anywhere in Europe? I get stung with a ā¬7 customs fee for every package I receive from China and so far I havenāt found a shop with all three items in stock, they either have the debugger or the Cable+dongle so itās at least two packages and thus two fees (essentially doubling the price).
Iām not in the UK but in Sweden and the Swedish Post has recently begun charging a customs fee on all packages from outside the EU because they were flooded with low value packages from China. Unfortunately they canāt handle the large volumes and it takes weeks or even a month to get your package after paying the customs charges.
I checked Amazon.co.uk and eBay.co.uk for European sellers but I couldnāt find all items and those available were 10x the Chinese price. I guess Iāll just have to bite the bullet and order from Chinaā¦
When trying to add anything other than the aqara double switch or the aqara door/window sensor i get the following message on the hassio addon (danielwelch)
spinlock: false []
2018-5-24 14:49:12 INFO New device with address 0x00158d0001a35dfc connected!
/app/node_modules/yaml-js/lib/parser.js:553
throw new exports.ParserError('while parsing a flow mapping', this.marks.slice(-1)[0], "expected ',' or '}', but got " + token.id, token.start_mark);
^
while parsing a flow mapping
on line 4, column 25
expected ',' or '}', but got :
on line 5, column 23
at ParserError.YAMLError [as constructor] (/app/node_modules/yaml-js/lib/errors.js:70:46)
at ParserError.MarkedYAMLError [as constructor] (/app/node_modules/yaml-js/lib/errors.js:90:45)
at new ParserError (/app/node_modules/yaml-js/lib/parser.js:17:48)
at Loader.__dirname.Parser.Parser.parse_flow_mapping_key (/app/node_modules/yaml-js/lib/parser.js:553:19)
at Loader.__dirname.Parser.Parser.check_event (/app/node_modules/yaml-js/lib/parser.js:61:48)
at Loader.__dirname.Composer.Composer.compose_mapping_node (/app/node_modules/yaml-js/lib/composer.js:248:20)
at Loader.__dirname.Composer.Composer.compose_node (/app/node_modules/yaml-js/lib/composer.js:160:21)
at Loader.__dirname.Composer.Composer.compose_mapping_node (/app/node_modules/yaml-js/lib/composer.js:250:27)
at Loader.__dirname.Composer.Composer.compose_node (/app/node_modules/yaml-js/lib/composer.js:160:21)
at Loader.__dirname.Composer.Composer.compose_mapping_node (/app/node_modules/yaml-js/lib/composer.js:250:27)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-05-24T13_49_12_807Z-debug.log
My sniffer kind of works. I have a xiaomi cube, but I cannot get my device to pair. If I enable to debugger, I see the device send signals, I also see its addresse, but It simply wonāt pair. Iām using Daniel Welchās repo for Hassio. I also have Aqara Wall switches which wonāt pair (long press them until they stop blinking). Any advice?
Edit:
Ok, I got the cube running, I just had to press the ālinkā button inside the cube for a longer period. I still canāt pair it with my Aqara Wall Switch though. Nothing what I do seems to make it find itā¦ any help?
Iām having a difficult time with configuring my mqtt url. I run the MQTT add-on for HassIO on one Pi but iāve installed your package on a separate Pi. What would I put for the MQTT server URL?
In my home assistant configuration I have the MQTT component set up per below. Any help would be appreciated.
2018-5-25 10:29:53 INFO Starting zigbee-shepherd
2018-5-25 10:29:54 INFO zigbee-shepherd started
2018-5-25 10:29:54 INFO Currently 0 devices are joined:
2018-5-25 10:29:54 INFO Connecting to MQTT server at mqtt://core-mosquitto
2018-5-25 10:29:54 INFO zigbee-shepherd ready
2018-5-25 10:30:04 ERROR Not connected to MQTT server!