CestLaGalere / mobilealerts

Retrieves sensor data for Mobile Alerts sensors for Home Assistant
Apache License 2.0
15 stars 6 forks source link

Installation #18

Closed MichaelS1955 closed 7 months ago

MichaelS1955 commented 7 months ago

Hi, maybe I am too stupid ;-) I installed mobilealerts as described. I have added these lines to my sensors.yaml and I restarted HA. But I do not see one of the defined devices. What is wrong? Where do I find them? Is it not necessary to enter the IP-adress of the gateway?

Regards Michael

Mobile Alerts / Dustmann

petrleocompel commented 7 months ago

Your devices are reporting to cloud correctly

curl -d "{'deviceids': '0358957DD926'}" -H "Content-Type: application/json" https://www.data199.com/api/pv1/device/lastmeasurement

{
  "devices": [
    {
      "deviceid": "0358957DD926",
      "lastseen": 1706275297,
      "lowbattery": false,
      "measurement": {
        "idx": 228537,
        "ts": 1706275291,
        "c": 1706275297,
        "lb": false,
        "t1": 7.6,
        "h": 82.0
      }
    }
  ],
  "success": true
}

Please check logs of HA. Otherwise you should find "entities" named by provided names. Not devices.

MichaelS1955 commented 7 months ago

Thank you.I found them under entities