thingsboard icon indicating copy to clipboard operation
thingsboard copied to clipboard

Custom Recipient for email

Open xTwigx opened this issue 1 year ago • 6 comments

Description I currently have a dashboard witch I'm giving access to a customer and his sub-customers. In this dashboard I have a device sending me data via http integration. The dashboard also has an alert system where it uses alarm rules under a device profile. image.

This alarm gets triggered if a telemetry key from the device is less then a device server attribute set by the user. Then in the notification center , if a critical alarm is generated it sends an email to all the customer users (Recipients).

I want it changed where the customer can select who gets an email notification (from the main customer and from the sub-customer) when a critical alarm gets generated. I also would like the customer to be able to select different users for different alarms.

Environment Ubuntu Docker ThingsBoard: PE


Disclaimer

We appreciate your contribution whether it is a bug report, feature request, or pull request with improvement (hopefully). Please comply with the Community ethics policy, and do not expect us to answer your requests immediately. Also, do not treat GitHub issues as a support channel.

xTwigx avatar Aug 07 '24 08:08 xTwigx

Are you running the main script with cuda enabled? On my AMD Ryzen 9 7950x I get about 3 FPS using all the cores, and when I run it with Docker through my 4090 it is definitely close to 30FPS.

cvaisnor avatar Aug 14 '24 19:08 cvaisnor

Are you running the main script with cuda enabled? On my AMD Ryzen 9 7950x I get about 3 FPS using all the cores, and when I run it with Docker through my 4090 it is definitely close to 30FPS.

What is the frame size of the video stream? I am Setting it to 640x360 can reach 25fps, but it will get stuck if it is larger(such as 960x540). I need clearer picture quality.

FMsunyh avatar Aug 15 '24 02:08 FMsunyh

Are you running the main script with cuda enabled? On my AMD Ryzen 9 7950x I get about 3 FPS using all the cores, and when I run it with Docker through my 4090 it is definitely close to 30FPS.

Also, by pulling the stream through rtmp, it can currently achieve 1280x720p, without face enhancement, do you have a good solution to speed up face enhancement?

FMsunyh avatar Aug 15 '24 03:08 FMsunyh

I am running the stream in the default resolution. Using 'face enhancement' with cuda enabled did bring the frames down quite a bit. It runs at around 10FPS now. I'm not sure how to speed up that configuration.

cvaisnor avatar Aug 15 '24 19:08 cvaisnor

Up, which gpu'll work best for this? considering a laptop or pc to buy within 2-3k

maxfrans avatar Aug 20 '24 11:08 maxfrans

Up, which gpu'll work best for this? considering a laptop or pc to buy within 2-3k

CPU : i7-13700 GPU: 4090D Memory: 48G

I modified the code and added multi-threaded processing. 1280x720p can be done in real time. The problem now is that I can't turn on enhanced processing. @maxfrans

FMsunyh avatar Aug 21 '24 01:08 FMsunyh