
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
mh-maxsmart2
Advanced tools
Support package to send packets to Max Smart 2.0 smart plugs using the local UDP protocol. The protocol is probably compatible with any other Revogi devices that also support v3 of their protocol.
Currently doesn't support pairing or other devices.
Supports changing the power state of a plug and getting the current usage as well as basic pairing.
const mh = require("mh-maxsmart2");
(async () => {
// Tell plug how to connect to wifi. Sets spoofed max smart cloud credentials, if these are used.
// Warning: this sends the wifi credentials in a way that is discoverable for devices that aren't in the wifi.
const deviceInfo = mh.pair({
wifiSSID: "WiFi SSID",
wifiPassword: "WiFi password",
uid: "MHM000000000", // this is the ID of the registered user in the maxsmart cloud service.
server: "localhost", // defaults to "www.maxsmart.ch"
port: 5000 // defaults to 5000
});
// Get power usage on plug
console.log(await mh.send(deviceInfo.sn, deviceInfo.ip, mh.CMD.GET_WATT));
})();
FAQs
Communicate with Max-Smart 2.0 power plugs
The npm package mh-maxsmart2 receives a total of 2 weekly downloads. As such, mh-maxsmart2 popularity was classified as not popular.
We found that mh-maxsmart2 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
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.