I have meter data. I will check whether the meter is connected or not. Data is coming from data rest. I have to check the rest of API.also I have to check a particular parameter(like KWH). I will check KWH to find meter is connected or not if data is not coming from the last two hours. If I have to mention, this meter is not connected.
Can anyone suggest mein logic of this code using python