rfxcom pwr module, adding a sensor
Moderator: RDNZL
rfxcom pwr module, adding a sensor
Hi, wauw great peace of software, realy booming.
But now starts the testing and i found a problem, when i try to add another sensor thats on my rfxcom pwr module i get this error message. (see attachement) Is this a bug or am i doing something wrong?
And after that its closes the domotiga program.
When i start it again and i go to energy, ill get another error (see attachement)
Then the program shutdown again.
groeten,
Francis
But now starts the testing and i found a problem, when i try to add another sensor thats on my rfxcom pwr module i get this error message. (see attachement) Is this a bug or am i doing something wrong?
And after that its closes the domotiga program.
When i start it again and i go to energy, ill get another error (see attachement)
Then the program shutdown again.
groeten,
Francis
- Snelvuur
- Forum Moderator
- Posts: 3156
- Joined: Fri Apr 06, 2007 11:01 pm
- Location: Netherlands
- Contact:
rfxcom pwr module, adding a sensor
no attachments here (yet?)
// Erik (binkey.nl)
// Erik (binkey.nl)
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
rfxcom pwr module, adding a sensor
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by francisb</i>
<br />Hi, wauw great peace of software, realy booming.
But now starts the testing and i found a problem, when i try to add another sensor thats on my rfxcom pwr module i get this error message. (see attachement) Is this a bug or am i doing something wrong?
And after that its closes the domotiga program.
When i start it again and i go to energy, ill get another error (see attachement)
Then the program shutdown again.
groeten,
Francis
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">It could be that I only support 1 sensor, or not yours, I still don't know the difference between RFXPwr and RFXMeter of my head, and I'm sure that I need to add more error checking... [:o)]
You can add a screenshot by uploading and copy and pasting the url.
Ron.
<br />Hi, wauw great peace of software, realy booming.
But now starts the testing and i found a problem, when i try to add another sensor thats on my rfxcom pwr module i get this error message. (see attachement) Is this a bug or am i doing something wrong?
And after that its closes the domotiga program.
When i start it again and i go to energy, ill get another error (see attachement)
Then the program shutdown again.
groeten,
Francis
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">It could be that I only support 1 sensor, or not yours, I still don't know the difference between RFXPwr and RFXMeter of my head, and I'm sure that I need to add more error checking... [:o)]
You can add a screenshot by uploading and copy and pasting the url.
Ron.
- b_weijenberg
- Forum Moderator
- Posts: 1744
- Joined: Sun May 14, 2006 4:32 pm
- Location: Netherlands
rfxcom pwr module, adding a sensor
Ron,
The RFXMeter is an RF transmitter with slots for up to 3 RFXPwr or RFXPulse modules.
The RFXPwr is the power metering module using the Current Transformer to measure the power.
The RFXPulse is a pulse metering module using a reflective-optical sensor, photo-sensor or dry-contact.
The RFXPower is an older version comparable with the RFXMeter and an RFXPwr module. This device is measuring in steps of 10Watt while the RFXPwr module measures in steps of 1Watt.
There must be a divide factor in the software for each sensor to calculate the used units (kWh, m3, liters etc)
Bert
The RFXMeter is an RF transmitter with slots for up to 3 RFXPwr or RFXPulse modules.
The RFXPwr is the power metering module using the Current Transformer to measure the power.
The RFXPulse is a pulse metering module using a reflective-optical sensor, photo-sensor or dry-contact.
The RFXPower is an older version comparable with the RFXMeter and an RFXPwr module. This device is measuring in steps of 10Watt while the RFXPwr module measures in steps of 1Watt.
There must be a divide factor in the software for each sensor to calculate the used units (kWh, m3, liters etc)
Bert
rfxcom pwr module, adding a sensor
strange i have two attachements attached to the previous post.
Here is another try.
Here is another try.
rfxcom pwr module, adding a sensor
no attached attachements seen here
<h6>Anyone interested in time travel meet me here last Thursday!!
Download todays latest spoken weather by the WiFi bot (in Dutch) here (MP3).</h6>
<h6>Anyone interested in time travel meet me here last Thursday!!
Download todays latest spoken weather by the WiFi bot (in Dutch) here (MP3).</h6>
rfxcom pwr module, adding a sensor
[:(!] what am i doing wrong? oke using Vista instead of Ubuntu.
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
rfxcom pwr module, adding a sensor
You have not done anything wrong, it's either an incomplete device entry in the database, or the fact that there are 2 sensors of type rfxpower and my query doesn't catch it correctly.
I will try to see where exactly it goes wrong, and come up with some patching.
Ron.
I will try to see where exactly it goes wrong, and come up with some patching.
Ron.
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
rfxcom pwr module, adding a sensor
I have seen a problem with the lastseen field of a new device, it's not filled after creation, so will generate an error in several parts of the program (wanted Float got Null instead)
In Main.DisplaySensors() look form line:and change it to:
If you still get errors e-mail me your devices table:
Regards,
Ron.
In Main.DisplaySensors() look form line:
Code: Select all
' last seen time
sText = Replace$(Str$(Format(rDevice!lastseen, "yyyy-mm-dd hh:nn:ss")), Format(Date(), "yyyy-mm-dd") & " ", "")
Code: Select all
IF rDevice!lastseen THEN sText = Replace$(Str$(Format(rDevice!lastseen, "yyyy-mm-dd hh:nn:ss")), Format(Date(), "yyyy-mm-dd") & " ", "")
Code: Select all
mysqldump -u root -p domotiga devices >devices.sql
Ron.
rfxcom pwr module, adding a sensor
He Ron,
Did you had the change to solve this problem with the logs i send you?
Regards,
Francis
Did you had the change to solve this problem with the logs i send you?
Regards,
Francis
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
rfxcom pwr module, adding a sensor
Hi Francis,
Well im currently busy adding RFXPulse modules, so I can distinguish between power, water and gas sensors.
Let you know soon.
Ron.
Well im currently busy adding RFXPulse modules, so I can distinguish between power, water and gas sensors.
Let you know soon.
Ron.
rfxcom pwr module, adding a sensor
great thanks for the fast reply.
rfxcom pwr module, adding a sensor
HE Ron
Anyluck with adding rfxcom sensors?
Anyluck with adding rfxcom sensors?
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
rfxcom pwr module, adding a sensor
Hi Francis,
I have also added support for logging the usage of RFXPulse gas and water modules now.
Please update your install with svn, and run mysql -u root -p <upgrade2.sql to update your database.
Let me know if it works ok, and if readings are correct.
Make sure devicetype/module of your entered device is type RFXPulse Gas and enable RRDTool graphing for it with Value2 datasource name m3 and type GAUGE.
Regard,
Ron.
I have also added support for logging the usage of RFXPulse gas and water modules now.
Please update your install with svn, and run mysql -u root -p <upgrade2.sql to update your database.
Let me know if it works ok, and if readings are correct.
Make sure devicetype/module of your entered device is type RFXPulse Gas and enable RRDTool graphing for it with Value2 datasource name m3 and type GAUGE.
Regard,
Ron.
rfxcom pwr module, adding a sensor
Hi Ron,
Keep in mind that RFXPulse modules can be used for anything that can be counted; not just power, gas and water.
Keep in mind that RFXPulse modules can be used for anything that can be counted; not just power, gas and water.