Trouble getting Brultech 1240 working with Vera 2 UI5

I just installed by Brultech and I am not having luck with it communicating with vera. I installed the Brultech plugin from the apps in UI5 and assigned the usb serial adapter to the brultech. I have connected the Brultech directly to my serial port on my laptop and I am able to connect to it with no problem using the Brultech software. Is there settings or something that needs to be changed?

Thanks
John

Update
Here is what I am seeing in my log

50 05/05/12 18:54:31.103 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=Bïÿþ1þÿá@J— <0x781f>
50 05/05/12 18:54:31.104 luup_log:141: Brultech PowerMeter: debug: Skipping buffer=Bïÿþ1þÿá@J— <0x781f>
50 05/05/12 18:54:32.079 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=, Length=64 <0x781f>
50 05/05/12 18:54:32.080 luup_log:141: Brultech PowerMeter: debug: Skipping buffer= <0x781f>

50 05/05/12 18:58:13.129 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=, Length=64 <0x781f>
50 05/05/12 18:58:13.131 luup_log:141: Brultech PowerMeter: debug: Skipping buffer= <0x781f>
50 05/05/12 18:58:14.137 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=, Length=64 <0x781f>
50 05/05/12 18:58:14.138 luup_log:141: Brultech PowerMeter: debug: Skipping buffer= <0x781f>
50 05/05/12 18:58:15.129 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=, Length=64 <0x781f>
50 05/05/12 18:58:15.131 luup_log:141: Brultech PowerMeter: debug: Skipping buffer= <0x781f>
50 05/05/12 18:58:16.137 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=, Length=64 <0x781f>
50 05/05/12 18:58:16.138 luup_log:141: Brultech PowerMeter: debug: Skipping buffer= <0x781f>
50 05/05/12 18:58:17.129 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=, Length=64 <0x781f>
50 05/05/12 18:58:17.131 luup_log:141: Brultech PowerMeter: debug: Skipping buffer= <0x781f>
50 05/05/12 18:58:18.136 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=, Length=64 <0x781f>
50 05/05/12 18:58:18.137 luup_log:141: Brultech PowerMeter: debug: Skipping buffer= <0x781f>
50 05/05/12 18:58:19.129 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=, Length=64 <0x781f>
50 05/05/12 18:58:19.129 luup_log:141: Brultech PowerMeter: debug: Skipping buffer= <0x781f>
50 05/05/12 18:58:20.136 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=, Length=64 <0x781f>
50 05/05/12 18:58:20.137 luup_log:141: Brultech PowerMeter: debug: Skipping buffer= <0x781f>
50 05/05/12 18:58:21.129 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=, Length=64 <0x781f>
50 05/05/12 18:58:21.129 luup_log:141: Brultech PowerMeter: debug: Skipping buffer= <0x781f>

You need to run with the ASCII format for ea ECM-1240. It looks like yours are either in Binary mode or the baud rate on the Vera serial port defn is incorrect.

My ECM-1240 was set for binary. I changed it to ASCII but still not getting no information in UI5. My log is showing more information now

50 05/05/12 23:51:44.409 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=sec=90469&v=1238&c1w=1983&c2w=&wsa1=124074224&wsa2=7449&wsap1=349&wsap2=2626&A1w=&A1ws=413544&A2w=&A2ws=7&A3w=162&A3ws=2658485&A4w=200&A4ws=4255780&A5w=1292&A5ws=40446781&dev=4503&id=4&Resp=, Length=190 <0x781f>

50 05/05/12 23:51:44.410 luup_log:141: Brultech PowerMeter: debug: Skipping buffer=sec=90469&v=1238&c1w=1983&c2w=&wsa1=124074224&wsa2=7449&wsap1=349&wsap2=2626&A1w=&A1ws=413544&A2w=&A2ws=7&A3w=162&A3ws=2658485&A4w=200&A4ws=4255780&A5w=1292&A5ws=40446781&dev=4503&id=4&Resp= <0x781f>

50 05/05/12 23:51:46.408 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=sec=90471&v=1238&c1w=1982&c2w=&wsa1=124078189&wsa2=7449&wsap1=349&wsap2=2626&A1w=&A1ws=413544&A2w=&A2ws=7&A3w=163&A3ws=2658810&A4w=200&A4ws=4256179&A5w=1293&A5ws=40449367&dev=4503&id=4&Resp=, Length=190 <0x781f>

