Kivy and websocket client, best librabry choice and code sample

588 views
Skip to first unread message

pidou46

unread,
Apr 12, 2018, 11:21:15 AM4/12/18
to Kivy users support
Hi,

I try to build a GUI with Kivy on smartphone to monitor and ineract with a MCU (microcontroler)

A websocket server is running on the MCU (esp32 running micropython).

The Kivy (GUI) app should act as a websocket client.

The websockets library on pypi look nice, but it relies on asyncio unlike Kivy.

I don't see how I can make it work with Kivy, any idea or code sample will be appreciated.

Thanks

Michael Kramer

unread,
Apr 12, 2018, 12:00:23 PM4/12/18
to Kivy users support
I have used ws4py within a kivy app for both a server and client ws connection and it works pretty well.

And the client and server apps were running on android so I don't think ws4py has any native dependencies that you have to be worried about.

hope that helps


--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages