Instead of relying on the default web interface, is it possible to build a custom interface (for example, a simple webpage or a Python script) to send commands like LED ON/OFF or retrieve sensor/system data from the EKH01/EKH05/MM6108?
Hi @Anindita , I’m not entirely sure what it is you are trying to achieve. It would helpful to know more about your use-case.
For the time being, you are welcome to use our Zepyhr port to interface with the LEDs and sensors.
For my research purpose, I want to develop a client-side interface to send commands and receive sensor data..
It is up to you, the user/developer, to build software you need for your application. The software you write will run on the host controller (for example, the STM32 on the EKH05). We provide necessary components for the HaLow network interface.
Take a look at the MM-IoT-SDK OR the Zephyr port which will enable you to develop your application with Wi-Fi HaLow. The default software running on the EKH05 just presents a web server.
For OpenWrt based devices (such as the EKH01), you could look at using remote ubus. See https://openwrt.org/docs/techref/ubus#access_to_ubus_over_http for more information on how to access ubus remotely.
I’d stress that Wi-Fi HaLow is, from the application side, just providing a standard network connection. i.e. just open a TCP/IP connection and send and receive some data, as you would over any network. You can try to re-use some of our existing software (e.g. OpenWrt’s ubus interface, as @cmistry mentioned, or on an ekh01 put files in /www), or you can write your own.
For instance, on an ekh01, you could install Python (assuming it is connected to the internet) via opkg install python3 and then run a Python script. On an EKH05, you’d almost certainly be writing C code, though!