In order to get WIFI scanning to work on the new RaspberryPi 3 B+ I had to move the scanning for WIFI networks to a background script triggered by the emonpi service-runner.
In the process I realised that a simpler way of triggering these background scripts would be for the service-runner script to use a redis queue rather than file based flag. A file based flag required a set directory (/tmp) which I have not been able to write to with the www-data user on RPi3B+, so rather than have this directory location dependency I realised it would be easier to move to using redis.
A standard emonPi update will pull in all the updates and restart the service-runner script at the end so that its using the new version, but I thought it best to flag up this change as it might catch some people out.
If your post processes dont run, or sync module downloads or wifi network scans it may be related. If this is indeed a issue you see. Try updating the module in question, the /home/pi/emonpi repository and restarting service-runner or rebooting the emonpi/emonbase/self-hosted install.
For those interested in the code, here’s the new service-runner script:
and this is an example service-runner trigger in the wifi module: