-
Notifications
You must be signed in to change notification settings - Fork 14
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
MQTT/XToys integration #56
Comments
XToys isn't something I've used before, so not quite sure how it works, and how to go about integrating yet. |
This is what caught my eye https://github.com/xHasKx/luamqtt |
I think the problem's going to be that it depends on luasocket, which depends on a BSD-style sockets API, which LwIP used by the Pico SDK doesn't really provide. Plus I think trying to run Lua scripts of that size/complexity just isn't going to work well (if at all). Also I need to have a think about how it would work when running Lua script locally, as at present, the box will only connect to WiFi when in remote access mode. |
I guess there are 2 routes - initially could the LUA client just handshake with a python app and let python do the work but in the longer term having the LUA client "phone home" and start the wifi in code would be the better way performance headroom permitting. |
Yeah, doing something via the python app might be an option too |
I believe there is a LUA implementation of MQTT -any plans on this or other routes to integrate with XToys?
The text was updated successfully, but these errors were encountered: