Ajax Alarm System Dashboard

@if ($statusMessage)
{{ $statusMessage }}
@endif @if ($errorMessage)
{{ $errorMessage }}
@endif

Enter Your Ajax Credentials

@error('email') {{ $message }} @enderror
@error('password') {{ $message }} @enderror
@if (!empty($hubs))

Your Hubs

@foreach ($hubs as $hub)
Hub: {{ $hub['hubId'] }}
@if (isset($hubDetails[$hub['hubId']]))
Details:
  • Name: {{ $hubDetails[$hub['hubId']]['name'] }}
  • State: {{ $hubDetails[$hub['hubId']]['state'] }}
  • Time Zone: {{ $hubDetails[$hub['hubId']]['timeZone'] }}
  • Battery Level: {{ $hubDetails[$hub['hubId']]['battery']['chargeLevelPercentage'] }}%
  • Connection State: {{ $hubDetails[$hub['hubId']]['externallyPowered'] ? 'Externally Powered' : 'Battery Powered' }}
  • LED Brightness: {{ $hubDetails[$hub['hubId']]['ledBrightnessLevel'] }}
  • Active Channels: {{ implode(', ', $hubDetails[$hub['hubId']]['activeChannels']) }}
  • Hardware Version: CPU: {{ $hubDetails[$hub['hubId']]['hardwareVersions']['cpu'] }}
  • Modem IMEI: {{ $hubDetails[$hub['hubId']]['modemImei'] }}
  • Signal Level: {{ $hubDetails[$hub['hubId']]['gsm']['signalLevel'] }}
@endif @if (isset($devices[$hub['hubId']]))
Devices:
    @foreach ($devices[$hub['hubId']] as $device)
  • {{ $device['deviceName'] }} ({{ $device['deviceType'] }}) - {{ $device['online'] ? 'Online' : 'Offline' }}
    Room: {{ $device['roomId'] }}
    Color: {{ $device['color'] }}
    @if(isset($device['batteryLevel'])) Battery Level: {{ $device['batteryLevel'] }}% @endif @if(isset($device['signalStrength'])) Signal Strength: {{ $device['signalStrength'] }} dBm @endif
  • @endforeach
@endif
@endforeach @else

No hubs found for this account.

@endif