Closed Cocoloco61 closed 5 years ago
What do you have in your [BYOWS] of your weewx.conf file?
Hi, params['bme280_address'] = int(stn_dict.get('bme280_address', 0x76), 16) Changed to: params['bme280_address'] = int(stn_dict.get('bme280_address', '0x76'), 16) and change the address to 0x77 because some of these chips have this adress. All working well now, thanks for your hard job, You are a Legende
Thanks! That is indeed missing the quotation marks, I'll fix it right away. I put this driver together but I don't have the hardware to test it, so if you find any other bugs please let me know. You can also pass the chip address through the weeWX.conf file as described in the readme file:
# [OPTIONAL]
# Port and address for sensor bme280, the DEFAULT are port=1 address=0x77
bme280_port = 1
bme280_address = 0x77
I can tell you that's working very well, Brilliant job. and with no hardware, impressive. Yes If I have any issues , I stay in touch with you.
bye
On Sat, 21 Sep 2019 at 21:54, Jardi Martinez notifications@github.com wrote:
Thanks! That is indeed missing the quotation marks, I'll fix it right away. I put this driver together but I don't have the hardware to test it, so if you find any other bugs please let me know. You can also pass the chip address through the weeWX.conf file as described in the readme file:
[OPTIONAL]
# Port and address for sensor bme280, the DEFAULT are port=1 address=0x77 bme280_port = 1 bme280_address = 0x77
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/jardiamj/BYOWS_RPi/issues/3?email_source=notifications&email_token=ANHCTVYNEGL3XKNRQ56A5D3QK2C2DA5CNFSM4IYMAXS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IZO7Q#issuecomment-533829502, or mute the thread https://github.com/notifications/unsubscribe-auth/ANHCTV5ZFI2GG6SEDASPZO3QK2C2DANCNFSM4IYMAXSQ .
I just wanted to let you know that I have fixed the typo and I also formatted the code with Black while at it.
Black while? I do not catch that, can you please explain, I am still learning python3 lol my first language
Laurent Lasne 18 Grove Hill Kilkeel BT34 4XT NI
Le dim. 22 sept. 2019 à 22:41, Jardi Martinez notifications@github.com a écrit :
I just wanted to let you know that I have fixed the typo and I also formatted the code with Black while at it.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/jardiamj/BYOWS_RPi/issues/3?email_source=notifications&email_token=ANHCTVZ5VCQ7N7FEIWFJ2S3QK7RALA5CNFSM4IYMAXS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7JP3AY#issuecomment-533921155, or mute the thread https://github.com/notifications/unsubscribe-auth/ANHCTV7ZMX7CHMCAVZ6RLH3QK7RALANCNFSM4IYMAXSQ .
Black is a code formatter: https://pypi.org/project/black What I meant to say is that while I was fixing the typo in my code I ran it through Black so it would format it to a subset of PEP 8 python code style. It's just something I have been doing lately with my code. Since you are learning Python it would be a good idea to take a look at it. Sorry for the confusion.
Hi, I build a weather station using the Raspberry pi weather station guide, all is working perfectly with the python3 code: upload to weather underground, store data to SQLite, etc.... I use a Raspberry 3b equipped with a real clock an battery. I follow your guide for the installation.
When I start weewx
`sudo weewxd /etc/weewx/weewx.conf
The program stop`and /var/log/syslog look like that: