
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
homie-server
Advanced tools
Server-part of Homie, an opinionated home automation system using MQTT
A Web server for Homie, an MQTT convention for the IoT. Built with Node.js. The project is currently in alpha.
npm install -g homie-server
The Homie server can only be started using the CLI interface. Start Homie by calling homie
. You can optionally provide a --dataDir
argument that will be used to store the Homie data. By default, this directory is located at <home directory>/.homie
. You can also configure the HTTP server serving the UI with --uiPort
, else it defaults to 80. Finally, you can change the log level of the output with the --logLevel
parameter followed by the minimum log level to show (0
for fatal, 1
for error, 2
for warning, 3
for info, 4
for debug).
Three files define the behavior of Homie, and are all contained in the data directory:
config.yml
file. It contains some configuration like your MQTT broker address.mqtt:
url: mqtt://127.0.0.1:1883
clientId: optional client ID
username: optional username
password: optional password
infrastructure.yml
file. This file contains the representation of your Homie devices. You can also group devices there.devices:
- id: abcd0123
location: Marvin's room
nodes:
- type: shutters
id: shutters
name: Shutters
- id: efab4567
location: Mathys's room
nodes:
- type: light
id: main
name: Main light
- type: light
id: bed
name: Bed light
groups:
id: first-floor
name: First floor
devices:
- abcd0123
- efab4567
ota/manifest.yml
file. It contains a definition of the firmwares for your devices, like so:firmwares:
- name: light-firmware
version: 1.0.0
devices:
- marvin-lights
For this example manifest, you would put the firmware binary in ota/firmwares/light-firmware.bin
, otherwise, OTA won't be handled. You can update the manifest while Homie is running, it will be hot loaded.
Contributions are very welcome!
To work/start the git Homie version, just run npm run dev
.
This will build the public directory, and watch for changes in the app
folder.
To start the server, run npm start
. The GUI will be listening on port 3000
.
FAQs
Server-part of Homie, an opinionated home automation system using MQTT
The npm package homie-server receives a total of 23 weekly downloads. As such, homie-server popularity was classified as not popular.
We found that homie-server 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.