Luc,
I appreciate so much the profound work you have been doing over the last 5 
years.
Could you please advise for my project? I am not using weewx, did not even 
install it. Yet I want to retrieve data from KlimaLogg-pro.

starting from: https://github.com/matthewwall/weewx-klimalogg

My approach: call routines in your kl.py from another python program like
    from kl import *
    maxtries = 3
    klimalogg = KlimaLoggConfigurator()
    klimalogg.station = KlimaLoggDriver()
    klimalogg.check_transceiver(maxtries)
    klimalogg.pair(maxtries)

in your code KlimaLoggConfigurator and KlimaLoggDriver are subclassed from 
weewx classes. I removed the superclass from their definitions.
first "results":
    Checking for transceiver...
    Transceiver is present
    serial: 01012110140255
    id: 567 (0x0237)
    Pairing transceiver with console...
    Press and hold the USB button until "USB" appears (attempt 1 of 3)
    Press and hold the USB button until "USB" appears (attempt 2 of 3)
    Press and hold the USB button until "USB" appears (attempt 3 of 3)
    Transceiver not paired to console.

Would you agree, this makes sense? Anything to change up to here?
USB pairing did not work so far (pressing the button --> "USB" blinking in 
display, nothing else happening.


best regards
Walter


Luc Heijst schrieb am Montag, 25. Mai 2020 um 17:21:24 UTC+2:

> Hi Pete,
>
> Attached the Klimalogg Pro driver compatible with python2, python3 and the 
> weewx v.4.0 logging.
>
> Luc
>
> On Monday, 25 May 2020 03:23:25 UTC-3, pete_panic wrote:
>>
>> Hi everyone!
>>
>> This thread has been extremely helpful. Thank you so much for all the 
>> input. Nevertheless unfortunatly I wasn't able yet to successfully get the 
>> rf communication between the raspi and the Klimalogg Pro started. 
>>
>> I was able to connect to the transceiver and everything went well until 
>> the log showed the error message "exception in doRF: %s" after "starting rf 
>> communication". Since I am not firm (yet) with python (I'm more one of the 
>> old php guys), I wonder if there was the possibility to have a python3 
>> compatible version of the Klimalogg Pro driver? I did get the message to 
>> press the USB button on the console but that did not help, it kept on 
>> showing up...
>>
>> Did anyone else have this problem?
>>
>> Thank you again and cheers
>>
>> Pete
>>
>>

-- 
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/6e4b04f7-1938-4157-8fc3-83c9e4e0191bn%40googlegroups.com.

Reply via email to