I know basic python ... like the very basics of the language ...
UIflows comes with Blockly , so I can drag and drop text onto the screen .. or write the same stuff in micropython... you can switch back and forth between these 2 modes
Havent really though about using another GUI library for the m5 devices ... but I like the idea since there would be more options to play with probably
If we are using sockets I already have a idea how this is going to work.
If you remember you helped me with a plugin a while back which also used sockets.... you gave me
the basic socket code I needed for connecting a chrome extension to eventghost via websocket. (which we turned into a extension for (Google Chrome .. to interact with browser tabs)) ...
I handled the Wxpython stuff and the javascript part there.
So I imagine this will be similiar. on the eg side of things ...
Adding auto discovery and auto connect for multiple devices that would be great.
I have these devices:
-2 m5tasck core
-2 m5atoms matrix (no screen , just 25 individual leds)
which I would like to hook up at once and send messages to individually via eventghost ...
These devices also have buttons so I guess can be used to send stuff back to eventghost as well
There also sleep modes since the m5devices using a eps32 chip .... maybe can add some actions to trigger those... just some idea
So I need :
----------
Eventghost Plugin:
- websocket server
M5device :
- auto discover eventghost and connect via websocket
m5 Eventghost Mode Program Pseudo Code :
1. Connect to Wifi
2. Connect to Eg via Socket (loop)
3. Recieve Commands from EG
4. Execute pre defined commands