Comments (3)
I'm not sure yet how to implement it, but I'm thinking about something like this for the config:
type: custom:fr24-card
entity: sensor.fr24_aircraft
filter:
type: or # and, or
rules:
- distance: <10
- altitude: >=5
This will work with both options for units
configuration parameter (default
and metric
) and can be applied after the units are converted (if metric
is used).
The syntax for the rules should support the operators >
, <
, >=
, <=
and =
. It should work on columns that have a number as their value. But not all; based on the above syntax, filtering on track
would not be of any value. Therefore I am thinking of supporting the following columns in the filter: altitude
, distance
, speed
.
Maybe in the future also a filter on columns with a text value. For example country
.
from fr24_card.
I've been looking for a solution to logging aircraft noise and being able to count aircraft within a set distance and below a set height would be great. It could also be refined further by aircraft type, speed/acceleration/etc. Is this possible?
from fr24_card.
@robsymax I think that's beyond the scope of this card. This card is for showing the current tracked aircrafts. It won't store any data. Theoretically this is possible by calling HA's API and updating an entity, but I won't develop that. You can always fork this repo and open a PR if you have developed such functionality.
from fr24_card.
Related Issues (20)
- Add elevation angle above the horizon to columns HOT 3
- [Feature Request] Optional Title HOT 3
- Configurable table head colors (both background and text) HOT 4
- [Feature Request] Dont include nulls option HOT 1
- Origin/Destination airport codes HOT 16
- Enhance the Empty filter for Distance to filter "Unknown" aka "NaN" values HOT 15
- Adding a column for Aircraft Type? HOT 8
- e is undefined HOT 17
- Allow to filter by squawk HOT 1
- Pop up no longer works with updated browser-mod HOT 16
- Icon color based on altitude HOT 5
- Ground Vehicles switch HOT 6
- v1.0.0-alpha Built-in Pop-up missing Close button HOT 5
- Disable link to provider when required data is not available
- Width of popup exeeds window size on Android app HOT 1
- Split documentation in multiple files
- Make photo optional
- Config of popup should be an object HOT 4
- Minor 'bug' in English text HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fr24_card.