Installed myself a Plugwise system yesterday, and after toying with Source in Wine (it installed but couldn't connect to the internet so couldn't activate it) and then inside a Qemu VM just to get the stuff initialized, I had enough of that and installed Domotiga. In one word: awesome

I'm wondering about a few things though:
- Pachube data isn't being submitted correctly when using non-English languages. Debug log shows that it simply does not send anything as <value>, but the rest of the xml seems fine:
Code: Select all
<data id='0'>
<tag>Server power usage</tag>
<value></value>
<unit symbol='Watt' type='basicSI'></unit>
Code: Select all
+----+--------------+--------------------+-----------------------------+----------+-------------+------------------+-------+----------+---------+
| id | datastreamid | tags | devicename | deviceid | devicelabel | devicelabelshort | units | unittype | value |
+----+--------------+--------------------+-----------------------------+----------+-------------+------------------+-------+----------+---------+
| 1 | 0 | Server power usage | Serverruimte | 3 | Watt | NULL | | basicSI | Waarde2
Code: Select all
SELECT rResult!value
CASE "Value"
sValue = Devices.GetCurrentValueForDevice(rResult!deviceid)
CASE "Value2"
sValue = Devices.GetCurrentValue2ForDevice(rResult!deviceid)
CASE "Value3"
sValue = Devices.GetCurrentValue3ForDevice(rResult!deviceid)
CASE "Value4"
sValue = Devices.GetCurrentValue3ForDevice(rResult!deviceid)
END SELECT

- Polling and graphing intervals have me confused somewhat. I've set the Plugwise polltime to 300 because RRDTool is also set to that, but if I change them both to, say, 1 minute, will the RRDTool graphs still work? Or does that need adjustments for the many more data points?
- Energy cost is something I couldn't find. It would basically require the user to enter his energy pricing scheme, and use that together with polled data to calculate costs. I'm not sure if the rrdtool dataset is usable for this; is the data also stored in mysql? If it's not there, I could have a go at it; unfortunately, the last time I used Basic (apart from some obligatory braindead stuff at school) was on an Acorn Electron, so saying my Basic skills are rusty is quite the understatement

Thanks for any hints
