/spot-router

Primary LanguageC++OtherNOASSERTION

mono wireless logo

spot-router

Mono Wireless TWELITE SPOT Local Router Example

MW-OSSLA

日本語版はこちら

Contents

About

Set ESP32 as a websocket client.

You can transfer packet data string (same as App_Wings output, ModBus ASCII format) to the websocket server in the LAN.

Usage

  1. Modify Wi-Fi / WebSocket configs in the sketch file.
  2. Run a WebSocket server in the LAN.
  3. Upload & Run the sketch.

Dependencies

TWELITE BLUE on the TWELITE SPOT

  • Firmware
    • App_Wings (>= 1.3.0)

ESP32-WROOM-32 on the TWELITE SPOT

Extra

Python WebSocket server example

extra/python-websocket-server/server.py is an example script for receiving data from ESP32.

How to run

$ pip3 install websocket-server
$ python3 server.py

Features

  • Display a message when a new client connects
  • Display packet string when new data arrives

License

Copyright (C) 2023 Mono Wireless Inc. All Rights Reserved.
Released under MW-OSSLA-1J,1E (MONO WIRELESS OPEN SOURCE SOFTWARE LICENSE AGREEMENT).