OK, so v20.5.11 in the development branch has a ‘quick fix’ (I hope) for the missing module/device problem.
I did a test by removing a battery from an additional module, power cycled the Netatmo base station and reloaded openLuup. The log shows that the missing module sensor devices have been identified but recreated as plugin child devices anyway.
2020-05-11 14:50:51.546 luup_log:305: Netatmo: device '[309]GardenRoom - CO2' not found in current list of modules
2020-05-11 14:50:51.546 luup.chdev.append:: [03:00:00:01:f9:32-CO2] GardenRoom - CO2
2020-05-11 14:50:51.546 luup_log:305: Netatmo: device '[311]GardenRoom - Temperature' not found in current list of modules
2020-05-11 14:50:51.546 luup.chdev.append:: [03:00:00:01:f9:32-Temperature] GardenRoom - Temperature
2020-05-11 14:50:51.546 luup_log:305: Netatmo: device '[310]GardenRoom - Humidity' not found in current list of modules
2020-05-11 14:50:51.546 luup.chdev.append:: [03:00:00:01:f9:32-Humidity] GardenRoom - Humidity
2020-05-11 14:50:51.546 luup.chdev.sync:: [305] Netatmo Mac, syncing children
and the devices page shows that the child devices are still there, although, obviously the metrics are flat-lined (you can see that the CO2 sensor hasn’t had its icon updated.)
Reinstalling the battery, power cycling the base station, and restarting openLuup shows a normal startup log for the plugin:
2020-05-11 15:02:00.826 luup_log:305: Netatmo: creating child devices...
2020-05-11 15:02:00.826 luup.chdev.append:: [03:00:00:00:34:ba-CO2] Guest - CO2
2020-05-11 15:02:00.826 luup.chdev.append:: [03:00:00:00:34:ba-Humidity] Guest - Humidity
2020-05-11 15:02:00.826 luup.chdev.append:: [03:00:00:00:34:ba-Temperature] Guest - Temperature
2020-05-11 15:02:00.826 luup.chdev.append:: [03:00:00:01:f9:32-CO2] GardenRoom - CO2
2020-05-11 15:02:00.826 luup.chdev.append:: [03:00:00:01:f9:32-Humidity] GardenRoom - Humidity
2020-05-11 15:02:00.826 luup.chdev.append:: [03:00:00:01:f9:32-Temperature] GardenRoom - Temperature
2020-05-11 15:02:00.826 luup.chdev.append:: [70:ee:50:01:55:06-CO2] Indoor - CO2
2020-05-11 15:02:00.826 luup.chdev.append:: [70:ee:50:01:55:06-Humidity] Indoor - Humidity
2020-05-11 15:02:00.826 luup.chdev.append:: [70:ee:50:01:55:06-Noise] Indoor - Noise
2020-05-11 15:02:00.826 luup.chdev.append:: [70:ee:50:01:55:06-Pressure] Indoor - Pressure
2020-05-11 15:02:00.826 luup.chdev.append:: [70:ee:50:01:55:06-Temperature] Indoor - Temperature
2020-05-11 15:02:00.826 luup.chdev.append:: [02:00:00:01:4c:2c-Humidity] Outdoor - Humidity
2020-05-11 15:02:00.826 luup.chdev.append:: [02:00:00:01:4c:2c-Temperature] Outdoor - Temperature
2020-05-11 15:02:00.826 luup.chdev.append:: [70:ee:50:01:60:e2-CO2] Studio - CO2
2020-05-11 15:02:00.826 luup.chdev.append:: [70:ee:50:01:60:e2-Humidity] Studio - Humidity
2020-05-11 15:02:00.826 luup.chdev.append:: [70:ee:50:01:60:e2-Noise] Studio - Noise
2020-05-11 15:02:00.826 luup.chdev.append:: [70:ee:50:01:60:e2-Pressure] Studio - Pressure
2020-05-11 15:02:00.826 luup.chdev.append:: [70:ee:50:01:60:e2-Temperature] Studio - Temperature
2020-05-11 15:02:00.826 luup.chdev.append:: [05:00:00:00:0b:ba-Rain] Rain - Rain
2020-05-11 15:02:00.826 luup.chdev.append:: [02:00:00:01:55:f2-Humidity] Garage - Humidity
2020-05-11 15:02:00.826 luup.chdev.append:: [02:00:00:01:55:f2-Temperature] Garage - Temperature
2020-05-11 15:02:00.826 luup.chdev.sync:: [305] Netatmo Mac, syncing children
and normal operation of the device is restored (and, crucially, the device numbers have been retained)…
So, within that limited test, all looks to be working as expected.
In an ideal world, I would flag the devices with a status that shows that they’ve failed, so that it’s more obvious from the devices page. I also don’t know for sure that there are any unexpected side-effects, so I’d like to enlist you all to try this out and report any problems (I’m sure you will.)
If this does fix the problem for you, then I can only offer my apologies that it has taken so long. If it doesn’t, then I’ll offer them for being so inept as to be unable to fix it at first attempt.
Good luck
AK
Edit: I should add that all the testing I have done has been under openLuup (as you can see from the above screen shots.) I’ve not tried this on Vera, but very much hoping that it works the same way!