forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    楼主: 萝卜大侠

    [经验分享] MT2500安装使用HomeAssistant

      [复制链接]

    1

    主题

    4

    帖子

    41

    积分

    新手上路

    Rank: 1

    积分
    41
    发表于 2022-12-28 16:24:12 | 显示全部楼层
    /usr/lib/lua/luci/model/homeassistant.lua:13: attempt to index local 'obj' (a nil value)
    stack traceback:
            /usr/lib/lua/luci/model/homeassistant.lua:13: in function 'blocks'
            /usr/lib/lua/luci/model/cbi/homeassistant/config.lua:29: in function 'func'
            /usr/lib/lua/luci/cbi.lua:66: in function 'load'
            /usr/lib/lua/luci/dispatcher.lua:1353: in function '_cbi'
            /usr/lib/lua/luci/dispatcher.lua:1024: in function 'dispatch'
            /usr/lib/lua/luci/dispatcher.lua:1000: in function 'dispatch'
            /usr/lib/lua/luci/dispatcher.lua:479: in function </usr/lib/lua/luci/dispatcher.lua:478>

    istore安装的安装完服务进去提示这个,通过IP端口也进不去
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9631

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9631

    官方人员

     楼主| 发表于 2022-12-28 17:23:03 | 显示全部楼层
    ppz 发表于 2022-12-28 16:24
    /usr/lib/lua/luci/model/homeassistant.lua:13: attempt to index local 'obj' (a nil value)
    stack trace ...

    安装一下luci-compat
    回复

    使用道具 举报

    1

    主题

    4

    帖子

    41

    积分

    新手上路

    Rank: 1

    积分
    41
    发表于 2022-12-28 17:44:31 | 显示全部楼层

    可是我安装了的
    回复

    使用道具 举报

    0

    主题

    12

    帖子

    69

    积分

    注册会员

    Rank: 2

    积分
    69
    发表于 2023-1-3 11:30:57 | 显示全部楼层
    opkg_install_cmd: Cannot install package python3-pycares
    安装错误,这个包安装不成功,官方固件官方源,求教~
    回复

    使用道具 举报

    1

    主题

    13

    帖子

    99

    积分

    注册会员

    Rank: 2

    积分
    99
    发表于 2023-1-3 20:27:03 | 显示全部楼层
    同问,项目更新到homeassistant2022.12之后安装就提示这个,可以运行,但装插件就各种报错,无限重启。安装xiaomi miot auto装上能用,但是一重启过就开始无限重启,要删掉才能重新正常打开ha
    回复

    使用道具 举报

    3

    主题

    26

    帖子

    95

    积分

    注册会员

    Rank: 2

    积分
    95
    发表于 2023-1-12 23:30:00 | 显示全部楼层
    xiahaha 发表于 2022-12-2 23:05
    安装的时候报错了,有大佬可以帮忙看下是什么错误哈

    同问,请问问题解决了吗
    回复

    使用道具 举报

    0

    主题

    834

    帖子

    1684

    积分

    禁止发言

    积分
    1684
    发表于 2023-1-14 06:30:50 | 显示全部楼层
    提示: 作者被禁止或删除 内容自动屏蔽
    回复

    使用道具 举报

    1

    主题

    15

    帖子

    78

    积分

    注册会员

    Rank: 2

    积分
    78
    发表于 2023-1-29 11:31:56 | 显示全部楼层
    大侠报错了啊  MT2500

    2023-01-29 11:02:16 (877 KB/s) - '/usr/lib/python3.9/site-packages/_distutils_hack/override.py' saved [44/44]

    Install base requirements from PyPI...
    Collecting wheel
      Downloading wheel-0.38.4-py3-none-any.whl (36 kB)
    Installing collected packages: wheel
    Successfully installed wheel-0.38.4
    WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
    WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
    You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
    Collecting aioesphomeapi==13.0.2
      Downloading aioesphomeapi-13.0.2-py2.py3-none-any.whl (51 kB)
         ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.5/51.5 KB 757.5 kB/s eta 0:00:00
    Collecting zeroconf==0.39.4
      Downloading zeroconf-0.39.4-py3-none-any.whl (106 kB)
         ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.4/106.4 KB 1.5 MB/s eta 0:00:00
    Installing collected packages: zeroconf, aioesphomeapi
      Attempting uninstall: zeroconf
        Found existing installation: zeroconf 0.29.0
    ^C
    root@GL-MT2500:~# ERROR: Operation cancelled by user
    WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
    You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.

    回复

    使用道具 举报

    1

    主题

    15

    帖子

    78

    积分

    注册会员

    Rank: 2

    积分
    78
    发表于 2023-1-29 11:40:41 | 显示全部楼层
    dayujie 发表于 2022-12-10 22:44
    报这个错  不知道为什么

    解决了吗
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9631

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9631

    官方人员

     楼主| 发表于 2023-1-29 11:47:44 | 显示全部楼层
    daxians 发表于 2023-1-27 13:17
    Collected errors:
    * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02 ...

    你这个固件哪来的?不像是官方发布的固件
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|gl-inet.cn ( 粤ICP备18130956号 )

    GMT+8, 2024-4-28 06:35 , Processed in 0.022439 second(s), 24 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

    快速回复 返回顶部 返回列表