Hello,
I used WeatherNote as start sketch, added all that was need to read DS18B20 and to send data back to gateway. First I had to change the ID of flash, I found this site to be useful
https://102g.ru/electronics/datasheets/Memory/idcodes.txtFrom there and from datasheet I know to set flash ID to 0x2020.
Data pin for DS is on pin3, which you can change in
You have option to enable or disable led flashing, serial with
#define BLINK_EN
#define SERIAL_EN
by commenting/uncommenting
Also you have option to set DS resolution to 9,10,11,12 bit with
And for battery operation or slow events, you have sleep option
with
period_t sleepTime = SLEEP_8S;
will define how often the temp is transmitted.
15 loops of 8sec cycles = 120sec