Hi all,
I would like to have notification on power on / power off.
On the GUI I have the icon that say if "Alarm : power cut" or "Alarm : power on"
But, in event I only have when cut and this notification only too
At 00:42
Events:
No event on power on
My logs :
2023-09-06 22:42:41 INFO: [T1011cf99] connected
2023-09-06 22:42:41 INFO: [T1011cf99: h02 < 92.184.97.170] 2a48512c393137353130383231362c56312c3232343233382c562c343834322e313732382c4e2c30303232362e393136372c452c302e30302c3134332c3036303932332c66626666666266662c3230382c30312c31343333392c363333363823
2023-09-06 22:42:41 INFO: [T1011cf99] id: 9175108216, time: 2023-09-06 22:42:38, lat: 999 lon: 999, course: 143.0
2023-09-06 22:42:41 INFO: [T1011cf99: h02 > 92.184.97.170] 2a48512c393137353130383231362c56342c56312c323032333039303632323432343123
2023-09-06 22:42:44 INFO: [T1011cf99: h02 < 92.184.97.170] 2a48512c393137353130383231362c56312c3232343233392c562c343834322e313732382c4e2c30303232362e393136372c452c302e30302c3134332c3036303932332c66666666666266662c3230382c30312c31343333392c363333363823
2023-09-06 22:42:44 INFO: [T1011cf99] id: 9175108216, time: 2023-09-06 22:42:39, lat: 999, lon: 999, course: 143.0
2023-09-06 22:42:44 INFO: [T1011cf99: h02 > 92.184.97.170] 2a48512c393137353130383231362c56342c56312c323032333039303632323432343423
2023-09-06 22:42:44 INFO: [T1011cf99: h02 < 92.184.97.170] 2a48512c393137353130383231362c56312c3232343234312c412c343834322e313732382c4e2c30303232362e393136372c452c302e30302c3134332c3036303932332c66666666666266662c3230382c30312c31343333392c363333363823
2023-09-06 22:42:44 INFO: [T1011cf99] id: 9175108216, time: 2023-09-06 22:42:41, lat: 999, lon: 999, course: 143.0
2023-09-06 22:42:44 INFO: [T1011cf99: h02 > 92.184.97.170] 2a48512c393137353130383231362c56342c56312c323032333039303632323432343423
At 00h:45
Event:
2023-09-07 00:45:49 Alarme Courant coupé
My logs :
2023-09-06 22:45:43 INFO: [T1011cf99: h02 < 92.184.97.170] 2a48512c393137353130383231362c56312c3232343533392c412c343834322e313732382c4e2c30303232362e393136372c452c302e30302c3134332c3036303932332c66666666666266662c3230382c30312c31343333392c363333363823
2023-09-06 22:45:43 INFO: [T1011cf99] id: 9175108216, time: 2023-09-06 22:45:39, lat: 999, lon: 999, course: 143.0
2023-09-06 22:45:43 INFO: [T1011cf99: h02 > 92.184.97.170] 2a48512c393137353130383231362c56342c56312c323032333039303632323435343323
2023-09-06 22:45:56 INFO: [T1011cf99: h02 < 92.184.97.170] 2a48512c393137353130383231362c56312c3232343534392c412c343834322e313732382c4e2c30303232362e393136372c452c302e30302c3134332c3036303932332c65666637666266662c3230382c30312c31343333392c363333363823
2023-09-06 22:45:57 INFO: [T1011cf99] id: 9175108216, time: 2023-09-06 22:45:49, lat: 999, lon: 999, course: 143.0
Thank you for you help
If you see it in the app, it will stored in the events as well.
Thank you for feedback
Yet in the events section, I only have this :
No power on between power cut
Notification parameters are ok
I create a new one for power on today to try :
And finally all is associate to my device
Have you any clue please
And where do you see power on? And what's the timestamp for it?
In the device list on the home page
Power off
in same time in event :
And when I power on, after ~30s, no more icon:
But no any event :
What timestamp you want and where please ?
Earlier you said
On the GUI I have the icon that say ... "Alarm : power on"
I need to see the "Alarm : power on"
So far you only show that the icon disappears. It's not the same thing as power on alarm.
Certainly, but if the icon disapears when I plug in, that mean something say to the server that power is on... so hide the icon.
Finally is it possible to have a notification about that ?
Because there is a notification type "electrical current restored" in alarm
I think you misunderstand something. Alarms are always coming from devices directly. We don't have any logic on the server to generate those.
@tzana91 Alarm events are generated from "alarm" attribute in data provided by device. If the device doesn't send "powerOn" alarm or any similar alarm, you will not get confirmation of power on.
You need to see if your device report energy status in a "io" attribute or something like that, then you could write a computed attribute to "convert" that io status to "powerOn" alarm. But if your device doesn't report somehow when energy is restored, and if your device is not capable of customize that report, then traccar never will know when device energy is restored.
Greetings
Hi,
Thank you for your reply
I understand now
BR
Hello
@tzana91 i have same issu. How can solve it ?
Hi all,
I would like to have notification on power on / power off.
On the GUI I have the icon that say if "Alarm : power cut" or "Alarm : power on"
But, in event I only have when cut and this notification only too
At 00:42
Events:
My logs :
At 00h:45
Event:
My logs :
Thank you for you help