NodeRED: Who's home?

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 11

  • @RicardoPenders
    @RicardoPenders 5 років тому

    Hi there, this was a great tutorial. I'm gonna try to make something similar to automate some things at home using the examples you showed.
    I hope that I'll get it to work.
    Thanks for sharing your awesome videos.
    Ricardo Penders

  • @daveclarke5085
    @daveclarke5085 4 роки тому

    I find my mobile stops responding to ping requests when inactive for 5 minutes making this think I'm not home when I am. I have an iPhone 7 & Huawei p30 pro. I assume there's nothing I can do about this?

    • @notenoughtech
      @notenoughtech  4 роки тому

      My wife's Huawei does it too. It relates to aggressive WiFi sleep policies. Try some battery optimisation tricks other than this... A new ROM would help. My Xiaomi or pixel 3 on stock ROM didn't behave this way

  • @mysticsilent
    @mysticsilent 4 роки тому

    Maybe a bit late, but i cannot seem to get an array in return of the ARP node. I've tried adding the MAC address many ways but it always returns empty. What is it that I could be doing wrong here?

    • @notenoughtech
      @notenoughtech  4 роки тому +1

      Hi, I just tested the ARP node - everything seems to be working ok - did you use an insert node? If you don't get any network information (with mac or an empty one) the network configuration of your raspberry and node red would have to be checked. Let me know how you get on with testing. Start with the ARP node alone for testing

    • @mysticsilent
      @mysticsilent 4 роки тому +1

      @@notenoughtech I think I found by i don't get any ARP results. I run Node-red in docker. This creates a little private subnet for the node-red container. The ARP plugin will only see itself inside that subnet. Now i'm trying to find any way to forward or bridge the connection, for example give the docker container it's private internal IP on my network. I will keep you informed if I find the solutoon as others maybe will have the same result when using containers :)

    • @notenoughtech
      @notenoughtech  4 роки тому +1

      Precisely why I left docker. It's good when you finalize the automation, but when you develop new stuff. half of the time things are not working as intended as the containers is not cooperating with other stuff without extra work :) You will need to map the node to the network interface - but don't ask me how - I'm a docker newb

    • @mysticsilent
      @mysticsilent 4 роки тому

      @@notenoughtech I got it working (sort of). With MACVLAN i've created an vlan bridge to the same VLAN as the Wifi clients, and created a test node-red container in that network. It can communicate with a direct IP address and ARP works just fine, but it's inconsistent. The node-red container shell arp table shows both the phone devices but in node-red it does not detect my phone. Debug says Empty. My partner's phone it gives the array just fine. Strange behaviour. :)

    • @notenoughtech
      @notenoughtech  4 роки тому +1

      Some phones have extensive sleep policies for WiFi - I had this with Huawei P10 which would stop responding to ARPs unless screen was recently on.

  • @flololol2546
    @flololol2546 5 років тому

    2 Questions.
    -I dont have an "is empty" option in the switch
    -The arp node always return an array of objects. Doesn't matter if my phone is in the network or not.

    • @notenoughtech
      @notenoughtech  5 років тому +2

      1. Trust me - it's there :)
      2. ARP returns empty array, or populated array