28.01.2020, 15:02 
		
	
	
		Hi
I am a little novice in this programming through lua.
I need to compare the current time with a specific time to start a device.
How can 3-byte communication objects be compared?
The code used but does not work for me is the following:
 and I get the following error
Can someone please help me?
Thank you
	
	
	
I am a little novice in this programming through lua.
I need to compare the current time with a specific time to start a device.
How can 3-byte communication objects be compared?
The code used but does not work for me is the following:
Code:
hora = grp.getvalue('33/0/1')--,dt.time)
 log (hora)
value = grp.getvalue('33/1/21')--,dt.time)
log (value)
if hora == value then
  log ("esto funciona")
  total = hora + value
  log (total)
else
  log("ERROR")
endCode:
Event for Hora Actual (33/0/1) 28.01.2020 16:00:34
* table:
 [day]
  * number: 2
 [minute]
  * number: 0
 [second]
  * number: 0
 [hour]
  * number: 0
 [min]
  * number: 0
 [sec]
  * number: 0
Event for Hora Actual (33/0/1) 28.01.2020 16:00:34
* table:
 [day]
  * number: 2
 [minute]
  * number: 0
 [second]
  * number: 0
 [hour]
  * number: 0
 [min]
  * number: 0
 [sec]
  * number: 0
Event for Hora Actual (33/0/1) 28.01.2020 16:00:34
* string: ERRORThank you