SonyCSL / MoekadenRoom

MIT License
19 stars 6 forks source link

Japanese README

MoekadenRoom - An ECHONET Lite Emulator

It contains 6 kinds of home equipments: air conditioner, lighting, electric blinds, electronic lock, thermometer, smart meter. It is made with Processing.

Download executables

Please download the desired version from the links below. Java runtime is necessary except Win32 ver. To execute in Processing IDE, you need two libraries: OpenECHO for Processing and ControlP5. Put those in the libraries folder. For the Linux version, set runnable permission to the file named MoekadenRoom.

Usage

Implemented objects/ important properties

Object name (EOJ) Property (EPC) Values(EDT)
(Boldface is the initial value)
Home Air Conditioner
0x0130
Power
0x80
[0x31]:Off
[0x30]:On
Operating mode
0xb0
[0x41]:Auto
[0x42]:Cool
[0x43]:Heat
[0x44]:Dry
[0x45]:Wind
Temperature setting
0xb3
[20](=20 degree)
Lighting
0x0290
Power
0x80
[0x31]:Off
[0x30]:On
Electric blind
0x0260
Open/Close
0xe0
[0x41]:Open
[0x42]:Close
Electronic lock
0x026F
State
0xe0
[0x41]:Locked
[0x42]:Unlocked
Thermometer
0x0011
Temperature
0xe0
Signed temperature in Celsius as big endian 2bytes (Unit=0.1C)
[0,220] (= 22.0C)
Smart meter
0x0288
Number of effective digits
0xd7
1~8:[8]
Don't trust the emulator value ^^;
Cumulative electric energykWh
0xe0
Currently return the latest value of 30 minute interval sample
Unit of integrated electric energy
0xe1
0x0~0x0D.
[0x02]:0.01kWh
Integrated power history (forward direction)
0xe2
1st and 2nd byte: Collection date 0x0000 to 0x0063 (0 to 99) 3 rd bytes or later: Integrated electric energy measurement value (48 samples in 4 bytes.Big Endian. 0xFFFFFFFE is returned where there is no data)
Accumulation history collection date
0xe5
0:Today 1~99:Past days
[0]:Today
Instantaneous power measurement value
0xe7
Unit = Watt. 4 bytes
Random
Instantaneous current measurement value
0xea
Unit=0.1A.2 bytes for R phase, T phase each
[Instantaneous power measurement value/100]

Contributors

Shigeru Owada
Fumiaki Tokuhisa
Issekiamp san
ikesato san
moscow4gh san

Updates

2020/12/24 moscow4ghさんによるスマートメーターのバグフィックスを適用。
2017/9/20 ControlP5はWindowsやLinuxで動かした際にもOutdatedだったので、いっそのことmisc/RequiredLibs.zipに入れました。Mac版の特別な説明を削除しました。
2017/9/6 zipの中身が古かったのでexportし直しました。あと_f_Back/も全zipに追加しました。Mac向け解説をREADMEに追加しました。@ikesatoさんありがとうございます!
2016/12/5 スマートメーターの実装をちょっとだけよくしたのと瞬時値・履歴データを画面に表示するようにしました。
2016/12/2 Processing3に対応しました。一石アンプさんありがとうございます!
2015/12/25 適当ですがスマートメーターオブジェクトを加えました。