50 05/05/12 23:51:46.409 luup_log:141: Brultech PowerMeter: debug: Skipping buffer=sec=90471&v=1238&c1w=1982&c2w=&wsa1=124078189&wsa2=7449&wsap1=349&wsap2=2626&A1w=&A1ws=413544&A2w=&A2ws=7&A3w=163&A3ws=2658810&A4w=200&A4ws=4256179&A5w=1293&A5ws=40449367&dev=4503&id=4&Resp= <0x781f>

50 05/05/12 23:51:48.408 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=sec=90473&v=1239&c1w=1982&c2w=&wsa1=124082149&wsa2=7449&wsap1=349&wsap2=2626&A1w=&A1ws=413544&A2w=&A2ws=7&A3w=162&A3ws=2659135&A4w=198&A4ws=4256577&A5w=1293&A5ws=40451952&dev=4503&id=4&Resp=, Length=190 <0x781f>

50 05/05/12 23:51:48.409 luup_log:141: Brultech PowerMeter: debug: Skipping buffer=sec=90473&v=1239&c1w=1982&c2w=&wsa1=124082149&wsa2=7449&wsap1=349&wsap2=2626&A1w=&A1ws=413544&A2w=&A2ws=7&A3w=162&A3ws=2659135&A4w=198&A4ws=4256577&A5w=1293&A5ws=40451952&dev=4503&id=4&Resp= <0x781f>

50 05/05/12 23:51:50.407 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=sec=90475&v=1236&c1w=1579&c2w=&wsa1=124085329&wsa2=7449&wsap1=349&wsap2=2626&A1w=&A1ws=413544&A2w=&A2ws=7&A3w=162&A3ws=2659460&A4w=196&A4ws=4256973&A5w=884&A5ws=40453870&dev=4503&id=4&Resp=, Length=189 <0x781f>

50 05/05/12 23:51:50.408 luup_log:141: Brultech PowerMeter: debug: Skipping buffer=sec=90475&v=1236&c1w=1579&c2w=&wsa1=124085329&wsa2=7449&wsap1=349&wsap2=2626&A1w=&A1ws=413544&A2w=&A2ws=7&A3w=162&A3ws=2659460&A4w=196&A4ws=4256973&A5w=884&A5ws=40453870&dev=4503&id=4&Resp= <0x781f>

Thanks
John

Oops, I meant HTTP mode. There are screenshots of this reconfiguration here
Installation-ECM1240 – Brultech Power Monitor

[quote=“guessed, post:4, topic:171419”]Oops, I meant HTTP mode. There are screenshots of this reconfiguration here
http://code.mios.com/trac/mios_brultech-power-monitor/wiki/Installation-ECM1240[/quote]

Ok, I changed the ECM-1240 to http but still no good. Here is what I am seeing in my log now

50 05/06/12 10:09:08.611 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=GET ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿWóâñz?sec=127458&v=1226&c1w=1382&c2w=&wsa1=161519687&wsa2=11477&wsap1=349&wsap2=4421&A1w=&A1ws=817680&A2w=&A2ws=9&A3w=155&A3ws=8586431&A4w=225&A4ws=7699269&A5w=679&A5ws=54902083&dev=4503&id=4&Resp= HTTP/1.0, Length=253 <0x781f>

50 05/06/12 10:09:08.611 luup_log:141: Brultech PowerMeter: debug: Skipping buffer=GET ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿWóâñz?sec=127458&v=1226&c1w=1382&c2w=&wsa1=161519687&wsa2=11477&wsap1=349&wsap2=4421&A1w=&A1ws=817680&A2w=&A2ws=9&A3w=155&A3ws=8586431&A4w=225&A4ws=7699269&A5w=679&A5ws=54902083&dev=4503&id=4&Resp= HTTP/1.0 <0x781f>

50 05/06/12 10:09:08.613 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=H, Length=1 <0x781f>

50 05/06/12 10:09:08.614 luup_log:141: Brultech PowerMeter: debug: Skipping buffer=H <0x781f>

