pi@emonpi:\~ $ sudo ls -l /proc/$(pgrep -f emonhub.py)/fd
total 0
lr-x------ 1 pi pi 64 Oct 7 19:07 0 -> /dev/null
lrwx------ 1 pi pi 64 Oct 7 19:07 1 -> 'socket:\[1525136\]'
lrwx------ 1 pi pi 64 Oct 7 19:07 10 -> /dev/gpiomem
lr-x------ 1 pi pi 64 Oct 7 19:07 11 -> /sys/devices/platform/soc/fe200000.gpio/gpiochip0/gpio/gpio25/value
lrwx------ 1 pi pi 64 Oct 7 19:07 12 -> 'anon_inode:\[eventpoll\]'
lrwx------ 1 pi pi 64 Oct 7 19:07 13 -> 'socket:\[1525814\]'
lrwx------ 1 pi pi 64 Oct 7 19:07 14 -> 'socket:\[1525811\]'
lrwx------ 1 pi pi 64 Oct 7 19:07 15 -> 'socket:\[1525812\]'
lrwx------ 1 pi pi 64 Oct 7 19:07 16 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 17 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 18 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 19 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 2 -> 'socket:\[1525136\]'
lrwx------ 1 pi pi 64 Oct 7 19:07 20 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 21 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 22 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 23 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 24 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 25 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 26 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 27 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 28 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 29 -> /dev/spidev0.0
l-wx------ 1 pi pi 64 Oct 7 12:16 3 -> '/var/log/emonhub/emonhub.log.tmp (deleted)'
lrwx------ 1 pi pi 64 Oct 7 19:07 30 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 31 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 32 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 33 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 34 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 35 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 36 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 37 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 38 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 39 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 4 -> /dev/ttyAMA0
lrwx------ 1 pi pi 64 Oct 7 19:07 40 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 41 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 42 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 43 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 44 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 45 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 46 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 47 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 48 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 49 -> /dev/spidev0.0
lr-x------ 1 pi pi 64 Oct 7 19:07 5 -> 'pipe:\[1523551\]'
lrwx------ 1 pi pi 64 Oct 7 19:07 50 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 51 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 52 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 53 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 54 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 55 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 56 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 57 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 58 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 59 -> /dev/spidev0.0
l-wx------ 1 pi pi 64 Oct 7 19:07 6 -> 'pipe:\[1523551\]'
lrwx------ 1 pi pi 64 Oct 7 19:07 60 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 61 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 62 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 63 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 64 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 65 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 66 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 67 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 68 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 69 -> /dev/spidev0.0
lr-x------ 1 pi pi 64 Oct 7 19:07 7 -> 'pipe:\[1523552\]'
lrwx------ 1 pi pi 64 Oct 7 19:07 70 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 71 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 72 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 73 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 74 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 75 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 76 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 77 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 78 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 79 -> /dev/spidev0.0
l-wx------ 1 pi pi 64 Oct 7 19:07 8 -> 'pipe:\[1523552\]'
lrwx------ 1 pi pi 64 Oct 7 19:07 80 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 81 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 82 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 83 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 84 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 85 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 86 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 87 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 88 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 89 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 9 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 90 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 91 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 92 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 93 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 94 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 95 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 96 -> /dev/spidev0.0
lrwx------ 1 pi pi 64 Oct 7 19:07 97 -> /dev/spidev0.0
lr-x------ 1 pi pi 64 Oct 7 19:07 98 -> /sys/devices/w1_bus_master1/28-00000ee9e26a/w1_slave
pi@emonpi:\~
[edited by Mod] - @RichardinCancale - please use CTL-E to format correctly when posting code/logs
Thanks! I just did an ‘update all’ with the Stable branch - will that pick it up? EmonHub Config says v2.2.0 which is obviously not 2.8.4 - but maybe that’s not the same component?
I think this was the issue i’ve been struggling with too! It was affecting two units that use USB only and not the radio. They were both restarting radio every few minutes and leaving a file handle open, which crashed them both at roughly similar intervals, presumably when hitting a limit for open files. I fixed it (I think) by removing the [[SPI]] radio section but it looks like this should fix it properly next time I update. Thank you!
OK thanks - it doesn’t look quite the same on my screen, doesn’t show the module names, just a link symbol, maybe because my Emon doesn’t have internet access. Anyway the bottom entry shows 2.8.4 and if I click on the link I can open GitHub on the Emonhub module!
So now we get to wait and see - but assuming you and Claud know what you’re doing it sounds feasible that this was the root cause - and ChrisColtCC seems to have found the same issue and fixed it in a different way.
Thanks for the time you spent chasing this!
I was just going to add that on a Mac with Safari it does work and shows the full names to the left. On iPhone using both Safari and Chrome it only shows the first letter of the module name when held in landscape, or nothing at all in portrait.