v2.0.03 - New Release
We are excited to announce the release of Sense Collector v2.0.03! This version comes with significant improvements and new features designed to enhance your data collection and visualization experience with the Sense energy monitoring system. Below are the key highlights of this release:
Key Features
1. InfluxDB v2 Support
- New Compatibility: Sense Collector now supports InfluxDB v2, enabling you to take advantage of the latest features and performance enhancements in InfluxDB.
- Streamlined Data Handling: Improved data storage and querying capabilities with the updated InfluxDB client.
2. Rebuilt in Python
- Complete Overhaul: The Sense Collector has been completely rebuilt from the ground up using Python, ensuring a more robust and flexible architecture.
- Enhanced Maintainability: The new codebase is easier to maintain and extend, providing a solid foundation for future updates and features.
3. Low Resource Utilization
- Optimized Performance: Designed to run with incredibly low CPU and memory utilization, making it efficient even on resource-constrained systems.
- Streamlined Sense API Integration: Efficient handling of the Sense API calls to minimize the load and ensure smooth data collection.
4. Improved Logging and Debugging
- Configurable Logging Levels: Detailed logging options to help you monitor and troubleshoot the application more effectively. Logging levels can be configured for general, API, and storage operations.
- Enhanced Error Handling: Improved error handling and reporting to help identify and resolve issues quickly.
Environmental Variables
This release includes several environmental variables to customize the behavior of the Sense Collector:
- SENSE_COLLECTOR_API_PASSWORD: Required, your Sense API password.
- SENSE_COLLECTOR_API_USERNAME: Required, your Sense API username (email address).
- SENSE_COLLECTOR_HOST_HOSTNAME: Optional, hostname for the Docker container.
- SENSE_COLLECTOR_INFLUXDB_BUCKET: Required, the InfluxDB bucket name.
- SENSE_COLLECTOR_INFLUXDB_ORG: Required, the InfluxDB organization name.
- SENSE_COLLECTOR_INFLUXDB_TOKEN: Required, the InfluxDB authentication token.
- SENSE_COLLECTOR_INFLUXDB_URL: Required, the URL of the InfluxDB instance.
- SENSE_COLLECTOR_LOG_LEVEL_API: Optional, sets the logging level for API interactions. Default is INFO.
- SENSE_COLLECTOR_LOG_LEVEL_GENERAL: Optional, sets the general logging level. Default is INFO.
- SENSE_COLLECTOR_LOG_LEVEL_STORAGE: Optional, sets the logging level for storage operations. Default is INFO.
- SENSE_COLLECTOR_SENSE_API_RECEIVE_DATA_OUTPUT: Optional, enables or disables output of received Sense API data to a file. Default is false.
How to Update
To update to Sense Collector v2.0.03, pull the latest Docker image and update your environment variables as needed:
docker pull lux4rd0/sense-collector:latest
docker run --rm \
--name=sense-collector-53997 \
-e SENSE_COLLECTOR_API_PASSWORD=CHANGEME \
-e [email protected] \
-e SENSE_COLLECTOR_HOST_HOSTNAME=sense-collector.lux4rd0.com \
-e SENSE_COLLECTOR_INFLUXDB_BUCKET=sense \
-e SENSE_COLLECTOR_INFLUXDB_ORG=Tylephony \
-e SENSE_COLLECTOR_INFLUXDB_TOKEN=TOKEN \
-e SENSE_COLLECTOR_INFLUXDB_URL=http://sense-collector.lux4rd0.com:8086 \
-e SENSE_COLLECTOR_LOG_LEVEL_API=CRITICAL \
-e SENSE_COLLECTOR_LOG_LEVEL_GENERAL=INFO \
-e SENSE_COLLECTOR_LOG_LEVEL_STORAGE=CRITICAL \
-e SENSE_COLLECTOR_SENSE_API_RECEIVE_DATA_OUTPUT="False" \
-e TZ=America/Chicago \
-v /mnt/docker/sense-collector/export:/app/export \
--restart always \
lux4rd0/sense-collector:latest
We hope you enjoy the new features and improvements in Sense Collector v2.0.03. As always, we welcome your feedback and suggestions to help us continue to improve the Sense Collector. Thank you for your support!