henry-spanka / freeathome-api

Busch-Jaeger free@home API to control actuators
MIT License
45 stars 4 forks source link

I need help #43

Closed OscarNOW closed 2 years ago

OscarNOW commented 3 years ago

I'm currently using freeathome-api@1.1.1 . I can currently get a list of all devices and set specific devices using systemAccessPoint.setDatapoint and systemAccessPoint.getDeviceData. I wan't to know how I could get the status of one (or all) devices. On the npm package page, it says to

send the following payload: info

, but I don't know how to send payloads, I just use the npm package. Any help would be appreciated.

henry-spanka commented 2 years ago

You can use getDeviceData to read the datapoints and status of the devices.