- expose temperature conversion helpers
- bugfix
getThermostatList
not relayingoptions
- added
getWindowOpen
polyfill
- renamed
getDeviceListInfo
togetDeviceListInfos
- changed
getDeviceList
andgetDevice
to always return AINs without spaces. These AINs can directly be passed into the native Fritz!Box api functions. - added
getDeviceListFiltered
which takes afilter
object 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: false
option:fritz.getSessionID(username, password, { url: "https://...", strictSSL: false }).then(function(sid) { // ... });
-
changed
getSwitchPower
andgetBatteryCharge
to returnnull
instead of 0 or empty if device is not connected
- added object interface