-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connection problem #24
Comments
Hi, It seems that these log messages come from your OS as plum ecomax integration doesn't write to log in French. This indicates, that connection is failing on the OS level, most likely due to hardware problem. Try with different USB port on Pi or different RS485->USB adapter and see if problem persists. FYI Detect sub-devices button is used solely to detect freshly connected modules such as thermostats and mixers. It doesn't do anything for the connection process. |
I just changed the language to English, it works acutely. to see in time |
No, you misunderstood. What I meant, is that the log messages that you provided are not originating from this integration, but from the operating system. This means that the problem lies outside of the integration. Changing language should not affect hardware in any way. If the issue is fixed it probably is due to some other factor. Try switching back to French and see if it still works 🇫🇷 Non, tu as mal compris. Ce que je voulais dire, c'est que les messages de journal que vous avez fournis ne proviennent pas de cette intégration, mais du système d'exploitation. Cela signifie que le problème se situe à l'extérieur de l'intégration. Le changement de langue ne devrait en aucun cas affecter les périphériques matériels. Si le problème est résolu, cela est probablement dû à un autre facteur. Essayez de revenir au français et voyez si cela fonctionne toujours. |
I understood but just the fact of having put in English it works, I will do several tests |
OK. Sorry for assuming wrong then and thanks for the heads up. Hope that you'll find what's causing the issue. |
Hi, I have also connection problem. |
@rostislav-palivoda For the first point I expected as much, especially with weaker hardware or VMs. FTDI's have pretty reliable software flow control, which works wonders on higher baudrates. Timing is crucial with RS485, as standard doesn't include any flow control at all. Adding any additional layers such as VMs and, by a lesser extent, containers, further exacerbates this problem. So chips which include proprietary automatic flow control have big advantage in stability. The second point is interesting though. On re-connection attempt, PyPlumIO reconstructs pyserial-asyncio object from the scratch, so there really shouldn't be any difference between reconnect and full fledged restart. Do you get any log entries, that look like this: "Can't connect to the device, retrying in 20.0 seconds". If so, does USB device work on VM after pulling USB device out and plugging it back in? Does running |
@denpamusic
Will wait for a week and let you know if anything comes up. Thanks! |
Is there an existing issue for this?
I'm having the following issue:
I connected my raspberry pi 3 to an ecomax810P controller with the ester_X40 thermostat to RS-485 USB gateway, I regularly have connection and disconnection problems.
approximately every 30 seconds, there is a connection then a disconnection
I pressed several times on /dev/ttyUSB0 Detect sub-devices
same problem
I have following devices connected:
I'm connecting to my devices using:
USB to RS-485 adapter
I'm seeing following log messages:
My diagnostics data:
I pressed several times on /dev/ttyUSB0 Detect sub-devices
Code of Conduct
The text was updated successfully, but these errors were encountered: