Calibration values

Plugwise Forum about Plugwise devices and the Source software.
Post Reply
richard naninck
Member
Member
Posts: 123
Joined: Sun Nov 21, 2010 9:53 pm

Calibration values

Post by richard naninck »

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
LostDreamer
Member
Member
Posts: 73
Joined: Fri Apr 10, 2009 1:43 pm
Location: Netherlands
Contact:

Re: Calibration values

Post by LostDreamer »

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
[url=https://www.viagrasansordonnancefr.com/commander-sildenafil-100-q-sirve/]commander sildenafil 100 q sirve www.viagrasansordonnancefr.com[/url]
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Re: Calibration values

Post by Bwired »

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.
richard naninck
Member
Member
Posts: 123
Joined: Sun Nov 21, 2010 9:53 pm

Re: Calibration values

Post by richard naninck »

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 :oops:

Now the number 468.9385193 is up. I think I will dry test this on know values from this forum.
Mdamen
Forum Moderator
Forum Moderator
Posts: 390
Joined: Sat Nov 22, 2008 6:58 pm
Location: Netherlands
Contact:

Re: Calibration values

Post by Mdamen »

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.
richard naninck
Member
Member
Posts: 123
Joined: Sun Nov 21, 2010 9:53 pm

Re: Calibration values

Post by richard naninck »

Funny how I was just reading that in an earlier post by you.

http://www.domoticaforum.eu/viewtopic.p ... 247#p36610

Thanks anyhow!
Post Reply

Return to “Plugwise Forum”