Thanks a lot man for re-directing me to the right direction. From the long discussion and numerous number of forks, it took a decent amount of time to figure out which version is the right fit for me Btw after using your recommended version it was up and running in no time… Great work indeed by @Danielhiversen . I checked his repo as well and was a bit lost to see his massive volume of works…
By the way, after using this version, my reported battery was instantly reduced to 49% from 51%. Do you know if it is just because of how it’s shown/truncated rather it actually reduced 2% due to polling ? I am not clear on this… May be I should wait few days to see how it goes…
Secondly the light sensor reading from the gateway is somewhat erratic sometimes… Specially from complete dark when I turn on the gateway light, it immediately drop to ~330 range from ~420 range. Other than that its pretty solid to report any increase. And as I read from the forum, the lowest is ~300 ? This one is actually quite different from the previous chip I used (BH1750) which can report very precise values in my case from ~4 to ~48000 Lux.
Thanks again…