Stop being the product.
Become the owner.
or
sign uplog in
Chicken white karahi

- Chicken Karahi is a popular Pakistani and North Indian dish
- It's a spicy stew made with marinated chicken, bell peppers, onions, and a blend of spices
#tangled #foodie
loved
3
laughed
1
#t # SFo #Fo #o # or de# #google Nest script editor for kasa ke100

Hello,
so for context, my boiler has a google nest that controlls all the loops for the radiator, i have bought and installed the kasa ke100 with external temp sensors on those radiators.

i thought i could get google script to act as a sort of on/off for the google nest thermostat so that when the valves call for heat it sets a temp of 26C, and when all of them are off or dont request heat they turn the thermostat to 15C.

the issue is
\- type: device.state.TemperatureSetting For devices that support temperature points and modes.

device: xxxxxxxxxx’s Radiator - xxxxxxxxx’s Room

state: thermostatMode

is: heat
just looks for if the valve is turned on in general and not actually calling for heat.

and so if i turn the valve on myself as a test it will set the temp to 26 on the google nest, even though the valve set point is 18 and the ambient in the room is read as 20 so the valce is not actually turned on, is this a limitation of the scripting
ill add the script below and redact the names. any ideas? on how to do this.

metadata:

name: Radiator On/Off

description: Radiator On/Off

automations:

\- starters:

\- type: device.state.TemperatureSevices that support temperature points and modes.

device: xxxxxxxxx's Radiator - xxxxxxxxx’s Room

state: thermostatMode

is: heat

\- type: device.state.TemperatureSettinr devices that support temperature points and modes.

device: Master Bedroom Radiator - Master Bedroom

state: thermostatMode

is: heat

\- type: device.state.TemperatureSettir devices that support temperature points and modes.

device: Living Room Left Radiator - Living Room

state: thermostatMode

is: heat

\- type: device.state.TemperatureSettir devices that support temperature points and modes.

device: Living Room Right Radiator - Living Room

state: thermostatMode

is: heat

actions:

\- type: device.command.ThermostatTemperatureSetpoi the target temperature for a thermostat device.

devices:

\- Radiators - xxxxxxxxx’s Room

thermostatTemperatureSetpoint: 26.0C

\- starters:

\- type: device.state.TemperatureSetting Detect all radiators turning off

device: xxxxxxxxx’s Radiator - xxxxxxxxx’s Room

state: thermostatMode

is: off

\- type: device.state.TemperatureSetting
evice: Master Bedroom Radiator - Master Bedroom

state: thermostatMode

is: off

\- type: device.state.TemperatureSetting

device: Living Room Left Radiator - Living Room

state: thermostatMode

is: off

\- type: device.state.TemperatureSetting

device: Living Room Right Radiator - Living Room

state: thermostatMode

is: off

condition:

type: and

conditions:

\- type: device.state.TemperatureSetting

device: xxxxxxxxx’s Radiator - xxxxxxxxx’s Room

state: thermostatMode

is: off

\- type: device.state.TemperatureSetting

device: Master Bedroom Radiator - Master Bedroom

state: thermostatMode

is: off

\- type: device.state.TemperatureSetting
ice: Living Room Left Radiator - Living Room

state: thermostatMode

is: off

\- type: device.state.TemperatureSetting

device: Living Room Right Radiator - Living Room

state: thermostatMode

is: off

actions:

\- type: device.command.ThermostatTemperatureSetpoint
devices:

\- Radiators - xxxxxxxxx’s Room

thermostatTemperatureSetpoint: 15.0C
#home

dev
d ent ng ng Fg ttinFg
source