Bonjour Patrick,

These two missing values are making the JSON file, *weewx_data.json*, invalid:

      "inTemp_raw":,
      "rain_raw":,

Are you comfortable submitting an Issue - https://github.com/uajqq/weewx-belchertown-new/issues

If you want to run a quick test, in your .../public_html/json, you will see a set of JSON files:

# ls
charts.json              earthquake.json  index.html week.json        year.json
current_conditions.json  forecast.json    last_365d.json weewx_data.json
day.json                 homepage.json    month.json year_2025.json

You can do a quick test and fix the forecast file with this command:

sed -i -e 's@"rain_raw": ,@"rain_raw": "N/A",@' -e 's@"inTemp_raw": ,@"inTemp_raw": "N/A",@' weewx_data.json

The command searches for the two bad elements and sets them to "N/A".

Cheers!

---
pablo


On 2026-07-15 14:30, salinois wrote:

Hello Pablo,

I follow as you said:

 weectl extension install /home/patrick/weewx-belchertown-new-dev.tar.gz
Using configuration file /home/patrick/weewx-data/weewx.conf
Install extension '/home/patrick/weewx-belchertown-new-dev.tar.gz' (y/n)? y
Extracting from tar archive /home/patrick/weewx-belchertown-new-dev.tar.gz
Saving installer file to /home/patrick/weewx-data/bin/user/installer/new-belchertown Saved copy of configuration as /home/patrick/weewx-data/weewx.conf.20260715200818 Finished installing extension new-belchertown from /home/patrick/weewx-belchertown-new-dev.tar.gz

after, restart weewx

but , this the same thing !!!

it is normal for the dev version ? => 2026-07-15T20:15:23.881047+02:00 RPi-WS-BCRo weewxd[207955]: INFO user.new_belchertown: version 2.1beta3

My extract of weewx.conf: I don't use mqtt.
I must be getting some of the settings wrong...

[[new-belchertown]]
        # See wiki for configuration help: https://github.com/uajqq/weewx-belchertown-new/wiki
        skin = new-belchertown
        HTML_ROOT = public_html/new-belchertown
        enable = true

        [[[Extras]]]


            # ----- Core site branding and language -----
            # belchertown_locale    = "auto"
            # theme                 = "light"
            site_title            = "Meteo Loulle, Jura France"
            logo_image            = http://jurassikpat.ddns.net/weewx/new-belchertown/images/jura-fc.jpg
            # logo_image_dark       = ""
            manifest_name         = Station Meteo Loulle
            manifest_short_name   = SML
            # googleAnalyticsId   = ""

            # ----- Homepage -----
            station_observations     = pressure, dewpoint, outHumidity, rainWithRainRate, visibility, soilTemp1
            aqi_enabled              = 1
            # aqi_source               = "auto"
            aqi_location_enabled     = 1
            # almanac_extras           = 1
            # align_solar_path         = "transit"
            # beaufort_category       = 0
            # beaufort_category_gusts = 0
            # wind_compass_marker     = ""
            # wind_compass_source     = ""
            # unit_switching          = 0
            # back_to_top_button_enabled  = 0
            # back_to_top_button_position = 0
            # back_to_top_button_opacity  = 0.8

            # ----- Radar and map display -----
            # radar_html            = ""
            # radar_html_dark       = "None"
            # radar_width           = 650
            # radar_height          = 360
            # radar_marker          = 0
            # radar_zoom            = 8
            # radar_overlay         = "radar"
            # radar_rain            = "default"
            # radar_temp            = "default"
            # radar_wind            = "default"
            # aeris_map             = "1"

            # ----- Charts -----
            highcharts_enabled             = 1
            chart_page_show_all_button     = 1
            # chart_page_default_chartgroup  = "day"
            # highcharts_homepage_chartgroup = "homepage"
            # highcharts_decimal             = "auto"
            # highcharts_thousands           = "auto"

            # ----- Live updates and MQTT -----
            # mqtt_websockets_enabled         = 0
            # mqtt_websockets_host            = ""
            # mqtt_websockets_port            = "8080"
            # mqtt_websockets_ssl             = 0
            # mqtt_websockets_topic           = ""
            # mqtt_websockets_username        = ""
            # mqtt_websockets_password        = ""
            # disconnect_live_website_visitor = 1800000

            # ----- Page status and auto-refresh behavior -----
            # show_last_updated_alert      = 0
            # last_updated_alert_threshold = 1800
            webpage_autorefresh          = 1
            # reload_hook_images           = 0
            # reload_images_radar          = 300
            # reload_images_hook_asi       = -1
            # reload_images_hook_af        = -1
            # reload_images_hook_as        = -1
            # reload_images_hook_ac        = -1

            # ----- Forecast -----
            forecast_enabled                 = 1
            forecast_provider                = aeris
            forecast_api_id                  = "my parameters"
            forecast_api_secret              = "my parameters"
            forecast_units                   = ca
            # forecast_interval_hours          = 24
            # nws_station_id                   = ""
            forecast_lang                   = fr
            # forecast_stale                  = 3540
            # current_conditions_stale        = 3540
            # forecast_aeris_use_metar        = 1
            # forecast_alert_enabled          = 0
            # forecast_alert_limit            = 1
            # forecast_show_daily_forecast_link = 0
            # forecast_daily_forecast_link      = ""
            # forecast_show_humidity_dewpoint   = 0
            # forecast_place                   = ""
            # current_conditions               = "obs"
            # current_conditions_timestamp_enabled = 0

            # ----- Earthquake options -----
            earthquake_enabled     = 1
            earthquake_maxradiuskm = 2000
            # earthquake_stale       = 10740
            # earthquake_server      = USGS
            # earthquake_minmag      = 2

            # ----- Social sharing and footer extras -----
            # facebook_enabled  = 0
            # twitter_enabled   = 0
            # social_share_html = ""

            # ----- Kiosk -----
            # pi_kiosk_bold                 = "false"
            # pi_theme                      = "auto"
            # radar_html_kiosk              = ""
            # radar_width_kiosk             = 490
            # radar_height_kiosk            = 362
            # mqtt_websockets_host_kiosk    = ""
            # mqtt_websockets_port_kiosk    = ""
            # mqtt_websockets_ssl_kiosk     = ""
            # forecast_interval_hours_kiosk = 24
            # aqi_enabled_kiosk             = 0

            # ----- Dev/debug options -----
            # belchertown_debug = 0
            # minify            = 0

patrick

Le 15/07/2026 à 18:30, Pablo Sanchez a écrit :
This was reported as Issue 261 <https://github.com/uajqq/weewx-belchertown-new/issues/261>. The problem is with malformed JSON coming from your station - see the scrape below from your website. This has been resolved in the development branch:
--
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 visit https://groups.google.com/d/msgid/weewx-user/618b175c-9a43-494a-86c6-5ce0e6023ae7%40gmail.com <https://groups.google.com/d/msgid/weewx-user/618b175c-9a43-494a-86c6-5ce0e6023ae7%40gmail.com?utm_medium=email&utm_source=footer>.

--
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 visit 
https://groups.google.com/d/msgid/weewx-user/2cb91393-233e-45b2-95e1-7c96bc5edf7b%40hillsandlakes.com.

Reply via email to