Back to Index

Definition: hum() — Allowed: no arguments; Not allowed: any arguments.

Returns the current humidity value provided by the host.

Example

every(10000) {
  publish("plc/hum", hum());
}