DS18B20 on raspberry pi reduce consumption


#1

Hi,

I have a raspberry pi connected to cayenne now.

Thank you is really easy to install.
Ds18b20 1-wire temperature sensor is easy to install too.

The problem is how can i configure the time between 2 measurments?
It’s 30second now and I want minute or more to reduce consumption.

Regards


#2

with pi agent to change the time interval is bit difficult. if you want you can twig it here https://github.com/myDevicesIoT/Cayenne-Agent.
Second option which i would suggest you to do is use cayenne MQTT python library https://github.com/myDevicesIoT/Cayenne-MQTT-Python this will give you more freedom to play with the code and do whatever you want. but it requires a bit of python coding knowledge.