Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about available variables. #4

Open
andrew-kennedy opened this issue Apr 30, 2024 · 1 comment
Open

Question about available variables. #4

andrew-kennedy opened this issue Apr 30, 2024 · 1 comment

Comments

@andrew-kennedy
Copy link

Any examples of what state can be retrieved from the /variables endpoint? I'm trying to decide if it's worth rooting my pod, one main reason would be to have bed presence detection for home assistant as the eight sleep API is super slow and not reliable for this information, but the pod should presumably be able to reliably work locally. The other issue is the bed temperature sensing doesn't work using the api when the pod is not "on". Can both of these issues currently be worked around with ninesleep?

@jonatino
Copy link

All variables

const variableNames = [
    "ipaddr",
    "sigstr",
    "ssid",
    "settings",
    "updating",
    "priming",
    "waterLevel",
    "sensorLabel",
    "heatLevelL",
    "tgHeatLevelL",
    "heatTimeL",
    "heatLevelR",
    "tgHeatLevelR",
    "heatTimeR",
    "hubInfo",
    "macAddr",
    "sshPort",
    "supportedPatterns",
    "dismissAlarm",
    "doubleTap",
    "tripleTap",
];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants