i am up to getting my device id and device secret but i have tried entering the details as a command
MATRIX_DEVICE_ID=dc7a1a71be2d
MATRIX_DEVICE_SECRET=08629018e9d793a7a10ea823ad15894da0c3616dec7aab85b4ecf17
if i do this i dont get an error so i assume this has been acepted but if i try to run index.js i get
pi@MAtrix:~/matrix-os $ node index.js
Environment Selected: rc
Loading Core Matrix Files
Loading... device
Loading... event
Loading... service
DEVICE { info:
[ { driver_name: 'IMU',
base_port: 20013,
provides_updates: true,
delay_between_updates: 1000,
needs_pings: true,
timeout_after_last_ping: 5000,
notes_for_human: 'Provides yaw/pitch/roll. Check Imu message (protocol buffer)' },
{ driver_name: 'Humidity',
base_port: 20017,
provides_updates: true,
delay_between_updates: 1000,
needs_pings: true,
timeout_after_last_ping: 5000,
notes_for_human: 'Provides humidity and temperature. Check Humidity message (protocol buffer)' },
{ driver_name: 'Everloop',
base_port: 20021,
provides_updates: false,
delay_between_updates: 1000,
needs_pings: false,
timeout_after_last_ping: 5000,
notes_for_human: 'Write-only. There are 35 leds. Values range from 0 to 255. Check message EverloopImage (protocol buffer)' },
{ driver_name: 'Pressure',
base_port: 20025,
provides_updates: true,
delay_between_updates: 1000,
needs_pings: true,
timeout_after_last_ping: 5000,
notes_for_human: 'Provides barometer/altimeter and temperature. Check Pressure message (protocol buffer)' },
{ driver_name: 'UV',
base_port: 20029,
provides_updates: true,
delay_between_updates: 1000,
needs_pings: true,
timeout_after_last_ping: 5000,
notes_for_human: 'Provides UV index. Check UV index message (protocol buffer). Also provides a string with the UV risk according to the OMS. See: https://www.epa.gov/sunsafety/uv-index-scale-0' } ] }
Device Error { status: 'error',
status_code: 400,
error: 'Missing deviceSecret parameter.' }
API Error: 400 - Missing deviceSecret parameter.
and the lights just spin round on my matrix
any ideas