mirror of
https://github.com/myronblair/jarvis
synced 2026-06-30 17:50:23 -05:00
feat: HA tab — filter scenes/media_player, nightly full resync cron, remove JS polling
- ha.php skipDomains: added media_player, scene - ha.php skipKeywords: konnected, energy/power/voltage/current, full camera list - stats_cache.php: same filter updates, removed scene/media_player from sync - Removed JS setInterval polling; entity state kept fresh by HA agent push - Added nightly 3am cron for full HA entity resync
This commit is contained in:
@@ -134,7 +134,7 @@ if (HA_TOKEN !== 'YOUR_HA_TOKEN_HERE' && strpos(HA_URL, '10.48.200.X') === false
|
||||
$config = $configRaw ? json_decode($configRaw, true) : [];
|
||||
|
||||
// Controllable domains only — skip read-only sensors to keep list manageable
|
||||
$interesting = ['light','switch','scene','media_player','alarm_control_panel',
|
||||
$interesting = ['light','switch','alarm_control_panel',
|
||||
'lawn_mower','water_heater','fan','lock','cover','climate','input_boolean'];
|
||||
// Switches that are HA internals / camera settings, not physical devices
|
||||
$skipKeywords = ['pre_release','_record','_ftp_','_push_','_hub_ringtone',
|
||||
|
||||
Reference in New Issue
Block a user