We have moved at community.getvera.com

Author Topic: Plugin: AutoVirtualThermostat (AVT)  (Read 11101 times)

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #30 on: January 28, 2018, 02:25:56 pm »
I'll look into it and report back.

Do you mean operating mode (Off, Heat, Cool, Auto) or energy mode (Comfort, Economy)? Also, are you using ALTUI on Vera, or ALTUI on openLuup?
Author of Reactor, DelayLight, SiteSensor, Rachio, Deus Ex Machina II, Intesis WMP Gateway, Auto Virtual Thermostat and VirtualSensor plugins. Vera Plus w/100+ Z-wave devices. Vera3, Lite. Hassio, Slapdash.

Offline resq93

  • Sr. Member
  • ****
  • Posts: 272
  • Karma: +0/-2
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #31 on: January 28, 2018, 08:51:14 pm »
Energy mode. Vera

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #32 on: January 28, 2018, 11:57:44 pm »
That's an ALTUI thing. Apparently the implementation of the multi-state button (the sliding on-off control) on ALTUI expects only numeric state values to back it, where Vera allows string or numeric. I've brought this up with amg0 and he's looking at it, and I don't know if he'll decide to bring his version into parity with UI7, or leave it, because nobody else has noticed until now. He's been pretty quick to deal with other things I've thrown at him, though.

In the meanwhile, I can work around that by creating a shadow state variable that follows the sense of the string-based state variables. Code is already up on Github in the develop branch, if you're feeling like an early adopter.
Author of Reactor, DelayLight, SiteSensor, Rachio, Deus Ex Machina II, Intesis WMP Gateway, Auto Virtual Thermostat and VirtualSensor plugins. Vera Plus w/100+ Z-wave devices. Vera3, Lite. Hassio, Slapdash.

Offline resq93

  • Sr. Member
  • ****
  • Posts: 272
  • Karma: +0/-2
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #33 on: January 31, 2018, 11:04:29 am »
One of my AVT devices is showing an error symbol and no temp is shown. The underlying devices are ok.

How do I troubleshoot this?

M

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #34 on: January 31, 2018, 12:12:26 pm »
That means that there are no valid temperature sensors. For a temperature sensor to be valid, it has to return a numeric temperature, updated within a recent period of time, and if battery powered, have a valid battery status.

A value from the sensor is considered "recent" if the timestamp of its CurrentTemperature is less than MaxSensorDelay seconds ago. The default is 3600, or one hour, which is a pretty long time.

The battery level of the sensor (if it's battery-powered) is considered acceptable if has been provided within the last MaxSensorBattery seconds, and the level itself is greater than zero.

If a sensor is configured but ineligible, that fact will be logged in Vera's log file. Request this URL in your browser:

http://your-vera-ip/cgi-bin/cmh/log.sh?Device=LuaUPnP

You can browse through or use CTRL-F to search for "AutoVirtualThermostat" in that page content to find the messages that are relevant. You can more specifically search for the word "ineligible", which is used in the messages AVT logs when a sensor is rejected.
« Last Edit: January 31, 2018, 12:16:17 pm by rigpapa »
Author of Reactor, DelayLight, SiteSensor, Rachio, Deus Ex Machina II, Intesis WMP Gateway, Auto Virtual Thermostat and VirtualSensor plugins. Vera Plus w/100+ Z-wave devices. Vera3, Lite. Hassio, Slapdash.

Offline resq93

  • Sr. Member
  • ****
  • Posts: 272
  • Karma: +0/-2
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #35 on: January 31, 2018, 12:46:04 pm »
Got it. Thanks. At that point the device shuts off?

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #36 on: January 31, 2018, 12:53:59 pm »
Yes, for safety. If there are no valid temperature sensors, AVT goes into idle state. When a sensor updates with a valid value, it will resume operation on its own.
Author of Reactor, DelayLight, SiteSensor, Rachio, Deus Ex Machina II, Intesis WMP Gateway, Auto Virtual Thermostat and VirtualSensor plugins. Vera Plus w/100+ Z-wave devices. Vera3, Lite. Hassio, Slapdash.

Offline opel-oleg

  • Sr. Newbie
  • *
  • Posts: 26
  • Karma: +2/-2
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #37 on: January 31, 2018, 03:07:34 pm »
Heating is ....
Cooling is ...
Ventilation is ...
And did not you have a desire to add a humidity sensor? :)

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #38 on: January 31, 2018, 03:20:58 pm »
No, I've thought about it. You're the first to ask. My thought was to have it run the cooling device (which could be either an AC unit or dehumidifer). Would that be consistent with your expectation? Or perhaps a separate dehum device, but use the cooling device if no dehumidifier device is specified?
Author of Reactor, DelayLight, SiteSensor, Rachio, Deus Ex Machina II, Intesis WMP Gateway, Auto Virtual Thermostat and VirtualSensor plugins. Vera Plus w/100+ Z-wave devices. Vera3, Lite. Hassio, Slapdash.

