Hi! I have about 12 shelly motion and they're draining battery like mad. We're talking a full recharge after two weeks and it doesn't really matter how often they trigger or not.
So I thought they have to boot up their WIFI module more often than necessary and I read about the settings/coiot_update_period field in the documentation.
But I cannot set it. It doesn't matter what I try, it always stays the same.
Maybe someone can help.
Here's a sample REST-request trying to set it (tried both GET and POST with the same result of it being set to 3600)
What is happening here and how am I the only one getting this?
Firmware is up to date. Doesn't matter if I reset the Shelly...
Code
10.10.197.25/settings?coiot_update_period=3500
# OUTPUT:
{
"device": {
"type": "SHMOS-01",
"mac": "60A423DAE52A",
"hostname": "shellymotionsensor-60A423DAE52A",
"num_outputs": 0
},
"wifi_ap": {
"enabled": false,
"ssid": "shellymotionsensor-60A423DAE52A"
},
"wifi_sta": {
"enabled": true,
"ssid": "dahoam",
"ipv4_method": "dhcp",
"ip": null,
"gw": null,
"mask": null,
"dns": null
},
"mqtt": {
"enable": false,
"server": "192.168.33.2:1883",
"user": null,
"id": "shellymotionsensor-60A423DAE52A",
"clean_session": true,
"max_qos": 0,
"retain": false,
"update_period": 60
},
"sntp": {
"server": "time.google.com",
"enabled": true
},
"login": {
"enabled": true,
"unprotected": false,
"username": "admin",
"default_username": "admin"
},
"pin_code": "!8j6FA",
"name": null,
"fw": "20211223-144928/v2.0.5@3f0fcbbe",
"discoverable": false,
"build_info": {
"build_id": "20211223-144928/v2.0.5@3f0fcbbe",
"build_timestamp": "2021-12-23T14:49:28Z",
"build_version": "2021122314"
},
"cloud": {
"enabled": false
},
"coiot": {
"enabled": true,
"update_period": 3600,
"peer": "10.10.196.4:1901"
},
"timezone": "Europe/Vienna",
"lat": 48.323040,
"lng": 14.290930,
"tzautodetect": true,
"tz_utc_offset": 3600,
"tz_dst": false,
"tz_dst_auto": true,
"time": "15:39",
"sleep_time": 0,
"motion": {
"sensitivity": 10,
"blind_time_minutes": 3,
"pulse_count": 1,
"operating_mode": 0,
"enabled": true
},
"tamper_sensitivity": 0,
"led_status_disable": true,
"dark_threshold": 20,
"twilight_threshold": 200,
"schedule": false,
"schedule_rules": [],
"hwinfo": {
"hw_revision": "dev-prototype",
"batch_id": 0
},
"sleep_mode": {
"period": 60,
"unit": "m"
}
}
Alles anzeigen