Change:
Code: Select all
$gasUsage= $parsed_json['dev_3.1']['CurrentGasQuantity'];
Code: Select all
$gasUsage= $parsed_json['dev_4.1']['CurrentGasQuantity'];
Code: Select all
$gasUsage= $parsed_json['dev_3.1']['CurrentGasQuantity'];
Code: Select all
$gasUsage= $parsed_json['dev_4.1']['CurrentGasQuantity'];