Agreed, writing to a text file is a start. For Weewx you'll want a driver
that brings it in.

You didn't mention if you have a weather station or not. Weewx was designed
to be used with a weather station.

Anyway, you can see how I solved a similar problem here:
https://hackaday.io/project/101680-solar-powered-wifi-temperature-sensor-for-weewx

On Fri, Dec 20, 2019 at 5:23 AM Paul McGeorge <[email protected]> wrote:

> The attached python script will write a file named soiltemp.txt for two
> DS18B20 Sensors.  You will need to edit the sensor numbers and names to fit
> your needs.
>
>
> On Friday, December 20, 2019 at 5:30:47 AM UTC-7, Andreas Weber wrote:
>>
>>  Hi there
>>
>> I have a weewx and Rasperry pi and would like to connect 3 temp sensors
>> DS18B20 and display them on my homepage.
>>
>> Installation of the 3 sensors on Raspberry is no problem, I have 3
>> folders for the 3 sensors and sensor data.
>>
>> Who can show me the way how to go on?
>>
>> There is a script in the weewx manual, but it cannot be used because
>> there is no query from the DS18B20.
>>
>> I am not programming and I have already experimented with different code
>> snippets on the internet, unfortunately without success.
>>
>> The sensor data must be written in a text file and weewx reads out the
>> data.
>>
>> But I have no idea how to do it.
>>
>> I would like to be shown the way how it works.
>>
>>
>> Please help....
>>
>>
>> A heartfelt thank you
>>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/59a28e56-b7b1-4ef9-9e41-058474c2531f%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/59a28e56-b7b1-4ef9-9e41-058474c2531f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Peter Quinn
(415)794-2264

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAA1SM20PVYWxEoX63Ln_iyNrJDv%2BOEmg51JeJ-cteW_-cXu7sQ%40mail.gmail.com.

Reply via email to