jziolkowski / tdm

GUI application to discover and monitor devices flashed with https://github.com/arendst/tasmota
GNU General Public License v3.0
660 stars 83 forks source link

Timer negative offset ignored #127

Open m-hume opened 3 years ago

m-hume commented 3 years ago

I'm using the windows version 0.2.8 If i look at the timers for one of my devices that uses sunset - (minus) 30 mins. It displays as + (plus) 30 mins in tdm

[13:23:50] stat/tasmota-lounge-desk/RESULT {"Timers1":{"Timer1":{"Arm":1,"Mode":2,"Time":"-00:30","Window":3,"Days":"1111111","Repeat":1,"Output":1,"Action":1},"Timer2":{"Arm":0,"Mode":0,"Time":"00:00","Window":0,"Days":"0000000","Repeat":0,"Output":1,"Action":0},"Timer3":{"Arm":0,"Mode":0,"Time":"00:00","Window":0,"Days":"0000000","Repeat":0,"Output":1,"Action":0},"Timer4":{"Arm":0,"Mode":0,"Time":"00:00","Window":0,"Days":"0000000","Repeat":0,"Output":1,"Action":0}}}

No matter what i save it with in tdm (plus or minus) it saves it as plus

[13:27:16] cmnd/tasmota-lounge-desk/Timer1 {"Arm": 1, "Mode": 2, "Time": "00:30", "Window": 3, "Days": "1111111", "Repeat": 1, "Output": 1, "Action": 1}

Thanks

jziolkowski commented 1 year ago

Please test again on latest develop

lionlggnd commented 1 year ago

@jziolkowski even on the latest release there is the bug. Tested personally