This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-plugins-generic/genericheatingcooling
Michael Zanetti cd09f19060 Sensors: Improve generic sensors
* Makes the main states of the sensors writable to ease up scripting
by not having to go through the scaling input state
* Adds min/max settings for all input states to ease up calibration
with various input devices
* For sensors that have a main state min/max setting, actually write
those min/max settings to the dynamic min/max values of the state
2023-02-25 03:22:01 +01:00
..

Generic heating & cooling devices

This plugin allows to create generic heating and cooling devices in nymea. Such things don't have any functionality on their own, but allow to create a visually appealing experience when using general purpose input and outputs, such as GPIOs.

Set-up

First, set up a thing with generic inputs or outputs. For instance from the GPIO plugin. When done, set up the desired generic thing and use the things settings to connect the inputs and/or outputs accordingly.

Example: A heating rod on a digital output GPIO

First, set up the GPIO to control the heating rod. Please refer to the documentation of the according plugin for this. Once the heating rod can be controlled by nymea using the raw GPIO toggle, set up a generic heating thing from this plugin and go to the settings of the newly added generic heating thing. In there, you'll find a section for Input/Output connections which can be used to connect the power state of this generic thing to the GPIO that actually controls the heating rod. The heating rod can now be used like any other ready-made thing in nymea.