You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested the exporter on a Shelly 3EM & a Shelly 3EM PRO.
For the 3EM, i got :
root@Ubuntu-Tools:~# curl -s "http://localhost:7978/probe?target=10.10.200.40"
# HELP shelly_api_status_latency_ms Request latency for the status API in milliseconds
# TYPE shelly_api_status_latency_ms gauge
shelly_api_status_latency_ms{device="485519D74AEF"} 38
# HELP shelly_bat Show the current battery status in percentage
# TYPE shelly_bat gauge
shelly_bat{device="485519D74AEF"} 0
# HELP shelly_cloud_connected Whether the device is connected to Shelly Cloud
# TYPE shelly_cloud_connected gauge
shelly_cloud_connected{device="485519D74AEF"} 1
# HELP shelly_cloud_enabled Whether the device has Shelly Cloud enabled
# TYPE shelly_cloud_enabled gauge
shelly_cloud_enabled{device="485519D74AEF"} 1
# HELP shelly_filesystem_free_kb Amount of free filesystem space on device in kilobytes
# TYPE shelly_filesystem_free_kb gauge
shelly_filesystem_free_kb{device="485519D74AEF"} 155118
# HELP shelly_filesystem_total_kb Amount of total filesystem space on device in kilobytes
# TYPE shelly_filesystem_total_kb gauge
shelly_filesystem_total_kb{device="485519D74AEF"} 233681
# HELP shelly_memory_free_kb Amount of free memory on device in kilobytes
# TYPE shelly_memory_free_kb gauge
shelly_memory_free_kb{device="485519D74AEF"} 32420
# HELP shelly_memory_total_kb Amount of total memory on device in kilobytes
# TYPE shelly_memory_total_kb gauge
shelly_memory_total_kb{device="485519D74AEF"} 49920
# HELP shelly_mqtt_connected Whether the device is connected to MQTT
# TYPE shelly_mqtt_connected gauge
shelly_mqtt_connected{device="485519D74AEF"} 0
# HELP shelly_relay_on Whether the channel is turned ON or OFF
# TYPE shelly_relay_on gauge
shelly_relay_on{device="485519D74AEF",relay="0"} 1
# HELP shelly_update_available Whether the device has a firmware update available
# TYPE shelly_update_available gauge
shelly_update_available{device="485519D74AEF"} 0
# HELP shelly_uptime_seconds Uptime of the device in seconds
# TYPE shelly_uptime_seconds gauge
shelly_uptime_seconds{device="485519D74AEF"} 6196
root@Ubuntu-Tools:~#
While at it, please note that no power/energy/current/voltage measurement is returned for the 3EM either, just the memory and filesystem is returned...
I can't say why. Maybe you can have a look as well.
Hi,
I tested the exporter on a Shelly 3EM & a Shelly 3EM PRO.
For the 3EM, i got :
For the 3EM PRO, i get nothing:
From POSTMAN, i get the following returns from the devices:
20231125-Shelly_3EM.txt
20231125-Shelly_3EM_PRO.txt
I have no idea how to adjust this code to make it work, can you help?
FYI, to test it, i used:
Then from portainer, i created a container from the image & exposed ports 7978->9090 and it seems to be working, but the energy data is not captured.
Thanks,
Gabriel
The text was updated successfully, but these errors were encountered: