I don't know if your approach is working. The software in the KlimaLogg PRO station is very time critical.
Perhaps you try the driver first within weewx and when it is working you can go from there.
The KlimaLogg PRO base station needs to be synchronized once with the driver.
To do this:
Press and hold the USB button for three seconds until a beep is heard, then start weewx with the kl-driver (within 5 seconds). A second beep is heard when the synchronization was succesfull.
>From now on a short press on the USB button is needed whenever the driver lost communication with the base station. The driver is telling you to do so.
There is another (much easier) way to read the values of the KlimaLogg sensors with a SDR-dongle (the base station is not needed anymore), see: https://github.com/baycom/tfrec
The instructions on this site to compile the tfrc program don't work anymore for Raspbian Buster. When you are interested I can send you my notes how I managed to get it work under Buster.
Success,
Luc
| 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:
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/O1ogABfGETA/unsubscribe. To unsubscribe from this group and all its topics, 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. |
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/812515819.20200824082349%40gmail.com.
