Azute iot device node-red

long dao thanh 81 Reputation points
2020-12-18T08:15:39+00:00

Hi, i want to ask some question about azure iot device node-red package. I am currently use this package on node-red: node-red-contrib-azure-iot-device to comminicate with azure iot hub with amqp protocal. When i change time on my computer, the iot device not unable to connect the internet, i read the log on cmd and its say the error cause by the amqp lib. So i want to ask how can i over this. Thank so much

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
393 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 31,126 Reputation points MVP
    2020-12-21T11:08:05.317+00:00

    In general, it's not a good idea to let the device change the date/time.

    The same goes for automatic device application/feature updates (except for security updates!).

    I suggest running the device in UTC time.

    This way, if there are multiple devices in multiple timezones, you still have a chronological registration of events that could be corrupted by eg. misconfiguration of the timezone and/or Daylight Savings.

    1 person found this answer helpful.
    0 comments No comments