GithubHelp home page GithubHelp logo

shaonianzhentan / ha-docs Goto Github PK

View Code? Open in Web Editor NEW
46.0 46.0 11.0 1.28 MB

HomeAssistant学习笔记

Home Page: https://ha.jiluxinqing.com

License: MIT License

Python 2.05% Shell 1.46% JavaScript 96.44% CSS 0.04%

ha-docs's Introduction

Hi!👋 你好鸭 🦆

做人呢,最重要的就是要...😄

shaonianzhentan's github stats

关注我的微信订阅号,了解更多HomeAssistant相关知识

HomeAssistant家庭助理

如果我开发的项目对你有帮助,请我喝杯咖啡奶茶吧😘

支付宝 微信
奶茶= 支付宝 微信支付

ha-docs's People

Contributors

jiluxinqing avatar shaonianzhentan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ha-docs's Issues

第三版镜像问题解决方案

由于镜像制作非常的麻烦,在制作之后可能会有问题,目前已知有两个问题需要自行处理

解决HACS无法运行的问题

在文件管理里,我的插件,拉取结束之后,检查配置,然后启动HA就行了
image

解决HomeBridge无法运行的问题

# 删除配置文件
sudo rm -rf /home/pi/homebridge

# 拉取最新版镜像
sudo docker pull oznu/homebridge:latest

然后重新创建就好了
image

image

解决树莓派桌面没有任务栏的问题

第一步:执行编辑桌面面板的命令

sudo nano ~/.config/lxpanel/LXDE-pi/panels/panel

第二步:写入以下内容,右边有复制按钮, CTRL+字母O 是写入命令

# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

Global {
  edge=top
  align=left
  margin=0
  widthtype=percent
  width=100
  height=36
  transparent=0
  tintcolor=#000000
  alpha=0
  autohide=0
  heightwhenhidden=2
  setdocktype=1
  setpartialstrut=1
  usefontcolor=0
  fontsize=12
  fontcolor=#ffffff
  usefontsize=0
  background=0
  backgroundfile=/usr/share/lxpanel/images/background.png
  iconsize=36
  monitor=0
  point_at_menu=0
}
Plugin {
  type=menu
  Config {
    padding=4
    image=start-here
    system {
    }
    separator {
    }
    item {
      image=system-run
      command=run
    }
    separator {
    }
    item {
      image=system-shutdown
      command=logout
    }
  }
}
Plugin {
  type=space
  Config {
    Size=4
  }
}
Plugin {
  type=launchbar
  Config {
    Button {
      id=lxde-x-www-browser.desktop
    }
    Button {
      id=pcmanfm.desktop
    }
    Button {
      id=lxterminal.desktop
    }
  }
}
Plugin {
  type=space
  Config {
    Size=8
  }
}
Plugin {
  type=taskbar
  expand=1
  Config {
    tooltips=1
    IconsOnly=0
    ShowAllDesks=0
    UseMouseWheel=1
    UseUrgencyHint=1
    FlatButton=0
    MaxTaskWidth=200
    spacing=1
    GroupedTasks=0
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=tray
  Config {
  }
}
Plugin {
  type=ejecter
  Config {
    AutoHide=1
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=bluetooth
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=dhcpcdui
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=volumealsabt
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=dclock
  Config {
    ClockFmt=%R
    TooltipFmt=%A %x
    BoldFont=0
    IconOnly=0
    CenterText=1
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=ptbatt
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=magnifier
  Config {
  }
}
Plugin {
  type=ejecter
  Config {
  }
}
Plugin {
  type=cpufreq
  Config {
  }
}
Plugin {
  type=cpu
  Config {
  }
}
Plugin {
  type=cputemp
  Config {
  }
}
Plugin {
  type=bluetooth
  Config {
  }
}
Plugin {
  type=netstatus
  Config {
  }
}

第三步:重启系统

sudo reboot

然后应该就会有任务栏了

设置外部网络访问服务

在设置外网访问时,必须得把内置密码全部改掉,非常的重要

一旦泄露会给设备带来具大的风险,轻则数据丢失,重则被当成违法犯罪的跳板工具

一切以安全为上,所以必须得拥有安全意识


第一步,编辑frpc.ini文件

image

第二步,在frpc.ini里写入配置信息
(如果你没有,就来找我要)

第三步:文件保存完成后执行以下命令

sudo docker run -itd --net="host" --restart=always --name="frpc" -v ~/homeassistant/frpc.ini:/etc/frp/frpc.ini snowdreamtech/frpc

最后,请一定要修改初始密码

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.