On system / time-and-date-settings setup on ConnectPort X4 it is possible to set a UTC time and a seperate system time by adding UTC offset.
On getting sensor data we always get the UTC time as timestamp in the XML. How can we switch this timestamp to ConnectPort system time?
The current ‘idigi/Dia’ design is to use the real-time clock from the X4. The code doesn’t care if it is UTC or localtime - it is just ‘the time’.
There is no way to allow the X4 to hold UTC but upload in ‘local time’.
However if you manually manage the time withing the X4 (don’t use cell time, nor STNP), then nothing stops you from putting local time into the X4 realtime clock, which then will be uploaded to iDigi.
The logic is that managing localtime with seasonal adjustments (day-light-savings, etc) is too complex for such a simple product.