50 05/06/12 10:09:11.526 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=GET ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿWó, Length=46 <0x781f>

50 05/06/12 10:09:11.527 luup_log:141: Brultech PowerMeter: debug: Skipping buffer=GET ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿWó <0x781f>

50 05/06/12 10:09:11.816 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=òz?sec=127498&v=1223&c1w=1362&c2w=&wsa1=161577489&wsa2=11480&wsap1=349&wsap2=4424&A1w=&A1ws=817680&A2w=&A2ws=9&A3w=156&A3ws=8593002&A4w=207&A4ws=7709064&A5w=670&A5ws=54930163&dev=4503&id=4&Resp= HTTP/1.0, Length=206 <0x781f>

50 05/06/12 10:09:11.817 luup_log:141: Brultech PowerMeter: debug: Skipping buffer=òz?sec=127498&v=1223&c1w=1362&c2w=&wsa1=161577489&wsa2=11480&wsap1=349&wsap2=4424&A1w=&A1ws=817680&A2w=&A2ws=9&A3w=156&A3ws=8593002&A4w=207&A4ws=7709064&A5w=670&A5ws=54930163&dev=4503&id=4&Resp= HTTP/1.0 <0x781f>

50 05/06/12 10:09:11.863 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=Host: ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿWó, Length=78 <0x781f>

50 05/06/12 10:09:11.863 luup_log:141: Brultech PowerMeter: debug: Skipping buffer=Host: ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿWó <0x781f>

50 05/06/12 10:09:11.877 luup_log:141: Brultech PowerMeter: debug: processIncomingText:: Buffer=òz, Length=5 <0x781f>

50 05/06/12 10:09:11.878 luup_log:141: Brultech PowerMeter: debug: Skipping buffer=òz <0x781f>

Thanks
John

It looks like you haven’t configured the POST URL extension field in the config UI. See the hyperlink I provided for an example of what that should look like.

Thanks alot that did it. I am now seeing the info in UI. I didn’t think the post url was needed when connected directly via serial port. One other question do you know if any was able to get this to work via lan with a Lantronix UDS 1100 instead of the one Brultech sells?

Thanks
John

I’ve not used a Lantronix before, but if it’s just a Serial to Ethernet converter, where a client initiates the TCP connection (unencrypted) then it should work.

Internally, the Etherbee is just a WIZnet attached to a pre configured XBee. So a WIZnet would work, and when I developed it I used a WiFI-Serial adapter from RovingNetworks.

[quote=“guessed, post:8, topic:171419”]I’ve not used a Lantronix before, but if it’s just a Serial to Ethernet converter, where a client initiates the TCP connection (unencrypted) then it should work.

Internally, the Etherbee is just a WIZnet attached to a pre configured XBee. So a WIZnet would work, and when I developed it I used a WiFI-Serial adapter from RovingNetworks.[/quote]

Just an FYI i was able to successfully transfer it over to the Lantronix UDS 1100 with no problem. Thanks for all your help.

John

You’re welcome. Let me know how you go using it.

From what we’ve seen so far, UI5’s Ergy plugin doesn’t seem to work with any of the custom Energy collectors, seems like they haven’t tested it.

That said, it won’t stop these devices from showing the correct data. It’s quite interesting to see where all your electricity usage comes from, I’ve found a few surprises in the process.

[quote=“guessed, post:10, topic:171419”]You’re welcome. Let me know how you go using it.

From what we’ve seen so far, UI5’s Ergy plugin doesn’t seem to work with any of the custom Energy collectors, seems like they haven’t tested it.

That said, it won’t stop these devices from showing the correct data. It’s quite interesting to see where all your electricity usage comes from, I’ve found a few surprises in the process.[/quote]

I am mainly using it to see energy used. We are getting high bills on and off, so I want to see where we are at on the usage and cut back what we can. I already found one of our heater circuit drawing a 400W all the time with all the baseboards turned off. I had no plans using it with Ergy as i enabled it once before and it slowed my vera down way to much. I uninstalled the Ergy but my vera is still not as fast as it was. Maybe once it is supported in Ergy and I upgrade to Vera 3 I might consider it.

John