• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Access to RTC from my own container application
#1
Dear Armin,

netPI has a RTC so that I suppose Linux (host OS) always has accurate date & time from RTC.
That means I don't have to set date & time to Linux at the bootup of netPI.

Then, I would like to know how to get/set current date & time from/to RTC by my own container application, please.

- I should open Control panel of Web GUI if I need to set date & time, right? 
- I can just use 'hwclock' command from a guest OS (a container) to get current date & time, right?
- I don't have to access RTC directly via I2C interface, right?

I am not familiar with C/Python/,,, so I may be asking an incomprehensible question.

Thank you very much for checking my understandings above.
Best regards,
  Reply


Messages In This Thread
Access to RTC from my own container application - by tad - March-19th-2021, 02:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Wi-fi in Access Point mode Renato75 7 4,827 June-3rd-2022, 12:59 PM
Last Post: Armin@netPI
  NetPI wifi access to WPA2-Enterprise MikeP 4 4,390 September-3rd-2021, 02:56 PM
Last Post: MikeP
  TOSILOCK for CONTAINER COswald 3 2,285 July-13th-2021, 11:32 AM
Last Post: Armin@netPI
  netPI RTE 3: access from several comm. masters tad 3 4,137 June-3rd-2021, 12:03 PM
Last Post: Armin@netPI
  [SOLVED] Starting services/commands/scripts at startup of a container Jonas.Sellmann@outlook.de 9 6,318 March-9th-2021, 08:47 AM
Last Post: WalterSchaefer
  OpenVPN container Armin@netPI 0 1,676 January-3rd-2021, 12:13 PM
Last Post: Armin@netPI
  operating Console of a container on netPI connected to Wi-Fi tethering tad 3 2,724 December-3rd-2020, 12:32 PM
Last Post: tad
  NIOT-E-NPIX-4DI4DO with netpi-netx container WalterSchaefer 3 6,804 November-25th-2020, 01:06 PM
Last Post: zen89
  NPIX-4DI4DO and NetPi-Nodered container issues alhammi 4 7,966 November-16th-2020, 01:35 PM
Last Post: alhammi
  Get host MAC via REST API inside container bschandra 4 3,762 November-16th-2020, 09:26 AM
Last Post: bschandra

Forum Jump:


Users browsing this thread: 1 Guest(s)