Posted comments (5)

Posted by Thanksforyourcontent at May 4, 2019 23:42:02 CEST
Hello,

many thanks for your IOTA related input and also for your very helpful and high quality content in general. I also appreciate all your videos!

However, concerning this tutorial, I have followed all mentioned steps and everything works fine until I am running mam_sensor.js in step 8. I think this could have maybe something to do with the node? I get the following Error in the console:

failed to attach message:
Error: Invalid Response: Error: getaddrinfo ENOTFOUND nodes.testnet.iota.org nodes.testnet.iota.org:443
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)
at Object.invalidResponse (<myfilephath>\dht11-arduino-uno-master\node_modules\iota.lib.js\lib\errors\requestErrors.js:5:12)
at makeRequest.prepareResult (<myfilephath>\dht11-arduino-uno-master\node_modules\iota.lib.js\lib\utils\makeRequest.js:285:24)
at exports.XMLHttpRequest.request.onreadystatechange (<myfilephath> \dht11-arduino-uno-master\node_modules\iota.lib.js\lib\utils\makeRequest.js:71:25)
at exports.XMLHttpRequest.dispatchEvent (<myfilephath>\dht11-arduino-uno-master\node_modules\xmlhttprequest\lib\XMLHttpRequest.js:591:25)
at setState (<myfilephath>\dht11-arduino-uno-master\node_modules\xmlhttprequest\lib\XMLHttpRequest.js:610:14)
at exports.XMLHttpRequest.handleError (<myfilephath>\dht11-arduino-uno-master\node_modules\xmlhttprequest\lib\XMLHttpRequest.js:532:5)
at ClientRequest.errorHandler (<myfilephath>\dht11-arduino-uno-master\node_modules\xmlhttprequest\lib\XMLHttpRequest.js:459:14)
at ClientRequest.emit (events.js:189:13)
at TLSSocket.socketErrorListener (_http_client.js:392:9)
at TLSSocket.emit (events.js:189:13)


Could you maybe provide a solution fot this? This would be great. I would appreciate any help.

Many thanks.

Kind regards
Posted by Thanksforyourcontent at May 4, 2019 23:49:45 CEST
Sorry, I forgot my contact email concerning my previous question about the error message at step 8 when using the mam_snesor.js script.

Email: [email protected]

Many thanks.
Posted by Luqman at August 9, 2019 16:48:01 CEST
the content and source code of this are now out of date. For example the url is now https://nodes.devnet.iota.org:443

Would appreciate if you could update article to latest.

thanks
Posted by Dirk at February 11, 2021 13:19:13 CET
Hi,
meanwhile I think the URL has changed again to...
https://nodes.comnet.thetangle.org:443
Would it be possible to update the example on Windows 10 platform.
Even when changing Serial Port name to e.g. 'COM3' I receive the following message...
Error: Cannot find module 'serialport'
Thanks
Dirk
Posted by Mary Rajeh at February 25, 2022 15:25:19 CET
hello,
i am getting Error: Cannot find module 'serialport'
i am using a windows 10 OS