Sorry if this has been asked before. Couldn't find it..
Since the plugwise order is still underway and I am already setting up I have a question about the calibration values.
Do the values change or are they steady as per Circle. I ask this because I saw in the .py code that the calibration value is polled every time a power request is done whereas I would expect to poll the cal values only once and keep them global for next Power info polls.
Thnx
Calibration values
-
- Member
- Posts: 73
- Joined: Fri Apr 10, 2009 1:43 pm
- Location: Netherlands
- Contact:
Re: Calibration values
I remember reading about that.
I believe the values are steady, but it was in the script the way it is because of 'lazyness'
Regards,
LostDreamer
I believe the values are steady, but it was in the script the way it is because of 'lazyness'
Regards,
LostDreamer
[url=https://www.viagrasansordonnancefr.com/commander-sildenafil-100-q-sirve/]commander sildenafil 100 q sirve www.viagrasansordonnancefr.com[/url]
Re: Calibration values
I'm not sure also, need to test this still.
But you need to make the function anyway so you can check if the values chnage over a period and adjust accordingly the call of the function.
But you need to make the function anyway so you can check if the values chnage over a period and adjust accordingly the call of the function.
-
- Member
- Posts: 123
- Joined: Sun Nov 21, 2010 9:53 pm
Re: Calibration values
OK, I will see it for myself once I got the order (which is not going to happen before X-Mas anymore I guess )
In my current setup I get the values once and store them into a HouseBot property and get them from HouseBot each time I do a Power calc. I don't have a clue how fast all of the serial traffic is going to be so I created a continuous loop which addresses one Circle each six seconds. Circle 1 will be addressed again 9 times (9 Circles) 6 seconds after the first poll. I don't want to send Decice Info requests if they are not necessary.
Now working on the .py pow() function. Don't know what it is yet and I need a similar thing in vbscript. Will figure it out though however it is kind of hard without the actual hardware..
OK pow() is to the power or ^. Easy
Now the number 468.9385193 is up. I think I will dry test this on know values from this forum.
In my current setup I get the values once and store them into a HouseBot property and get them from HouseBot each time I do a Power calc. I don't have a clue how fast all of the serial traffic is going to be so I created a continuous loop which addresses one Circle each six seconds. Circle 1 will be addressed again 9 times (9 Circles) 6 seconds after the first poll. I don't want to send Decice Info requests if they are not necessary.
Now working on the .py pow() function. Don't know what it is yet and I need a similar thing in vbscript. Will figure it out though however it is kind of hard without the actual hardware..
OK pow() is to the power or ^. Easy
Now the number 468.9385193 is up. I think I will dry test this on know values from this forum.
Re: Calibration values
The calibration settings are steady. They don't change after you get them out the factory.
Please note that pol was merely a prove of concept code, and that's not a realistic script/use scenario for your own software.
Please note that pol was merely a prove of concept code, and that's not a realistic script/use scenario for your own software.
-
- Member
- Posts: 123
- Joined: Sun Nov 21, 2010 9:53 pm
Re: Calibration values
Funny how I was just reading that in an earlier post by you.
http://www.domoticaforum.eu/viewtopic.p ... 247#p36610
Thanks anyhow!
http://www.domoticaforum.eu/viewtopic.p ... 247#p36610
Thanks anyhow!