パラメーター | 条件式 | 動作 |
---|---|---|
騒音 | 70 <= soundNoise && soundNoise < 90 |
GPIO 20 が一定回数 High/Low の出力を繰り返す |
騒音 | 90 <= soundNoise |
GPIO 26 が一定回数 High/Low の出力を繰り返す |
温度 | 26 <= temperature |
温度${temperature}度です と読み上げる |
相対湿度 | 50 <= relativeHumidity |
湿度${relativeHumidity}パーセントです と読み上げる |
VOC | 100 <= eTVOC |
総揮発性有機化合物濃度${eTVOC}ppbです と読み上げる |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
speechAgent: { | |
enable: true, | |
notifyWhen: () => { | |
const hours = new Date().getHours(); | |
return 7 <= hours && hours < 19; | |
}, | |
notifyScript: ({ temperature, eTVOC }) => { | |
return [ | |
temperature <= 18 ? "暖房を入れましょう" : null, | |
28 <= temperature ? "暖房を切りましょう" : null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HISTSIZE=1000000 | |
HISTFILESIZE=2000000 | |
PROMPT_COMMAND='[[ $_PWD == $PWD ]] || { _PWD=$PWD; ls; }' | |
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$(__git_ps1 " \[\033[32m\](%s)\[\033[00m\]")\n\$ ' | |
shopt -s autocd |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder