openlumi / openlumi.github.io

OpenWrt for Xiaomi Zigbee gateway with imx6 SoC DGNWG05LM, ZHWG11LM
https://openlumi.github.io
154 stars 26 forks source link

rc.local now empty #8

Closed Sunnyboy2284 closed 3 years ago

Sunnyboy2284 commented 3 years ago

Hi i had a conflict during programming, now my rc.local is empty and i have only access via UART, can anybody send me the rc.local content. thx.

devbis commented 3 years ago

If you are using OpenWrt you can delete /overlay/upper/etc/rc.local

rm -f  /overlay/upper/etc/rc.local
reboot

That will revert the file to the initial content.

Sunnyboy2284 commented 3 years ago

hi thx,

no actually i dont have open wrt, i did now copy rc.local.mi to rc.local now it s working but i did it two times before it works . By the way , if i use open wrt , can i use mi home and gateway with this firmware or can I only use it in Home Assistant or as standalone?

thanks for fast response.

devbis commented 3 years ago

This instruction is about installing OpenWrt. Stock OS doesn't support customization.

You can use the gateway as a standalone device. Install zigbee2mqtt + domoticz + z2m plugin for domoticz to manage devices or zesp32. This software is mentioned in the manual.