itchannel / apex-ha

Local Neptune Apex HA Integration (Aquarium Controller)
GNU General Public License v3.0
19 stars 3 forks source link

Measurements #34

Open BR260354 opened 1 year ago

BR260354 commented 1 year ago

Any way of pulling in the Measurements from Apex?

brettonw commented 1 year ago

I can't get measurements to show up on my web dashboard - but they don't appear to be in the status or config responses at all. Do you know how to get them to show up in the web dashboard?

brettonw commented 1 year ago

the mlog data is not related to the local device - it's stored in your fusion account (online). Maybe someone could write an integration that pulls it from your fusion account?

The JSON from the site (https://apexfusion.com/api/apex/YOURACCOUNTID/mlog?days=1&_=YOURCOOKIE) is pretty straightforward:

[
  {
    _id: "<your apex id here>",
    date: "2022-12-29T18:25:00.000Z",
    type: 0,
    name: "Blarg",
    value: 0.007,
    text: "",
    __v: 0
  }
]