Firmware of MOPS WiFi socket
-------------------------V0.1.0 -------------------------
[mac_address] is your device address, for example: ecfabc6a3ef8
device/mops/[mac_address]/sensor
(This topic reports the switch status regularly)
device/mops/[mac_address]/set
(This topic is about sending control information)
device/mops/[mac_address]/status
(This topic is to report device-related information)
Device Information:
send:
{"cmd":"device report"}
response:
{"type":"mops","mac":"ecfabc6a3ef8","ip":"192.168.3.21","version":"0.1.0"}
restart your device:
send:
{"cmd":"reboot"}
control your device:
send:
{"mac" : mac_address,"plug":{"on":"1"}}
check autoupgrade
send:
{"cmd":"checkAutoUpgrade"}
view mqtt info:
send:
{"cmd":"view_mqtt_info"}
reset the homekit biding:
send:
{"cmd":"reset_homekit_info"}
look the soft version:
send:
{"mac":mac_address,"version":"-1"}
response:
{"mac":mac_address,"version":"0.1.0"}
ota upgrade:
{"mac" : mac_address,"ota":"http://192.168.2.197:8080/oled.bin"}
http web upgrade port is: http://{your device ip}:8088
reset all device settings:
send:
{"cmd":"reset_device_settings"}
look_task_0 = {"mac" : mac_address,"task":"1"};
look_task_1 = {"mac" : mac_address,"task":"2"};
look_task_2 = {"mac" : mac_address,"task":"3"};
look_task_3 = {"mac" : mac_address,"task":"4"};
task_0_data = {"mac" : mac_address,"task_0":{"hour":23,"minute":30,"repeat":127,"action":2,"on":1}}
task_1_data = {"mac" : mac_address,"task_1":{"hour":18,"minute":21,"repeat":127,"action":0,"on":1}}
task_2_data = {"mac" : mac_address,"task_2":{"hour":19,"minute":3,"repeat":127,"action":0,"on":1}}
task_3_data = {"mac" : mac_address,"task_3":{"hour":6,"minute":30,"repeat":127,"action":1,"on":1}}
delay_settings = {"mac" : mac_address,"delay":{"status":1,"action":2,"times":1}};
look_delay_settings = {"mac" : mac_address,"delay":{"status":-1}};
Below is the firmware: