Connection state TellStickDuo
Connection state TellStickDuo
If I disconnect the TellStickDuo, the connection state is not changed, it still says 'Connected', both in the GUI and via the REST interface. For AudioProtocolParser this is working as expected, connection state changes are updated correctly
Also, when connecting the Duo again, it seems that the connection is not correctly recovered
Also, when connecting the Duo again, it seems that the connection is not correctly recovered
-
- Site Admin
- Posts: 313
- Joined: Sun Nov 30, 2014 2:16 pm
Re: Connection state TellStickDuo
Unfortunately I think Linux will assign the COM-port a new name when you plug it in again. I will check a bit more in detail.
Re: Connection state TellStickDuo
OK, I see
Just additional info, as soon as you disconnect the TellStickDuo, the log gets completely flooded so at least the connection status should be possible to update. And I wonder what is happening to my SD card on RPi now in this situation...is there any risk? Is it possible to turn off logging completely?
Just additional info, as soon as you disconnect the TellStickDuo, the log gets completely flooded so at least the connection status should be possible to update. And I wonder what is happening to my SD card on RPi now in this situation...is there any risk? Is it possible to turn off logging completely?
Code: Select all
Time Source Message
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:32 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
15.02.12 07:24:31 TellstickPort failed to read from Tellstick serial port:
-
- Site Admin
- Posts: 313
- Joined: Sun Nov 30, 2014 2:16 pm
Re: Connection state TellStickDuo
Hmm, you are right, that handling of lost connection does not look too good. I will have to do some improvements there.
Re: Connection state TellStickDuo
Dear Stefan, with respect that you have other duties, just a Q if you have looked into this? I have finished coding on my end but I cannot test if it is working correctly...even though I believe so (it works fine when I disconnect/connect an audio receiver)
-
- Site Admin
- Posts: 313
- Joined: Sun Nov 30, 2014 2:16 pm
Re: Connection state TellStickDuo
Well, this being a hobby project, the response times are not really predictable... The precious hours i get to spend on this have to be carefully householded. But I usually try to prioritize if someone have some kind of problems, and I did not realize that this was something acute, so it was a bit further down in the pile...
I have committed a partial fix for the problem, so it does not spam the log at least. It still does not reconnect automatically for some reason, but the rtxt library is not always very predictable... Hope this helps at least. It is in the nightly build.
I have committed a partial fix for the problem, so it does not spam the log at least. It still does not reconnect automatically for some reason, but the rtxt library is not always very predictable... Hope this helps at least. It is in the nightly build.
Re: Connection state TellStickDuo
Btw sorry to ask why that is importend that tellstick connect disconnect? my raspberry run 8 month and never tellstick dropped out.
do you try something tricky there why that tellstick loose connect?.
do you try something tricky there why that tellstick loose connect?.
Re: Connection state TellStickDuo
@Stefan, no hurry, I just saw this as a bug and I think the sw should be able to handle disconnects/reconnects automatically without the need to restart the server (btw, I find stop server command in the gui but not restart or start...). The problem is if you run NetHome in a VM under Windows, then it can happen that NetHome loses connection to the usb device either temporarily or permanently. The action I would perform if I could monitor the device state is either to reboot the VM or hopefully wait a while for the recover to happen
@Nasty, just me wanting things 'perfect', that is the way I do it myself as much as possible. The biggest problem was that the logging was going bananas...
@Nasty, just me wanting things 'perfect', that is the way I do it myself as much as possible. The biggest problem was that the logging was going bananas...
Re: Connection state TellStickDuo
Yeah I see , banana log is bad think . I have never has issue dropped tellstick in my raspberry so only wanna know how you get tellstick unconnected . Btw new raspberry pi 1ghz 1gb ram and 4 core is soon available or already in shop.
Re: Connection state TellStickDuo
I would very much like a connection message to! Sometimes my Tellstick drops, and it would be great if the bridge that Krambriw has made between ONH and EG could fire an event that lets me reset the USB over TCPIP box that I have it connected to.