Just found this Github commit while doing some research on the Homey Portal.
Seems like the ZigBee OTAs are coming soon
Just found this Github commit while doing some research on the Homey Portal.
Seems like the ZigBee OTAs are coming soon
Soon needs a little extra on this forum, so here you go: Soon™️
I think this soon wil be a real soon™ one ![]()
Zigbee and Matter will be first, we’ll work on Z-Wave and others after that
Will it also be available on the Homey Pro 2019?
Glorious!
Fingers crossed!![]()
Nice Nice
Not as a generic service
https://device-firmware.athom.com/
Found in /lib/AthomDeviceFirmwareAPI.js in the homey-api npm package:
'use strict';
const API = require('./API');
class AthomDeviceFirmwareAPI extends API {
static SPECIFICATION = {
host: 'device-firmware.athom.com',
basePath: '/',
operations: {},
};
static JSDOC_PRIVATE = true;
/**
* Get the location of a firmware update file.
*
* @param {Object} opts
* @param {string} opts.integrity - The integrity hash (i.e unique key) of the firmware file, e.g. "sha256:abcdef1234567890..."
* @param {boolean} [opts.noCache] - Whether to bypass the cache and fetch the firmware fresh from sourceUrl. Default: false.
* @param {string} [opts.sourceUrl] - The original URL of the firmware file, if the cache is bypassed or missed the server can attempt to fetch the file from this URL.
* @param {string} [opts.homeyTag] - How to tag the file in the cache (requires sourceUrl to be set, and the cache to be bypassed or missed).
* @param {number} [opts.$timeout] - Optional timeout in milliseconds for this API call.
* @returns {Promise<{ url: string, cache: string }>}
*/
async getFirmwareURL({ integrity, noCache, sourceUrl, homeyTag, $timeout }) {
const query = {};
if (typeof this.__secret === 'string') {
query.secret = this.__secret;
}
if (noCache !== undefined) {
query.noCache = noCache;
}
if (sourceUrl !== undefined) {
query.sourceUrl = sourceUrl;
}
if (homeyTag !== undefined) {
query.homeyTag = homeyTag;
}
return this.call({
method: 'get',
path: `/firmware/${integrity}`,
query,
timeout: $timeout,
});
}
}
module.exports = AthomDeviceFirmwareAPI;