Closed bnc-rainman closed 1 year ago
I am the developer of the AlphaCloud platform, and we plan to develop a version of Api for customers to use. I've been watching you for a long time.
@ElevenFan that sounds really, really good. We (the whole community) would really appreciate it!
I am the developer of the AlphaCloud platform, and we plan to develop a version of Api for customers to use. I've been watching you for a long time.
Welcome to our little discussion group. We already thought that this repository is being watched (see SorX14's post above). I hope for an open constructive work by your appearance here, in which the technically best solution is reached to the satisfaction of both parties.
Thank you already for the announcement of a customer API. This is very good news. You will enable your customers to behave in an environmentally conscious manner in a simple and uncomplicated way by means of solutions such as those shown in the attached photo.
(@All: Off topic again. Shame on me. But I would be interested in your solutions)
I need to know what APIs you are using?
@bnc-rainman I'm interested in peoples setups. Here is one mine during development:
Doesn't yet have a nice 3D printed case like yours.
@ElevenFan For me I'm using ESS/GetLastPowerDataBySN
called every 10 seconds to fill up a local database with energy statistics, then one or more of the above displays shows usage.
That is all I need - live stats and battery level.
I'd expect others with a battery would want a method to set charging behavour - force discharge, force recharge etc - but I'll let them speak for themselves.
I think all APIs for fetching (live and historical) data would be a got first shot. Afterwards we should talk about APIs for getting/setting options. ;-)
GetLastPowerDataBySN this Api can be opened,The data of PowerData is very large, and the save time will not be very long。
I make a call every 5 minutes during daylight hours to check the battery level and current charging rate - This is purely so I can decide to turn on or turn off the car chargers to stop any export to the grid while maintaining as much charge as possible in the battery itself to run the house.
On 14 Nov 2022 at 08:39:53, dehsgr @.***> wrote:
I think all APIs for fetching (live and historical) data would be a got first shot. Afterwards we should talk about APIs for getting/setting options. ;-)
— Reply to this email directly, view it on GitHub https://github.com/CharlesGillanders/alphaess/issues/9#issuecomment-1313287786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI7STJAMJUH5KGH2IRIGSLWIH3FTANCNFSM6AAAAAARGLWJ7Y . You are receiving this because you commented.Message ID: @.***>
GetCustomMenuESSlist and SticsSummeryDataForCustomer are you use?Other this week's update will not update the key。
@ElevenFan Thank you for involving the community (and thanks to CharlesGillanders for allowing it to grow in this issue)
If it helps here is the list of possible calls this project will make along with an explanation of what they're used for. This is just a summary of code comments.
Authentication
POST Account/Login
POST Account/RefreshToken
Get a list of available devices on account
GET Account/GetCustomMenuESSList
Get live power details
GET ESS/GetLastPowerDataBySN
Get daily averages
GET Power/SticsByPeriod?beginDay={todaydate}&endDay={todaydate}&tDay={todaydate}
Get system statistics
POST Statistic/SystemStatistic
Get settings by serial number
GET Account/GetCustomUseESSSetting
Get system ID from serial
GET Account/GetCustomUseESSList
Set battery charge/discharge
POST Account/CustomUseESSSetting
@ElevenFan thats very good to hear. It would be great to know that customers can fairly work with their own data from their own systems.
@SorX14 also thanks for pulling the various calls out of the source.
I use DataDog to push metrics for yearly cost/ usage analysis.
coupled with forecasting data to predict how much to charge the battery at night rate
without this - the benefit of solar is missed
It's great to see how everyone's using the data for automations & displays. @ElevenFan thanks for joining the discussion, a public API would be amazing, please keep us updated!
Hi All,This is our github address,https://github.com/alphaess-developer/alphacloud_open_api If you have any ideas, you can give us suggestions,including procedural questions。It is still under construction, everyone is welcome to join, and more functions will be opened in the future。
Awesome that we'll have an official API soon but if you're looking for ModBus instead, I've created a repo here: https://github.com/SorX14/alphaess_modbus.
I'm not the best Python developer, and its not a pip package yet, but should be good enough to get started.
2022-10-16 AlphaCloud V5.0.0.2 New Signature verification and anti-crawl data functionality are added in all APIs of AlphaCloud.
---- New Request headers--- authsignature: al8e4s2c6c8e91af3e3......... authtimestamp: 1665929281