Alarm widget - working with more than one device - widget

I have two different devices sending telemetry data to the Thingsboard server. I also created a dashboard and added an entity based on the device type (these two devices are of the same type) and selected the option "Resolve as multiple entities".
In this dashboard I added an alarm widget in order to see alarms from both devices, but it only shows alarms from one of them.
I changed the type of entity to a "relation query" (as both devices are related with the same asset, it contains them, and now it only shows alarms for the other device.
In conclusion, the alarm widget only works with A SINGLE DEVICE.
Did anybody face this issue?

Create an asset containing the devices, and propagate the alarms.
Set up your alias to the asset containing the devices without a search query, you should see all your alarms.

Related

How to create customise Zabbix Dashboard to monitor Cameras

In one of my current project, we are using lot of devices like 500+ Cameras, 100+ LPUs and so on.
I want to check the health of each (ping them (IP ping) every few seconds and if no response it is down). So this way I want to monitor the devices. This way I'll get to know which cameras/devices are down and what was each downtime/uptime and hence define their health.
Also I want to display the same on Dashboard.
How can I achieve this using Zabbix?
You can create a Map, even show different colors for OK or Problem state. You can add a Map to a Dashboard.
See https://www.zabbix.com/documentation/current/en/manual/web_interface/frontend_sections/monitoring/maps
In the following example i selected all hosts in a Host Group, showing the Status application, which contains the ICMP triggers.
Result:
Configuration:

Firebase event is not showing in Event tab

I have created a event on my Firebase dashboard
and can see it in Debug View
But I cannot see it in Events Tab, it's not there and I cannot mark it as a conversation event, as I need to set it.
Creating one from conversations tab does not specify app platform, which I need it to be for my iOS app.
How do I fix this issue?
There's an intended delay before the data shows up in the Events page. The initial data logged usually takes up to 24 hours to display and 3-4 hours delay for the succeeding data. DebugView on the other hand, shows you data (from events, event parameters, and user properties) as Analytics collects the data. This is used to help you set up data collection, troubleshoot issues as issues arise, and understand a user's behavior as the user explores your website or app. For additional information about the delay in Analytics reporting, you can refer to this blog post.

Creating Drill Down / Master detail navigation/Lookup screen in PowerApps Portal

Problem Statement
We need to create a Drill Down Workflow of screens in PowerApp Portal application where the user can drill down from Parent List to it's child list and so on.
For Example:
-The First screen should list the Phone Brands.
-On clicking any brand->it should bring up a list of Phone Models of that Brand.
-On clicking any phone model, it should bring up the hardware configuration of that phone.
Query:
We have been able add Lists to Child Pages and navigate between pages using the Target type attributes of a List but, we haven't been able to pass the Filter condition from parent screen to child screen
i.e. when the user cliks to drill down from Brands to Models screen.
This results in the Models screen showing Phone models from all brands.
It it simple to achieve the same using PowerApp Canvas application but, we are struggling to achieve the same using Power Apps Portal application.
>>Would appreciate inputs to achieve the same using Power App POrtal Application
you can try to add some query parameter when someone clicks on a brand name in the parent page on the portal and when the user is taken to the child page (model level), there you can read the query parameter to filter.
For readingg query paramter in liquid - https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/liquid-templates/objects/request/
For adding query parameter on brand click- basic js/jquery should be ok.

How to prevent user log in from two devices

I am developing mobile application in ionic 2. I want to design mechanism when user log in my website i must log out from my mobile application at the same time if user logged in mobile application then website must be log out. I am using same database for mobile and website. I am using jsonwebtoken for my mobile authentication. what is the best way to implement this mechanism in my ionic 2 application.
you will need to create a session table that will store the session details and will also store the unique ID and status that will be used to identify these sessions and tell us weather it is active or not. This id will be used as a reference to validate session for different devices, once the user logs in you will query into this table and check whether any existing session is there or not. If it is there change the status to false.
In the UI you will use setinterval to request for this session at regular time it can be 10 seconds or anything based on your requirement then inside setinterval make a call to backend that will be checking this session, if this session status is false then logout.

How to choose type of Receiver App for Chromecast application

I have an Image with 3840x2160px resolution which is identically maximum for 4K screens and I want to cast it on my TV screen through chromecast.
I have read plenty of solutions and documentation on Stackoverflow and developer.google but I couldn't identified the one what I need.
Looking in Here : Cast Image to Chromecast
accepted answer says that one can "simply send a url to the Chromecast device and grab it from your sever inside the receiver app. This the the recommended way to send photos across to the Chromecast"
I will give it a try but what should be the type for my receiver app when registering my cast application for above described scenario.
Custom Receiver or 2. Styled Media Receiver.
Remote Display Receiver is not supported for Chrome so it is excluded from list.
If you simply want to show an image, Default/Styled receiver would do, no additional receiver work is needed. If you want to show a slide show with some more advanced features, then you need to write a custom receiver.