Forum
Tradfri von IKEA (Netzwerktechnik)
Hallo Bastelix,
tradfri ist installiert
wenn ich folgende Zeile eingebe (mit meinen Daten)
node node_modules/node-tradfri/dtls.js 192.168.0.33 ABCDEFGHIJKLM
dann kommt die Meldung
/node-tradfri/dtls.js
nicht gefunden
» » Hallo Bastelix,
» » ehrlich gesagt kann ich mit der CoAP nichts anfangen
» Hallo hansi,
»
» wenn ich das richtig überrissen habe ist CoAP das Backend für deinen
» Tradfri node. Sieht man im (von mir ) grün umrahmten Bereich deines
» Screenshots:
»
»
»
» Auf der verlinkten Seite steht im oberen drittel First steps und da wird
» beschrieben wie man die Identity erstellt/einrichtet
» Hier der Abschnitt den ich meine von
» https://github.com/morzzz007/node-tradfri
» » First steps
» »
» » Obtain the TRÅDFRI Gateway's IP address and Security Code (found at
» the bottom of the gateway)
» » Generate a DTLS IDENTITY and a PRE_SHARED_KEY
» »
» » How to generate a DTLS Identity
» »
» » The identities will expire after 6 weeks without any usage. Each time
» you use it the expiration will be moved in time. That means that you should
» not need to think about renewals of the identities as long as it is used
» continuously.
» »
» » Use the included script
» »
» » node node_modules/node-tradfri/dtls.js HUB_IP_ADDRESS SECURITY_CODE
» (COAP_CLIENT_PATH [optional])
» »
» » Example: node node_modules/node-tradfri/dtls.js 192.168.0.33
» ABCDEFGHIJKLM
» » Manually
» »
» » coap-client -m post -u "Client_identity" -k "SECURITY_CODE" -e
» '{"9090":"IDENTITY"}' "coaps://IP_ADDRESS:5684/15011/9063"
Gesamter Thread: