imbrianj / switchBoard

Control of Internet connected devices within a given network via web interface.
MIT License
201 stars 53 forks source link

Fixing default port for Panasonic Vierra #16

Closed andresn closed 10 years ago

andresn commented 10 years ago

I was seeing an ECONNREFUSED otherwise.

andresn commented 10 years ago

For the record, here is what a healthy request is looking like atm in logs: $ node app Panasonic: Loaded panasonic controller Panasonic: Loaded markup template for panasonic Listening on port 8080 192.168.2.6 Client connected 192.168.2.6 WebSocket connected Single command issued { host: '192.168.2.8', port: 55000, path: '/nrc/control_0', method: 'POST', headers: { 'content-type': 'text/xml', accept: 'text/xml', 'cache-control': 'no-cache', pragma: 'no-cache', soapaction: '"urn:panasonic-com:service:p00NetworkControl:1#X_SendKey"' } } Panasonic: Command VOLUP looks valid Panasonic: Connected Panasonic: Command executed