Skip to content

Releases: IEQLab/samba

v1.99.92

06 Oct 23:06

Choose a tag to compare

This update adds additional functionality to the Senseair and InfluxDB external components to make them more flexible.

Changes

  • Added a manual call for background calibration in Senseair component with senseair_i2c.background_calibration action. This will set current reading at 400ppm. Note there needs to be a power cycle for the calibration to take place.
  • Added the senseair_i2c.abc_get_period action to check the current ABC period.
  • Improved boot logs for Senseair component to include firmware and serial number
  • Reduced CO2 sensor polling from 15s to 30s
  • Added the influxdb.publish_sensors action which accepts a list of sensor_ids to publish. Note the id(influx).publish_now() approach still works if wanting to publish all defined sensors.

v1.99.91

03 Oct 06:04

Choose a tag to compare

Changes

  • Use unique filenames for SD card logging. Generated on boot with format mac_yymmdd_hhmm.txt
  • Use UTC timestamp for SD card logs
  • Fix background calibration for CO2 sensor (180h)

v1.99.90

01 Oct 23:56

Choose a tag to compare

This update adds a nice feature - SD card support! This is the last piece of base functionality for SAMBA v2 🎉

Changes

  • SD cart support using SPI. Measurements are written to SD card at same sample interval as InfluxDB (5 mins).
  • some basic remount logic with manual mounting button in HA
  • add toggle to disable SD card writing (enabled by default)
  • reduced adc sample rates to try and minimise i2c errors
  • stagger CO2 reads to try and minimise i2c errors
  • reduce i2c timeout setting to 13ms to align with esp-idf limit
  • add toggle to disable automatic firmware updates (enabled by default)
  • add jitter delay only after confirming there's a firmware update
  • reduce sntp syncs to 1 hour

v1.99.80

30 Sep 06:20

Choose a tag to compare

Changes

  • Tested support for new esp-idf i2c stack
  • InfluxDB tags are now templatable
  • Add configurable read delay to K30
  • Increase i2c timeout to 15ms
  • More robust RTC setting using actions
  • Add placeholder for wifi hotspot network

v1.99.72

23 Aug 02:22

Choose a tag to compare

Changes

  • reduce i2c bus speed to 50kHz
  • reduce ADC sample rate to try and minimise issue #19
  • reduce sample LED off transition to 300ms

v1.99.71

20 Aug 04:03

Choose a tag to compare

Changes

  • implement managed updates via http_request where update.json hosted in GitHub points to the latest firmware. SAMBAs will check for updates every 6 hours but will only update on Sunday mornings (if an update is available)
  • reduced i2c frequency to 50kHz (from 100kHz) to fix occasional crash from bus issues
  • hide reset buttons from Home Assistant front end by default

v1.99.70

18 Aug 23:06

Choose a tag to compare

This is a major release as it switches the default framework to esp-idf from Arduino. This required many changes to the device configuration and custom components

Changes

  • default framework is now esp-idf
  • refactor of renamed influxdb component to use esp-idf HTTP_client
  • improved handling of Influx tagging
  • better logging of InfluxDB upload status
  • refactor of senseair_i2c component for esp-idf framework
  • remove global arrays as workaround for esp-idf bug
  • increase TVOC and NOx sampling from 60s to 30s
  • rename sensor to tvoc from voc
  • simplified sensor names for clearer Home Assistant dashboard
  • add transition_length to upload LED
  • use SSL for http_requests by default
  • explicitly filter NaNs before median filters for all sensors
  • explicitly set i2c timeout to 5ms rather than default 13us
  • remove redundant diagnostics leftover from beta testing
  • testing of managed updates (WIP)

v1.99.66

24 Jul 05:03

Choose a tag to compare

Changes

  • Remove defined network in wifi.yaml to force connection to network saved in flash (from setup)
  • Use green strobe effect on warm up

v1.99.65

23 Jul 09:04

Choose a tag to compare

Changes

  • Include wifi signal (wifi) and device uptime (uptime) to Influx uploads
  • Add globe temperature back to Influx uploads in case it's needed for diagnostics
  • Calculate LAmin (samba_lamin) and LAmax (samba_lamax) and upload to Influx as la_min and la_max measurements
  • Change SPL to samba_laeq in ESPHome config and to la_eq in Influx

v1.99.64

21 Jul 10:05

Choose a tag to compare

Changes

  • Properly handle component.update and sensor.template.publish in sample.yaml to fix missing uploads
  • Remove Home Assistant upload toggle as it's needed for proper sensor updates
  • Remove globe temperature from Influx uploads
  • Simplify filters on CO2 and illuminance for debugging
  • Add debugging logs to CO2 component