We have moved at community.getvera.com

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

Offline Forzaalfa

  • Full Member
  • ***
  • Posts: 227
  • Karma: +5/-0
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #15 on: January 23, 2018, 01:55:06 am »
Installed the files, but i don't think i can add the imperihome system from a remote location, so i'll get back to that when i get home.

the github link is wrong, heres the right one.
Vera Plus - RFXtrx433e

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #16 on: January 23, 2018, 08:24:43 am »
Whoops! Thanks for catching that. I fixed the link in the original post as well.
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 Forzaalfa

  • Full Member
  • ***
  • Posts: 227
  • Karma: +5/-0
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #17 on: January 23, 2018, 10:58:59 am »
Ok, something happened here when i installed the files.. RFXtrx433 communication died, and now I can't set port 3481 for it in serial config. that was random! Is it connected, you think?

Lost all communication to my 433's..  :-\
Vera Plus - RFXtrx433e

Offline Forzaalfa

  • Full Member
  • ***
  • Posts: 227
  • Karma: +5/-0
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #18 on: January 23, 2018, 11:29:02 am »
..and i had to delete AVT completely to get them back.. ?
Vera Plus - RFXtrx433e

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #19 on: January 23, 2018, 02:28:50 pm »
That seems really random. AVT is an entirely virtual device, with no serial or TCP communications at all. It's hard to imagine it disrupting comms of other devices. If you end up trying again and it repeats, grab your logs and PM me; I'll send you my email address and you can send them to me.
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 Forzaalfa

  • Full Member
  • ***
  • Posts: 227
  • Karma: +5/-0
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #20 on: January 24, 2018, 01:49:54 am »
I know. And even if it helped yesterday I still see some instances of temperatures not updating, so its probably something with the FW release..

How do i pull logs? I have a USB and i've enabled log to USB, but I havent figured out how  to read those logs?
Vera Plus - RFXtrx433e

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #21 on: January 24, 2018, 08:25:59 am »
You can USB and all that, but I think using the built-in CGI log reader is the most straightforward:

http://vera_ip/cgi-bin/cmh/log.sh?Device=LuaUPnP

Notice we don't use the 3840 port number in this URL... it's just straight HTTP to the Vera. This will display the log. You can copy-pasta from there.

EDIT: By the way, on temps not updating, I've already found a UI7 bug and reported to Vera, and they've committed to fix in 1.7.26. I found another bug yesterday working on a separate plug-in where UI also doesn't update when dependent state variables change. Sigh...
« Last Edit: January 24, 2018, 08:35:57 am 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 #22 on: January 25, 2018, 02:57:15 pm »
Thanks for this app, the french on SVT was killing me!

a few things.

1. For some reason my heater keeps cycling on and off even though it hasn't reached the setpoint. All settings seem to be ok so not sure why that is happening
2. I can't seem to control this from ALTUI
3. Is there an easier way to set the Eco mode setpoint? Seems can only be done by modifying the variables?
4. PLEG doesn't seem to recognize the device well
5. Authomation and Imperihome issues
(all the above were fine in SVT)

Thank you
« Last Edit: January 25, 2018, 03:04:20 pm by resq93 »

Offline kulfsson

  • Jr. Member
  • **
  • Posts: 59
  • Karma: +2/-0
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #23 on: January 27, 2018, 06:46:30 pm »
I finally got around to test the AVT but I have some observations below. I did read the instructions on your site but I was unable to find answers there:

  • How do the temperature settings work ? Is it high/low temp ? Raising the Left temp will also raise the right and lowering the right temp will also lower the left. In SVT the temps were different, left for Comfort heat and right for Eco. I notice in AVT I have 2 sets of temperature settings, one for Eco and 1 for Comfort.
  • I need to be able to add 2 heating devices. I tried adding 2 with a comma inbetween in the advance settings, but then it seems to clear the entry. I have electric heaters which I turn on/off based on the temperature.
  • When I try to create a scene with AVT, I cannot change the temperature ?
  • AVT does not show up in Imperihome

Thanks for your

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #24 on: January 27, 2018, 10:07:05 pm »
How do the temperature settings work ? Is it high/low temp ? Raising the Left temp will also raise the right and lowering the right temp will also lower the left. In SVT the temps were different, left for Comfort heat and right for Eco. I notice in AVT I have 2 sets of temperature settings, one for Eco and 1 for Comfort.

In AVT the temperature on the left is the heating setpoint (the temperature below which the thermostat will call for heat). The temperature on the right is the cooling setpoint (the temperature above which the thermostat will call for cooling). You cannot set the heating setpoint above the cooling setpoint, nor the cooling setpoint below the heating setpoint (either condition would cause heating and cooling to run simultaneously).  You are correct, the Comfort and Economy setpoints are two different sets; switching energy modes switches between the two.

Quote
I need to be able to add 2 heating devices. I tried adding 2 with a comma inbetween in the advance settings, but then it seems to clear the entry. I have electric heaters which I turn on/off based on the temperature.

AVT supports only one cooling, heating, and fan device each. You can work around this by setting your second heating device on the fan device. There are delays associated with the fan device you may want to remove. Set both FanOnDelayHeating and FanOffDelayHeating to 0 to disable these delays. And you'll want to keep the fan mode in Auto at all times.

Quote
When I try to create a scene with AVT, I cannot change the temperature ?

I will look into this. In the meanwhile, you can add the following Lua to your scene (for heat setpoint):

luup.call_action( "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", "SetCurrentSetpoint", { NewCurrentSetpoint=value }, AVTDeviceNumber );

Quote
AVT does not show up in Imperihome

Known issue with ImperiHome. There's a workaround that's in test. See reply #14 in this thread.
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 #25 on: January 27, 2018, 11:36:29 pm »
Any way to disable cooling altogether? Only need for heat. Also, what is the best way to change the economy mode setpoint?

M

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #26 on: January 27, 2018, 11:43:19 pm »
No way to disable cooling. Just don't set a cooling device. Nothing will happen.

Changing the economy setpoint is done from the UI by switching to Economy mode, setting the setpoints, and returning to Comfort mode (if that's where you want to be).
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 #27 on: January 28, 2018, 12:19:55 pm »
Thank you. Is there any reason why I can't switch modes in all ALTUI?

Offline rigpapa

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1121
  • Karma: +187/-3
Re: Plugin: AutoVirtualThermostat (AVT)
« Reply #28 on: January 28, 2018, 12:39:31 pm »
I'll look into it and report back.
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 #29 on: January 28, 2018, 02:02:15 pm »
When I try to create a scene with AVT, I cannot change the temperature ?

I will look into this. In the meanwhile, you can add the following Lua to your scene (for heat setpoint):

luup.call_action( "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", "SetCurrentSetpoint", { NewCurrentSetpoint=value }, AVTDeviceNumber );


OK. This appears to be a bug in UI7's slider_vertical control implementation. For the moment, the above proposed Lua is the way to get the job done. In the long run, I've planned on switching to the newer and much better looking spinner_horizontal control (like the ones in the Nest implementation). If you're brave enough to try development code, the Github repository has those changes in the develop branch.

Now, on to look at what's going on over on ALTUI...
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.