Skip to content

"accepted connection" but no lights #14

@dallen98

Description

@dallen98

First thing to say is great project, I am using raspberry pi 3 with ws2812b leds connected via SN74HCT125N logic buffer. The strandtest.py and singlestrandtest.py both work using... root@raspberrypi:/home/pi/rio/rio-server# python ./firmware/rpi/singlestrandtest.py
Press Ctrl-C to quit.
and...
root@raspberrypi:/home/pi/rio/rio-server# python ./firmware/rpi/strandtest.py
Press Ctrl-C to quit

after reboot I then run this first... root@raspberrypi:/home/pi/rio/rio-server# python ./firmware/rpi/server.py
and get...
Opening socket...
Listening...

In another terminal i then run... root@raspberrypi:/home/pi/rio# npm run server
and get the following output and then the rio gif playing in the terminal window only

rio@0.0.1 server /home/pi/rio
cd ./rio-server && npm start

rio-server@1.0.0 start /home/pi/rio/rio-server
node index.js

warn: SlackDataStore is deprecated and will be removed in the next major version. See project documentation for a migration guide.
error: Response not OK: not_authed
error: Disconnecting because not_authed is not recoverable
error: message=not_authed, stack=Error: not_authed
at handleHttpResponse (/home/pi/rio/rio-server/node_modules/@slack/client/lib/clients/transports/call-transport.js:103:17)
at handleTransportResponse (/home/pi/rio/rio-server/node_modules/@slack/client/lib/clients/transports/call-transport.js:153:19)
at apply (/home/pi/rio/rio-server/node_modules/lodash/lodash.js:478:17)
at wrapper (/home/pi/rio/rio-server/node_modules/lodash/lodash.js:5323:16)
at Request.handleRequestTranportRes (/home/pi/rio/rio-server/node_modules/@slack/client/lib/clients/transports/request.js:21:5)
at apply (/home/pi/rio/rio-server/node_modules/lodash/lodash.js:478:17)
at Request.wrapper [as _callback] (/home/pi/rio/rio-server/node_modules/lodash/lodash.js:5323:16)
at Request.self.callback (/home/pi/rio/rio-server/node_modules/@slack/client/node_modules/request/request.js:186:22)
at Request.emit (events.js:180:13)
at Request. (/home/pi/rio/rio-server/node_modules/@slack/client/node_modules/request/request.js:1060:10)
at Request.emit (events.js:180:13)
at IncomingMessage. (/home/pi/rio/rio-server/node_modules/@slack/client/node_modules/request/request.js:980:12)
at Object.onceWrapper (events.js:272:13)
at IncomingMessage.emit (events.js:185:15)
at endReadableNT (_stream_readable.js:1106:12)
at process._tickCallback (internal/process/next_tick.js:178:19)

...the rio gif now appears

I can see over in the other terminal that "accepted connection" now appears after the word "Listening"

In a third terminal window I enter this and get app.main...

pi@raspberrypi:~ $ ls /tmp
app.main
dhcpcd-pi
ssh-7ZeY9epPkKdF
ssh-dja66qrhWrUg
systemd-private-81a092c6c05543848163712ddf01092f-systemd-timesyncd.service-OKVx6R

But still no lit leds, perhaps you could steer me in the right direction thanks Dave

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions