Cannot set node id

Home Forums NodeLua firmware Startup Cannot set node id

This topic contains 1 reply, has 1 voice, and was last updated by  shakudu 2 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #510

    shakudu
    Participant

    When i run node.setid(“id”,”key”) i get the following error message:

    stdin:1: attempt to call field ‘setid’ (a nil value)
    stack traceback:
    stdin:1: in main chunk

    Whats causing this? The node is connected to the internet.

    #511

    shakudu
    Participant

    Reading this i see that node-module does not have an setid method?
    https://nodemcu.readthedocs.io/en/dev/en/modules/node/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.