The rrd graphs on disk are only refreshed if there is need for it, for example when someone is watching the Climate, Energy pages, and only those that are related to that particular page are generated, so the load is kept down.
I can create a xmlrpc method for this function, so you can call that one form your webpage. I will put it on my to-do list.
If you defined your devices with the correct devicetype, and have a rfxcom receiver domotiga will receiver and store usage of the modules below automatically, if all is well, the different measurements are stored in db tables with code in Energy.module.
- Code: Select all
' construct table name
SELECT sMeter
CASE "RFXPwr Module"
sTable = "power_usage"
CASE "RFXPulse Gas"
sTable = "gas_usage"
CASE "RFXPulse Water"
sTable = "water_usage"
END SELECT
The differences are use to calculate the usage, these should be seen in the second device value, if not this is a bug.
You can try to enable energy debug in the settings and check debug log, or look inside the database to see if there are records created.
- Code: Select all
mysql -u root -p domotiga
Enter password:
- Code: Select all
mysql> select * from power_usage order by stamp desc limit 10;
+-------+---------+---------------------+-------------+
| id | counter | stamp | consumption |
+-------+---------+---------------------+-------------+
| 29370 | 6987007 | 2010-02-01 08:40:00 | 179 |
| 29369 | 6986828 | 2010-02-01 08:35:00 | 37 |
| 29368 | 6986791 | 2010-02-01 08:30:00 | 35 |
| 29367 | 6986756 | 2010-02-01 08:25:00 | 79 |
| 29366 | 6986677 | 2010-02-01 08:20:00 | 187 |
| 29365 | 6986490 | 2010-02-01 08:15:00 | 217 |
| 29364 | 6986273 | 2010-02-01 08:10:00 | 181 |
| 29363 | 6986092 | 2010-02-01 08:05:00 | 41 |
| 29362 | 6986051 | 2010-02-01 08:00:00 | 138 |
| 29361 | 6985913 | 2010-02-01 07:55:00 | 53 |
+-------+---------+---------------------+-------------+
10 rows in set (0.04 sec)
For temperature info on the home page, add the sensor you want to use for this to groups Outside, Humidity and Temperature.
For power usage info the first device with type 'RFXPwr Module' defined will be used for this, check your debug log for errors.
If you cant find the cause e-mail me.
About the support for more than one RFXCom 1-wire sensor, I'm not sure this limit is still there, it had to do with the supply voltage sensors. I cannot test this myself.