- expose temperature conversion helpers
- bugfix
getThermostatListnot relayingoptions
- added
getWindowOpenpolyfill
- renamed
getDeviceListInfotogetDeviceListInfos - changed
getDeviceListandgetDeviceto always return AINs without spaces. These AINs can directly be passed into the native Fritz!Box api functions. - added
getDeviceListFilteredwhich takes afilterobject to apply to the devices. Used internally for filtering byfunctionbitmask.
-
bugfixed OO bitfunctions in object
-
moved jslint to pretest
-
added first testcase (mocha+chai based)
-
added testdir ./test
-
npm test testcase look up
-
travis workflow: before_install: jslint, before_script: npm test, after_sucess: istanbul coverage
-
added istanbul cover (npm run coverage)
-
Breaking change: SSL certificate check is now strict. This will break self-signed certificates that are typically used by AVM Fritz!Box. To connect via HTTPS to such a Fritz!Box add the
strictSSL: falseoption:fritz.getSessionID(username, password, { url: "https://...", strictSSL: false }).then(function(sid) { // ... });
-
changed
getSwitchPowerandgetBatteryChargeto returnnullinstead of 0 or empty if device is not connected
- added object interface