Re: TRV Controller Discussion Thread
Posted:
Mon Oct 21, 2019 1:22 pm
by shapa
1) Add one ")" at tthe end
I.e. Remote Stat Device:\n {}".format(indigo.devices[1834533522])
)2) Run it from a scripting console (plugins->open scripting shell)
Ksullivan wrote:Hi John
The shell command doesnt seem to work as im getting a timed out
Any ideas?
indigo.server.log(u"Remote Stat Device:\n {}".format(indigo.devices[1834533522])
2019-10-21 20:10:07.174 IndigoPluginHost[86035:1838786] ConnectionRequest() caught exception: ServerCommunicationError -- timeout waiting for server to start
2019-10-21 20:10:07.175 IndigoPluginHost[86035:1838767]
connection to server failed or was dropped
Re: TRV Controller Discussion Thread
Posted:
Tue Oct 22, 2019 10:13 am
by autolog
shapa wrote:1) Add one ")" at tthe end
I.e. Remote Stat Device:\n {}".format(indigo.devices[1834533522])
)2) Run it from a scripting console (plugins->open scripting shell)
Ksullivan wrote:Hi John
The shell command doesnt seem to work as im getting a timed out
Any ideas?
indigo.server.log(u"Remote Stat Device:\n {}".format(indigo.devices[1834533522])
2019-10-21 20:10:07.174 IndigoPluginHost[86035:1838786] ConnectionRequest() caught exception: ServerCommunicationError -- timeout waiting for server to start
2019-10-21 20:10:07.175 IndigoPluginHost[86035:1838767]
connection to server failed or was dropped
oops - left a quote off - to fast with the cut & paste.
Re: TRV Controller Discussion Thread
Posted:
Tue Oct 22, 2019 10:15 am
by autolog
shapa wrote:Tried to set 32C - the same issue, resetting to 5C
Is it possible to add a setting to be able to switch on / off the setpoint logic? For a smart floor thermostat - only schedules (with setpoints) are required. TF021 will automatically do the rest. However, the logic could be very useful in case of a "dumb" relay controlling underfloor heating - so it would be nice to make it configurable.
OK - I will have to take a look at this - maybe take a few days now as grandson minding for the next couple of days.
Re: TRV Controller Discussion Thread
Posted:
Tue Oct 22, 2019 10:44 am
by Ksullivan
Hi John
Sorry to be a pain but I couldn’t get the script to work it seemed not to talk to Indigo (even with the extra bracket) any ideas?
No hurry if you’re on child duties
Thank you
Keith
Re: TRV Controller Discussion Thread
Posted:
Tue Oct 22, 2019 11:40 am
by autolog
Ksullivan wrote:... I couldn’t get the script to work it seemed not to talk to Indigo (even with the extra bracket) any ideas? ...
My fault again - it needs yet another
) - so there should be two
) after the
].
- Code: Select all
indigo.server.log(u"Remote Stat Device:\n {}".format(indigo.devices[1834533522]))
Re: TRV Controller Discussion Thread
Posted:
Tue Oct 22, 2019 1:21 pm
by Ksullivan
That did it, heres the Stat details
Interactive Shell Remote Stat Device:
address :
batteryLevel : None
buttonGroupCount : 0
configured : True
coolIsOn : False
coolSetpoint : 0.0
dehumidifierIsOn : False
description :
deviceTypeId : simpleSmartThermostat
displayStateId : temperatureInputsAll
displayStateImageSel : HvacAutoMode
displayStateValRaw : 20.4
displayStateValUi : 20.4
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
fanIsOn : False
fanMode : Auto
folderId : 1877502068
globalProps : MetaProps : (dict)
com.odd-henrik.indigoplugin.smartdevices : (dict)
NumHumidityInputs : 0 (integer)
NumTemperatureInputs : 1 (integer)
SetPointVariable : 1848860431 (string)
ShowCoolHeatEquipmentStateUI : true (bool)
SupportsCoolSetpoint : false (bool)
SupportsHeatSetpoint : true (bool)
SupportsHvacFanMode : false (bool)
SupportsHvacOperationMode : true (bool)
acHeatPumpDevices : (string)
autoLabel21 : Test (string)
configTemperatureDelta : 0.3 (string)
floorTemperatureSensors : (string)
outsideTemperatureSensors : (string)
primaryHeaterDevices : (list)
Item : 1642299511 (string)
primaryTemperatureSensors : (list)
Item : 950621296 (string)
primaryTemperatureVariables : (list)
secondaryHeaterDevices : (string)
sensorInputOptions : 0 (string)
supportsStatusRequest : false (bool)
thermostatOffOptions : off (string)
thermostatOnOptions : heat (string)
useThermostatsAsPrimaryHeater : false (bool)
useVariableSetPoint : false (bool)
ventilationDevices : (string)
heatIsOn : False
heatSetpoint : 20.0
humidifierIsOn : False
humidities : []
humiditySensorCount : 0
hvacMode : HeatCool
id : 1834533522
lastChanged : 2019-10-22 20:17:36
lastSuccessfulComm : 2019-10-22 20:17:36
model : Simple Smart Thermostat
name : Bedroom 1 Thermostat
ownerProps : com.odd-henrik.indigoplugin.smartdevices : (dict)
NumHumidityInputs : 0 (integer)
NumTemperatureInputs : 1 (integer)
SetPointVariable : 1848860431 (string)
ShowCoolHeatEquipmentStateUI : true (bool)
SupportsCoolSetpoint : false (bool)
SupportsHeatSetpoint : true (bool)
SupportsHvacFanMode : false (bool)
SupportsHvacOperationMode : true (bool)
acHeatPumpDevices : (string)
autoLabel21 : Test (string)
configTemperatureDelta : 0.3 (string)
floorTemperatureSensors : (string)
outsideTemperatureSensors : (string)
primaryHeaterDevices : (list)
Item : 1642299511 (string)
primaryTemperatureSensors : (list)
Item : 950621296 (string)
primaryTemperatureVariables : (list)
secondaryHeaterDevices : (string)
sensorInputOptions : 0 (string)
supportsStatusRequest : false (bool)
thermostatOffOptions : off (string)
thermostatOnOptions : heat (string)
useThermostatsAsPrimaryHeater : false (bool)
useVariableSetPoint : false (bool)
ventilationDevices : (string)
pluginId : com.odd-henrik.indigoplugin.smartdevices
pluginProps : emptyDict : (dict)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
hvacCoolerIsOn : off (on/off bool)
hvacDehumidifierIsOn : off (on/off bool)
hvacFanIsOn : off (on/off bool)
hvacHeaterIsOn : off (on/off bool)
hvacHumidifierIsOn : off (on/off bool)
hvacOperationMode : 3 (integer)
hvacOperationMode.ui : auto on (string)
hvacOperationModeIsAuto : true (bool)
hvacOperationModeIsCool : false (bool)
hvacOperationModeIsHeat : false (bool)
hvacOperationModeIsOff : false (bool)
hvacOperationModeIsProgramAuto : false (bool)
hvacOperationModeIsProgramCool : false (bool)
hvacOperationModeIsProgramHeat : false (bool)
setpointHeat : 20 (real)
setpointHeat.ui : SetP: 20.0° (string)
temperatureDelta : 0.3 (string)
temperatureInput1 : 20.4 (real)
temperatureInput1.ui : 20.4° (string)
temperatureInputsAll : 20.4 (string)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsCoolSetpoint : False
supportsHeatSetpoint : True
supportsHvacFanMode : False
supportsHvacOperationMode : True
supportsStatusRequest : True
temperatureSensorCount : 1
temperatures : [20.4]
version : None
Re: TRV Controller Discussion Thread
Posted:
Tue Oct 22, 2019 2:01 pm
by shapa
next couple of days
UK school holidays - my "toddler" is quite happy as well
)
Re: TRV Controller Discussion Thread
Posted:
Thu Oct 24, 2019 5:07 am
by autolog
Ksullivan wrote:That did it, heres the Stat details ...
Thanks for this.
Can you also do the same for the TRV Controller device that is controlling the Stella-Z?
Thanks.
Re: TRV Controller Discussion Thread
Posted:
Thu Oct 24, 2019 5:11 am
by autolog
shapa wrote:Tried to set 32C - the same issue, resetting to 5C
Is it possible to add a setting to be able to switch on / off the setpoint logic? For a smart floor thermostat - only schedules (with setpoints) are required. TF021 will automatically do the rest. However, the logic could be very useful in case of a "dumb" relay controlling underfloor heating - so it would be nice to make it configurable.
I could add that change to the request list.
Can you do a device print for the TRV Controller device that is controlling the HeatIT TF021? If possible, post the results in a code block so I get to see the indentations.
Thanks.
Re: TRV Controller Discussion Thread
Posted:
Thu Oct 24, 2019 1:13 pm
by Ksullivan
Hi
TRV details
Interactive Shell Remote Stat Device:
address : 13
batteryLevel : 20
buttonGroupCount : 0
configured : True
coolIsOn : False
coolSetpoint : 0.0
dehumidifierIsOn : False
description :
deviceTypeId : trvController
displayStateId : temperatureInputsAll
displayStateImageSel : HvacHeatMode
displayStateValRaw : 20, 21
displayStateValUi : 20, 21
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
fanIsOn : False
fanMode : Auto
folderId : 1877502068
globalProps : MetaProps : (dict)
com.autologplugin.indigoplugin.trvcontroller : (dict)
NumTemperatureInputs : 2 (integer)
ShowCoolHeatEquipmentStateUI : true (bool)
SupportsBatteryLevel : true (bool)
SupportsCoolSetpoint : false (bool)
SupportsHeatSetpoint : true (bool)
SupportsHvacFanMode : false (bool)
SupportsHvacOperationMode : true (bool)
address : 13 (string)
csvCreationMethod : 0 (string)
csvRetentionPeriodHours : 24 (string)
csvShortName : Bedroom 1 (string)
csvStandardMode : 1 (string)
enableTrvOnOff : false (bool)
heatingId : 0 (string)
heatingVarId : 0 (string)
hideTempBroadcast : true (bool)
pollingScheduleActive : 5 (string)
pollingScheduleInactive : 20 (string)
pollingSchedulesNotEnabled : 30 (string)
remoteDeltaMax : 2.5 (string)
remoteDevId : 1834533522 (string)
remoteSetpointHeatControl : true (bool)
remoteTempOffset : 0.0 (string)
remoteThermostatContolEnabled : true (bool)
schedule1Enabled : false (bool)
schedule1SetpointHeat : 21 (string)
schedule1TimeOff : 10:00 (string)
schedule1TimeOn : 07:00 (string)
schedule2Enabled : false (bool)
schedule2SetpointHeat : 20 (string)
schedule2TimeOff : 14:00 (string)
schedule2TimeOn : 12:00 (string)
schedule3Enabled : false (bool)
schedule3SetpointHeat : 21 (string)
schedule3TimeOff : 20:00 (string)
schedule3TimeOn : 17:00 (string)
schedule4Enabled : false (bool)
schedule4SetpointHeat : 22 (string)
schedule4TimeOff : 22:30 (string)
schedule4TimeOn : 22:00 (string)
setpointHeatDeviceStartDefault : 8.0 (string)
setpointHeatDeviceStartMethod : 1 (string)
setpointHeatMaximum : 28 (string)
setpointHeatMinimum : 6 (string)
setpointHeatOnDefault : 20 (string)
supportedModel : Thermostat (Stella Z) (string)
supportsHvacOnOff : false (bool)
supportsHvacOnOffHidden : false (bool)
supportsManualSetpoint : false (bool)
supportsTemperatureReporting : true (bool)
supportsValveControl : false (bool)
supportsWakeup : true (string)
trvDevId : 1186165993 (string)
valveAssistance : false (bool)
version : 1.2.0 (string)
heatIsOn : True
heatSetpoint : 20.5
humidifierIsOn : False
humidities : []
humiditySensorCount : 0
hvacMode : Heat
id : 1468804104
lastChanged : 2019-10-24 20:09:17
lastSuccessfulComm : 2019-10-24 20:09:17
model : TRV Controller
name : Bedroom 1 TRV
ownerProps : com.autologplugin.indigoplugin.trvcontroller : (dict)
NumTemperatureInputs : 2 (integer)
ShowCoolHeatEquipmentStateUI : true (bool)
SupportsBatteryLevel : true (bool)
SupportsCoolSetpoint : false (bool)
SupportsHeatSetpoint : true (bool)
SupportsHvacFanMode : false (bool)
SupportsHvacOperationMode : true (bool)
address : 13 (string)
csvCreationMethod : 0 (string)
csvRetentionPeriodHours : 24 (string)
csvShortName : Bedroom 1 (string)
csvStandardMode : 1 (string)
enableTrvOnOff : false (bool)
heatingId : 0 (string)
heatingVarId : 0 (string)
hideTempBroadcast : true (bool)
pollingScheduleActive : 5 (string)
pollingScheduleInactive : 20 (string)
pollingSchedulesNotEnabled : 30 (string)
remoteDeltaMax : 2.5 (string)
remoteDevId : 1834533522 (string)
remoteSetpointHeatControl : true (bool)
remoteTempOffset : 0.0 (string)
remoteThermostatContolEnabled : true (bool)
schedule1Enabled : false (bool)
schedule1SetpointHeat : 21 (string)
schedule1TimeOff : 10:00 (string)
schedule1TimeOn : 07:00 (string)
schedule2Enabled : false (bool)
schedule2SetpointHeat : 20 (string)
schedule2TimeOff : 14:00 (string)
schedule2TimeOn : 12:00 (string)
schedule3Enabled : false (bool)
schedule3SetpointHeat : 21 (string)
schedule3TimeOff : 20:00 (string)
schedule3TimeOn : 17:00 (string)
schedule4Enabled : false (bool)
schedule4SetpointHeat : 22 (string)
schedule4TimeOff : 22:30 (string)
schedule4TimeOn : 22:00 (string)
setpointHeatDeviceStartDefault : 8.0 (string)
setpointHeatDeviceStartMethod : 1 (string)
setpointHeatMaximum : 28 (string)
setpointHeatMinimum : 6 (string)
setpointHeatOnDefault : 20 (string)
supportedModel : Thermostat (Stella Z) (string)
supportsHvacOnOff : false (bool)
supportsHvacOnOffHidden : false (bool)
supportsManualSetpoint : false (bool)
supportsTemperatureReporting : true (bool)
supportsValveControl : false (bool)
supportsWakeup : true (string)
trvDevId : 1186165993 (string)
valveAssistance : false (bool)
version : 1.2.0 (string)
pluginId : com.autologplugin.indigoplugin.trvcontroller
pluginProps : emptyDict : (dict)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
advanceActivatedTime : Inactive (string)
advanceActive : false (bool)
advanceStatusUi : (string)
advanceToScheduleTime : Inactive (string)
batteryLevel : 20 (integer)
batteryLevel.ui : 20% (string)
batteryLevelRemote : 0 (integer)
batteryLevelRemote.ui : 0% (string)
batteryLevelTrv : 20 (integer)
batteryLevelTrv.ui : 20% (string)
boostActive : false (bool)
boostDeltaT : 0 (real)
boostMinutes : 0 (integer)
boostMode : 3 (integer)
boostModeUi : (string)
boostSetpoint : 0 (integer)
boostStatusUi : (string)
boostTimeEnd : Inactive (string)
boostTimeStart : Inactive (string)
controllerMode : 2 (integer)
controllerModeUi : UI Control (string)
eventReceivedDateTimeRemote : 2019-10-24 20:09:17 (string)
extendActivatedTime : Inactive (string)
extendActive : false (bool)
extendLimitReached : false (bool)
extendMinutes : 0 (integer)
extendScheduleNewTime : Inactive (string)
extendScheduleOriginalTime : Inactive (string)
extendStatusUi : (string)
hvacCoolerIsOn : off (on/off bool)
hvacDehumidifierIsOn : off (on/off bool)
hvacFanIsOn : off (on/off bool)
hvacHeaterIsOn : on (on/off bool)
hvacHumidifierIsOn : off (on/off bool)
hvacOperationMode : 1 (integer)
hvacOperationMode.ui : heat on (string)
hvacOperationModeIsAuto : false (bool)
hvacOperationModeIsCool : false (bool)
hvacOperationModeIsHeat : true (bool)
hvacOperationModeIsOff : false (bool)
hvacOperationModeIsProgramAuto : false (bool)
hvacOperationModeIsProgramCool : false (bool)
hvacOperationModeIsProgramHeat : false (bool)
hvacOperationModeTrv : 1 (integer)
nextScheduleExecutionTime : No schedules enabled (string)
schedule1Active : false (bool)
schedule1Enabled : false (bool)
schedule1SetpointHeat : Not Set (string)
schedule1TimeOff : 00:00 (string)
schedule1TimeOn : 00:00 (string)
schedule1TimeUi : Inactive (string)
schedule2Active : false (bool)
schedule2Enabled : false (bool)
schedule2SetpointHeat : Not Set (string)
schedule2TimeOff : 00:00 (string)
schedule2TimeOn : 00:00 (string)
schedule2TimeUi : Inactive (string)
schedule3Active : false (bool)
schedule3Enabled : false (bool)
schedule3SetpointHeat : Not Set (string)
schedule3TimeOff : 00:00 (string)
schedule3TimeOn : 00:00 (string)
schedule3TimeUi : Inactive (string)
schedule4Active : false (bool)
schedule4Enabled : false (bool)
schedule4SetpointHeat : Not Set (string)
schedule4TimeOff : 00:00 (string)
schedule4TimeOn : 00:00 (string)
schedule4TimeUi : Inactive (string)
setpointHeat : 20.5 (real)
setpointHeatMaximum : 28 (real)
setpointHeatMinimum : 6 (real)
setpointHeatOnDefault : 20 (real)
setpointHeatRemote : 20.5 (real)
setpointHeatTrv : 23 (real)
temperature : 20.2 (real)
temperatureInput1 : 20.2 (real)
temperatureInput1.ui : 20.2 °C (string)
temperatureInput2 : 21 (real)
temperatureInput2.ui : 21.0 °C (string)
temperatureInputsAll : 20, 21 (string)
temperatureRemote : 20.2 (real)
temperatureTrv : 21 (real)
temperatureUi : R: 20.2 °C, T: 21.0 °C (string)
valvePercentageOpen : 0 (integer)
zwaveEventReceivedDateTimeRemote : N/A (string)
zwaveEventReceivedDateTimeTrv : 2019-10-24 20:08:40 (string)
zwaveEventSentDateTimeRemote : N/A (string)
zwaveEventSentDateTimeTrv : 2019-10-24 20:08:31 (string)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsCoolSetpoint : False
supportsHeatSetpoint : True
supportsHvacFanMode : False
supportsHvacOperationMode : True
supportsStatusRequest : True
temperatureSensorCount : 2
temperatures : [20.0, 21.0]
version : 1.2.0
Re: TRV Controller Discussion Thread
Posted:
Thu Oct 24, 2019 1:39 pm
by autolog
Ksullivan wrote:Hi
TRV details ...
Thanks for the info - will try and take a more detailed look at this over the next couple of days.
Re: TRV Controller Discussion Thread
Posted:
Sat Oct 26, 2019 8:25 am
by Ksullivan
autolog wrote:Ksullivan wrote:Hi
TRV details ...
Thanks for the info - will try and take a more detailed look at this over the next couple of days.
Hi
Please don’t bust a gut as I have now giggled things about that I use the TRV device as the thermostat and only use the thermostat to read the temperature ( unchecked the option to update from remote stat)
Things seem to behaving
Thank you
Sent from my iPad using Tapatalk
Re: TRV Controller Discussion Thread
Posted:
Sat Oct 26, 2019 8:37 am
by autolog
Ksullivan wrote:... I use the TRV device as the thermostat and only use the thermostat to read the temperature ( unchecked the option to update from remote stat).
Thanks for the update.
However, it should work so I will be taking a look at it in due course.
Re: TRV Controller Discussion Thread
Posted:
Sat Oct 26, 2019 8:38 am
by autolog
@shapa thanks for the info.