Nick,
I got multicast to work (I also found another issue see below, but I already solved it!).
1) to get multicast to work I followed the instructions on:
http://blogs.agilefaqs.com/2009/11/08/e ... acos-unix/2) I checked the event log window of indigo and I was getting the following error
- Code: Select all
NetworkOwl Debug Datagram "<electricity id='44371900__A_'><signal rssi='-55' lqi='21'/><battery level='100%'/><chan id='0'><curr units='w'>275.00</curr><day units='wh'>9101.12</day></chan><chan id='1'><curr units='w'>1031.00</curr><day units='wh'>14494.09</day></chan><chan id='2'><curr units='w'>204.00</curr><day units='wh'>8702.37</day></chan></electricity>" received from ('192.168.0.158', 22600)
NetworkOwl NetworkOwl: electricity packet received
NetworkOwl Debug packet address: 44371900__A_
NetworkOwl Error Received packet from unknown NetworkOwl 44371900__A_: create NetworkOwl device in Indigo
3) I realize the error was because it was not recognizing my OWL interface because of the "capital" A. On the label it was a small "a" and on Intuition website "devices" tab it was also reporting a small "a". Anyway I changed the plugin configuration to a capital A and I was able to get all the data!
4) Now the correct datagram:
- Code: Select all
NetworkOwl Debug Datagram "<electricity id='44371900__A_'><signal rssi='-55' lqi='0'/><battery level='100%'/><chan id='0'><curr units='w'>248.00</curr><day units='wh'>9167.39</day></chan><chan id='1'><curr units='w'>1244.00</curr><day units='wh'>14755.85</day></chan><chan id='2'><curr units='w'>755.00</curr><day units='wh'>8759.74</day></chan></electricity>" received from ('192.168.0.158', 22600)
NetworkOwl NetworkOwl: electricity packet received
NetworkOwl Debug packet address: 44371900__A_
NetworkOwl NetworkOwl: using watts: 248
The plugin is "almost" there. The interface measures 3 phases separately.<chan id='0', chan id='1' and chan id='2'>
The plugin is set to report only the Phase 1 <chan id='0'> so I guess for it to work properly with Intuition -lv set up would be the case of adding all three phases when reporting the "using watts" results.
For example on the reading above I was using
P1 = 248.00
P2 = 1244.00
P3 = 755.00
for a total of 2.26 kW
See below what Intuition web interface was reporting at the same time. See also what Indigo is reporting (that was not exactly at the same time, so the using watts is 133 instead of 248).