New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

smartfritz-promise

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smartfritz-promise - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

6

example.js

@@ -14,4 +14,4 @@ /**

var username = DEFINE HERE;
var password = DEFINE HERE;
var username = "andi";
var password = "Nothing!28";

@@ -37,3 +37,3 @@

fritz.getSwitchTemperature(sid, switches[0]).then(function(temp) {
fritz.getTemperature(sid, switches[0]).then(function(temp) {
console.log("Switch temperature [" + switches[0] + "]: " + temp + "°C");

@@ -40,0 +40,0 @@ });

{
"name": "smartfritz-promise",
"version": "0.5.0",
"version": "0.5.1",
"description": "SmartHome for Fritz!Box and Dect!200 Node to communicate with AVM FritzBox over the aha-http-interface",

@@ -43,4 +43,5 @@ "author": {

"Dect 200",
"Comet DECT",
"SmartFritz"
]
}

@@ -8,3 +8,3 @@ # smartfritz

- Get the session ID (`getSessionID`)
- Get device list as XML (`getDeviceListInfos`) >FritzOS 6.10
- Get device list as XML (`getDeviceListInfo`) >FritzOS 6.10
- Get temperature (`getTemperature`)

@@ -40,4 +40,4 @@

- Set the guest wlan (setGuestWLan)
- Get the guest wlan settings (getGuestWLan)
- Set the guest wlan (`setGuestWlan`)
- Get the guest wlan settings (`getGuestWlan`)

@@ -44,0 +44,0 @@ All functions have been tested on FritzOS 6.20/6.36 / FritzBox 7390. The WLAN functions may be less stable.

@@ -206,3 +206,3 @@ /**

{
return executeCommand(sid, 'getswitchtemperature', ain, options).then(function(body) {
return executeCommand(sid, 'gettemperature', ain, options).then(function(body) {
return Promise.resolve(parseFloat(body) / 10); // °C

@@ -209,0 +209,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc