• 3 Posts
  • 115 Comments
Joined 1 year ago
cake
Cake day: June 19th, 2023

help-circle











  • There are several competing protocol: zigbee, zwave, and the newest is matter. They just require a hub to be controlled.

    I use all zigbee smart switches, and a conbee II usb stick. I have a old laptop running homeassistant os, and it has a one click addon for conbee II. I think amazon echo also have builtin zigbee controller.

    If the power goes out, all the switch automatically connects back to the hub when the power is back. Obviously, this setup is not affected by google, amazon, even the entire internet goes down. As long as my router is functional, I can control everything using my phone, when I am at home.






  • Two of the same MAC address can’t exist in the same IP space, else the router can’t route packets to them.

    Yes, this seems to be my problem, both the host and the vm got the same IP, and I think I cannot send any traffic to either my host or vm. So my router is probably confused, as you suggested.

    Is there an issue with using Docker for this?

    I forgot to mention this, docker indeed work. However, ha requires a privileged docker running as root, which means ha essentially runs as root on the host.

    This is fine on dedicated hardware, but as my server have other infrastructure on there, running ha as root can be a security risk.


  • Hi, thank you for your reply.

    Did you make sure that eno2 is enslaved by br0? When br0 is created, it indeed have a unique MAC, but once it enslaves the hardware, it inherits the hardware address.

    I have not tried to get the bridge going with virsh, but I was unsuccessful with the virt-manager ui. And I assume they use the same system?

    It is possible I have accidentally disabled some network virtualization kernel component during setup, as I have implemented some mods from secureblue. I will try to reset everything to default, and try again.

    Do you have a tutorial for making bridge via virsh that you can share.



  • Last time I tried ChatGPT it cannot even do a trie in Haskell, so I don’t see any way it is useful for me, unfortunately. IIRC, I was testing with some trivial modification of a trie, but I do not remember at this point.

    Maybe it is useful for college homework, but I have yet to find any problem it can solve beyond college. But I would love to learn more, since you have more experience with it. :)

    Edit: I tried a problem I encountered couple month ago on https://perplexity.ai. I want to implement a parser in Haskell that do not halt on error, but record the error and keeps going.

    It should take 2 lines with mtl, and the AI gives me a more verbose answer that is also completely wrong.

    So… I don’t see how they are helpful, honestly. Sorry.