22:50:24
icon

まだ途中 / Ruby toolkit for the RS-BTWATTCH2 Bluetooth power meter github.com/Gomasy/ruby-btwattc

Web site image
GitHub - gomasy/ruby-btwattch2: Ruby toolkit for the RS-BTWATTCH2 Bluetooth power meter
19:48:42
icon

こいつ RTC モジュール積んでるんか…そりゃそうか…

Attach image
17:15:53
icon

丼アプデは明日やります

14:37:38
2020-12-27 14:35:39 Posting Mastodon Mastodon@mastodon.social
13:34:14
icon

40 分待った

Attach image
09:41:18
icon

間違って符号付き整数として処理したら 127W 超えたらオーバーフローしたけれど…

09:40:10
icon

ちゃんと wattage も取れてるし大丈夫そう

09:26:02
icon

大変参考になりました(データシートがないので) github.com/vpcf/py_btwattch2/b

Web site image
py_btwattch2/py_btwattch2.py at main ?? vpcf/py_btwattch2
09:22:40
icon

とれたとれた

Attach image
00:24:28
icon

最後の 1 バイトは CRC8 を取ってくっつければいいっぽいけど実質固定値だからハードコードしちゃっても良さそうだな

00:18:29
icon

まさか on と off が逆なわけないだろ…って思いながら enter キーを押した瞬間に電源が落ちたので心臓が止まるかと思った

00:14:40
icon

あ、反応した。完璧。

00:06:59
icon

まあ反応したら今作業してる PC への電力供給止まるんですけど…

00:05:18
icon

しかし、スマートスイッチのコマンドに反応しない

00:04:46
icon

取れてるな…?

Attach image