Skip to content

Plugin temperature switch

Martin Pihrt edited this page Oct 13, 2026 · 1 revision

Temperature Switch

Starts and stops OSPy programs from configured temperature sources and hysteresis limits.

At a glance

Item Value
Version 1.0.0
Category Weather, climate and environmental sensors
Author Martin Pihrt
License GPL-3.0
OSPy 3.0.211 or newer
Python 3.8 or newer
Permissions system
Hardware interfaces: station_output
Dependencies None
Python/OS packages None
Interfaces No provider or mobile API declared
Source Open the plug-in directory

What it is for

Starts and stops OSPy programs from configured temperature sources and hysteresis limits.

How it works and how to configure it

Tested in Python 3+

The plug-in includes a plugin.json manifest and reports its worker, enabled regulation channels, temperature-source availability, configured probes, valid readings, active runs and errors through the OSPy system health interface.

This plugin needs enabled and corect setup the "Air Temperature and Humidity Monitor". This plugin allows regulation from DS18B20 sensors connected to the external hardware board via an I2C bus (address 0x03). Visit Martin Pihrt's blog. for more information for HW.

Plugin setup

  • Check Enable Control A (B, C): If checked Enable Control A (B, C) control for regulation A (B, C) is enabled.

  • Probe input for ON: Select input temperature probe for measuring.

  • Temperature for output ON: Temperature value for output xx switched to on.

  • Maximum run time in activate: Maximum duration when activating the output (in minutes and seconds). After this time, the output will turn off regardless of other events (conditions).

  • Probe input for OFF: Select input temperature probe for measuring.

  • Temperature for output OFF: Temperature value for output xx switched to off.

  • Select Output: Select output for contol.

  • Status: Status window from the plugin.

Visit Martin Pihrt's blog. for more information HW board with DS18B20 probe.

In-app help and settings notes

The following notes are generated from the help page shipped with this plug-in. Field names are also explained directly in the OSPy settings page.

This plugin needs enabled and corect setup the Air Temperature and Humidity Monitor. Allows regulation from DS18B20 sensors connected to the external hardware board

All temperatures is in degree Celsia.

Support

Check OSPy → Diagnostics first and remove passwords, tokens, private addresses and other secrets before sharing logs. Report reproducible plug-in problems in the OSPy-plugins issue tracker.

Back to the plug-in catalog

Clone this wiki locally