blynk-library-python icon indicating copy to clipboard operation
blynk-library-python copied to clipboard

BrokenPipeError

Open kristonelka opened this issue 2 years ago • 6 comments

python3 - Function blynk.virtual_write() irregularly ends with Broken Pipe Error. I have no ide how to fix or prevent it. b4c387287994a5fb69047a0edf837823e61cd8ed

kristonelka avatar Feb 08 '23 18:02 kristonelka

You can upload your script to GitHub and share the link so we can take a look at it. If you don't like coding, I'd suggest that you take a look at Node-RED and the Blynk plugin instead. It's a perfect way to use the Raspberry Pi with Blynk with almost no coding.

John93-Blynk avatar Feb 17 '23 15:02 John93-Blynk

I would be interested to know how your comment about “the easy coding” helps to solve the problem. Node Red is unintuitive that I refuse to try it.

kristonela avatar Feb 19 '23 23:02 kristonela

May I ask you why? Have you ever tried Node-RED?

John93-Blynk avatar Feb 20 '23 04:02 John93-Blynk

I have, I am not comfortable with using it. This is the code. The broken pipe error usually occures on the line with red dot.

image

kristonelka avatar Feb 20 '23 10:02 kristonelka

Does it work properly if you comment that line out?

John93-Blynk avatar Feb 20 '23 11:02 John93-Blynk

What have you done to troubleshoot it? Just print the data you want to send and see if it’s correct. If it is, send some bogus data to Blynk. In other words, try to pin point the problem.

ebolisa avatar Feb 20 '23 11:02 ebolisa