Recieving signals from a USB sound card
Posted: Sat Nov 11, 2017 2:48 pm
Hi,
I use a Tellstick Duo to receive and transmit signals to and from my NetHomeServer. As the Tellstick Duo cannot receive signals from my Nexa smoke detectors I have connected a RX433N to a small USB sound card and connected all the HW to a separate PC. In the protocol analyser I can see how the signals to and from my main NetHomeServer are received and interpreted correctly by the RX433N and the USB sound card.
I installed an instance of NetHomeServer in the PC and created a AudioProtocolParser Item. I copied the settings like Flank Swing, Flank Length etc. from the protocol analyser settings and the AudioProtocolParser popped up nicely and reported the Ctatus as connected in the Item list.
Now to the problem: When I click Create New Item I expect to se all the Thermometers and lamps etc. to pop up in the detected items window as soon as they are active in my house, ...but nothing happens at all. The necessary protocols are all activated in the AudioProtocolParser.
In the log file get these messages repeated over and over again:
17.11.11 15:14:44 AudioProtocolPort Sample Rate:44100.0
17.11.11 15:14:43 AudioProtocolPort Closing 0 additional lines in the mixer
17.11.11 15:14:43 AudioProtocolPort Close wait count: 1
17.11.11 15:14:43 AudioProtocolPort Sampler Thread Exiting
17.11.11 15:14:43 AudioProtocolPort Closing TargetDataLine wo stop and flush, buffer:2756
I have tried to connect the USB Sound card to a separate Raspberry pi, but the result is the same. Should the settings be different in AudioProtocolParser compared to the Protocol Analyser? Does anyone have any ideas or experiences to share regarding using a USB sound card and the AudioProtocolParser?
/PeterS
I use a Tellstick Duo to receive and transmit signals to and from my NetHomeServer. As the Tellstick Duo cannot receive signals from my Nexa smoke detectors I have connected a RX433N to a small USB sound card and connected all the HW to a separate PC. In the protocol analyser I can see how the signals to and from my main NetHomeServer are received and interpreted correctly by the RX433N and the USB sound card.
I installed an instance of NetHomeServer in the PC and created a AudioProtocolParser Item. I copied the settings like Flank Swing, Flank Length etc. from the protocol analyser settings and the AudioProtocolParser popped up nicely and reported the Ctatus as connected in the Item list.
Now to the problem: When I click Create New Item I expect to se all the Thermometers and lamps etc. to pop up in the detected items window as soon as they are active in my house, ...but nothing happens at all. The necessary protocols are all activated in the AudioProtocolParser.
In the log file get these messages repeated over and over again:
17.11.11 15:14:44 AudioProtocolPort Sample Rate:44100.0
17.11.11 15:14:43 AudioProtocolPort Closing 0 additional lines in the mixer
17.11.11 15:14:43 AudioProtocolPort Close wait count: 1
17.11.11 15:14:43 AudioProtocolPort Sampler Thread Exiting
17.11.11 15:14:43 AudioProtocolPort Closing TargetDataLine wo stop and flush, buffer:2756
I have tried to connect the USB Sound card to a separate Raspberry pi, but the result is the same. Should the settings be different in AudioProtocolParser compared to the Protocol Analyser? Does anyone have any ideas or experiences to share regarding using a USB sound card and the AudioProtocolParser?
/PeterS