Mizuho32

Results 6 comments of Mizuho32

#1064 https://github.com/Antergos/Cnchi/issues/1064#issuecomment-421723344

Alexaデバイス追加の重要な機能忘れてた(今コードにベタ書きしてる) 取り下げるわ

Alexaデバイス追加削除機能のちゃんとした実装。 ただ、問題がある模様 1. デバイスを複数登録するとWebサーバー・Alexaのスイッチがうまくいかない?。要調査 2. JSONに登録してあるシグナルが倍になってJSONにsaveされる増殖バグがある(発動条件不明。スケジュール追加だったりAlexaだったりで現れた。)

@kerikun11 `$ ws.rb deploy` すると、`webUI/data` 以下の `.js`, `.css`( `.erb` はテンプレートが描画されて) `data/` (がなければ自動的に作られて)に出力される。 ので大丈夫。

# Alexa対応 (https://github.com/kerikun11/IR-Station/pull/20/commits/e6e80834611bb1b59f3652df97c4b89c7293f4d7) 今の時点での主な変更点 1. Alexa対応(AsyncWebServerだと共存できる) https://github.com/kerikun11/IR-Station/pull/20/commits/e723bacbc254b361cfd96d087875981602bba0f6 https://github.com/kerikun11/IR-Station/pull/20/commits/928f6c232b85291ce7c265597dd9b18beafe7f1e 2. 1.に関連して、ESP8266WebServerからESPAsyncWebServerに変更。 3. sinatraプロキシ(html以外をESPから横流しすることでhtmlの変更を素早く確認できる)、https://github.com/kerikun11/IR-Station/commit/fffec71d3527e7c517393fbabe1ee51a8802e8a7 https://github.com/kerikun11/IR-Station/commit/fdce747ffb09f14b4cae20ef4ceef7a42016c9b1 あたり 4. スケジュールの時刻指定のフォーム変更、https://github.com/kerikun11/IR-Station/commit/9964da3a171c0349ebae33540133aaf6fab02891 5. リセットボタンの挙動変更(長押しでリセット、500msecでESP.reset()) https://github.com/kerikun11/IR-Station/pull/20/commits/485e925e3ad9d94a5822113748b766cad3a7d40e

了解。まぁテンプレートなんて何でもいいが...