<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Blynk not working on WiPy 3.0?]]></title><description><![CDATA[<p dir="auto">Hello everyone! I am working on a small robot built up from an old Mint+ floor cleaner, and because I can't seem to figure out how to use websockets, I decided to use Blynk for now to test things out. Unfortunately the Blynk library appears broken, unless I'm doing something wrong. My test code is basic:</p>
<pre><code>import BlynkLib
import time

BLYNK_AUTH = 'MyAuthHere'
blynk = BlynkLib.Blynk(BLYNK_AUTH)

# to register virtual pins first define a handler
def v3_write_handler(value):
    print('Current slider value: {}'.format(value))

# attach virtual pin 3 to our handler
blynk.add_virtual_pin(3, write=v3_write_handler)

# start Blynk (this call should never return)
blynk.run()
</code></pre>
<p dir="auto">I get the error:</p>
<pre><code>AttributeError: 'module' object has no attribute 'Blynk'.
</code></pre>
<p dir="auto">I'm not sure where to go from here. I haven't found anything useful on the forums or Google yet. I could've built a physical wifi controller with joysticks and buttons, using mqtt for communication,  but I'm determined to figure this out. If nothing else, does anyone know of any good information on how to use websockets with the WiPy3?</p>
]]></description><link>https://forum.pycom.io/topic/2791/blynk-not-working-on-wipy-3-0</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 02:26:40 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/2791.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Mar 2018 21:14:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Blynk not working on WiPy 3.0? on Wed, 07 Mar 2018 21:14:34 GMT]]></title><description><![CDATA[<p dir="auto">Hello everyone! I am working on a small robot built up from an old Mint+ floor cleaner, and because I can't seem to figure out how to use websockets, I decided to use Blynk for now to test things out. Unfortunately the Blynk library appears broken, unless I'm doing something wrong. My test code is basic:</p>
<pre><code>import BlynkLib
import time

BLYNK_AUTH = 'MyAuthHere'
blynk = BlynkLib.Blynk(BLYNK_AUTH)

# to register virtual pins first define a handler
def v3_write_handler(value):
    print('Current slider value: {}'.format(value))

# attach virtual pin 3 to our handler
blynk.add_virtual_pin(3, write=v3_write_handler)

# start Blynk (this call should never return)
blynk.run()
</code></pre>
<p dir="auto">I get the error:</p>
<pre><code>AttributeError: 'module' object has no attribute 'Blynk'.
</code></pre>
<p dir="auto">I'm not sure where to go from here. I haven't found anything useful on the forums or Google yet. I could've built a physical wifi controller with joysticks and buttons, using mqtt for communication,  but I'm determined to figure this out. If nothing else, does anyone know of any good information on how to use websockets with the WiPy3?</p>
]]></description><link>https://forum.pycom.io/post/16826</link><guid isPermaLink="true">https://forum.pycom.io/post/16826</guid><dc:creator><![CDATA[hypercoffeedude]]></dc:creator><pubDate>Wed, 07 Mar 2018 21:14:34 GMT</pubDate></item><item><title><![CDATA[Reply to Blynk not working on WiPy 3.0? on Wed, 07 Mar 2018 21:18:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2448">@hypercoffeedude</a> said in <a href="/post/16826">Blynk not working on WiPy 3.0?</a>:</p>
<blockquote>
<p dir="auto">BlynkLib</p>
</blockquote>
<p dir="auto">which BlynkLib are you trying to use?</p>
]]></description><link>https://forum.pycom.io/post/16828</link><guid isPermaLink="true">https://forum.pycom.io/post/16828</guid><dc:creator><![CDATA[livius]]></dc:creator><pubDate>Wed, 07 Mar 2018 21:18:11 GMT</pubDate></item><item><title><![CDATA[Reply to Blynk not working on WiPy 3.0? on Wed, 07 Mar 2018 21:28:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/199">@livius</a> This is the one I am using:<br />
<a href="https://github.com/wipy/wipy/blob/master/lib/blynk/BlynkLib.py" target="_blank" rel="noopener noreferrer nofollow">https://github.com/wipy/wipy/blob/master/lib/blynk/BlynkLib.py</a></p>
<p dir="auto">I am on WiPy firmware version '1.17.0.b1'.</p>
]]></description><link>https://forum.pycom.io/post/16831</link><guid isPermaLink="true">https://forum.pycom.io/post/16831</guid><dc:creator><![CDATA[hypercoffeedude]]></dc:creator><pubDate>Wed, 07 Mar 2018 21:28:49 GMT</pubDate></item><item><title><![CDATA[Reply to Blynk not working on WiPy 3.0? on Thu, 08 Mar 2018 08:33:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2448">@hypercoffeedude</a><br />
I do not use blynk<br />
but few things</p>
<ol>
<li>are you sure that you have not more <code>BlynkLib</code> on your flash?</li>
<li>What is exact error message - all python messages point to line number with error. On your post you show only<br />
<code>AttributeError: 'module' object has no attribute 'Blynk'.</code></li>
<li>this lib is for Wipy1 (maybe there are some differences) - but error message is not releated to this</li>
</ol>
]]></description><link>https://forum.pycom.io/post/16843</link><guid isPermaLink="true">https://forum.pycom.io/post/16843</guid><dc:creator><![CDATA[livius]]></dc:creator><pubDate>Thu, 08 Mar 2018 08:33:13 GMT</pubDate></item></channel></rss>