Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
homebridge-syntex-webhooks
Advanced tools
A simple plugin to control and to create HTTP devices.
This plugin is made to cooperate with Homebridge: https://github.com/nfarina/homebridge
It stores accessory data you can request to display the content on your website / app.
Report
us your Issues
Join
our Discord Server
sudo npm install -g homebridge
sudo npm install -g homebridge-syntex-webhooks
config.json
file. See snippet below.sudo systemctl restart homebridge; sudo journalctl -fau homebridge
Info: If the baseDirectory
for the storage can't be created you have to do it by yourself and give it full write permissions!
sudo mkdir -p /var/homebridge/SynTex/
( create the directory )sudo chown -R homebridge /var/homebridge/SynTex/
( permissions only for homebridge )sudo chmod 777 -R homebridge /var/homebridge/SynTex/
( permissions for many processes )"platforms": [
{
"platform": "SynTexWebHooks",
"baseDirectory": "/var/homebridge/SynTex",
"options": {
"port": 1710,
"language": "us"
},
"log": {
"debug": false
},
"accessories": [
{
"id": "sensor1",
"name": "Contact",
"services": [
{ "type": "contact" }
]
},
{
"id": "EC:FA:BC:59:3F:3C",
"name": "Climate",
"services": [
{ "type": "temperature" },
{ "type": "humidity" }
]
},
{
"id": "multi1",
"name": "Multi Switch",
"services": [
{ "type": "switch", "name": "First" },
{ "type": "switch", "name": "Second" }
]
},
{
"id": "multi2",
"name": "Multi Device",
"services": [
{ "type": "switch", "name": "First" },
{ "type": "motion", "name": "Second" },
{ "type": "light", "name": "Third" },
{ "type": "leak", "name": "Leak" },
{ "type": "smoke", "name": "Smoke" },
{ "type": "occupancy", "name": "Present" }
]
},
{
"id": "EC:FA:BC:59:3F:3F",
"name": "Switch",
"services": [
{
"type": "switch",
"requests": [
{
"trigger": "on",
"method": "GET",
"url": "http://192.168.1.100/switch?state=true"
},
{
"trigger": "off",
"method": "GET",
"url": "http://192.168.1.100/switch?state=false"
}
]
}
],
"pingURL": "http://192.168.1.100/ping"
},
{
"id": "EC:FA:BC:59:3F:30",
"name": "Relais",
"services": [
{
"type": "relais",
"requests": [
{
"trigger": "on",
"method": "GET",
"url": "http://192.168.1.100/switch?state=true"
},
{
"trigger": "off",
"method": "GET",
"url": "http://192.168.1.100/switch?state=false"
}
]
}
],
"pingURL": "http://192.168.1.100/ping"
},
{
"id": "light1",
"name": "Dummy Dimmer",
"services": [
{
"type": "dimmer",
"requests": [
{
"trigger": "dimmer",
"method": "GET",
"url": "http://192.168.1.100/brightness="
}
]
}
],
"pingURL": "http://192.168.1.100/ping"
},
{
"id": "light2",
"name": "Dummy Light",
"services": [
{
"type": "rgb",
"spectrum": "RGB",
"requests": [
{
"trigger": "color",
"method": "GET",
"url": "http://192.168.1.100/color"
}
]
}
],
"pingURL": "http://192.168.1.100/ping"
},
{
"id": "event1",
"name": "Events",
"services": [
{
"type": "statelessswitch",
"buttons": 1
}
]
},
{
"id": "blind1",
"name": "Blind",
"services": [
{
"type": "blind",
"delay": {
"up": 11000,
"down": 10000
}
}
]
}
]
}
]
platform
is always SynTexWebHooks
baseDirectory
The path where cache data is stored.accessories
For the accessory config.port
To control your accessory over HTTP calls.language
You can use your country initials if you want to change it ( Currently supported: us
, en
, de
)error
, warn
, info
, read
, update
, success
and debug
( for example debug: false
)id
, name
and services
( required )id
has to be either a real mac address
or another random unique text
( no duplicates! )name
could be anything.services
see service config below.pingURL
check the device connection.type
should be one of these: airquality
, blind
, contact
, dimmer
, humidity
, leak
, led
, light
, motion
, occupancy
, outlet
, rain
, relais
, rgb
, smoke
, statelessswitch
, switch
, temperature
requests
( trigger can be: on, off, color )spectrum
attribute ( to convert to the right output format: RGB / HSL )buttons
attribute.Control and set up your devices by installing homebridge-syntex
This plugin is made for plugin management, automation system and device control.
Check out the GitHub page for more information:
https://github.com/SynTexDZN/homebridge-syntex
http://
Bridge IP /devices?id=
Device ID &value=
New ValueBridge IP
and Device ID
New Value
you can type these patterns:true
/ false
( contact, leak, motion, occupancy, outlet, rain, smoke, switch )10
/ 12.4
( airquality, blind, humidity, light, temperature )true
/ false
( dimmer, led, rgb )&brightness=
New Brightness ( has to be a number )&hue=
New Hue ( has to be a number )&saturation=
New Saturation ( has to be a number )&type=
SERVICETYPE&counter=
SERVICENUMBERExample: http://homebridge.local:1710/devices?id=multi2&type=light&counter=0&value=20.5
( Updates the value of Third
from the Example Config to 20.5 LUX
)
http://
Bridge IP /devices?id=
Device IDBridge IP
and Device ID
&type=
SERVICETYPE&counter=
SERVICENUMBERExample: http://homebridge.local:1710/devices?id=multi1&type=switch&counter=1
( Reads the value of Second
from the Example Config )
http://
Bridge IP /devices?id=
Device ID &remove=CONFIRM
Bridge IP
and Device ID
&type=
SERVICETYPE&counter=
SERVICENUMBERExample: http://homebridge.local:1710/devices?id=ABCDEF1234567890&remove=CONFIRM
( Removes ABCDEF1234567890
from the Config and Home App )
To enable the automation module you have to create a file named automation.json
in your baseDirectory >> automation
or install the homebridge-syntex
plugin to create them via UI ( only between SynTex plugins )
Example: For manual configuration update your automation.json
file. See snippet below.
{
"automation": [
{
"id": 0,
"name": "Demo Automation",
"active": true,
"trigger": [
{
"id": "multi2",
"name": "Multi Device",
"letters": "F0",
"plugin": "SynTexWebHooks",
"operation": "<",
"value": "1000"
}
],
"condition": [
{
"id": "multi1",
"name": "Multi Switch",
"letters": "41",
"plugin": "SynTexWebHooks",
"operation": "=",
"value": "false"
}
],
"result": [
{
"id": "light1",
"name": "Dummy Light",
"letters": "30",
"plugin": "SynTexWebHooks",
"operation": "=",
"value": "true",
"hue": "218",
"saturation": "100",
"brightness": "100"
},
{
"url": "http://192.168.1.100:1710/devices?id=58757402d8bfc108d0dc&value=true&brightness=100"
}
]
}
]
}
id
is the same like in your config file ( or in your log )name
The name of the accessory.letters
See letter configuration below.operation
Use the logical operands ( >
, <
, =
)value
The state value of your accessory.plugin
Use the platform name of the plugin ( see supported plugins below )brightness
can be used for dimmable / RGB lights.hue
can be used for RGB lights.saturation
can be used for RGB lights.The letters are split into two parts ( characters )
1. Service Type
2. Duplicate Counter
Example: The first switch in your config has the letters 40
, the second 41
and so on ..
homebridge-syntex-knx
)homebridge-syntex-magichome
)homebridge-syntex-tuya
)homebridge-syntex-webhooks
)FAQs
A webhook plugin for HTTP devices
The npm package homebridge-syntex-webhooks receives a total of 1,175 weekly downloads. As such, homebridge-syntex-webhooks popularity was classified as popular.
We found that homebridge-syntex-webhooks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.