Hello, Thank you for your message. Appreciated indeed. Well, then as the sensor is connected to the Raspberry Pi GPIO pins, there should be a script that reads temperature values and passes them to weewx, as far as I can imagine.
I have found a message by weewx-user group user Horacio who has coded that script and gives instructions on how to implement it: "How to add a ds18b20 thermometer to raspberry pi and weewx" https://groups.google.com/d/msg/weewx-user/n1BbF3FAKh8/XxdPovR3AgAJ As you can see he is using the OWFSS approach and adding a ds18b20.py script to /usr/share/weewx/user What I do not know is how to implement the [OWFS] section in weewx.conf as there is no such information in his post and again, do not know what should be placed in interface. In Python the way to get those readings has to do with os.system('modprobe w1-gpio') os.system('modprobe w1-therm') but I have not any clue about a value for interface = in this particular setting. Wish I could provide more info, I do the best I can. Regards, On 12 December 2017 at 14:10, mwall <[email protected]> wrote: > miguel, > > i suspect that your problem is the interface. > > if you are using a 1wire-to-usb adapter such as the DS9490R, then the > interface is 'u'. if you are running one-wire server software, then the > interface is 'hostname:port'. if you are using 1wire-to-serial, > 1wire-to-i2c, or some other physical interface, then interface will be the > device spec for that physical interface, such as /dev/ttyS0 or perhaps > /dev/i2c (i am not sure how i2c devices are enumerated, and i'm pretty sure > they are enumerated differently for arm vs x86 architectures, and i know > they are enumerated differently for different operating systems). > > m > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
