Hi Support,
I have a brand new Shelly1PM to add to my various Existing Shellys (1's and 1PM's)
But, when connecting to it via its own AP, (http://192.168.33.1) I don't get a webpage, rather I get the status and power usage JSON printed to the screen instead.
Never mind, I'm a computer programmer and can use HTTP REST calls manually, so I'll try that instead.
However, Even using the rest interface, I cannot get the Shelly1PM to connect to my Wifi network.
A call to /wifi_scan lists my WIFI SSID correctly, so the shelly can see the WIFI network.
A call to /status/sta?ssid=MY_SSID&key=MY_WIFI_PASSWORD&enabled=1&ipv4_method=dhcp
Yields the following result.
HTTP/1.1 200 OK
Server: Mongoose/6.11
Connection: close
Content-Type: application/json
Content-Length: 723
{
"wifi_sta": {
"connected": false,
"ssid": "",
"ip": "192.168.33.1",
"rssi": 0
},
"cloud": {
"enabled": false,
"connected": false
},
"mqtt": {
"connected": false
},
"time": "",
"serial": 1,
"has_update": false,
"mac": "D8BFC01A0847",
"relays": [
{
"ison": false,
"has_timer": false,
"overpower": false
}
],
"meters": [
{
"power": 0.00,
"is_valid": true,
"timestamp": 0,
"counters": [
0.000,
0.000,
0.000
],
"total": 0
}
],
"inputs": [
{
"input": 1
}
],
"ext_temperature": {},
"temperature": 0.00,
"overtemperature": false,
"tmp": {
"tC": 0.00,
"tF": 32.00,
"is_valid": "true"
},
"update": {
"status": "unknown",
"has_update": false,
"new_version": "",
"old_version": "20191219-114622/1047-long-id-for-shelly-devices@d05667c7"
},
"ram_total": 50680,
"ram_free": 39840,
"fs_size": 233681,
"fs_free": 173692,
"uptime": 1677
}
Alles anzeigen
I.e. it doesn't even try to connect to my WIFI.
How can I go about forcing the Shelly1PM into Wifi client mode?
Thanks.
Ash