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

homebridge-syntex-webhooks

Package Overview
Dependencies
Maintainers
1
Versions
1176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-syntex-webhooks - npm Package Compare versions

Comparing version 1.0.4-b7 to 1.0.4

2

index.js

@@ -239,3 +239,3 @@ var request = require('request');

log('\x1b[31m%s\x1b[0m', "[ERROR]", "Es wurde kein passendes Gerät gefunden!");
log('\x1b[31m%s\x1b[0m', "[ERROR]", "Es wurde kein passendes Gerät gefunden! (" + urlParams.mac + ")");
}

@@ -242,0 +242,0 @@ }

{
"name": "homebridge-syntex-webhooks",
"version": "1.0.4-b7",
"version": "1.0.4",
"description": "A webhook plugin for HTTP devices",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -13,2 +13,5 @@ # Homebridge SynTex Webhooks

**INFO:** If the directory for the storage can't be created you have to do it by yourself and give it full write permissions!
- For the mac address you can use either a `real mac address` or another `unique text`
- Every device needs these configurations: `mac`, `name` and `type`
```

@@ -20,4 +23,59 @@ "platforms": [

"cache_directory": "./SynTex/",
"sensors": [],
"switches": []
"sensors": [
{
"mac": "EC:FA:BC:59:3F:3C",
"name": "Temperature",
"type": "temperature"
},
{
"mac": "EC:FA:BC:59:3F:3C",
"name": "Humidity",
"type": "humidity"
},
{
"mac": "EC:FA:BC:59:3F:3C",
"name": "Light",
"type": "light"
},
{
"mac": "EC:FA:BC:59:3F:3C",
"name": "Leak",
"type": "leak"
},
{
"mac": "EC:FA:BC:59:3F:3C",
"name": "Motion",
"type": "motion"
},
{
"mac": "EC:FA:BC:59:3F:3C",
"name": "Contact",
"type": "contact"
}
],
"switches": [
{
"mac": "EC:FA:BC:59:3F:3C",
"name": "Switch",
"type": "switch",
"on_method": "GET",
"on_url": "http://192.168.178.164/switch?state=true",
"off_method": "GET",
"off_url": "http://192.168.178.164/switch?state=false"
},
{
"mac": "EC:FA:BC:59:3F:3C",
"name": "Relais",
"type": "relais",
"on_method": "GET",
"on_url": "http://192.168.178.162/switch?state=true",
"off_method": "GET",
"off_url": "http://192.168.178.162/switch?state=false"
},
{
"mac": "dummy1",
"name": "Dummy",
"type": "switch"
}
]
}

@@ -24,0 +82,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