Skip to content

다원DNS의 PM-B310-W2 스마트플러그 프로토콜 분석 및 Deno 구현체

Notifications You must be signed in to change notification settings

aehrplo/pm-b310-w2-reversing-deno

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

WELCOME TO DIGITAL WORLD

import { createAIPMConnector } from "./index.ts";

const aipm = await createAIPMConnector({
  ip: "192.168.1.176",
  mac: "1B03F4",
});

aipm.getInfoForever((e) => console.log(e));

aipm.on();
console.log("켜짐");
setTimeout(() => {
  aipm.off();
  console.log("꺼짐!!");
}, 10);
  • ✅ Switch on-off
  • ✅ Get voltage, current, frequency, power-factor, consumtion, accumulate, price, co2 info image

Demo Video

제가 했을땐 잘 됐는데 다른 환경에선 테스트 안해봤습니다 ..,

이 레포 참조했어요

godmode2k/test_power_manager

About

다원DNS의 PM-B310-W2 스마트플러그 프로토콜 분석 및 Deno 구현체

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%