matthewwall / weewx-netatmo

weewx driver for netatmo weather station
GNU General Public License v3.0
7 stars 16 forks source link

missing some of the data #13

Open Karel4 opened 4 years ago

Karel4 commented 4 years ago

I have a working weewx with this addon for my netatmo station. Can I add some graphs missing by default: Main indoor unit (central): co2, noise, humidity Additional indoor unit: co2, humidity

Also, battery levels are "low", but there are all fresh batteries.

supernial commented 4 years ago

Same here. Battery levels are LOW = not read. Also How do we change namings like Temperature 1 to be a station name? image

Hopp0 commented 3 years ago

I got the co2 & noise into the database by swapping to the schemas.wview_extended schema and reconfiguring the DB. http://www.weewx.com/docs/customizing.htm#archive_database If you've got multiple indoor units you'll need to extend the schema to add the ones you want. You'll then need to add the graphs to the reports by adding them to the skin (or finding one with them in already). The battery status is going into the DB as a percentage (100% with new batteries) and weewx seems to want 0 = "OK" and anything else is "Low", so it'll only show OK with flat batteries :( I've fixed mine in the driver, but it'd be good to know what percentage to treat as "LOW" before I post any details.

Karel4 commented 3 years ago

Just found that I already have schemas.wview_extended since the beginning, but have no any information there to change database for additional data.

Hopp0 commented 3 years ago

Do you know whether the fields you need are in your archive database? It may be that the data is getting collected and stored and just not displayed. Try looking at the last few entries in the database and see whether they are there. On my installations it's: sqlite3 /var/lib/weewx/weewx.sdb '.headers on' 'select * from archive order by dateTime DESC limit 10;' sqlite uses | as the column separator. You should be able to see what headings are in the database. If you're missing some that are in schemas.wview_extended and have that set as your wx_binding you can include them by starting from step 3 of http://www.weewx.com/docs/customizing.htm#archive_database. Then let weewx collect a few samples and re-run the database check to see if data is showing up in the new columns.

WiggyToo commented 2 months ago

@Hopp0 - hi, I am trying to get this working on latest version of Weewx and Netatmo - I think I have the extended schema now and I can see the data is coming from the driver (running weewx directly) but not sure it is in the database as no data is being displayed (yet).

See site here www.wiggytoo.co.uk

Thanks in advance.

Gav

image image

WiggyToo commented 2 months ago

Ignore my question, the database had the wrong permissions, once corrected the data showed up.

Gav