New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError in browser by trying to update firmware version of device #770
Comments
Is there a workaround to update the firmware of device? Due to the error I can't update the firmware. |
Please wait until the next coming RaspberryMatic update (or until RaspberryMatic beta versions appear) which will be based on 3.51.6 OCCU which potentially could fix the issue |
@floriandrott I just updated RaspberryMatic to OCCU 3.51.6 today and generated new experimental beta versions. So if you are brave and would like to give it a test so that we can check before the final release that the issue is eiterh solved in 3.51.6 or that we need to fix it ourself, please download the experimental version here: https://github.com/jens-maus/RaspberryMatic/actions/runs/36918297 and let me know if this version solves your issues. |
I just checked the relevant code passage/function that your report is referencing: isDutyCycleOK4DevUpdate = function() {
var ifaceBidCosRF = "BidCos-RF";
var BidCosIFaces = homematic("Interface.listBidcosInterfaces", {"interface": ifaceBidCosRF});
var dcVal = 0,
dcWarningLevel = 80,
dcOK = true;
jQuery.each(BidCosIFaces, function (index, iFace) {
if (iFace.type == "CCU2") {
dcVal = (typeof iFace.dutyCycle != "undefined") ? parseInt(iFace.dutyCycle) : 0;
if (dcVal >= dcWarningLevel) {
dcOK = false;
}
return false; //leave each loop
}
});
return dcOK;
}; For you it seems to crash in the |
Then download the latest 3.51.6 nightly snapshot from here, please: |
@jens-maus will do. The CI pipeline failed on the OVA build and there is currently no build available. |
@floriandrott Then wait for the next nightly build to appear. I just fixed some issues in the CI piplelines and the next build should hopefully finish correctly. And if you just use a HmIP-RFUSB I think I know where the issues comes from. Will have to develop a fix for it and let you know as soon as you can test it. |
As you can see, I just committed a potential fix for your reported issue. So please wait for the next nightly build to appear and retest again if you have a test installation and see if this fixes your WebUI based device update issues. |
Thanks @jens-maus - with the new official version it's working! |
Describe the bug
I can't update the version version of my device. The reason is that when I click on 'update' within the WebUI then I get in my browser (Safari) a TypeError error in the console (Safari). I tried this out also in Chrome.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Firmware update is starting.
Screenshots
System information (please complete the following information):
Additional context
Was also existing in the previous RaspberryMatic version
The text was updated successfully, but these errors were encountered: