Add a database of your MySQL compatible server as device to homey.
Use a flow card in the THEN part to execute a SQL query. Push sensor data to a database table if you want to log it.
Execute SELECT statements in the flow card to read data from your database.
React on the executed query in with a flow trigger and push the value to a virtual sensor.
자세히 읽기 ›