Mill-International-AS / Generation_3_REST_API

Local REST API documentation
37 stars 6 forks source link

More info about OTA-update? #3

Open bthovda opened 2 years ago

bthovda commented 2 years ago

Regarding the OTA-update command. Is there an list/overview of avaialble firmwares with corresponding urls?

General about updates: Does the heaters auto-update to the newest version if they are cloud connected?

millheat commented 2 years ago

@bthovda If the heater is connected to the cloud it will automatically get the latest firmware update as we roll new updates out. For your first question, i will check if we can provide such urls with latest fimware

Spillmaker commented 1 year ago

For your first question, i will check if we can provide such urls with latest fimware

Any updates on this?

simba-tlk commented 1 year ago

An update on this topic would be nice. :)

ismarslomic commented 1 year ago

Related question to the OTA-updates: will you always make bacward compatible updates to the heater firmware in regards to this REST Api? The great thing with such Api is that people can integrate Mill heaters in different smart home softwares, such as Home Assistant. But if an OTA update installs automatically and breaks the REST Api integration, then that would be quite annoying.

millheat commented 1 year ago

@ismarslomic @simbatl @Spillmaker Thank you for your messages and patience

First to Simbatl's questions: We are currently in the process of preparing to migrate to a new IoT platform which is taking alot of our time. Migration is estimated to be around Feb-March 2023, this means we will have new API and also alot of new features which were previously not possible with the old API. Once migrated we will update the documentation with how to get all the firmware releases, it will be on a server which will be publically avaialbe and were everyone link to firmware urls to download and OTA their devices. Or you could dowload and place it on your own server

Ismarslomic , we will always make sure to be backwards compatible. Coming with updates that break the local rest API function is in no ones interest. So rest assured we will not break any features we the firmware matures. Over time we will just add more features as we develop them.

I can also mention we are coming with Matter support for all gen3 heaters/socket, this will make your device alexa, google and homekit compatible.

Regarding the new online API, it will support webhooks as well and it will allow you to do pretty much everything you could do in the app. Which includes fetching historical data and all the more advanced features. You can check it out the documentation which is located here.

http://mn-be-prod-documentation.s3-website.eu-central-1.amazonaws.com/#/operations/listWebhooks

For those really interested you can also use your own app to add your Mill device to the new Mill cloud.

Keep in mind its still under heavy developement so changes will happen.

ismarslomic commented 1 year ago

@millheat thanks for really interesting insight into your roadmap! And thanks for sharing it transparently! Have you considered adding push/subscription based API as well, specifically for sensor data such as temperature and program change? Currently the local API only supports poll based pattern, which makes unecessary complexity and load on the heaters

Danielhiversen commented 1 year ago

@millheat I tried to test the new API. It looks very promising 👍 I have been able to make an account with one of the endpoints, and receive a token. I do not see any endpoints for connecting a heater to the new API? Is that possible? How?