Light/Dark Mode
Quick links
Unanswered topics
Active topics
Search
FAQ
Light/Dark Mode
Login
Login
Username:
Password:
Register
Get the device peakshaving settings & 40257
Skip to content
FoxESS
Home
Extending, Automating and general data geek corner
Energy Stats App
Navigation menu
Advanced search
Post Reply
Topic tools
Print view
Search
Search:
8 posts • Page
1
of
1
gbbsoft
Sat May 16, 2026 8:02 pm
Get the device peakshaving settings & 40257
A lot of API is working for me. But I stopped with this issue:
I try to call: /op/v0/device/peakShaving/get
This endpoint has only one parameter: sn
and I receive error: 40257 - Parameter does not meet expectations
Why? Sn doesn't meet exprctations?
gbbsoft
Sun May 17, 2026 4:30 pm
Re: Get the device peakshaving settings & 40257
On this issue:
2026-05-17 17:28:04: Foxess: send: json={"sn":"xxx","key":"MaxSOC","value":"25"}, url=
https://www.foxesscloud.com/op/v0/device/setting/set
2026-05-17 17:28:04: Foxess: received: {"errno":40257,"msg":"Parameters do not meet expectations. Please reenter","result":null}
2026-05-17 17:28:04: ERROR: 522: Foxess error:
40257-Parameters do not meet expectations. Please reenter
gbbsoft
Sun May 17, 2026 5:12 pm
Re: Get the device peakshaving settings & 40257
or simple Get:
2026-05-17 18:10:44: Foxess: send: json={"sn":"xxx","key":"MinSOC"}, url=
https://www.foxesscloud.com/op/v0/device/setting/get
2026-05-17 18:10:44: Foxess: received: {"errno":40257,"msg":"Parameters do not meet expectations. Please reenter","result":null}
alpriest
Sun May 17, 2026 6:05 pm
Re: Get the device peakshaving settings & 40257
You get that it if your device doesn't support peak shaving.
gbbsoft
Sun May 17, 2026 6:25 pm
Re: Get the device peakshaving settings & 40257
Thank. Understand.
Do you know that is this error:
2026-05-17 19:22:20: Foxess: received: {"errno":44108,"msg":"
Unrecognized msg:44108
","result":null}
alpriest
Sun May 17, 2026 8:22 pm
Re: Get the device peakshaving settings & 40257
I’ve never seen that. The error messages API should return all known codes, if you’re seeing something not in there then you’d need to reach out to Fox support to ask what it means.
gbbsoft
Sun May 17, 2026 8:43 pm
Re: Get the device peakshaving settings & 40257
How can I contact Foxess Support who has knowladge about API?
alpriest
Sun May 17, 2026 8:53 pm
Re: Get the device peakshaving settings & 40257
I’d imagine raise a support ticket from within the fox app, or use the fox website.
Post Reply
Topic tools
Print view
Display and sorting options
Display:
All posts
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Sort by:
Author
Post time
Subject
Direction:
Ascending
Descending
8 posts • Page
1
of
1
Return to “Energy Stats App”
Jump to
Getting Started/Community Rules
Recommended Suppliers
Welcome space / Install gallery
General Help
↳ Pre-sales Questions
↳ Customer/End User Help
↳ Mobile App Help
↳ Video Guides
↳ General Chat
↳ Feature Requests
International Users
↳ Australian
↳ French
↳ German
↳ Italian
Hardware
↳ Inverter Hardware
↳ Solar Only
↳ Hybrid (Solar + Battery)
↳ AC (Battery Only Inverters)
↳ Parallel Systems
↳ All-In-One Systems
↳ Battery Hardware
↳ HV2600
↳ Energy Cube (ECS/EQ)
↳ LV52/LV54/LV5200 (Low Voltage)
↳ Mira HV25
↳ EP3 / EP5 / EP11
↳ G-Max Grid Scale
↳ Firmware
↳ Off-Grid / EPS - Emergency Power Supply (Battery Backup)
↳ Manuals and Datasheets
Extending, Automating and general data geek corner
↳ Virtual Power Plant (VPP)
↳ Capture Energy
↳ Axle Energy
↳ Home Assistant
↳ Automation Ideas
↳ Dashboards
↳ Sensors
↳ CAN bus (Advanced Users)
↳ Energy Stats App
↳ Predbat
↳ OpenAPI
Useful Links
↳ Facebook Group
↳ Octopus Energy Referral - Earn £50 when you sign up
↳ Book a Zoom meeting for remote consultancy