-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Known static addresses disappear #63
Comments
Hello @djtommye,
You mean you lost the entire file? Is this app the only app you run using AD? It is fine to leave the settings in the nodes, but as long as its the exact same way its written in the nodes, if not you get into trouble having multiple entities per device per node (trust me not pretty at all) Regards |
Yes - completely gone. I have Samba on my monitor devices, and backups of the known_static_addresses file. So, when this happens, I just copy the same file back to each device. I just did that, and everything is back to "normal". I do have "ench" running in AD as well to monitor device battery levels. However, I haven't gotten it quite dialed in yet, so I'll just remove that app for now and see if that changes anything. |
Ok please remove the other apps, and see what happens Its a strange behaviour, as in no where do I clean files. Regards |
It happened again two days ago. I thought it might have something to do with a reboot on the piZero devices, but they all just showed a 16 day uptime. I did notice that the known_static_address files were under group and ownership of the 'pi' user, so I changed that to 'root'. We'll see if that helps with anything. I'm not real sure how that factors in. |
I'm still having issues with this. My known_static_addresses files (on all pizero devices) end up empty, with just the header information. Any idea why this would happen? It's like the appdaemon process is removing entries. |
same here. End devices (2x raspberry pi 3) do not have any mac in known_static_address but still working as they get it from yaml file of application |
Here's what I've done (hopefully, it will provide a workaround until this has been discovered and fixed).
I then edited crontab as follows:
My hope is that the script will run every morning and replace the file with the backup, and then restart the Pi. |
I need a bit of clarification here... it's my understanding that the end devices (four rPi Zero's, in my case), will keep an updated known_static_addresses file, from the data pushed from the AppDaemon. However, my system keeps getting into a state where the front end shows "Entity not available", and the nodes have an empty file. I have all the addresses listed in the home_presence_app.yaml file. I'd really like to get this working. Yesterday, while I was at work, HA kept arming the alarm system while my family was home - thinking no one was here. I'm hoping @Odianosen25 can shed some light on this? If I can provide more info, please let me know!
|
This has happened to me at least twice now...
I currently have four PiZero devices running monitor on them. I had originally configured them with the known_static_addresses file listing each family member's iPhone BT MAC address. When I set up Monitor, I kept those files but also included that information in the home_presence_app.yaml file.
HassOS 4.13
Supervisor v 245
AppDaemon 4.05 v 0.3.0
What happens is that everything seems to run smoothly for a while. I get my binary presence sensor for each person and each monitor device (e.g. sensor.monitor_cindy_iphonebt_garage_conf) . Then, for no apparent reason, the known_static_addresses information disappears from each device, and the binary sensors go away as well. On 8/29, the home_presence_app.yaml file totally disappeared, and I had to recreate it.
home_presence_app.zip
The text was updated successfully, but these errors were encountered: