I have a script that triggers charging of my car depending on the electricity price. I use a variable for the treshold but I would like to use a slider with an amount for this.
First 'problem' is that I can't change the current on/off switch to a dimmer because changing the slider triggers the button to on.
Using a dummy device for the treshold gives a slider value in percentages. Not to big of a problem but is there some way to change this?
Slider with amount
Moderator: leecollings
- waltervl
- Posts: 7020
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2026.3
- Location: NL
- Contact:
Re: Slider with amount
You can use the setpoint device for this.
You will probably know it as a thermostat but you can change the Unit of measure, min/max and step size.
You will probably know it as a thermostat but you can change the Unit of measure, min/max and step size.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
Henry
- Posts: 44
- Joined: Tuesday 06 March 2018 18:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Slider with amount
Yes, that’s it. Great, thanks