Skip to content

Change integer to text #7

@Richard238

Description

@Richard238

And how might you change “Amt” form an integer, to a message saying “Too High” or Too low"?
I am actually measuring temperature and lux levels, but the principle’s the same.

My setup: Pi + Enviro Phat, readings to MySQLi DB on same pi.
MM PI uses MMM-MysqlQuery to read that data.
Rather than lux figures, I would like it to show a simple 'light' or 'dark' based on how low/high the lux figure is.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions