Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
homebridge-heyu
Advanced tools
Supports X10 devices via heyu on the HomeBridge Platform. Tested with a CM11A Module connected via a USB Serial adapter. For device configuration, it parses the heyu configuration file /etc/heyu/x10.conf and creates an accessory for each alias. The accessory name is generated from the label ( underscores removed ), and the device type is generated by the module type.
Monitoring of changes by other remotes / devices is enabled, and updating back to HomeKit. This is using the heyu monitor command, and watching for messages with rcvi.
Please note that for device status to work correctly, please ensure that the heyu engine is running. ie have this in your x10.conf
START_ENGINE AUTO
Also included are two macro's, "All Devices" and "All Lights", which map to the commands allon/alloff and lightson/lightsoff. These are sent to the housecode configured in your x10.conf.
On, off, bright and dim commands can also be sent via the CM17A FireCracker module by setting "useFireCracker" to true in the configuration settings.
Lamp Module ( Light Bulb ) - All lamp modules supported by heyu
Appliance Module ( Outlet ) - All appliance modules supported by heyu
Wall Switch ( Switch ) - All wall switch modules support by heyu
Motion Sensor - MS10, MS12, MS13, MS14, MS16
Light/Dark Sensor - MS10A, MS12A, MS13A, MS14A, MS16A ( This is +1 unit code of the motion sensor )
Insteon Modules accepting X10 Commands - SL2LM ( 2477D )
Please note that all dimmable modules have the dimming feature. If you have a lamp or wall switch that you do not want to be able to dim, define it as a non-dimmable wall switch or appliance module.
Motion Sensors, Reliability and Battery Life - As the motion sensor does not return any information regarding battery status, I'm using the daylight sensor feature of the motion sensor to determine if the sensor has stopped responding i.e. gone inactive. If the daylight sensor has not changed status within 18 hours, it will set the low battery alert for the Light Sensor.
"platforms": [{
"platform": "Heyu",
"name": "Heyu",
"heyuExec": "/usr/local/bin/heyu", //optional - defaults to /usr/local/bin/heyu
"x10conf": "/etc/heyu/x10.conf", //optional - defaults to /etc/heyu/x10.conf
"useFireCracker": false //optional - If true, issues commands via the CM17A FireCracker module
"housecode": "A" //optional - set housecode if no CM11a present
"cputemp": "cputemp" //optional - If present includes cpu TemperatureSensor
}]
Is a shell script I have installed on all my machines to monitor CPU temperature's. This will showup with the name of the machine running homebridge.
I have this installed as /usr/local/bin/cputemp
#!/bin/bash
cpuTemp0=$(cat /sys/class/thermal/thermal_zone0/temp)
cpuTemp1=$(($cpuTemp0/1000))
cpuTemp2=$(($cpuTemp0/100))
cpuTempM=$(($cpuTemp2 % $cpuTemp1))
echo $cpuTemp1" C"
FAQs
X10/Heyu plugin for HomeBridge
We found that homebridge-heyu demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.