Offline opel-oleg

  • Sr. Newbie
  • *
  • Posts: 26
  • Karma: +2/-2
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #39 on: January 31, 2018, 03:47:52 pm »
hmm, I have a few places in which I would like to control the humidity. Bathroom, cellar ...
If there is a universal device, why not use ...
And in different cases, use only a fan, or together with heating.
Sorry for my English. It's not me, it's Google :)

Offline petertn

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #40 on: February 01, 2018, 04:00:10 am »
and outside temperature will be in the future?
I don't understand 2 temperatures options in comfort and economy mode ... 

Offline Forzaalfa

  • Full Member
  • ***
  • Posts: 227
  • Karma: +5/-0
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #41 on: February 02, 2018, 06:25:29 am »
Petertn: The two settings is for engaging heating and cooling in the two different modes.

I installed the released app yesterday, and four instances is now running Just fine. I may try the imperihome update later, i just want to see that averything works as it should first.
Vera Plus - RFXtrx433e

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #42 on: February 02, 2018, 05:31:22 pm »
We might have different ideas about what Comfort vs Economy is. For me, it's Home vs Away. So think of Comfort as the setpoints that are in effect when you are home, and Economy as the setpoints when you are away.
Author of Reactor, DelayLight, SiteSensor, Rachio, Deus Ex Machina II, Intesis WMP Gateway, Auto Virtual Thermostat and VirtualSensor plugins. Vera Plus w/100+ Z-wave devices. Vera3, Lite. Hassio, Slapdash.

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #43 on: February 04, 2018, 12:40:21 pm »
AVT 1.2 has been released and is pending approval by Vera for the plugin store. See the first post in this thread for release notes.

This release introduces ImperiHome support for local use, which must be done using the ImperiHome ISS API, meaning you add AutoVirtualThermostat as a system in ImperiHome:
  • From the ImperiHome app, choose My Objects in the menu;
  • Click Add a new object;
  • Select ImperiHome Standard System;
  • Enter the Local API Base URL: http://your-vera-ip/port_3480/data_request?lr_AutoVirtualThermostat&action=ISS
  • Click Next to connect.
« Last Edit: February 04, 2018, 02:37:16 pm by rigpapa »
Author of Reactor, DelayLight, SiteSensor, Rachio, Deus Ex Machina II, Intesis WMP Gateway, Auto Virtual Thermostat and VirtualSensor plugins. Vera Plus w/100+ Z-wave devices. Vera3, Lite. Hassio, Slapdash.

Offline kebob

  • Newbie
  • *
  • Posts: 12
  • Karma: +1/-0
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #44 on: February 05, 2018, 09:28:10 am »
Just trying this out, and it looks good, I may switch from SVT.

Am I mis-remembering that an older version (last year?) had a sensor offset variable?

I'd like to use an average over 3 sensors, but one of them is a radiator control valve so always reads a couple degrees high for the room as its right next to the heat source. There's no offset control on the device itself.

Edit: Hmmm, seems my 'heat' devices arent getting the correct kind of "HeatOn" command?
« Last Edit: February 05, 2018, 09:47:33 am by kebob »