We have moved at community.getvera.com

Author Topic: Alternative code for handling TRVs (StellaZ and Danfoss)  (Read 29760 times)

Offline slajgaj

  • Full Member
  • ***
  • Posts: 176
  • Karma: +2/-13
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #30 on: January 05, 2015, 08:58:46 am »
Dali!

Last in 3 days i contacted with Dunked and contiunelly seeing the LOG files. And after the conclusion he edited the new lua file.
And i tested and tryed this on my 2 Danfoss valve and 1 Stalle Z.
See the new lua version!
Great work!


My valve settings under the UI7 is the next:
Danfoss: wakeup: 300 sec.
StellaZ : wakeup: 240 sec.
"Edit Startup Lua" link and paste:
require("my_TRV_module.lua")

(Before of course "Upload" the my_TRV_module.lua !
« Last Edit: January 05, 2015, 09:08:20 am by slajgaj »

Offline dali

  • Sr. Newbie
  • *
  • Posts: 31
  • Karma: +0/-0
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #31 on: January 05, 2015, 02:49:10 pm »
Well slajgaj, that wasn't really what I was asking. I guess it's a language barrier issue.

Did you, or did you not have problems including/pairing the Stella? If so, please describe how you solved it.

Sorry for the off topic discussion, dunked.

Offline slajgaj

  • Full Member
  • ***
  • Posts: 176
  • Karma: +2/-13
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #32 on: January 05, 2015, 03:59:12 pm »
Dali!

Yes, last week i was a problem with Stella Z valves. I was not pairing with Vera Edge.
That was original valves. I trying sometimes pairing with Vera but i have seem impossible.
And my friend said: let's  trying the original Stella valves first reset!
Yes, i was resetting and after the pairing was success.
That was all problem.
And the second problem was , so the valves (Danfoss and Stella) was not working with scenes.
And Dunked was helping for me.
See the Dunken's first post
« Last Edit: January 05, 2015, 04:05:33 pm by slajgaj »

Offline dunked

  • Jr. Member
  • **
  • Posts: 88
  • Karma: +3/-0
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #33 on: January 05, 2015, 04:07:21 pm »
I can definitely confirm that fairly regularly if you unpair a Danfoss from one vera and then try to pair it with another it might not work until you have done the factory reset on the TRV. I've just moved a few like that and had to do that in several cases - in fact I ended up always doing the factory reset just to be sure before pairing.

Offline Wiebe

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #34 on: January 05, 2015, 04:45:19 pm »
Well, in my case a factory reset of the Danfoss seems to have caused more problems than before: http://forum.micasaverde.com/index.php/topic,29850.0.html.

Offline dali

  • Sr. Newbie
  • *
  • Posts: 31
  • Karma: +0/-0
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #35 on: January 06, 2015, 02:37:41 am »
Okay slajgaj, so how did you manage to reset the Stella? I've tried at least 10 times to reset, but it doesn't work for me.
Please describe how you did it step by step.

Offline slajgaj

  • Full Member
  • ***
  • Posts: 176
  • Karma: +2/-13
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #36 on: January 06, 2015, 06:38:50 am »
So:

Before you resetting the valve, you need unpair the device from Vera

1. Pick up the ones battery from your valve

2 Push and hold the button (blue)

3. Put the battery while you push the button and 3 sec. after let go.
« Last Edit: January 06, 2015, 06:40:41 am by slajgaj »

Offline dali

  • Sr. Newbie
  • *
  • Posts: 31
  • Karma: +0/-0
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #37 on: January 06, 2015, 08:30:06 am »
But my problem is that the Stella is not reacting at all when I try to unpair or pair  (like you said yours was also behaving). So unpairing is not possible. Nothing happens...

Offline slajgaj

  • Full Member
  • ***
  • Posts: 176
  • Karma: +2/-13
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #38 on: January 06, 2015, 03:07:26 pm »
Dali!
On the top under the blue button  can you see the LED is green or red if you press the blue button?
Or only "black" the LED?
because if the LED is black, then the valve is wrong.

Offline dali

  • Sr. Newbie
  • *
  • Posts: 31
  • Karma: +0/-0
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #39 on: January 06, 2015, 03:45:10 pm »
No reaction whatsoever on the LED.
But it's very unlikely that all three brand new Stella's are faulty...

Offline slajgaj

  • Full Member
  • ***
  • Posts: 176
  • Karma: +2/-13
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #40 on: January 07, 2015, 02:02:59 pm »
Maybe..😳
In novebner i bought 4 StellaZ valves, and 2 was wrong....

Offline dmckenna

  • Full Member
  • ***
  • Posts: 196
  • Karma: +8/-2
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #41 on: January 07, 2015, 02:39:22 pm »
FYI I've just had a Stella replaced under warranty and the replacement one is also faulty. No LEDs showing at all...........maybe a bad batch ?

Another one bites the dust.

Offline dali

  • Sr. Newbie
  • *
  • Posts: 31
  • Karma: +0/-0
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #42 on: January 08, 2015, 03:19:05 am »
Thanks, slajgaj and dmckenna, that's very useful information. My supplier is now in contact with the manufacturer about this.

Offline mikee123

  • Hero Member
  • *****
  • Posts: 1521
  • Karma: +18/-11
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #43 on: January 08, 2015, 08:09:23 am »
I have now started testing and implementing the new method. First impression is very good, testing at the moment with my Horstman thermostat, which was causing me most problems. Mainly as it seems to change the wakup time from 240 secs to 256 secs, without me doing anything.
One thing I would like to see if that is possible, is when the TRV lua code restarts the Vera, I would like to have a notification ideally via Vera alerts if that is somehow. For the reason I want to see which restarts are due to the TRV lua and which are caused by other problems. It doesn't have to be Vera alerts, but that would probably the best way as I see all Vera restarts and reboots there.

Offline mikee123

  • Hero Member
  • *****
  • Posts: 1521
  • Karma: +18/-11
Re: Alternative code for handling TRVs (StellaZ and Danfoss)
« Reply #44 on: January 09, 2015, 10:27:44 am »
Question. My Horstman main heating thermostat keeps changing its wakeup time to 256 seconds. All my TRV's are set to 240 secs. Is that going to be a problem ? Or should I change the TRV's to 256 secs as well ?