Two steps closer:
2015/09/09 22:43:11 SOCKET: waiting for 14 seconds
2015/09/09 22:43:25 opening socket connection to 192.168.xxx.xxx:2000
2015/09/09 22:43:25 sending request 1 to device
2015/09/09 22:43:25 SOCKET: sending ^^^APISPK
2015/09/09 22:43:25 waiting for data from device
2015/09/09 22:43:25 reading 1 of 1 packets
2015/09/09 22:43:25 buffering packet ts:1441863805 sn:010xxxxx
2015/09/09 22:43:25 closing socket connection
2015/09/09 22:43:25 buffer info:
2015/09/09 22:43:25 010xxxxx: 3 of 120 (1441863805)
2015/09/09 22:43:25 processing with MQTTProcessor
2015/09/09 22:43:25 2 buffered packets sn:010xxxxx
2015/09/09 22:43:25 1 calculated packets sn:010xxxxx
2015/09/09 22:43:25 MQTT: len=32, msgs=[{"topic": "/house/energy/mains", "retain": false, "qos": 0, "payload": 0.001}, {"topic": "/house/energy/subpanel", "retain": false, "qos": 0, "payload": 0.001}, {"topic": "/house/energy/010xxxxx_ch3", "retain": false, "qos": 0, "payload": -0.0}, {"topic": "/house/energy/010xxxxx_ch4", "retain": false, "qos": 0, "payload": 0.925125}, {"topic": "/house/energy/010xxxxx_ch5", "retain": false, "qos": 0, "payload": 0.008}, {"topic": "/house/energy/010xxxxx_ch6", "retain": false, "qos": 0, "payload": -0.0}, {"topic": "/house/energy/010xxxxx_ch7", "retain": false, "qos": 0, "payload": -0.0}, {"topic": "/house/energy/010xxxxx_ch8", "retain": false, "qos": 0, "payload": 1.4417083333333331}, {"topic": "/house/energy/010xxxxx_ch9", "retain": false, "qos": 0, "payload": -0.0}, {"topic": "/house/energy/010xxxxx_ch10", "retain": false, "qos": 0, "payload": 0.00020833333333333335}, {"topic": "/house/energy/010xxxxx_ch11", "retain": false, "qos": 0, "payload": 0.004645833333333333}, {"topic": "/house/energy/010xxxxx_ch12", "retain": false, "qos": 0, "payload": 0.022208333333333333}, {"topic": "/house/energy/010xxxxx_ch13", "retain": false, "qos": 0, "payload": 0.0570625}, {"topic": "/house/energy/010xxxxx_ch14", "retain": false, "qos": 0, "payload": -4.1666666666666665e-05}, {"topic": "/house/energy/010xxxxx_ch15", "retain": false, "qos": 0, "payload": -0.0}, {"topic": "/house/energy/010xxxxx_ch16", "retain": false, "qos": 0, "payload": -0.0}, {"topic": "/house/energy/010xxxxx_ch17", "retain": false, "qos": 0, "payload": 0.0021041666666666665}, {"topic": "/house/energy/010xxxxx_ch18", "retain": false, "qos": 0, "payload": 0.003}, {"topic": "/house/energy/010xxxxx_ch19", "retain": false, "qos": 0, "payload": 0.02002083333333333}, {"topic": "/house/energy/010xxxxx_ch20", "retain": false, "qos": 0, "payload": 0.0100625}, {"topic": "/house/energy/010xxxxx_ch21", "retain": false, "qos": 0, "payload": 0.11152083333333333}, {"topic": "/house/energy/010xxxxx_ch22", "retain": false, "qos": 0, "payload": 0.01922916666666667}, {"topic": "/house/energy/010xxxxx_ch23", "retain": false, "qos": 0, "payload": 0.0011041666666666667}, {"topic": "/house/energy/010xxxxx_ch24", "retain": false, "qos": 0, "payload": 0.003}, {"topic": "/house/energy/010xxxxx_ch25", "retain": false, "qos": 0, "payload": 0.00022916666666666666}, {"topic": "/house/energy/010xxxxx_ch26", "retain": false, "qos": 0, "payload": 0.10397916666666668}, {"topic": "/house/energy/010xxxxx_ch27", "retain": false, "qos": 0, "payload": 0.09620833333333333}, {"topic": "/house/energy/010xxxxx_ch28", "retain": false, "qos": 0, "payload": 0.0009375}, {"topic": "/house/energy/010xxxxx_ch29", "retain": false, "qos": 0, "payload": -0.0}, {"topic": "/house/energy/010xxxxx_ch30", "retain": false, "qos": 0, "payload": -0.0}, {"topic": "/house/energy/010xxxxx_ch31", "retain": false, "qos": 0, "payload": -0.0}, {"topic": "/house/energy/010xxxxx_ch32", "retain": false, "qos": 0, "payload": -0.0}]
Next steps are to get the MQTT Publish working correctly, and then authentication schemes (in the following order)
- Without authentication
- With username/password auth
- With cert-auth
Then I’ll go back to getting the device aliases working in a more flexible manner (010xxxxx_ch1
is simply aliased as mains
in the output) as well as getting the other channels included (W & Wh, Pulse Counters & Temperature channels)